diff --git a/composer.json b/composer.json index b9279bec8..1b22bb5f0 100644 --- a/composer.json +++ b/composer.json @@ -4,12 +4,12 @@ "google/apiclient": "^2.15.3", "google/apiclient-services": "^0.224.1", "guzzlehttp/guzzle": "^7.0", - "guzzlehttp/psr7": "2.5.1", - "guzzlehttp/promises": "1.5.3", - "google/analytics-data": "^0.9.4", - "google/analytics-admin": "^0.10.0", + "guzzlehttp/psr7": "^2.5.1", + "guzzlehttp/promises": "^2.0.0", "phpseclib/phpseclib": "3.0.36", - "phpseclib/bcmath_compat": "^2.0" + "phpseclib/bcmath_compat": "^2.0", + "google/analytics-admin": "^0.22.2", + "google/analytics-data": "^0.17.1" }, "config": { "platform-check": "false" diff --git a/composer.lock b/composer.lock index 9e2b627c4..8b34a56bd 100644 --- a/composer.lock +++ b/composer.lock @@ -4,34 +4,95 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c448eaa12cc8bad8d78839fe9c11b108", + "content-hash": "2b6170c2789d576a42ce67995f1e6789", "packages": [ + { + "name": "brick/math", + "version": "0.12.1", + "source": { + "type": "git", + "url": "https://github.com/brick/math.git", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.2", + "phpunit/phpunit": "^10.1", + "vimeo/psalm": "5.16.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Brick\\Math\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Arbitrary-precision arithmetic library", + "keywords": [ + "Arbitrary-precision", + "BigInteger", + "BigRational", + "arithmetic", + "bigdecimal", + "bignum", + "bignumber", + "brick", + "decimal", + "integer", + "math", + "mathematics", + "rational" + ], + "support": { + "issues": "https://github.com/brick/math/issues", + "source": "https://github.com/brick/math/tree/0.12.1" + }, + "funding": [ + { + "url": "https://github.com/BenMorel", + "type": "github" + } + ], + "time": "2023-11-29T23:19:16+00:00" + }, { "name": "firebase/php-jwt", - "version": "v6.2.0", + "version": "v6.10.1", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "d28e6df83830252650da4623c78aaaf98fb385f3" + "reference": "500501c2ce893c824c801da135d02661199f60c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/d28e6df83830252650da4623c78aaaf98fb385f3", - "reference": "d28e6df83830252650da4623c78aaaf98fb385f3", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/500501c2ce893c824c801da135d02661199f60c5", + "reference": "500501c2ce893c824c801da135d02661199f60c5", "shasum": "" }, "require": { - "php": "^7.1||^8.0" + "php": "^8.0" }, "require-dev": { - "guzzlehttp/guzzle": "^6.5||^7.4", - "phpspec/prophecy-phpunit": "^1.1", - "phpunit/phpunit": "^7.5||^9.5", - "psr/cache": "^1.0||^2.0", + "guzzlehttp/guzzle": "^7.4", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5", + "psr/cache": "^2.0||^3.0", "psr/http-client": "^1.0", "psr/http-factory": "^1.0" }, "suggest": { + "ext-sodium": "Support EdDSA (Ed25519) signatures", "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" }, "type": "library", @@ -64,30 +125,30 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.2.0" + "source": "https://github.com/firebase/php-jwt/tree/v6.10.1" }, - "time": "2022-05-13T20:54:50+00:00" + "time": "2024-05-18T18:05:11+00:00" }, { "name": "google/analytics-admin", - "version": "v0.10.0", + "version": "v0.22.5", "source": { "type": "git", "url": "https://github.com/googleapis/php-analytics-admin.git", - "reference": "7f8af98407f00236c76ef51b6b6adb7a251edbe6" + "reference": "c28dce5b3158381a755d4a4443aa4e2b8d1a2809" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/php-analytics-admin/zipball/7f8af98407f00236c76ef51b6b6adb7a251edbe6", - "reference": "7f8af98407f00236c76ef51b6b6adb7a251edbe6", + "url": "https://api.github.com/repos/googleapis/php-analytics-admin/zipball/c28dce5b3158381a755d4a4443aa4e2b8d1a2809", + "reference": "c28dce5b3158381a755d4a4443aa4e2b8d1a2809", "shasum": "" }, "require": { - "google/gax": "^1.6.0" + "google/gax": "^1.34.0", + "php": "^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8|^5.0|^8.0", - "yoast/phpunit-polyfills": "^1.0" + "phpunit/phpunit": "^9.0" }, "suggest": { "ext-grpc": "Enables use of gRPC, a universal high-performance RPC framework created by Google.", @@ -114,30 +175,30 @@ ], "description": "Google Analytics Admin Client for PHP", "support": { - "source": "https://github.com/googleapis/php-analytics-admin/tree/v0.10.0" + "source": "https://github.com/googleapis/php-analytics-admin/tree/v0.22.5" }, - "time": "2023-02-25T13:06:03+00:00" + "time": "2024-06-01T03:14:01+00:00" }, { "name": "google/analytics-data", - "version": "v0.9.4", + "version": "v0.17.1", "source": { "type": "git", "url": "https://github.com/googleapis/php-analytics-data.git", - "reference": "f1da5ed9be985794d7738cfe3f3a3db59e6ce511" + "reference": "0a7b129fd483179d16780d548be4fe16cd8bdc1a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/php-analytics-data/zipball/f1da5ed9be985794d7738cfe3f3a3db59e6ce511", - "reference": "f1da5ed9be985794d7738cfe3f3a3db59e6ce511", + "url": "https://api.github.com/repos/googleapis/php-analytics-data/zipball/0a7b129fd483179d16780d548be4fe16cd8bdc1a", + "reference": "0a7b129fd483179d16780d548be4fe16cd8bdc1a", "shasum": "" }, "require": { - "google/gax": "^1.6.0" + "google/gax": "^1.34.0", + "php": "^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8|^5.0|^8.0", - "yoast/phpunit-polyfills": "^1.0" + "phpunit/phpunit": "^9.0" }, "suggest": { "ext-grpc": "Enables use of gRPC, a universal high-performance RPC framework created by Google.", @@ -164,22 +225,22 @@ ], "description": "Google Analytics Data Client for PHP", "support": { - "source": "https://github.com/googleapis/php-analytics-data/tree/v0.9.4" + "source": "https://github.com/googleapis/php-analytics-data/tree/v0.17.1" }, - "time": "2023-02-10T16:10:50+00:00" + "time": "2024-06-01T03:14:01+00:00" }, { "name": "google/apiclient", - "version": "v2.15.3", + "version": "v2.15.4", "source": { "type": "git", "url": "https://github.com/googleapis/google-api-php-client.git", - "reference": "e70273c06d18824de77e114247ae3102f8aec64d" + "reference": "73fa9cf8d8886db7269bcda0457d0a251a02cfd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/e70273c06d18824de77e114247ae3102f8aec64d", - "reference": "e70273c06d18824de77e114247ae3102f8aec64d", + "url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/73fa9cf8d8886db7269bcda0457d0a251a02cfd9", + "reference": "73fa9cf8d8886db7269bcda0457d0a251a02cfd9", "shasum": "" }, "require": { @@ -187,14 +248,14 @@ "google/apiclient-services": "~0.200", "google/auth": "^1.33", "guzzlehttp/guzzle": "^6.5.8||^7.4.5", - "guzzlehttp/psr7": "^1.8.4||^2.2.1", + "guzzlehttp/psr7": "^1.9.1||^2.2.1", "monolog/monolog": "^2.9||^3.0", "php": "^7.4|^8.0", - "phpseclib/phpseclib": "^3.0.34" + "phpseclib/phpseclib": "^3.0.36" }, "require-dev": { "cache/filesystem-adapter": "^1.1", - "composer/composer": "^1.10.22", + "composer/composer": "^1.10.23", "phpcompatibility/php-compatibility": "^9.2", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", @@ -233,9 +294,9 @@ ], "support": { "issues": "https://github.com/googleapis/google-api-php-client/issues", - "source": "https://github.com/googleapis/google-api-php-client/tree/v2.15.3" + "source": "https://github.com/googleapis/google-api-php-client/tree/v2.15.4" }, - "time": "2024-01-04T19:15:22+00:00" + "time": "2024-04-24T00:56:12+00:00" }, { "name": "google/apiclient-services", @@ -283,34 +344,36 @@ }, { "name": "google/auth", - "version": "v1.34.0", + "version": "v1.41.0", "source": { "type": "git", "url": "https://github.com/googleapis/google-auth-library-php.git", - "reference": "155daeadfd2f09743f611ea493b828d382519575" + "reference": "1043ea18fe7f5dfbf5b208ce3ee6d6b6ab8cb038" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/155daeadfd2f09743f611ea493b828d382519575", - "reference": "155daeadfd2f09743f611ea493b828d382519575", + "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/1043ea18fe7f5dfbf5b208ce3ee6d6b6ab8cb038", + "reference": "1043ea18fe7f5dfbf5b208ce3ee6d6b6ab8cb038", "shasum": "" }, "require": { "firebase/php-jwt": "^6.0", - "guzzlehttp/guzzle": "^6.2.1|^7.0", + "guzzlehttp/guzzle": "^7.4.5", "guzzlehttp/psr7": "^2.4.5", - "php": "^7.4||^8.0", - "psr/cache": "^1.0||^2.0||^3.0", + "php": "^8.0", + "psr/cache": "^2.0||^3.0", "psr/http-message": "^1.1||^2.0" }, "require-dev": { "guzzlehttp/promises": "^2.0", "kelvinmo/simplejwt": "0.7.1", - "phpseclib/phpseclib": "^3.0", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.0.0", + "phpseclib/phpseclib": "^3.0.35", + "phpspec/prophecy-phpunit": "^2.1", + "phpunit/phpunit": "^9.6", "sebastian/comparator": ">=1.2.3", - "squizlabs/php_codesniffer": "^3.5" + "squizlabs/php_codesniffer": "^3.5", + "symfony/process": "^6.0||^7.0", + "webmozart/assert": "^1.11" }, "suggest": { "phpseclib/phpseclib": "May be used in place of OpenSSL for signing strings or for token management. Please require version ^2." @@ -335,36 +398,45 @@ "support": { "docs": "https://googleapis.github.io/google-auth-library-php/main/", "issues": "https://github.com/googleapis/google-auth-library-php/issues", - "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.34.0" + "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.41.0" }, - "time": "2024-01-03T20:45:15+00:00" + "time": "2024-07-10T15:21:07+00:00" }, { "name": "google/common-protos", - "version": "2.1.0", + "version": "v4.7.0", "source": { "type": "git", "url": "https://github.com/googleapis/common-protos-php.git", - "reference": "4bad82f73a10f8ea4e6d078da93406a16c996044" + "reference": "e58068776f57605c336e32c7db373f0a81da17b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/common-protos-php/zipball/4bad82f73a10f8ea4e6d078da93406a16c996044", - "reference": "4bad82f73a10f8ea4e6d078da93406a16c996044", + "url": "https://api.github.com/repos/googleapis/common-protos-php/zipball/e58068776f57605c336e32c7db373f0a81da17b8", + "reference": "e58068776f57605c336e32c7db373f0a81da17b8", "shasum": "" }, "require": { - "google/protobuf": "^3.6.1, !=3.20.0" + "google/protobuf": "^v3.25.3||^4.26.1", + "php": "^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.36||^8.5", - "sami/sami": "*" + "phpunit/phpunit": "^9.6" }, "type": "library", "autoload": { "psr-4": { - "Google\\": "src", - "GPBMetadata\\Google\\": "metadata" + "Google\\Api\\": "src/Api", + "Google\\Iam\\": "src/Iam", + "Google\\Rpc\\": "src/Rpc", + "Google\\Type\\": "src/Type", + "Google\\Cloud\\": "src/Cloud", + "GPBMetadata\\Google\\Api\\": "metadata/Api", + "GPBMetadata\\Google\\Iam\\": "metadata/Iam", + "GPBMetadata\\Google\\Rpc\\": "metadata/Rpc", + "GPBMetadata\\Google\\Type\\": "metadata/Type", + "GPBMetadata\\Google\\Cloud\\": "metadata/Cloud", + "GPBMetadata\\Google\\Logging\\": "metadata/Logging" } }, "notification-url": "https://packagist.org/downloads/", @@ -378,42 +450,44 @@ ], "support": { "issues": "https://github.com/googleapis/common-protos-php/issues", - "source": "https://github.com/googleapis/common-protos-php/tree/2.1.0" + "source": "https://github.com/googleapis/common-protos-php/tree/v4.7.0" }, - "time": "2022-05-13T21:07:15+00:00" + "time": "2024-07-25T20:20:43+00:00" }, { "name": "google/gax", - "version": "v1.15.0", + "version": "v1.34.0", "source": { "type": "git", "url": "https://github.com/googleapis/gax-php.git", - "reference": "68dfafe585650ea7b054b60864f10f7ce33ffe48" + "reference": "28aa3e95969a75b278606a88448992a6396a119e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/gax-php/zipball/68dfafe585650ea7b054b60864f10f7ce33ffe48", - "reference": "68dfafe585650ea7b054b60864f10f7ce33ffe48", + "url": "https://api.github.com/repos/googleapis/gax-php/zipball/28aa3e95969a75b278606a88448992a6396a119e", + "reference": "28aa3e95969a75b278606a88448992a6396a119e", "shasum": "" }, "require": { - "google/auth": "^1.18.0", - "google/common-protos": "^1.0||^2.0||^3.0", - "google/grpc-gcp": "^0.2", - "google/longrunning": "^0.1", - "google/protobuf": "^3.12.2", + "google/auth": "^1.34.0", + "google/common-protos": "^4.4", + "google/grpc-gcp": "^0.4", + "google/longrunning": "~0.4", + "google/protobuf": "^v3.25.3||^4.26.1", "grpc/grpc": "^1.13", - "guzzlehttp/promises": "^1.3", - "guzzlehttp/psr7": "^1.7.0||^2", - "php": ">=5.6" + "guzzlehttp/promises": "^2.0", + "guzzlehttp/psr7": "^2.0", + "php": "^8.0", + "ramsey/uuid": "^4.0" }, "conflict": { "ext-protobuf": "<3.7.0" }, "require-dev": { - "phpunit/phpunit": "^5.5||^8.5", - "squizlabs/php_codesniffer": "3.*", - "yoast/phpunit-polyfills": "^1.0" + "phpspec/prophecy-phpunit": "^2.1", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.6", + "squizlabs/php_codesniffer": "3.*" }, "type": "library", "autoload": { @@ -433,34 +507,34 @@ ], "support": { "issues": "https://github.com/googleapis/gax-php/issues", - "source": "https://github.com/googleapis/gax-php/tree/v1.15.0" + "source": "https://github.com/googleapis/gax-php/tree/v1.34.0" }, - "time": "2022-08-02T21:15:25+00:00" + "time": "2024-05-30T00:35:13+00:00" }, { "name": "google/grpc-gcp", - "version": "v0.2.0", + "version": "v0.4.0", "source": { "type": "git", "url": "https://github.com/GoogleCloudPlatform/grpc-gcp-php.git", - "reference": "2465c2273e11ada1e95155aa1e209f3b8f03c314" + "reference": "2a80dbf690922aa52bb6bb79b9a32a9637a5c2d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GoogleCloudPlatform/grpc-gcp-php/zipball/2465c2273e11ada1e95155aa1e209f3b8f03c314", - "reference": "2465c2273e11ada1e95155aa1e209f3b8f03c314", + "url": "https://api.github.com/repos/GoogleCloudPlatform/grpc-gcp-php/zipball/2a80dbf690922aa52bb6bb79b9a32a9637a5c2d9", + "reference": "2a80dbf690922aa52bb6bb79b9a32a9637a5c2d9", "shasum": "" }, "require": { "google/auth": "^1.3", - "google/protobuf": "^v3.3.0", + "google/protobuf": "^v3.25.3||^4.26.1", "grpc/grpc": "^v1.13.0", - "php": ">=5.5.0", + "php": "^8.0", "psr/cache": "^1.0.1||^2.0.0||^3.0.0" }, "require-dev": { "google/cloud-spanner": "^1.7", - "phpunit/phpunit": "4.8.36" + "phpunit/phpunit": "^9.0" }, "type": "library", "autoload": { @@ -478,27 +552,27 @@ "description": "gRPC GCP library for channel management", "support": { "issues": "https://github.com/GoogleCloudPlatform/grpc-gcp-php/issues", - "source": "https://github.com/GoogleCloudPlatform/grpc-gcp-php/tree/v0.2.0" + "source": "https://github.com/GoogleCloudPlatform/grpc-gcp-php/tree/v0.4.0" }, - "time": "2021-09-27T22:57:18+00:00" + "time": "2024-04-03T16:37:55+00:00" }, { "name": "google/longrunning", - "version": "v0.1.0", + "version": "0.4.3", "source": { "type": "git", "url": "https://github.com/googleapis/php-longrunning.git", - "reference": "d2ddbe3acf5db2692a7b515597640cf3905a534a" + "reference": "ed718a735e407826c3332b7197a44602eb03e608" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/php-longrunning/zipball/d2ddbe3acf5db2692a7b515597640cf3905a534a", - "reference": "d2ddbe3acf5db2692a7b515597640cf3905a534a", + "url": "https://api.github.com/repos/googleapis/php-longrunning/zipball/ed718a735e407826c3332b7197a44602eb03e608", + "reference": "ed718a735e407826c3332b7197a44602eb03e608", "shasum": "" }, "require-dev": { - "google/gax": "^1.13.0", - "phpunit/phpunit": "^4.8|^5.0|^8.0" + "google/gax": "^1.34.0", + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { @@ -522,22 +596,22 @@ ], "description": "Google LongRunning Client for PHP", "support": { - "source": "https://github.com/googleapis/php-longrunning/tree/v0.1.0" + "source": "https://github.com/googleapis/php-longrunning/tree/v0.4.3" }, - "time": "2022-07-29T00:07:49+00:00" + "time": "2024-06-01T03:14:01+00:00" }, { "name": "google/protobuf", - "version": "v3.22.2", + "version": "v4.27.3", "source": { "type": "git", "url": "https://github.com/protocolbuffers/protobuf-php.git", - "reference": "ff28a64946708e13f2be627b5e5561f247ecf95c" + "reference": "ff079fe467bf86ac8f3359e2eb77a1613ebd204d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/ff28a64946708e13f2be627b5e5561f247ecf95c", - "reference": "ff28a64946708e13f2be627b5e5561f247ecf95c", + "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/ff079fe467bf86ac8f3359e2eb77a1613ebd204d", + "reference": "ff079fe467bf86ac8f3359e2eb77a1613ebd204d", "shasum": "" }, "require": { @@ -566,9 +640,9 @@ "proto" ], "support": { - "source": "https://github.com/protocolbuffers/protobuf-php/tree/v3.22.2" + "source": "https://github.com/protocolbuffers/protobuf-php/tree/v4.27.3" }, - "time": "2023-03-10T17:52:03+00:00" + "time": "2024-07-31T13:27:16+00:00" }, { "name": "grpc/grpc", @@ -616,22 +690,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.8.1", + "version": "7.9.2", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "41042bc7ab002487b876a0683fc8dce04ddce104" + "reference": "d281ed313b989f213357e3be1a179f02196ac99b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104", - "reference": "41042bc7ab002487b876a0683fc8dce04ddce104", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0.1", - "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -642,9 +716,9 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "guzzle/client-integration-tests": "3.0.2", "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -722,7 +796,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.8.1" + "source": "https://github.com/guzzle/guzzle/tree/7.9.2" }, "funding": [ { @@ -738,33 +812,37 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:35:24+00:00" + "time": "2024-07-24T11:22:20+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.5.3", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "67ab6e18aaa14d753cc148911d273f6e6cb6721e" + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/67ab6e18aaa14d753cc148911d273f6e6cb6721e", - "reference": "67ab6e18aaa14d753cc148911d273f6e6cb6721e", + "url": "https://api.github.com/repos/guzzle/promises/zipball/6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", "shasum": "" }, "require": { - "php": ">=5.5" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Promise\\": "src/" } @@ -801,7 +879,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.3" + "source": "https://github.com/guzzle/promises/tree/2.0.3" }, "funding": [ { @@ -817,20 +895,20 @@ "type": "tidelift" } ], - "time": "2023-05-21T12:31:43+00:00" + "time": "2024-07-18T10:29:17+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.5.1", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "a0b3a03e8e8005257fbc408ce5f0fd0a8274dc7f" + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/a0b3a03e8e8005257fbc408ce5f0fd0a8274dc7f", - "reference": "a0b3a03e8e8005257fbc408ce5f0fd0a8274dc7f", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", "shasum": "" }, "require": { @@ -844,9 +922,9 @@ "psr/http-message-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", - "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.29 || ^9.5.23" + "bamarni/composer-bin-plugin": "^1.8.2", + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -917,7 +995,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.5.1" + "source": "https://github.com/guzzle/psr7/tree/2.7.0" }, "funding": [ { @@ -933,7 +1011,7 @@ "type": "tidelift" } ], - "time": "2023-08-03T15:02:42+00:00" + "time": "2024-07-18T11:15:46+00:00" }, { "name": "paragonie/constant_time_encoding", @@ -1054,16 +1132,16 @@ }, { "name": "phpseclib/bcmath_compat", - "version": "2.0.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/phpseclib/bcmath_compat.git", - "reference": "2ffea8bfe1702b4535a7b3c2649c4301968e9a3c" + "reference": "29bbf07a7039ff65ce7daa44502ba34baf1512ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/bcmath_compat/zipball/2ffea8bfe1702b4535a7b3c2649c4301968e9a3c", - "reference": "2ffea8bfe1702b4535a7b3c2649c4301968e9a3c", + "url": "https://api.github.com/repos/phpseclib/bcmath_compat/zipball/29bbf07a7039ff65ce7daa44502ba34baf1512ec", + "reference": "29bbf07a7039ff65ce7daa44502ba34baf1512ec", "shasum": "" }, "require": { @@ -1112,7 +1190,7 @@ "issues": "https://github.com/phpseclib/bcmath_compat/issues", "source": "https://github.com/phpseclib/bcmath_compat" }, - "time": "2021-12-16T02:35:52+00:00" + "time": "2024-02-21T10:30:36+00:00" }, { "name": "phpseclib/phpseclib", @@ -1226,20 +1304,20 @@ }, { "name": "psr/cache", - "version": "1.0.1", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/cache.git", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, "type": "library", "extra": { @@ -1259,7 +1337,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for caching libraries", @@ -1269,9 +1347,9 @@ "psr-6" ], "support": { - "source": "https://github.com/php-fig/cache/tree/master" + "source": "https://github.com/php-fig/cache/tree/3.0.0" }, - "time": "2016-08-06T20:24:11+00:00" + "time": "2021-02-03T23:26:27+00:00" }, { "name": "psr/http-client", @@ -1477,6 +1555,187 @@ }, "time": "2019-03-08T08:55:37+00:00" }, + { + "name": "ramsey/collection", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/ramsey/collection.git", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "captainhook/plugin-composer": "^5.3", + "ergebnis/composer-normalize": "^2.28.3", + "fakerphp/faker": "^1.21", + "hamcrest/hamcrest-php": "^2.0", + "jangregor/phpstan-prophecy": "^1.0", + "mockery/mockery": "^1.5", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3", + "phpcsstandards/phpcsutils": "^1.0.0-rc1", + "phpspec/prophecy-phpunit": "^2.0", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5", + "psalm/plugin-mockery": "^1.1", + "psalm/plugin-phpunit": "^0.18.4", + "ramsey/coding-standard": "^2.0.3", + "ramsey/conventional-commits": "^1.3", + "vimeo/psalm": "^5.4" + }, + "type": "library", + "extra": { + "captainhook": { + "force-install": true + }, + "ramsey/conventional-commits": { + "configFile": "conventional-commits.json" + } + }, + "autoload": { + "psr-4": { + "Ramsey\\Collection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" + } + ], + "description": "A PHP library for representing and manipulating collections.", + "keywords": [ + "array", + "collection", + "hash", + "map", + "queue", + "set" + ], + "support": { + "issues": "https://github.com/ramsey/collection/issues", + "source": "https://github.com/ramsey/collection/tree/2.0.0" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/collection", + "type": "tidelift" + } + ], + "time": "2022-12-31T21:50:55+00:00" + }, + { + "name": "ramsey/uuid", + "version": "4.7.6", + "source": { + "type": "git", + "url": "https://github.com/ramsey/uuid.git", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088", + "shasum": "" + }, + "require": { + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", + "ext-json": "*", + "php": "^8.0", + "ramsey/collection": "^1.2 || ^2.0" + }, + "replace": { + "rhumsaa/uuid": "self.version" + }, + "require-dev": { + "captainhook/captainhook": "^5.10", + "captainhook/plugin-composer": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "doctrine/annotations": "^1.8", + "ergebnis/composer-normalize": "^2.15", + "mockery/mockery": "^1.3", + "paragonie/random-lib": "^2", + "php-mock/php-mock": "^2.2", + "php-mock/php-mock-mockery": "^1.3", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpbench/phpbench": "^1.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^8.5 || ^9", + "ramsey/composer-repl": "^1.4", + "slevomat/coding-standard": "^8.4", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.9" + }, + "suggest": { + "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", + "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", + "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", + "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", + "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." + }, + "type": "library", + "extra": { + "captainhook": { + "force-install": true + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Ramsey\\Uuid\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", + "keywords": [ + "guid", + "identifier", + "uuid" + ], + "support": { + "issues": "https://github.com/ramsey/uuid/issues", + "source": "https://github.com/ramsey/uuid/tree/4.7.6" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", + "type": "tidelift" + } + ], + "time": "2024-04-27T21:32:50+00:00" + }, { "name": "symfony/deprecation-contracts", "version": "v2.5.2", diff --git a/vendor/autoload_original.php b/vendor/autoload_original.php index 19ad79326..175bb5ee1 100644 --- a/vendor/autoload_original.php +++ b/vendor/autoload_original.php @@ -9,4 +9,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit4772b4f8b1accc7fd3f3497a28a4653b::getLoader(); +return ComposerAutoloaderInit54cb5964df745acb578c0235eaab1abc::getLoader(); diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php index 98d2e77b6..cb87822a5 100644 --- a/vendor/composer/autoload_files.php +++ b/vendor/composer/autoload_files.php @@ -7,9 +7,9 @@ return array( '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', - 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php', '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php', '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', + 'e39a8b23c42d4e1452234d762b03835a' => $vendorDir . '/ramsey/uuid/src/functions.php', 'decc78cc4436b1292c6c0d151b19445c' => $vendorDir . '/phpseclib/phpseclib/phpseclib/bootstrap.php', '1f87db08236948d07391152dccb70f04' => $vendorDir . '/google/apiclient-services/autoload.php', 'a8d3953fd9959404dd22d3dfcd0a79f0' => $vendorDir . '/google/apiclient/src/aliases.php', diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index af7bbfc5a..2a53092f1 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -8,6 +8,8 @@ return array( 'phpseclib3\\' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'), 'bcmath_compat\\' => array($vendorDir . '/phpseclib/bcmath_compat/src'), + 'Ramsey\\Uuid\\' => array($vendorDir . '/ramsey/uuid/src'), + 'Ramsey\\Collection\\' => array($vendorDir . '/ramsey/collection/src'), 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'), 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), 'Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'), @@ -17,20 +19,31 @@ 'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'), 'Grpc\\Gcp\\' => array($vendorDir . '/google/grpc-gcp/src'), 'Grpc\\' => array($vendorDir . '/grpc/grpc/src/lib'), + 'Google\\Type\\' => array($vendorDir . '/google/common-protos/src/Type'), 'Google\\Service\\' => array($vendorDir . '/google/apiclient-services/src'), + 'Google\\Rpc\\' => array($vendorDir . '/google/common-protos/src/Rpc'), 'Google\\Protobuf\\' => array($vendorDir . '/google/protobuf/src/Google/Protobuf'), 'Google\\LongRunning\\' => array($vendorDir . '/google/longrunning/src/LongRunning'), + 'Google\\Iam\\' => array($vendorDir . '/google/common-protos/src/Iam'), + 'Google\\Cloud\\' => array($vendorDir . '/google/common-protos/src/Cloud'), 'Google\\Auth\\' => array($vendorDir . '/google/auth/src'), + 'Google\\Api\\' => array($vendorDir . '/google/common-protos/src/Api'), 'Google\\ApiCore\\LongRunning\\' => array($vendorDir . '/google/longrunning/src/ApiCore/LongRunning'), 'Google\\ApiCore\\' => array($vendorDir . '/google/gax/src'), 'Google\\Analytics\\Data\\' => array($vendorDir . '/google/analytics-data/src'), 'Google\\Analytics\\Admin\\' => array($vendorDir . '/google/analytics-admin/src'), - 'Google\\' => array($vendorDir . '/google/apiclient/src', $vendorDir . '/google/common-protos/src'), + 'Google\\' => array($vendorDir . '/google/apiclient/src'), + 'GPBMetadata\\Google\\Type\\' => array($vendorDir . '/google/common-protos/metadata/Type'), + 'GPBMetadata\\Google\\Rpc\\' => array($vendorDir . '/google/common-protos/metadata/Rpc'), 'GPBMetadata\\Google\\Protobuf\\' => array($vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf'), 'GPBMetadata\\Google\\Longrunning\\' => array($vendorDir . '/google/longrunning/metadata/Longrunning'), + 'GPBMetadata\\Google\\Logging\\' => array($vendorDir . '/google/common-protos/metadata/Logging'), + 'GPBMetadata\\Google\\Iam\\' => array($vendorDir . '/google/common-protos/metadata/Iam'), + 'GPBMetadata\\Google\\Cloud\\' => array($vendorDir . '/google/common-protos/metadata/Cloud'), + 'GPBMetadata\\Google\\Api\\' => array($vendorDir . '/google/common-protos/metadata/Api'), 'GPBMetadata\\Google\\Analytics\\Data\\' => array($vendorDir . '/google/analytics-data/metadata'), 'GPBMetadata\\Google\\Analytics\\Admin\\' => array($vendorDir . '/google/analytics-admin/metadata'), - 'GPBMetadata\\Google\\' => array($vendorDir . '/google/common-protos/metadata'), 'GPBMetadata\\ApiCore\\' => array($vendorDir . '/google/gax/metadata/ApiCore'), 'Firebase\\JWT\\' => array($vendorDir . '/firebase/php-jwt/src'), + 'Brick\\Math\\' => array($vendorDir . '/brick/math/src'), ); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 73edad321..3e465f377 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit4772b4f8b1accc7fd3f3497a28a4653b +class ComposerAutoloaderInit54cb5964df745acb578c0235eaab1abc { private static $loader; @@ -22,18 +22,18 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit4772b4f8b1accc7fd3f3497a28a4653b', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit54cb5964df745acb578c0235eaab1abc', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit4772b4f8b1accc7fd3f3497a28a4653b', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit54cb5964df745acb578c0235eaab1abc', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit54cb5964df745acb578c0235eaab1abc::getInitializer($loader)); $loader->register(true); - $includeFiles = \Composer\Autoload\ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b::$files; + $includeFiles = \Composer\Autoload\ComposerStaticInit54cb5964df745acb578c0235eaab1abc::$files; foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire4772b4f8b1accc7fd3f3497a28a4653b($fileIdentifier, $file); + composerRequire54cb5964df745acb578c0235eaab1abc($fileIdentifier, $file); } return $loader; @@ -45,7 +45,7 @@ public static function getLoader() * @param string $file * @return void */ -function composerRequire4772b4f8b1accc7fd3f3497a28a4653b($fileIdentifier, $file) +function composerRequire54cb5964df745acb578c0235eaab1abc($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 731ef83fa..4048c3acf 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b +class ComposerStaticInit54cb5964df745acb578c0235eaab1abc { public static $files = array( ); @@ -19,6 +19,11 @@ class ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b array ( 'bcmath_compat\\' => 14, ), + 'R' => + array ( + 'Ramsey\\Uuid\\' => 12, + 'Ramsey\\Collection\\' => 18, + ), 'P' => array ( 'Psr\\Http\\Message\\' => 17, @@ -33,26 +38,40 @@ class ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b 'GuzzleHttp\\' => 11, 'Grpc\\Gcp\\' => 9, 'Grpc\\' => 5, + 'Google\\Type\\' => 12, 'Google\\Service\\' => 15, + 'Google\\Rpc\\' => 11, 'Google\\Protobuf\\' => 16, 'Google\\LongRunning\\' => 19, + 'Google\\Iam\\' => 11, + 'Google\\Cloud\\' => 13, 'Google\\Auth\\' => 12, + 'Google\\Api\\' => 11, 'Google\\ApiCore\\LongRunning\\' => 27, 'Google\\ApiCore\\' => 15, 'Google\\Analytics\\Data\\' => 22, 'Google\\Analytics\\Admin\\' => 23, 'Google\\' => 7, + 'GPBMetadata\\Google\\Type\\' => 24, + 'GPBMetadata\\Google\\Rpc\\' => 23, 'GPBMetadata\\Google\\Protobuf\\' => 28, 'GPBMetadata\\Google\\Longrunning\\' => 31, + 'GPBMetadata\\Google\\Logging\\' => 27, + 'GPBMetadata\\Google\\Iam\\' => 23, + 'GPBMetadata\\Google\\Cloud\\' => 25, + 'GPBMetadata\\Google\\Api\\' => 23, 'GPBMetadata\\Google\\Analytics\\Data\\' => 34, 'GPBMetadata\\Google\\Analytics\\Admin\\' => 35, - 'GPBMetadata\\Google\\' => 19, 'GPBMetadata\\ApiCore\\' => 20, ), 'F' => array ( 'Firebase\\JWT\\' => 13, ), + 'B' => + array ( + 'Brick\\Math\\' => 11, + ), ); public static $prefixDirsPsr4 = array ( @@ -64,6 +83,14 @@ class ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b array ( 0 => __DIR__ . '/..' . '/phpseclib/bcmath_compat/src', ), + 'Ramsey\\Uuid\\' => + array ( + 0 => __DIR__ . '/..' . '/ramsey/uuid/src', + ), + 'Ramsey\\Collection\\' => + array ( + 0 => __DIR__ . '/..' . '/ramsey/collection/src', + ), 'Psr\\Http\\Message\\' => array ( 0 => __DIR__ . '/..' . '/psr/http-factory/src', @@ -101,10 +128,18 @@ class ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b array ( 0 => __DIR__ . '/..' . '/grpc/grpc/src/lib', ), + 'Google\\Type\\' => + array ( + 0 => __DIR__ . '/..' . '/google/common-protos/src/Type', + ), 'Google\\Service\\' => array ( 0 => __DIR__ . '/..' . '/google/apiclient-services/src', ), + 'Google\\Rpc\\' => + array ( + 0 => __DIR__ . '/..' . '/google/common-protos/src/Rpc', + ), 'Google\\Protobuf\\' => array ( 0 => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf', @@ -113,10 +148,22 @@ class ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b array ( 0 => __DIR__ . '/..' . '/google/longrunning/src/LongRunning', ), + 'Google\\Iam\\' => + array ( + 0 => __DIR__ . '/..' . '/google/common-protos/src/Iam', + ), + 'Google\\Cloud\\' => + array ( + 0 => __DIR__ . '/..' . '/google/common-protos/src/Cloud', + ), 'Google\\Auth\\' => array ( 0 => __DIR__ . '/..' . '/google/auth/src', ), + 'Google\\Api\\' => + array ( + 0 => __DIR__ . '/..' . '/google/common-protos/src/Api', + ), 'Google\\ApiCore\\LongRunning\\' => array ( 0 => __DIR__ . '/..' . '/google/longrunning/src/ApiCore/LongRunning', @@ -136,7 +183,14 @@ class ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b 'Google\\' => array ( 0 => __DIR__ . '/..' . '/google/apiclient/src', - 1 => __DIR__ . '/..' . '/google/common-protos/src', + ), + 'GPBMetadata\\Google\\Type\\' => + array ( + 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Type', + ), + 'GPBMetadata\\Google\\Rpc\\' => + array ( + 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Rpc', ), 'GPBMetadata\\Google\\Protobuf\\' => array ( @@ -146,6 +200,22 @@ class ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b array ( 0 => __DIR__ . '/..' . '/google/longrunning/metadata/Longrunning', ), + 'GPBMetadata\\Google\\Logging\\' => + array ( + 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Logging', + ), + 'GPBMetadata\\Google\\Iam\\' => + array ( + 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Iam', + ), + 'GPBMetadata\\Google\\Cloud\\' => + array ( + 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Cloud', + ), + 'GPBMetadata\\Google\\Api\\' => + array ( + 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Api', + ), 'GPBMetadata\\Google\\Analytics\\Data\\' => array ( 0 => __DIR__ . '/..' . '/google/analytics-data/metadata', @@ -154,10 +224,6 @@ class ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b array ( 0 => __DIR__ . '/..' . '/google/analytics-admin/metadata', ), - 'GPBMetadata\\Google\\' => - array ( - 0 => __DIR__ . '/..' . '/google/common-protos/metadata', - ), 'GPBMetadata\\ApiCore\\' => array ( 0 => __DIR__ . '/..' . '/google/gax/metadata/ApiCore', @@ -166,6 +232,10 @@ class ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b array ( 0 => __DIR__ . '/..' . '/firebase/php-jwt/src', ), + 'Brick\\Math\\' => + array ( + 0 => __DIR__ . '/..' . '/brick/math/src', + ), ); public static $classMap = array ( @@ -175,9 +245,9 @@ class ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit54cb5964df745acb578c0235eaab1abc::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit54cb5964df745acb578c0235eaab1abc::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit54cb5964df745acb578c0235eaab1abc::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 87fc0168a..a44d4160c 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -1,35 +1,99 @@ { "packages": [ + { + "name": "brick/math", + "version": "0.12.1", + "version_normalized": "0.12.1.0", + "source": { + "type": "git", + "url": "https://github.com/brick/math.git", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.2", + "phpunit/phpunit": "^10.1", + "vimeo/psalm": "5.16.0" + }, + "time": "2023-11-29T23:19:16+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "Brick\\Math\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Arbitrary-precision arithmetic library", + "keywords": [ + "Arbitrary-precision", + "BigInteger", + "BigRational", + "arithmetic", + "bigdecimal", + "bignum", + "bignumber", + "brick", + "decimal", + "integer", + "math", + "mathematics", + "rational" + ], + "support": { + "issues": "https://github.com/brick/math/issues", + "source": "https://github.com/brick/math/tree/0.12.1" + }, + "funding": [ + { + "url": "https://github.com/BenMorel", + "type": "github" + } + ], + "install-path": "../brick/math" + }, { "name": "firebase/php-jwt", - "version": "v6.2.0", - "version_normalized": "6.2.0.0", + "version": "v6.10.1", + "version_normalized": "6.10.1.0", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "d28e6df83830252650da4623c78aaaf98fb385f3" + "reference": "500501c2ce893c824c801da135d02661199f60c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/d28e6df83830252650da4623c78aaaf98fb385f3", - "reference": "d28e6df83830252650da4623c78aaaf98fb385f3", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/500501c2ce893c824c801da135d02661199f60c5", + "reference": "500501c2ce893c824c801da135d02661199f60c5", "shasum": "" }, "require": { - "php": "^7.1||^8.0" + "php": "^8.0" }, "require-dev": { - "guzzlehttp/guzzle": "^6.5||^7.4", - "phpspec/prophecy-phpunit": "^1.1", - "phpunit/phpunit": "^7.5||^9.5", - "psr/cache": "^1.0||^2.0", + "guzzlehttp/guzzle": "^7.4", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5", + "psr/cache": "^2.0||^3.0", "psr/http-client": "^1.0", "psr/http-factory": "^1.0" }, "suggest": { + "ext-sodium": "Support EdDSA (Ed25519) signatures", "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" }, - "time": "2022-05-13T20:54:50+00:00", + "time": "2024-05-18T18:05:11+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -61,37 +125,37 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.2.0" + "source": "https://github.com/firebase/php-jwt/tree/v6.10.1" }, "install-path": "../firebase/php-jwt" }, { "name": "google/analytics-admin", - "version": "v0.10.0", - "version_normalized": "0.10.0.0", + "version": "v0.22.5", + "version_normalized": "0.22.5.0", "source": { "type": "git", "url": "https://github.com/googleapis/php-analytics-admin.git", - "reference": "7f8af98407f00236c76ef51b6b6adb7a251edbe6" + "reference": "c28dce5b3158381a755d4a4443aa4e2b8d1a2809" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/php-analytics-admin/zipball/7f8af98407f00236c76ef51b6b6adb7a251edbe6", - "reference": "7f8af98407f00236c76ef51b6b6adb7a251edbe6", + "url": "https://api.github.com/repos/googleapis/php-analytics-admin/zipball/c28dce5b3158381a755d4a4443aa4e2b8d1a2809", + "reference": "c28dce5b3158381a755d4a4443aa4e2b8d1a2809", "shasum": "" }, "require": { - "google/gax": "^1.6.0" + "google/gax": "^1.34.0", + "php": "^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8|^5.0|^8.0", - "yoast/phpunit-polyfills": "^1.0" + "phpunit/phpunit": "^9.0" }, "suggest": { "ext-grpc": "Enables use of gRPC, a universal high-performance RPC framework created by Google.", "ext-protobuf": "Provides a significant increase in throughput over the pure PHP protobuf implementation. See https://cloud.google.com/php/grpc for installation instructions." }, - "time": "2023-02-25T13:06:03+00:00", + "time": "2024-06-01T03:14:01+00:00", "type": "library", "extra": { "component": { @@ -114,37 +178,37 @@ ], "description": "Google Analytics Admin Client for PHP", "support": { - "source": "https://github.com/googleapis/php-analytics-admin/tree/v0.10.0" + "source": "https://github.com/googleapis/php-analytics-admin/tree/v0.22.5" }, "install-path": "../google/analytics-admin" }, { "name": "google/analytics-data", - "version": "v0.9.4", - "version_normalized": "0.9.4.0", + "version": "v0.17.1", + "version_normalized": "0.17.1.0", "source": { "type": "git", "url": "https://github.com/googleapis/php-analytics-data.git", - "reference": "f1da5ed9be985794d7738cfe3f3a3db59e6ce511" + "reference": "0a7b129fd483179d16780d548be4fe16cd8bdc1a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/php-analytics-data/zipball/f1da5ed9be985794d7738cfe3f3a3db59e6ce511", - "reference": "f1da5ed9be985794d7738cfe3f3a3db59e6ce511", + "url": "https://api.github.com/repos/googleapis/php-analytics-data/zipball/0a7b129fd483179d16780d548be4fe16cd8bdc1a", + "reference": "0a7b129fd483179d16780d548be4fe16cd8bdc1a", "shasum": "" }, "require": { - "google/gax": "^1.6.0" + "google/gax": "^1.34.0", + "php": "^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8|^5.0|^8.0", - "yoast/phpunit-polyfills": "^1.0" + "phpunit/phpunit": "^9.0" }, "suggest": { "ext-grpc": "Enables use of gRPC, a universal high-performance RPC framework created by Google.", "ext-protobuf": "Provides a significant increase in throughput over the pure PHP protobuf implementation. See https://cloud.google.com/php/grpc for installation instructions." }, - "time": "2023-02-10T16:10:50+00:00", + "time": "2024-06-01T03:14:01+00:00", "type": "library", "extra": { "component": { @@ -167,23 +231,23 @@ ], "description": "Google Analytics Data Client for PHP", "support": { - "source": "https://github.com/googleapis/php-analytics-data/tree/v0.9.4" + "source": "https://github.com/googleapis/php-analytics-data/tree/v0.17.1" }, "install-path": "../google/analytics-data" }, { "name": "google/apiclient", - "version": "v2.15.3", - "version_normalized": "2.15.3.0", + "version": "v2.15.4", + "version_normalized": "2.15.4.0", "source": { "type": "git", "url": "https://github.com/googleapis/google-api-php-client.git", - "reference": "e70273c06d18824de77e114247ae3102f8aec64d" + "reference": "73fa9cf8d8886db7269bcda0457d0a251a02cfd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/e70273c06d18824de77e114247ae3102f8aec64d", - "reference": "e70273c06d18824de77e114247ae3102f8aec64d", + "url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/73fa9cf8d8886db7269bcda0457d0a251a02cfd9", + "reference": "73fa9cf8d8886db7269bcda0457d0a251a02cfd9", "shasum": "" }, "require": { @@ -191,14 +255,14 @@ "google/apiclient-services": "~0.200", "google/auth": "^1.33", "guzzlehttp/guzzle": "^6.5.8||^7.4.5", - "guzzlehttp/psr7": "^1.8.4||^2.2.1", + "guzzlehttp/psr7": "^1.9.1||^2.2.1", "monolog/monolog": "^2.9||^3.0", "php": "^7.4|^8.0", - "phpseclib/phpseclib": "^3.0.34" + "phpseclib/phpseclib": "^3.0.36" }, "require-dev": { "cache/filesystem-adapter": "^1.1", - "composer/composer": "^1.10.22", + "composer/composer": "^1.10.23", "phpcompatibility/php-compatibility": "^9.2", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", @@ -209,7 +273,7 @@ "suggest": { "cache/filesystem-adapter": "For caching certs and tokens (using Google\\Client::setCache)" }, - "time": "2024-01-04T19:15:22+00:00", + "time": "2024-04-24T00:56:12+00:00", "type": "library", "extra": { "branch-alias": { @@ -239,7 +303,7 @@ ], "support": { "issues": "https://github.com/googleapis/google-api-php-client/issues", - "source": "https://github.com/googleapis/google-api-php-client/tree/v2.15.3" + "source": "https://github.com/googleapis/google-api-php-client/tree/v2.15.4" }, "install-path": "../google/apiclient" }, @@ -292,40 +356,42 @@ }, { "name": "google/auth", - "version": "v1.34.0", - "version_normalized": "1.34.0.0", + "version": "v1.41.0", + "version_normalized": "1.41.0.0", "source": { "type": "git", "url": "https://github.com/googleapis/google-auth-library-php.git", - "reference": "155daeadfd2f09743f611ea493b828d382519575" + "reference": "1043ea18fe7f5dfbf5b208ce3ee6d6b6ab8cb038" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/155daeadfd2f09743f611ea493b828d382519575", - "reference": "155daeadfd2f09743f611ea493b828d382519575", + "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/1043ea18fe7f5dfbf5b208ce3ee6d6b6ab8cb038", + "reference": "1043ea18fe7f5dfbf5b208ce3ee6d6b6ab8cb038", "shasum": "" }, "require": { "firebase/php-jwt": "^6.0", - "guzzlehttp/guzzle": "^6.2.1|^7.0", + "guzzlehttp/guzzle": "^7.4.5", "guzzlehttp/psr7": "^2.4.5", - "php": "^7.4||^8.0", - "psr/cache": "^1.0||^2.0||^3.0", + "php": "^8.0", + "psr/cache": "^2.0||^3.0", "psr/http-message": "^1.1||^2.0" }, "require-dev": { "guzzlehttp/promises": "^2.0", "kelvinmo/simplejwt": "0.7.1", - "phpseclib/phpseclib": "^3.0", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.0.0", + "phpseclib/phpseclib": "^3.0.35", + "phpspec/prophecy-phpunit": "^2.1", + "phpunit/phpunit": "^9.6", "sebastian/comparator": ">=1.2.3", - "squizlabs/php_codesniffer": "^3.5" + "squizlabs/php_codesniffer": "^3.5", + "symfony/process": "^6.0||^7.0", + "webmozart/assert": "^1.11" }, "suggest": { "phpseclib/phpseclib": "May be used in place of OpenSSL for signing strings or for token management. Please require version ^2." }, - "time": "2024-01-03T20:45:15+00:00", + "time": "2024-07-10T15:21:07+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -347,39 +413,48 @@ "support": { "docs": "https://googleapis.github.io/google-auth-library-php/main/", "issues": "https://github.com/googleapis/google-auth-library-php/issues", - "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.34.0" + "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.41.0" }, "install-path": "../google/auth" }, { "name": "google/common-protos", - "version": "2.1.0", - "version_normalized": "2.1.0.0", + "version": "v4.7.0", + "version_normalized": "4.7.0.0", "source": { "type": "git", "url": "https://github.com/googleapis/common-protos-php.git", - "reference": "4bad82f73a10f8ea4e6d078da93406a16c996044" + "reference": "e58068776f57605c336e32c7db373f0a81da17b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/common-protos-php/zipball/4bad82f73a10f8ea4e6d078da93406a16c996044", - "reference": "4bad82f73a10f8ea4e6d078da93406a16c996044", + "url": "https://api.github.com/repos/googleapis/common-protos-php/zipball/e58068776f57605c336e32c7db373f0a81da17b8", + "reference": "e58068776f57605c336e32c7db373f0a81da17b8", "shasum": "" }, "require": { - "google/protobuf": "^3.6.1, !=3.20.0" + "google/protobuf": "^v3.25.3||^4.26.1", + "php": "^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.36||^8.5", - "sami/sami": "*" + "phpunit/phpunit": "^9.6" }, - "time": "2022-05-13T21:07:15+00:00", + "time": "2024-07-25T20:20:43+00:00", "type": "library", "installation-source": "dist", "autoload": { "psr-4": { - "Google\\": "src", - "GPBMetadata\\Google\\": "metadata" + "Google\\Api\\": "src/Api", + "Google\\Iam\\": "src/Iam", + "Google\\Rpc\\": "src/Rpc", + "Google\\Type\\": "src/Type", + "Google\\Cloud\\": "src/Cloud", + "GPBMetadata\\Google\\Api\\": "metadata/Api", + "GPBMetadata\\Google\\Iam\\": "metadata/Iam", + "GPBMetadata\\Google\\Rpc\\": "metadata/Rpc", + "GPBMetadata\\Google\\Type\\": "metadata/Type", + "GPBMetadata\\Google\\Cloud\\": "metadata/Cloud", + "GPBMetadata\\Google\\Logging\\": "metadata/Logging" } }, "notification-url": "https://packagist.org/downloads/", @@ -393,45 +468,47 @@ ], "support": { "issues": "https://github.com/googleapis/common-protos-php/issues", - "source": "https://github.com/googleapis/common-protos-php/tree/2.1.0" + "source": "https://github.com/googleapis/common-protos-php/tree/v4.7.0" }, "install-path": "../google/common-protos" }, { "name": "google/gax", - "version": "v1.15.0", - "version_normalized": "1.15.0.0", + "version": "v1.34.0", + "version_normalized": "1.34.0.0", "source": { "type": "git", "url": "https://github.com/googleapis/gax-php.git", - "reference": "68dfafe585650ea7b054b60864f10f7ce33ffe48" + "reference": "28aa3e95969a75b278606a88448992a6396a119e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/gax-php/zipball/68dfafe585650ea7b054b60864f10f7ce33ffe48", - "reference": "68dfafe585650ea7b054b60864f10f7ce33ffe48", + "url": "https://api.github.com/repos/googleapis/gax-php/zipball/28aa3e95969a75b278606a88448992a6396a119e", + "reference": "28aa3e95969a75b278606a88448992a6396a119e", "shasum": "" }, "require": { - "google/auth": "^1.18.0", - "google/common-protos": "^1.0||^2.0||^3.0", - "google/grpc-gcp": "^0.2", - "google/longrunning": "^0.1", - "google/protobuf": "^3.12.2", + "google/auth": "^1.34.0", + "google/common-protos": "^4.4", + "google/grpc-gcp": "^0.4", + "google/longrunning": "~0.4", + "google/protobuf": "^v3.25.3||^4.26.1", "grpc/grpc": "^1.13", - "guzzlehttp/promises": "^1.3", - "guzzlehttp/psr7": "^1.7.0||^2", - "php": ">=5.6" + "guzzlehttp/promises": "^2.0", + "guzzlehttp/psr7": "^2.0", + "php": "^8.0", + "ramsey/uuid": "^4.0" }, "conflict": { "ext-protobuf": "<3.7.0" }, "require-dev": { - "phpunit/phpunit": "^5.5||^8.5", - "squizlabs/php_codesniffer": "3.*", - "yoast/phpunit-polyfills": "^1.0" + "phpspec/prophecy-phpunit": "^2.1", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.6", + "squizlabs/php_codesniffer": "3.*" }, - "time": "2022-08-02T21:15:25+00:00", + "time": "2024-05-30T00:35:13+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -451,37 +528,37 @@ ], "support": { "issues": "https://github.com/googleapis/gax-php/issues", - "source": "https://github.com/googleapis/gax-php/tree/v1.15.0" + "source": "https://github.com/googleapis/gax-php/tree/v1.34.0" }, "install-path": "../google/gax" }, { "name": "google/grpc-gcp", - "version": "v0.2.0", - "version_normalized": "0.2.0.0", + "version": "v0.4.0", + "version_normalized": "0.4.0.0", "source": { "type": "git", "url": "https://github.com/GoogleCloudPlatform/grpc-gcp-php.git", - "reference": "2465c2273e11ada1e95155aa1e209f3b8f03c314" + "reference": "2a80dbf690922aa52bb6bb79b9a32a9637a5c2d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GoogleCloudPlatform/grpc-gcp-php/zipball/2465c2273e11ada1e95155aa1e209f3b8f03c314", - "reference": "2465c2273e11ada1e95155aa1e209f3b8f03c314", + "url": "https://api.github.com/repos/GoogleCloudPlatform/grpc-gcp-php/zipball/2a80dbf690922aa52bb6bb79b9a32a9637a5c2d9", + "reference": "2a80dbf690922aa52bb6bb79b9a32a9637a5c2d9", "shasum": "" }, "require": { "google/auth": "^1.3", - "google/protobuf": "^v3.3.0", + "google/protobuf": "^v3.25.3||^4.26.1", "grpc/grpc": "^v1.13.0", - "php": ">=5.5.0", + "php": "^8.0", "psr/cache": "^1.0.1||^2.0.0||^3.0.0" }, "require-dev": { "google/cloud-spanner": "^1.7", - "phpunit/phpunit": "4.8.36" + "phpunit/phpunit": "^9.0" }, - "time": "2021-09-27T22:57:18+00:00", + "time": "2024-04-03T16:37:55+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -499,30 +576,30 @@ "description": "gRPC GCP library for channel management", "support": { "issues": "https://github.com/GoogleCloudPlatform/grpc-gcp-php/issues", - "source": "https://github.com/GoogleCloudPlatform/grpc-gcp-php/tree/v0.2.0" + "source": "https://github.com/GoogleCloudPlatform/grpc-gcp-php/tree/v0.4.0" }, "install-path": "../google/grpc-gcp" }, { "name": "google/longrunning", - "version": "v0.1.0", - "version_normalized": "0.1.0.0", + "version": "0.4.3", + "version_normalized": "0.4.3.0", "source": { "type": "git", "url": "https://github.com/googleapis/php-longrunning.git", - "reference": "d2ddbe3acf5db2692a7b515597640cf3905a534a" + "reference": "ed718a735e407826c3332b7197a44602eb03e608" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/php-longrunning/zipball/d2ddbe3acf5db2692a7b515597640cf3905a534a", - "reference": "d2ddbe3acf5db2692a7b515597640cf3905a534a", + "url": "https://api.github.com/repos/googleapis/php-longrunning/zipball/ed718a735e407826c3332b7197a44602eb03e608", + "reference": "ed718a735e407826c3332b7197a44602eb03e608", "shasum": "" }, "require-dev": { - "google/gax": "^1.13.0", - "phpunit/phpunit": "^4.8|^5.0|^8.0" + "google/gax": "^1.34.0", + "phpunit/phpunit": "^9.0" }, - "time": "2022-07-29T00:07:49+00:00", + "time": "2024-06-01T03:14:01+00:00", "type": "library", "extra": { "component": { @@ -546,23 +623,23 @@ ], "description": "Google LongRunning Client for PHP", "support": { - "source": "https://github.com/googleapis/php-longrunning/tree/v0.1.0" + "source": "https://github.com/googleapis/php-longrunning/tree/v0.4.3" }, "install-path": "../google/longrunning" }, { "name": "google/protobuf", - "version": "v3.22.2", - "version_normalized": "3.22.2.0", + "version": "v4.27.3", + "version_normalized": "4.27.3.0", "source": { "type": "git", "url": "https://github.com/protocolbuffers/protobuf-php.git", - "reference": "ff28a64946708e13f2be627b5e5561f247ecf95c" + "reference": "ff079fe467bf86ac8f3359e2eb77a1613ebd204d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/ff28a64946708e13f2be627b5e5561f247ecf95c", - "reference": "ff28a64946708e13f2be627b5e5561f247ecf95c", + "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/ff079fe467bf86ac8f3359e2eb77a1613ebd204d", + "reference": "ff079fe467bf86ac8f3359e2eb77a1613ebd204d", "shasum": "" }, "require": { @@ -574,7 +651,7 @@ "suggest": { "ext-bcmath": "Need to support JSON deserialization" }, - "time": "2023-03-10T17:52:03+00:00", + "time": "2024-07-31T13:27:16+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -593,7 +670,7 @@ "proto" ], "support": { - "source": "https://github.com/protocolbuffers/protobuf-php/tree/v3.22.2" + "source": "https://github.com/protocolbuffers/protobuf-php/tree/v4.27.3" }, "install-path": "../google/protobuf" }, @@ -646,23 +723,23 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.8.1", - "version_normalized": "7.8.1.0", + "version": "7.9.2", + "version_normalized": "7.9.2.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "41042bc7ab002487b876a0683fc8dce04ddce104" + "reference": "d281ed313b989f213357e3be1a179f02196ac99b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104", - "reference": "41042bc7ab002487b876a0683fc8dce04ddce104", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0.1", - "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -673,9 +750,9 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "guzzle/client-integration-tests": "3.0.2", "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -683,7 +760,7 @@ "ext-intl": "Required for Internationalized Domain Name (IDN) support", "psr/log": "Required for using the Log middleware" }, - "time": "2023-12-03T20:35:24+00:00", + "time": "2024-07-24T11:22:20+00:00", "type": "library", "extra": { "bamarni-bin": { @@ -755,7 +832,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.8.1" + "source": "https://github.com/guzzle/guzzle/tree/7.9.2" }, "funding": [ { @@ -775,32 +852,36 @@ }, { "name": "guzzlehttp/promises", - "version": "1.5.3", - "version_normalized": "1.5.3.0", + "version": "2.0.3", + "version_normalized": "2.0.3.0", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "67ab6e18aaa14d753cc148911d273f6e6cb6721e" + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/67ab6e18aaa14d753cc148911d273f6e6cb6721e", - "reference": "67ab6e18aaa14d753cc148911d273f6e6cb6721e", + "url": "https://api.github.com/repos/guzzle/promises/zipball/6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", "shasum": "" }, "require": { - "php": ">=5.5" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, - "time": "2023-05-21T12:31:43+00:00", + "time": "2024-07-18T10:29:17+00:00", "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, "installation-source": "dist", "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Promise\\": "src/" } @@ -837,7 +918,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.3" + "source": "https://github.com/guzzle/promises/tree/2.0.3" }, "funding": [ { @@ -857,17 +938,17 @@ }, { "name": "guzzlehttp/psr7", - "version": "2.5.1", - "version_normalized": "2.5.1.0", + "version": "2.7.0", + "version_normalized": "2.7.0.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "a0b3a03e8e8005257fbc408ce5f0fd0a8274dc7f" + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/a0b3a03e8e8005257fbc408ce5f0fd0a8274dc7f", - "reference": "a0b3a03e8e8005257fbc408ce5f0fd0a8274dc7f", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", "shasum": "" }, "require": { @@ -881,14 +962,14 @@ "psr/http-message-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", - "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.29 || ^9.5.23" + "bamarni/composer-bin-plugin": "^1.8.2", + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, - "time": "2023-08-03T15:02:42+00:00", + "time": "2024-07-18T11:15:46+00:00", "type": "library", "extra": { "bamarni-bin": { @@ -956,7 +1037,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.5.1" + "source": "https://github.com/guzzle/psr7/tree/2.7.0" }, "funding": [ { @@ -1099,17 +1180,17 @@ }, { "name": "phpseclib/bcmath_compat", - "version": "2.0.1", - "version_normalized": "2.0.1.0", + "version": "2.0.2", + "version_normalized": "2.0.2.0", "source": { "type": "git", "url": "https://github.com/phpseclib/bcmath_compat.git", - "reference": "2ffea8bfe1702b4535a7b3c2649c4301968e9a3c" + "reference": "29bbf07a7039ff65ce7daa44502ba34baf1512ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/bcmath_compat/zipball/2ffea8bfe1702b4535a7b3c2649c4301968e9a3c", - "reference": "2ffea8bfe1702b4535a7b3c2649c4301968e9a3c", + "url": "https://api.github.com/repos/phpseclib/bcmath_compat/zipball/29bbf07a7039ff65ce7daa44502ba34baf1512ec", + "reference": "29bbf07a7039ff65ce7daa44502ba34baf1512ec", "shasum": "" }, "require": { @@ -1125,7 +1206,7 @@ "suggest": { "ext-gmp": "Will enable faster math operations" }, - "time": "2021-12-16T02:35:52+00:00", + "time": "2024-02-21T10:30:36+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -1277,23 +1358,23 @@ }, { "name": "psr/cache", - "version": "1.0.1", - "version_normalized": "1.0.1.0", + "version": "3.0.0", + "version_normalized": "3.0.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/cache.git", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, - "time": "2016-08-06T20:24:11+00:00", + "time": "2021-02-03T23:26:27+00:00", "type": "library", "extra": { "branch-alias": { @@ -1313,7 +1394,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for caching libraries", @@ -1323,7 +1404,7 @@ "psr-6" ], "support": { - "source": "https://github.com/php-fig/cache/tree/master" + "source": "https://github.com/php-fig/cache/tree/3.0.0" }, "install-path": "../psr/cache" }, @@ -1543,6 +1624,193 @@ }, "install-path": "../ralouphie/getallheaders" }, + { + "name": "ramsey/collection", + "version": "2.0.0", + "version_normalized": "2.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/ramsey/collection.git", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "captainhook/plugin-composer": "^5.3", + "ergebnis/composer-normalize": "^2.28.3", + "fakerphp/faker": "^1.21", + "hamcrest/hamcrest-php": "^2.0", + "jangregor/phpstan-prophecy": "^1.0", + "mockery/mockery": "^1.5", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3", + "phpcsstandards/phpcsutils": "^1.0.0-rc1", + "phpspec/prophecy-phpunit": "^2.0", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5", + "psalm/plugin-mockery": "^1.1", + "psalm/plugin-phpunit": "^0.18.4", + "ramsey/coding-standard": "^2.0.3", + "ramsey/conventional-commits": "^1.3", + "vimeo/psalm": "^5.4" + }, + "time": "2022-12-31T21:50:55+00:00", + "type": "library", + "extra": { + "captainhook": { + "force-install": true + }, + "ramsey/conventional-commits": { + "configFile": "conventional-commits.json" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Ramsey\\Collection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" + } + ], + "description": "A PHP library for representing and manipulating collections.", + "keywords": [ + "array", + "collection", + "hash", + "map", + "queue", + "set" + ], + "support": { + "issues": "https://github.com/ramsey/collection/issues", + "source": "https://github.com/ramsey/collection/tree/2.0.0" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/collection", + "type": "tidelift" + } + ], + "install-path": "../ramsey/collection" + }, + { + "name": "ramsey/uuid", + "version": "4.7.6", + "version_normalized": "4.7.6.0", + "source": { + "type": "git", + "url": "https://github.com/ramsey/uuid.git", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088", + "shasum": "" + }, + "require": { + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", + "ext-json": "*", + "php": "^8.0", + "ramsey/collection": "^1.2 || ^2.0" + }, + "replace": { + "rhumsaa/uuid": "self.version" + }, + "require-dev": { + "captainhook/captainhook": "^5.10", + "captainhook/plugin-composer": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "doctrine/annotations": "^1.8", + "ergebnis/composer-normalize": "^2.15", + "mockery/mockery": "^1.3", + "paragonie/random-lib": "^2", + "php-mock/php-mock": "^2.2", + "php-mock/php-mock-mockery": "^1.3", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpbench/phpbench": "^1.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^8.5 || ^9", + "ramsey/composer-repl": "^1.4", + "slevomat/coding-standard": "^8.4", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.9" + }, + "suggest": { + "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", + "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", + "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", + "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", + "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." + }, + "time": "2024-04-27T21:32:50+00:00", + "type": "library", + "extra": { + "captainhook": { + "force-install": true + } + }, + "installation-source": "dist", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Ramsey\\Uuid\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", + "keywords": [ + "guid", + "identifier", + "uuid" + ], + "support": { + "issues": "https://github.com/ramsey/uuid/issues", + "source": "https://github.com/ramsey/uuid/tree/4.7.6" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", + "type": "tidelift" + } + ], + "install-path": "../ramsey/uuid" + }, { "name": "symfony/deprecation-contracts", "version": "v2.5.2", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 0b174580c..d303e88a3 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -3,7 +3,7 @@ 'name' => '__root__', 'pretty_version' => 'dev-5.x-dev', 'version' => 'dev-5.x-dev', - 'reference' => '129574f4684b701a1cd7a273bcad12249161c47e', + 'reference' => 'e6215d99c7ea728150ce2bd4ada9e5a9f7030aa4', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -13,43 +13,52 @@ '__root__' => array( 'pretty_version' => 'dev-5.x-dev', 'version' => 'dev-5.x-dev', - 'reference' => '129574f4684b701a1cd7a273bcad12249161c47e', + 'reference' => 'e6215d99c7ea728150ce2bd4ada9e5a9f7030aa4', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => false, ), + 'brick/math' => array( + 'pretty_version' => '0.12.1', + 'version' => '0.12.1.0', + 'reference' => 'f510c0a40911935b77b86859eb5223d58d660df1', + 'type' => 'library', + 'install_path' => __DIR__ . '/../brick/math', + 'aliases' => array(), + 'dev_requirement' => false, + ), 'firebase/php-jwt' => array( - 'pretty_version' => 'v6.2.0', - 'version' => '6.2.0.0', - 'reference' => 'd28e6df83830252650da4623c78aaaf98fb385f3', + 'pretty_version' => 'v6.10.1', + 'version' => '6.10.1.0', + 'reference' => '500501c2ce893c824c801da135d02661199f60c5', 'type' => 'library', 'install_path' => __DIR__ . '/../firebase/php-jwt', 'aliases' => array(), 'dev_requirement' => false, ), 'google/analytics-admin' => array( - 'pretty_version' => 'v0.10.0', - 'version' => '0.10.0.0', - 'reference' => '7f8af98407f00236c76ef51b6b6adb7a251edbe6', + 'pretty_version' => 'v0.22.5', + 'version' => '0.22.5.0', + 'reference' => 'c28dce5b3158381a755d4a4443aa4e2b8d1a2809', 'type' => 'library', 'install_path' => __DIR__ . '/../google/analytics-admin', 'aliases' => array(), 'dev_requirement' => false, ), 'google/analytics-data' => array( - 'pretty_version' => 'v0.9.4', - 'version' => '0.9.4.0', - 'reference' => 'f1da5ed9be985794d7738cfe3f3a3db59e6ce511', + 'pretty_version' => 'v0.17.1', + 'version' => '0.17.1.0', + 'reference' => '0a7b129fd483179d16780d548be4fe16cd8bdc1a', 'type' => 'library', 'install_path' => __DIR__ . '/../google/analytics-data', 'aliases' => array(), 'dev_requirement' => false, ), 'google/apiclient' => array( - 'pretty_version' => 'v2.15.3', - 'version' => '2.15.3.0', - 'reference' => 'e70273c06d18824de77e114247ae3102f8aec64d', + 'pretty_version' => 'v2.15.4', + 'version' => '2.15.4.0', + 'reference' => '73fa9cf8d8886db7269bcda0457d0a251a02cfd9', 'type' => 'library', 'install_path' => __DIR__ . '/../google/apiclient', 'aliases' => array(), @@ -65,54 +74,54 @@ 'dev_requirement' => false, ), 'google/auth' => array( - 'pretty_version' => 'v1.34.0', - 'version' => '1.34.0.0', - 'reference' => '155daeadfd2f09743f611ea493b828d382519575', + 'pretty_version' => 'v1.41.0', + 'version' => '1.41.0.0', + 'reference' => '1043ea18fe7f5dfbf5b208ce3ee6d6b6ab8cb038', 'type' => 'library', 'install_path' => __DIR__ . '/../google/auth', 'aliases' => array(), 'dev_requirement' => false, ), 'google/common-protos' => array( - 'pretty_version' => '2.1.0', - 'version' => '2.1.0.0', - 'reference' => '4bad82f73a10f8ea4e6d078da93406a16c996044', + 'pretty_version' => 'v4.7.0', + 'version' => '4.7.0.0', + 'reference' => 'e58068776f57605c336e32c7db373f0a81da17b8', 'type' => 'library', 'install_path' => __DIR__ . '/../google/common-protos', 'aliases' => array(), 'dev_requirement' => false, ), 'google/gax' => array( - 'pretty_version' => 'v1.15.0', - 'version' => '1.15.0.0', - 'reference' => '68dfafe585650ea7b054b60864f10f7ce33ffe48', + 'pretty_version' => 'v1.34.0', + 'version' => '1.34.0.0', + 'reference' => '28aa3e95969a75b278606a88448992a6396a119e', 'type' => 'library', 'install_path' => __DIR__ . '/../google/gax', 'aliases' => array(), 'dev_requirement' => false, ), 'google/grpc-gcp' => array( - 'pretty_version' => 'v0.2.0', - 'version' => '0.2.0.0', - 'reference' => '2465c2273e11ada1e95155aa1e209f3b8f03c314', + 'pretty_version' => 'v0.4.0', + 'version' => '0.4.0.0', + 'reference' => '2a80dbf690922aa52bb6bb79b9a32a9637a5c2d9', 'type' => 'library', 'install_path' => __DIR__ . '/../google/grpc-gcp', 'aliases' => array(), 'dev_requirement' => false, ), 'google/longrunning' => array( - 'pretty_version' => 'v0.1.0', - 'version' => '0.1.0.0', - 'reference' => 'd2ddbe3acf5db2692a7b515597640cf3905a534a', + 'pretty_version' => '0.4.3', + 'version' => '0.4.3.0', + 'reference' => 'ed718a735e407826c3332b7197a44602eb03e608', 'type' => 'library', 'install_path' => __DIR__ . '/../google/longrunning', 'aliases' => array(), 'dev_requirement' => false, ), 'google/protobuf' => array( - 'pretty_version' => 'v3.22.2', - 'version' => '3.22.2.0', - 'reference' => 'ff28a64946708e13f2be627b5e5561f247ecf95c', + 'pretty_version' => 'v4.27.3', + 'version' => '4.27.3.0', + 'reference' => 'ff079fe467bf86ac8f3359e2eb77a1613ebd204d', 'type' => 'library', 'install_path' => __DIR__ . '/../google/protobuf', 'aliases' => array(), @@ -128,27 +137,27 @@ 'dev_requirement' => false, ), 'guzzlehttp/guzzle' => array( - 'pretty_version' => '7.8.1', - 'version' => '7.8.1.0', - 'reference' => '41042bc7ab002487b876a0683fc8dce04ddce104', + 'pretty_version' => '7.9.2', + 'version' => '7.9.2.0', + 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => false, ), 'guzzlehttp/promises' => array( - 'pretty_version' => '1.5.3', - 'version' => '1.5.3.0', - 'reference' => '67ab6e18aaa14d753cc148911d273f6e6cb6721e', + 'pretty_version' => '2.0.3', + 'version' => '2.0.3.0', + 'reference' => '6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => false, ), 'guzzlehttp/psr7' => array( - 'pretty_version' => '2.5.1', - 'version' => '2.5.1.0', - 'reference' => 'a0b3a03e8e8005257fbc408ce5f0fd0a8274dc7f', + 'pretty_version' => '2.7.0', + 'version' => '2.7.0.0', + 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), @@ -179,9 +188,9 @@ 'dev_requirement' => false, ), 'phpseclib/bcmath_compat' => array( - 'pretty_version' => '2.0.1', - 'version' => '2.0.1.0', - 'reference' => '2ffea8bfe1702b4535a7b3c2649c4301968e9a3c', + 'pretty_version' => '2.0.2', + 'version' => '2.0.2.0', + 'reference' => '29bbf07a7039ff65ce7daa44502ba34baf1512ec', 'type' => 'library', 'install_path' => __DIR__ . '/../phpseclib/bcmath_compat', 'aliases' => array(), @@ -197,9 +206,9 @@ 'dev_requirement' => false, ), 'psr/cache' => array( - 'pretty_version' => '1.0.1', - 'version' => '1.0.1.0', - 'reference' => 'd11b50ad223250cf17b86e38383413f5a6764bf8', + 'pretty_version' => '3.0.0', + 'version' => '3.0.0.0', + 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/cache', 'aliases' => array(), @@ -259,6 +268,30 @@ 'aliases' => array(), 'dev_requirement' => false, ), + 'ramsey/collection' => array( + 'pretty_version' => '2.0.0', + 'version' => '2.0.0.0', + 'reference' => 'a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5', + 'type' => 'library', + 'install_path' => __DIR__ . '/../ramsey/collection', + 'aliases' => array(), + 'dev_requirement' => false, + ), + 'ramsey/uuid' => array( + 'pretty_version' => '4.7.6', + 'version' => '4.7.6.0', + 'reference' => '91039bc1faa45ba123c4328958e620d382ec7088', + 'type' => 'library', + 'install_path' => __DIR__ . '/../ramsey/uuid', + 'aliases' => array(), + 'dev_requirement' => false, + ), + 'rhumsaa/uuid' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => '4.7.6', + ), + ), 'symfony/deprecation-contracts' => array( 'pretty_version' => 'v2.5.2', 'version' => '2.5.2.0', diff --git a/vendor/prefixed/brick/math/LICENSE b/vendor/prefixed/brick/math/LICENSE new file mode 100644 index 000000000..f9b724f00 --- /dev/null +++ b/vendor/prefixed/brick/math/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2013-present Benjamin Morel + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/vendor/prefixed/brick/math/src/BigDecimal.php b/vendor/prefixed/brick/math/src/BigDecimal.php new file mode 100644 index 000000000..41ea95485 --- /dev/null +++ b/vendor/prefixed/brick/math/src/BigDecimal.php @@ -0,0 +1,623 @@ +value = $value; + $this->scale = $scale; + } + /** + * @psalm-pure + * @return static + */ + protected static function from(BigNumber $number) + { + return $number->toBigDecimal(); + } + /** + * Creates a BigDecimal from an unscaled value and a scale. + * + * Example: `(12345, 3)` will result in the BigDecimal `12.345`. + * + * @param BigNumber|int|float|string $value The unscaled value. Must be convertible to a BigInteger. + * @param int $scale The scale of the number, positive or zero. + * + * @throws \InvalidArgumentException If the scale is negative. + * + * @psalm-pure + */ + public static function ofUnscaledValue($value, int $scale = 0) : BigDecimal + { + if ($scale < 0) { + throw new \InvalidArgumentException('The scale cannot be negative.'); + } + return new BigDecimal((string) BigInteger::of($value), $scale); + } + /** + * Returns a BigDecimal representing zero, with a scale of zero. + * + * @psalm-pure + */ + public static function zero() : BigDecimal + { + /** + * @psalm-suppress ImpureStaticVariable + * @var BigDecimal|null $zero + */ + static $zero; + if ($zero === null) { + $zero = new BigDecimal('0'); + } + return $zero; + } + /** + * Returns a BigDecimal representing one, with a scale of zero. + * + * @psalm-pure + */ + public static function one() : BigDecimal + { + /** + * @psalm-suppress ImpureStaticVariable + * @var BigDecimal|null $one + */ + static $one; + if ($one === null) { + $one = new BigDecimal('1'); + } + return $one; + } + /** + * Returns a BigDecimal representing ten, with a scale of zero. + * + * @psalm-pure + */ + public static function ten() : BigDecimal + { + /** + * @psalm-suppress ImpureStaticVariable + * @var BigDecimal|null $ten + */ + static $ten; + if ($ten === null) { + $ten = new BigDecimal('10'); + } + return $ten; + } + /** + * Returns the sum of this number and the given one. + * + * The result has a scale of `max($this->scale, $that->scale)`. + * + * @param BigNumber|int|float|string $that The number to add. Must be convertible to a BigDecimal. + * + * @throws MathException If the number is not valid, or is not convertible to a BigDecimal. + */ + public function plus($that) : BigDecimal + { + $that = BigDecimal::of($that); + if ($that->value === '0' && $that->scale <= $this->scale) { + return $this; + } + if ($this->value === '0' && $this->scale <= $that->scale) { + return $that; + } + [$a, $b] = $this->scaleValues($this, $that); + $value = Calculator::get()->add($a, $b); + $scale = $this->scale > $that->scale ? $this->scale : $that->scale; + return new BigDecimal($value, $scale); + } + /** + * Returns the difference of this number and the given one. + * + * The result has a scale of `max($this->scale, $that->scale)`. + * + * @param BigNumber|int|float|string $that The number to subtract. Must be convertible to a BigDecimal. + * + * @throws MathException If the number is not valid, or is not convertible to a BigDecimal. + */ + public function minus($that) : BigDecimal + { + $that = BigDecimal::of($that); + if ($that->value === '0' && $that->scale <= $this->scale) { + return $this; + } + [$a, $b] = $this->scaleValues($this, $that); + $value = Calculator::get()->sub($a, $b); + $scale = $this->scale > $that->scale ? $this->scale : $that->scale; + return new BigDecimal($value, $scale); + } + /** + * Returns the product of this number and the given one. + * + * The result has a scale of `$this->scale + $that->scale`. + * + * @param BigNumber|int|float|string $that The multiplier. Must be convertible to a BigDecimal. + * + * @throws MathException If the multiplier is not a valid number, or is not convertible to a BigDecimal. + */ + public function multipliedBy($that) : BigDecimal + { + $that = BigDecimal::of($that); + if ($that->value === '1' && $that->scale === 0) { + return $this; + } + if ($this->value === '1' && $this->scale === 0) { + return $that; + } + $value = Calculator::get()->mul($this->value, $that->value); + $scale = $this->scale + $that->scale; + return new BigDecimal($value, $scale); + } + /** + * Returns the result of the division of this number by the given one, at the given scale. + * + * @param BigNumber|int|float|string $that The divisor. + * @param int|null $scale The desired scale, or null to use the scale of this number. + * @param RoundingMode $roundingMode An optional rounding mode, defaults to UNNECESSARY. + * + * @throws \InvalidArgumentException If the scale or rounding mode is invalid. + * @throws MathException If the number is invalid, is zero, or rounding was necessary. + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\RoundingMode::* $roundingMode + */ + public function dividedBy($that, ?int $scale = null, string $roundingMode = RoundingMode::UNNECESSARY) : BigDecimal + { + $that = BigDecimal::of($that); + if ($that->isZero()) { + throw DivisionByZeroException::divisionByZero(); + } + if ($scale === null) { + $scale = $this->scale; + } elseif ($scale < 0) { + throw new \InvalidArgumentException('Scale cannot be negative.'); + } + if ($that->value === '1' && $that->scale === 0 && $scale === $this->scale) { + return $this; + } + $p = $this->valueWithMinScale($that->scale + $scale); + $q = $that->valueWithMinScale($this->scale - $scale); + $result = Calculator::get()->divRound($p, $q, $roundingMode); + return new BigDecimal($result, $scale); + } + /** + * Returns the exact result of the division of this number by the given one. + * + * The scale of the result is automatically calculated to fit all the fraction digits. + * + * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigDecimal. + * + * @throws MathException If the divisor is not a valid number, is not convertible to a BigDecimal, is zero, + * or the result yields an infinite number of digits. + */ + public function exactlyDividedBy($that) : BigDecimal + { + $that = BigDecimal::of($that); + if ($that->value === '0') { + throw DivisionByZeroException::divisionByZero(); + } + [, $b] = $this->scaleValues($this, $that); + $d = \rtrim($b, '0'); + $scale = \strlen($b) - \strlen($d); + $calculator = Calculator::get(); + foreach ([5, 2] as $prime) { + for (;;) { + $lastDigit = (int) $d[-1]; + if ($lastDigit % $prime !== 0) { + break; + } + $d = $calculator->divQ($d, (string) $prime); + $scale++; + } + } + return $this->dividedBy($that, $scale)->stripTrailingZeros(); + } + /** + * Returns this number exponentiated to the given value. + * + * The result has a scale of `$this->scale * $exponent`. + * + * @throws \InvalidArgumentException If the exponent is not in the range 0 to 1,000,000. + */ + public function power(int $exponent) : BigDecimal + { + if ($exponent === 0) { + return BigDecimal::one(); + } + if ($exponent === 1) { + return $this; + } + if ($exponent < 0 || $exponent > Calculator::MAX_POWER) { + throw new \InvalidArgumentException(\sprintf('The exponent %d is not in the range 0 to %d.', $exponent, Calculator::MAX_POWER)); + } + return new BigDecimal(Calculator::get()->pow($this->value, $exponent), $this->scale * $exponent); + } + /** + * Returns the quotient of the division of this number by the given one. + * + * The quotient has a scale of `0`. + * + * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigDecimal. + * + * @throws MathException If the divisor is not a valid decimal number, or is zero. + */ + public function quotient($that) : BigDecimal + { + $that = BigDecimal::of($that); + if ($that->isZero()) { + throw DivisionByZeroException::divisionByZero(); + } + $p = $this->valueWithMinScale($that->scale); + $q = $that->valueWithMinScale($this->scale); + $quotient = Calculator::get()->divQ($p, $q); + return new BigDecimal($quotient, 0); + } + /** + * Returns the remainder of the division of this number by the given one. + * + * The remainder has a scale of `max($this->scale, $that->scale)`. + * + * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigDecimal. + * + * @throws MathException If the divisor is not a valid decimal number, or is zero. + */ + public function remainder($that) : BigDecimal + { + $that = BigDecimal::of($that); + if ($that->isZero()) { + throw DivisionByZeroException::divisionByZero(); + } + $p = $this->valueWithMinScale($that->scale); + $q = $that->valueWithMinScale($this->scale); + $remainder = Calculator::get()->divR($p, $q); + $scale = $this->scale > $that->scale ? $this->scale : $that->scale; + return new BigDecimal($remainder, $scale); + } + /** + * Returns the quotient and remainder of the division of this number by the given one. + * + * The quotient has a scale of `0`, and the remainder has a scale of `max($this->scale, $that->scale)`. + * + * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigDecimal. + * + * @return BigDecimal[] An array containing the quotient and the remainder. + * + * @psalm-return array{BigDecimal, BigDecimal} + * + * @throws MathException If the divisor is not a valid decimal number, or is zero. + */ + public function quotientAndRemainder($that) : array + { + $that = BigDecimal::of($that); + if ($that->isZero()) { + throw DivisionByZeroException::divisionByZero(); + } + $p = $this->valueWithMinScale($that->scale); + $q = $that->valueWithMinScale($this->scale); + [$quotient, $remainder] = Calculator::get()->divQR($p, $q); + $scale = $this->scale > $that->scale ? $this->scale : $that->scale; + $quotient = new BigDecimal($quotient, 0); + $remainder = new BigDecimal($remainder, $scale); + return [$quotient, $remainder]; + } + /** + * Returns the square root of this number, rounded down to the given number of decimals. + * + * @throws \InvalidArgumentException If the scale is negative. + * @throws NegativeNumberException If this number is negative. + */ + public function sqrt(int $scale) : BigDecimal + { + if ($scale < 0) { + throw new \InvalidArgumentException('Scale cannot be negative.'); + } + if ($this->value === '0') { + return new BigDecimal('0', $scale); + } + if ($this->value[0] === '-') { + throw new NegativeNumberException('Cannot calculate the square root of a negative number.'); + } + $value = $this->value; + $addDigits = 2 * $scale - $this->scale; + if ($addDigits > 0) { + // add zeros + $value .= \str_repeat('0', $addDigits); + } elseif ($addDigits < 0) { + // trim digits + if (-$addDigits >= \strlen($this->value)) { + // requesting a scale too low, will always yield a zero result + return new BigDecimal('0', $scale); + } + $value = \substr($value, 0, $addDigits); + } + $value = Calculator::get()->sqrt($value); + return new BigDecimal($value, $scale); + } + /** + * Returns a copy of this BigDecimal with the decimal point moved $n places to the left. + */ + public function withPointMovedLeft(int $n) : BigDecimal + { + if ($n === 0) { + return $this; + } + if ($n < 0) { + return $this->withPointMovedRight(-$n); + } + return new BigDecimal($this->value, $this->scale + $n); + } + /** + * Returns a copy of this BigDecimal with the decimal point moved $n places to the right. + */ + public function withPointMovedRight(int $n) : BigDecimal + { + if ($n === 0) { + return $this; + } + if ($n < 0) { + return $this->withPointMovedLeft(-$n); + } + $value = $this->value; + $scale = $this->scale - $n; + if ($scale < 0) { + if ($value !== '0') { + $value .= \str_repeat('0', -$scale); + } + $scale = 0; + } + return new BigDecimal($value, $scale); + } + /** + * Returns a copy of this BigDecimal with any trailing zeros removed from the fractional part. + */ + public function stripTrailingZeros() : BigDecimal + { + if ($this->scale === 0) { + return $this; + } + $trimmedValue = \rtrim($this->value, '0'); + if ($trimmedValue === '') { + return BigDecimal::zero(); + } + $trimmableZeros = \strlen($this->value) - \strlen($trimmedValue); + if ($trimmableZeros === 0) { + return $this; + } + if ($trimmableZeros > $this->scale) { + $trimmableZeros = $this->scale; + } + $value = \substr($this->value, 0, -$trimmableZeros); + $scale = $this->scale - $trimmableZeros; + return new BigDecimal($value, $scale); + } + /** + * Returns the absolute value of this number. + */ + public function abs() : BigDecimal + { + return $this->isNegative() ? $this->negated() : $this; + } + /** + * Returns the negated value of this number. + */ + public function negated() : BigDecimal + { + return new BigDecimal(Calculator::get()->neg($this->value), $this->scale); + } + /** + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigNumber|int|float|string $that + */ + public function compareTo($that) : int + { + $that = BigNumber::of($that); + if ($that instanceof BigInteger) { + $that = $that->toBigDecimal(); + } + if ($that instanceof BigDecimal) { + [$a, $b] = $this->scaleValues($this, $that); + return Calculator::get()->cmp($a, $b); + } + return -$that->compareTo($this); + } + public function getSign() : int + { + return $this->value === '0' ? 0 : ($this->value[0] === '-' ? -1 : 1); + } + public function getUnscaledValue() : BigInteger + { + return self::newBigInteger($this->value); + } + public function getScale() : int + { + return $this->scale; + } + /** + * Returns a string representing the integral part of this decimal number. + * + * Example: `-123.456` => `-123`. + */ + public function getIntegralPart() : string + { + if ($this->scale === 0) { + return $this->value; + } + $value = $this->getUnscaledValueWithLeadingZeros(); + return \substr($value, 0, -$this->scale); + } + /** + * Returns a string representing the fractional part of this decimal number. + * + * If the scale is zero, an empty string is returned. + * + * Examples: `-123.456` => '456', `123` => ''. + */ + public function getFractionalPart() : string + { + if ($this->scale === 0) { + return ''; + } + $value = $this->getUnscaledValueWithLeadingZeros(); + return \substr($value, -$this->scale); + } + /** + * Returns whether this decimal number has a non-zero fractional part. + */ + public function hasNonZeroFractionalPart() : bool + { + return $this->getFractionalPart() !== \str_repeat('0', $this->scale); + } + public function toBigInteger() : BigInteger + { + $zeroScaleDecimal = $this->scale === 0 ? $this : $this->dividedBy(1, 0); + return self::newBigInteger($zeroScaleDecimal->value); + } + public function toBigDecimal() : BigDecimal + { + return $this; + } + public function toBigRational() : BigRational + { + $numerator = self::newBigInteger($this->value); + $denominator = self::newBigInteger('1' . \str_repeat('0', $this->scale)); + return self::newBigRational($numerator, $denominator, \false); + } + /** + * @param string $roundingMode + */ + public function toScale(int $scale, $roundingMode = RoundingMode::UNNECESSARY) : BigDecimal + { + if ($scale === $this->scale) { + return $this; + } + return $this->dividedBy(BigDecimal::one(), $scale, $roundingMode); + } + public function toInt() : int + { + return $this->toBigInteger()->toInt(); + } + public function toFloat() : float + { + return (float) (string) $this; + } + public function __toString() : string + { + if ($this->scale === 0) { + return $this->value; + } + $value = $this->getUnscaledValueWithLeadingZeros(); + return \substr($value, 0, -$this->scale) . '.' . \substr($value, -$this->scale); + } + /** + * This method is required for serializing the object and SHOULD NOT be accessed directly. + * + * @internal + * + * @return array{value: string, scale: int} + */ + public function __serialize() : array + { + return ['value' => $this->value, 'scale' => $this->scale]; + } + /** + * This method is only here to allow unserializing the object and cannot be accessed directly. + * + * @internal + * @psalm-suppress RedundantPropertyInitializationCheck + * + * @param array{value: string, scale: int} $data + * + * @throws \LogicException + */ + public function __unserialize(array $data) : void + { + if (isset($this->value)) { + throw new \LogicException('__unserialize() is an internal function, it must not be called directly.'); + } + $this->value = $data['value']; + $this->scale = $data['scale']; + } + /** + * Puts the internal values of the given decimal numbers on the same scale. + * + * @return array{string, string} The scaled integer values of $x and $y. + */ + private function scaleValues(BigDecimal $x, BigDecimal $y) : array + { + $a = $x->value; + $b = $y->value; + if ($b !== '0' && $x->scale > $y->scale) { + $b .= \str_repeat('0', $x->scale - $y->scale); + } elseif ($a !== '0' && $x->scale < $y->scale) { + $a .= \str_repeat('0', $y->scale - $x->scale); + } + return [$a, $b]; + } + private function valueWithMinScale(int $scale) : string + { + $value = $this->value; + if ($this->value !== '0' && $scale > $this->scale) { + $value .= \str_repeat('0', $scale - $this->scale); + } + return $value; + } + /** + * Adds leading zeros if necessary to the unscaled value to represent the full decimal number. + */ + private function getUnscaledValueWithLeadingZeros() : string + { + $value = $this->value; + $targetLength = $this->scale + 1; + $negative = $value[0] === '-'; + $length = \strlen($value); + if ($negative) { + $length--; + } + if ($length >= $targetLength) { + return $this->value; + } + if ($negative) { + $value = \substr($value, 1); + } + $value = \str_pad($value, $targetLength, '0', \STR_PAD_LEFT); + if ($negative) { + $value = '-' . $value; + } + return $value; + } +} diff --git a/vendor/prefixed/brick/math/src/BigInteger.php b/vendor/prefixed/brick/math/src/BigInteger.php new file mode 100644 index 000000000..b370ba300 --- /dev/null +++ b/vendor/prefixed/brick/math/src/BigInteger.php @@ -0,0 +1,874 @@ +value = $value; + } + /** + * @psalm-pure + * @return static + */ + protected static function from(BigNumber $number) + { + return $number->toBigInteger(); + } + /** + * Creates a number from a string in a given base. + * + * The string can optionally be prefixed with the `+` or `-` sign. + * + * Bases greater than 36 are not supported by this method, as there is no clear consensus on which of the lowercase + * or uppercase characters should come first. Instead, this method accepts any base up to 36, and does not + * differentiate lowercase and uppercase characters, which are considered equal. + * + * For bases greater than 36, and/or custom alphabets, use the fromArbitraryBase() method. + * + * @param string $number The number to convert, in the given base. + * @param int $base The base of the number, between 2 and 36. + * + * @throws NumberFormatException If the number is empty, or contains invalid chars for the given base. + * @throws \InvalidArgumentException If the base is out of range. + * + * @psalm-pure + */ + public static function fromBase(string $number, int $base) : BigInteger + { + if ($number === '') { + throw new NumberFormatException('The number cannot be empty.'); + } + if ($base < 2 || $base > 36) { + throw new \InvalidArgumentException(\sprintf('Base %d is not in range 2 to 36.', $base)); + } + if ($number[0] === '-') { + $sign = '-'; + $number = \substr($number, 1); + } elseif ($number[0] === '+') { + $sign = ''; + $number = \substr($number, 1); + } else { + $sign = ''; + } + if ($number === '') { + throw new NumberFormatException('The number cannot be empty.'); + } + $number = \ltrim($number, '0'); + if ($number === '') { + // The result will be the same in any base, avoid further calculation. + return BigInteger::zero(); + } + if ($number === '1') { + // The result will be the same in any base, avoid further calculation. + return new BigInteger($sign . '1'); + } + $pattern = '/[^' . \substr(Calculator::ALPHABET, 0, $base) . ']/'; + if (\preg_match($pattern, \strtolower($number), $matches) === 1) { + throw new NumberFormatException(\sprintf('"%s" is not a valid character in base %d.', $matches[0], $base)); + } + if ($base === 10) { + // The number is usable as is, avoid further calculation. + return new BigInteger($sign . $number); + } + $result = Calculator::get()->fromBase($number, $base); + return new BigInteger($sign . $result); + } + /** + * Parses a string containing an integer in an arbitrary base, using a custom alphabet. + * + * Because this method accepts an alphabet with any character, including dash, it does not handle negative numbers. + * + * @param string $number The number to parse. + * @param string $alphabet The alphabet, for example '01' for base 2, or '01234567' for base 8. + * + * @throws NumberFormatException If the given number is empty or contains invalid chars for the given alphabet. + * @throws \InvalidArgumentException If the alphabet does not contain at least 2 chars. + * + * @psalm-pure + */ + public static function fromArbitraryBase(string $number, string $alphabet) : BigInteger + { + if ($number === '') { + throw new NumberFormatException('The number cannot be empty.'); + } + $base = \strlen($alphabet); + if ($base < 2) { + throw new \InvalidArgumentException('The alphabet must contain at least 2 chars.'); + } + $pattern = '/[^' . \preg_quote($alphabet, '/') . ']/'; + if (\preg_match($pattern, $number, $matches) === 1) { + throw NumberFormatException::charNotInAlphabet($matches[0]); + } + $number = Calculator::get()->fromArbitraryBase($number, $alphabet, $base); + return new BigInteger($number); + } + /** + * Translates a string of bytes containing the binary representation of a BigInteger into a BigInteger. + * + * The input string is assumed to be in big-endian byte-order: the most significant byte is in the zeroth element. + * + * If `$signed` is true, the input is assumed to be in two's-complement representation, and the leading bit is + * interpreted as a sign bit. If `$signed` is false, the input is interpreted as an unsigned number, and the + * resulting BigInteger will always be positive or zero. + * + * This method can be used to retrieve a number exported by `toBytes()`, as long as the `$signed` flags match. + * + * @param string $value The byte string. + * @param bool $signed Whether to interpret as a signed number in two's-complement representation with a leading + * sign bit. + * + * @throws NumberFormatException If the string is empty. + */ + public static function fromBytes(string $value, bool $signed = \true) : BigInteger + { + if ($value === '') { + throw new NumberFormatException('The byte string must not be empty.'); + } + $twosComplement = \false; + if ($signed) { + $x = \ord($value[0]); + if ($twosComplement = $x >= 0x80) { + $value = ~$value; + } + } + $number = self::fromBase(\bin2hex($value), 16); + if ($twosComplement) { + return $number->plus(1)->negated(); + } + return $number; + } + /** + * Generates a pseudo-random number in the range 0 to 2^numBits - 1. + * + * Using the default random bytes generator, this method is suitable for cryptographic use. + * + * @psalm-param (callable(int): string)|null $randomBytesGenerator + * + * @param int $numBits The number of bits. + * @param callable|null $randomBytesGenerator A function that accepts a number of bytes as an integer, and returns a + * string of random bytes of the given length. Defaults to the + * `random_bytes()` function. + * + * @throws \InvalidArgumentException If $numBits is negative. + */ + public static function randomBits(int $numBits, ?callable $randomBytesGenerator = null) : BigInteger + { + if ($numBits < 0) { + throw new \InvalidArgumentException('The number of bits cannot be negative.'); + } + if ($numBits === 0) { + return BigInteger::zero(); + } + if ($randomBytesGenerator === null) { + $randomBytesGenerator = \Closure::fromCallable('random_bytes'); + } + /** @var int<1, max> $byteLength */ + $byteLength = \intdiv($numBits - 1, 8) + 1; + $extraBits = $byteLength * 8 - $numBits; + $bitmask = \chr(0xff >> $extraBits); + $randomBytes = $randomBytesGenerator($byteLength); + $randomBytes[0] = $randomBytes[0] & $bitmask; + return self::fromBytes($randomBytes, \false); + } + /** + * Generates a pseudo-random number between `$min` and `$max`. + * + * Using the default random bytes generator, this method is suitable for cryptographic use. + * + * @psalm-param (callable(int): string)|null $randomBytesGenerator + * + * @param BigNumber|int|float|string $min The lower bound. Must be convertible to a BigInteger. + * @param BigNumber|int|float|string $max The upper bound. Must be convertible to a BigInteger. + * @param callable|null $randomBytesGenerator A function that accepts a number of bytes as an integer, + * and returns a string of random bytes of the given length. + * Defaults to the `random_bytes()` function. + * + * @throws MathException If one of the parameters cannot be converted to a BigInteger, + * or `$min` is greater than `$max`. + */ + public static function randomRange($min, $max, ?callable $randomBytesGenerator = null) : BigInteger + { + $min = BigInteger::of($min); + $max = BigInteger::of($max); + if ($min->isGreaterThan($max)) { + throw new MathException('$min cannot be greater than $max.'); + } + if ($min->isEqualTo($max)) { + return $min; + } + $diff = $max->minus($min); + $bitLength = $diff->getBitLength(); + // try until the number is in range (50% to 100% chance of success) + do { + $randomNumber = self::randomBits($bitLength, $randomBytesGenerator); + } while ($randomNumber->isGreaterThan($diff)); + return $randomNumber->plus($min); + } + /** + * Returns a BigInteger representing zero. + * + * @psalm-pure + */ + public static function zero() : BigInteger + { + /** + * @psalm-suppress ImpureStaticVariable + * @var BigInteger|null $zero + */ + static $zero; + if ($zero === null) { + $zero = new BigInteger('0'); + } + return $zero; + } + /** + * Returns a BigInteger representing one. + * + * @psalm-pure + */ + public static function one() : BigInteger + { + /** + * @psalm-suppress ImpureStaticVariable + * @var BigInteger|null $one + */ + static $one; + if ($one === null) { + $one = new BigInteger('1'); + } + return $one; + } + /** + * Returns a BigInteger representing ten. + * + * @psalm-pure + */ + public static function ten() : BigInteger + { + /** + * @psalm-suppress ImpureStaticVariable + * @var BigInteger|null $ten + */ + static $ten; + if ($ten === null) { + $ten = new BigInteger('10'); + } + return $ten; + } + public static function gcdMultiple(BigInteger $a, BigInteger ...$n) : BigInteger + { + $result = $a; + foreach ($n as $next) { + $result = $result->gcd($next); + if ($result->isEqualTo(1)) { + return $result; + } + } + return $result; + } + /** + * Returns the sum of this number and the given one. + * + * @param BigNumber|int|float|string $that The number to add. Must be convertible to a BigInteger. + * + * @throws MathException If the number is not valid, or is not convertible to a BigInteger. + */ + public function plus($that) : BigInteger + { + $that = BigInteger::of($that); + if ($that->value === '0') { + return $this; + } + if ($this->value === '0') { + return $that; + } + $value = Calculator::get()->add($this->value, $that->value); + return new BigInteger($value); + } + /** + * Returns the difference of this number and the given one. + * + * @param BigNumber|int|float|string $that The number to subtract. Must be convertible to a BigInteger. + * + * @throws MathException If the number is not valid, or is not convertible to a BigInteger. + */ + public function minus($that) : BigInteger + { + $that = BigInteger::of($that); + if ($that->value === '0') { + return $this; + } + $value = Calculator::get()->sub($this->value, $that->value); + return new BigInteger($value); + } + /** + * Returns the product of this number and the given one. + * + * @param BigNumber|int|float|string $that The multiplier. Must be convertible to a BigInteger. + * + * @throws MathException If the multiplier is not a valid number, or is not convertible to a BigInteger. + */ + public function multipliedBy($that) : BigInteger + { + $that = BigInteger::of($that); + if ($that->value === '1') { + return $this; + } + if ($this->value === '1') { + return $that; + } + $value = Calculator::get()->mul($this->value, $that->value); + return new BigInteger($value); + } + /** + * Returns the result of the division of this number by the given one. + * + * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigInteger. + * @param RoundingMode $roundingMode An optional rounding mode, defaults to UNNECESSARY. + * + * @throws MathException If the divisor is not a valid number, is not convertible to a BigInteger, is zero, + * or RoundingMode::UNNECESSARY is used and the remainder is not zero. + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\RoundingMode::* $roundingMode + */ + public function dividedBy($that, string $roundingMode = RoundingMode::UNNECESSARY) : BigInteger + { + $that = BigInteger::of($that); + if ($that->value === '1') { + return $this; + } + if ($that->value === '0') { + throw DivisionByZeroException::divisionByZero(); + } + $result = Calculator::get()->divRound($this->value, $that->value, $roundingMode); + return new BigInteger($result); + } + /** + * Returns this number exponentiated to the given value. + * + * @throws \InvalidArgumentException If the exponent is not in the range 0 to 1,000,000. + */ + public function power(int $exponent) : BigInteger + { + if ($exponent === 0) { + return BigInteger::one(); + } + if ($exponent === 1) { + return $this; + } + if ($exponent < 0 || $exponent > Calculator::MAX_POWER) { + throw new \InvalidArgumentException(\sprintf('The exponent %d is not in the range 0 to %d.', $exponent, Calculator::MAX_POWER)); + } + return new BigInteger(Calculator::get()->pow($this->value, $exponent)); + } + /** + * Returns the quotient of the division of this number by the given one. + * + * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigInteger. + * + * @throws DivisionByZeroException If the divisor is zero. + */ + public function quotient($that) : BigInteger + { + $that = BigInteger::of($that); + if ($that->value === '1') { + return $this; + } + if ($that->value === '0') { + throw DivisionByZeroException::divisionByZero(); + } + $quotient = Calculator::get()->divQ($this->value, $that->value); + return new BigInteger($quotient); + } + /** + * Returns the remainder of the division of this number by the given one. + * + * The remainder, when non-zero, has the same sign as the dividend. + * + * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigInteger. + * + * @throws DivisionByZeroException If the divisor is zero. + */ + public function remainder($that) : BigInteger + { + $that = BigInteger::of($that); + if ($that->value === '1') { + return BigInteger::zero(); + } + if ($that->value === '0') { + throw DivisionByZeroException::divisionByZero(); + } + $remainder = Calculator::get()->divR($this->value, $that->value); + return new BigInteger($remainder); + } + /** + * Returns the quotient and remainder of the division of this number by the given one. + * + * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigInteger. + * + * @return BigInteger[] An array containing the quotient and the remainder. + * + * @psalm-return array{BigInteger, BigInteger} + * + * @throws DivisionByZeroException If the divisor is zero. + */ + public function quotientAndRemainder($that) : array + { + $that = BigInteger::of($that); + if ($that->value === '0') { + throw DivisionByZeroException::divisionByZero(); + } + [$quotient, $remainder] = Calculator::get()->divQR($this->value, $that->value); + return [new BigInteger($quotient), new BigInteger($remainder)]; + } + /** + * Returns the modulo of this number and the given one. + * + * The modulo operation yields the same result as the remainder operation when both operands are of the same sign, + * and may differ when signs are different. + * + * The result of the modulo operation, when non-zero, has the same sign as the divisor. + * + * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigInteger. + * + * @throws DivisionByZeroException If the divisor is zero. + */ + public function mod($that) : BigInteger + { + $that = BigInteger::of($that); + if ($that->value === '0') { + throw DivisionByZeroException::modulusMustNotBeZero(); + } + $value = Calculator::get()->mod($this->value, $that->value); + return new BigInteger($value); + } + /** + * Returns the modular multiplicative inverse of this BigInteger modulo $m. + * + * @throws DivisionByZeroException If $m is zero. + * @throws NegativeNumberException If $m is negative. + * @throws MathException If this BigInteger has no multiplicative inverse mod m (that is, this BigInteger + * is not relatively prime to m). + */ + public function modInverse(BigInteger $m) : BigInteger + { + if ($m->value === '0') { + throw DivisionByZeroException::modulusMustNotBeZero(); + } + if ($m->isNegative()) { + throw new NegativeNumberException('Modulus must not be negative.'); + } + if ($m->value === '1') { + return BigInteger::zero(); + } + $value = Calculator::get()->modInverse($this->value, $m->value); + if ($value === null) { + throw new MathException('Unable to compute the modInverse for the given modulus.'); + } + return new BigInteger($value); + } + /** + * Returns this number raised into power with modulo. + * + * This operation only works on positive numbers. + * + * @param BigNumber|int|float|string $exp The exponent. Must be positive or zero. + * @param BigNumber|int|float|string $mod The modulus. Must be strictly positive. + * + * @throws NegativeNumberException If any of the operands is negative. + * @throws DivisionByZeroException If the modulus is zero. + */ + public function modPow($exp, $mod) : BigInteger + { + $exp = BigInteger::of($exp); + $mod = BigInteger::of($mod); + if ($this->isNegative() || $exp->isNegative() || $mod->isNegative()) { + throw new NegativeNumberException('The operands cannot be negative.'); + } + if ($mod->isZero()) { + throw DivisionByZeroException::modulusMustNotBeZero(); + } + $result = Calculator::get()->modPow($this->value, $exp->value, $mod->value); + return new BigInteger($result); + } + /** + * Returns the greatest common divisor of this number and the given one. + * + * The GCD is always positive, unless both operands are zero, in which case it is zero. + * + * @param BigNumber|int|float|string $that The operand. Must be convertible to an integer number. + */ + public function gcd($that) : BigInteger + { + $that = BigInteger::of($that); + if ($that->value === '0' && $this->value[0] !== '-') { + return $this; + } + if ($this->value === '0' && $that->value[0] !== '-') { + return $that; + } + $value = Calculator::get()->gcd($this->value, $that->value); + return new BigInteger($value); + } + /** + * Returns the integer square root number of this number, rounded down. + * + * The result is the largest x such that x² ≤ n. + * + * @throws NegativeNumberException If this number is negative. + */ + public function sqrt() : BigInteger + { + if ($this->value[0] === '-') { + throw new NegativeNumberException('Cannot calculate the square root of a negative number.'); + } + $value = Calculator::get()->sqrt($this->value); + return new BigInteger($value); + } + /** + * Returns the absolute value of this number. + */ + public function abs() : BigInteger + { + return $this->isNegative() ? $this->negated() : $this; + } + /** + * Returns the inverse of this number. + */ + public function negated() : BigInteger + { + return new BigInteger(Calculator::get()->neg($this->value)); + } + /** + * Returns the integer bitwise-and combined with another integer. + * + * This method returns a negative BigInteger if and only if both operands are negative. + * + * @param BigNumber|int|float|string $that The operand. Must be convertible to an integer number. + */ + public function and($that) : BigInteger + { + $that = BigInteger::of($that); + return new BigInteger(Calculator::get()->and($this->value, $that->value)); + } + /** + * Returns the integer bitwise-or combined with another integer. + * + * This method returns a negative BigInteger if and only if either of the operands is negative. + * + * @param BigNumber|int|float|string $that The operand. Must be convertible to an integer number. + */ + public function or($that) : BigInteger + { + $that = BigInteger::of($that); + return new BigInteger(Calculator::get()->or($this->value, $that->value)); + } + /** + * Returns the integer bitwise-xor combined with another integer. + * + * This method returns a negative BigInteger if and only if exactly one of the operands is negative. + * + * @param BigNumber|int|float|string $that The operand. Must be convertible to an integer number. + */ + public function xor($that) : BigInteger + { + $that = BigInteger::of($that); + return new BigInteger(Calculator::get()->xor($this->value, $that->value)); + } + /** + * Returns the bitwise-not of this BigInteger. + */ + public function not() : BigInteger + { + return $this->negated()->minus(1); + } + /** + * Returns the integer left shifted by a given number of bits. + */ + public function shiftedLeft(int $distance) : BigInteger + { + if ($distance === 0) { + return $this; + } + if ($distance < 0) { + return $this->shiftedRight(-$distance); + } + return $this->multipliedBy(BigInteger::of(2)->power($distance)); + } + /** + * Returns the integer right shifted by a given number of bits. + */ + public function shiftedRight(int $distance) : BigInteger + { + if ($distance === 0) { + return $this; + } + if ($distance < 0) { + return $this->shiftedLeft(-$distance); + } + $operand = BigInteger::of(2)->power($distance); + if ($this->isPositiveOrZero()) { + return $this->quotient($operand); + } + return $this->dividedBy($operand, RoundingMode::UP); + } + /** + * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. + * + * For positive BigIntegers, this is equivalent to the number of bits in the ordinary binary representation. + * Computes (ceil(log2(this < 0 ? -this : this+1))). + */ + public function getBitLength() : int + { + if ($this->value === '0') { + return 0; + } + if ($this->isNegative()) { + return $this->abs()->minus(1)->getBitLength(); + } + return \strlen($this->toBase(2)); + } + /** + * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. + * + * Returns -1 if this BigInteger contains no one bits. + */ + public function getLowestSetBit() : int + { + $n = $this; + $bitLength = $this->getBitLength(); + for ($i = 0; $i <= $bitLength; $i++) { + if ($n->isOdd()) { + return $i; + } + $n = $n->shiftedRight(1); + } + return -1; + } + /** + * Returns whether this number is even. + */ + public function isEven() : bool + { + return \in_array($this->value[-1], ['0', '2', '4', '6', '8'], \true); + } + /** + * Returns whether this number is odd. + */ + public function isOdd() : bool + { + return \in_array($this->value[-1], ['1', '3', '5', '7', '9'], \true); + } + /** + * Returns true if and only if the designated bit is set. + * + * Computes ((this & (1<shiftedRight($n)->isOdd(); + } + /** + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigNumber|int|float|string $that + */ + public function compareTo($that) : int + { + $that = BigNumber::of($that); + if ($that instanceof BigInteger) { + return Calculator::get()->cmp($this->value, $that->value); + } + return -$that->compareTo($this); + } + public function getSign() : int + { + return $this->value === '0' ? 0 : ($this->value[0] === '-' ? -1 : 1); + } + public function toBigInteger() : BigInteger + { + return $this; + } + public function toBigDecimal() : BigDecimal + { + return self::newBigDecimal($this->value); + } + public function toBigRational() : BigRational + { + return self::newBigRational($this, BigInteger::one(), \false); + } + /** + * @param string $roundingMode + */ + public function toScale(int $scale, $roundingMode = RoundingMode::UNNECESSARY) : BigDecimal + { + return $this->toBigDecimal()->toScale($scale, $roundingMode); + } + public function toInt() : int + { + $intValue = (int) $this->value; + if ($this->value !== (string) $intValue) { + throw IntegerOverflowException::toIntOverflow($this); + } + return $intValue; + } + public function toFloat() : float + { + return (float) $this->value; + } + /** + * Returns a string representation of this number in the given base. + * + * The output will always be lowercase for bases greater than 10. + * + * @throws \InvalidArgumentException If the base is out of range. + */ + public function toBase(int $base) : string + { + if ($base === 10) { + return $this->value; + } + if ($base < 2 || $base > 36) { + throw new \InvalidArgumentException(\sprintf('Base %d is out of range [2, 36]', $base)); + } + return Calculator::get()->toBase($this->value, $base); + } + /** + * Returns a string representation of this number in an arbitrary base with a custom alphabet. + * + * Because this method accepts an alphabet with any character, including dash, it does not handle negative numbers; + * a NegativeNumberException will be thrown when attempting to call this method on a negative number. + * + * @param string $alphabet The alphabet, for example '01' for base 2, or '01234567' for base 8. + * + * @throws NegativeNumberException If this number is negative. + * @throws \InvalidArgumentException If the given alphabet does not contain at least 2 chars. + */ + public function toArbitraryBase(string $alphabet) : string + { + $base = \strlen($alphabet); + if ($base < 2) { + throw new \InvalidArgumentException('The alphabet must contain at least 2 chars.'); + } + if ($this->value[0] === '-') { + throw new NegativeNumberException(__FUNCTION__ . '() does not support negative numbers.'); + } + return Calculator::get()->toArbitraryBase($this->value, $alphabet, $base); + } + /** + * Returns a string of bytes containing the binary representation of this BigInteger. + * + * The string is in big-endian byte-order: the most significant byte is in the zeroth element. + * + * If `$signed` is true, the output will be in two's-complement representation, and a sign bit will be prepended to + * the output. If `$signed` is false, no sign bit will be prepended, and this method will throw an exception if the + * number is negative. + * + * The string will contain the minimum number of bytes required to represent this BigInteger, including a sign bit + * if `$signed` is true. + * + * This representation is compatible with the `fromBytes()` factory method, as long as the `$signed` flags match. + * + * @param bool $signed Whether to output a signed number in two's-complement representation with a leading sign bit. + * + * @throws NegativeNumberException If $signed is false, and the number is negative. + */ + public function toBytes(bool $signed = \true) : string + { + if (!$signed && $this->isNegative()) { + throw new NegativeNumberException('Cannot convert a negative number to a byte string when $signed is false.'); + } + $hex = $this->abs()->toBase(16); + if (\strlen($hex) % 2 !== 0) { + $hex = '0' . $hex; + } + $baseHexLength = \strlen($hex); + if ($signed) { + if ($this->isNegative()) { + $bin = \hex2bin($hex); + assert($bin !== \false); + $hex = \bin2hex(~$bin); + $hex = self::fromBase($hex, 16)->plus(1)->toBase(16); + $hexLength = \strlen($hex); + if ($hexLength < $baseHexLength) { + $hex = \str_repeat('0', $baseHexLength - $hexLength) . $hex; + } + if ($hex[0] < '8') { + $hex = 'FF' . $hex; + } + } else { + if ($hex[0] >= '8') { + $hex = '00' . $hex; + } + } + } + return \hex2bin($hex); + } + public function __toString() : string + { + return $this->value; + } + /** + * This method is required for serializing the object and SHOULD NOT be accessed directly. + * + * @internal + * + * @return array{value: string} + */ + public function __serialize() : array + { + return ['value' => $this->value]; + } + /** + * This method is only here to allow unserializing the object and cannot be accessed directly. + * + * @internal + * @psalm-suppress RedundantPropertyInitializationCheck + * + * @param array{value: string} $data + * + * @throws \LogicException + */ + public function __unserialize(array $data) : void + { + if (isset($this->value)) { + throw new \LogicException('__unserialize() is an internal function, it must not be called directly.'); + } + $this->value = $data['value']; + } +} diff --git a/vendor/prefixed/brick/math/src/BigNumber.php b/vendor/prefixed/brick/math/src/BigNumber.php new file mode 100644 index 000000000..ff6d87ede --- /dev/null +++ b/vendor/prefixed/brick/math/src/BigNumber.php @@ -0,0 +1,431 @@ +[\\-\\+])?' . '(?[0-9]+)?' . '(?\\.)?' . '(?[0-9]+)?' . '(?:[eE](?[\\-\\+]?[0-9]+))?' . '$/'; + /** + * The regular expression used to parse rational numbers. + */ + private const PARSE_REGEXP_RATIONAL = '/^' . '(?[\\-\\+])?' . '(?[0-9]+)' . '\\/?' . '(?[0-9]+)' . '$/'; + /** + * Creates a BigNumber of the given value. + * + * The concrete return type is dependent on the given value, with the following rules: + * + * - BigNumber instances are returned as is + * - integer numbers are returned as BigInteger + * - floating point numbers are converted to a string then parsed as such + * - strings containing a `/` character are returned as BigRational + * - strings containing a `.` character or using an exponential notation are returned as BigDecimal + * - strings containing only digits with an optional leading `+` or `-` sign are returned as BigInteger + * + * @throws NumberFormatException If the format of the number is not valid. + * @throws DivisionByZeroException If the value represents a rational number with a denominator of zero. + * + * @psalm-pure + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigNumber|int|float|string $value + * @return static + */ + public static final function of($value) + { + $value = self::_of($value); + if (static::class === BigNumber::class) { + // https://github.com/vimeo/psalm/issues/10309 + assert($value instanceof static); + return $value; + } + return static::from($value); + } + /** + * @psalm-pure + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigNumber|int|float|string $value + */ + private static function _of($value) : BigNumber + { + if ($value instanceof BigNumber) { + return $value; + } + if (\is_int($value)) { + return new BigInteger((string) $value); + } + if (is_float($value)) { + $value = (string) $value; + } + if (strpos($value, '/') !== false) { + // Rational number + if (\preg_match(self::PARSE_REGEXP_RATIONAL, $value, $matches, \PREG_UNMATCHED_AS_NULL) !== 1) { + throw NumberFormatException::invalidFormat($value); + } + $sign = $matches['sign']; + $numerator = $matches['numerator']; + $denominator = $matches['denominator']; + assert($numerator !== null); + assert($denominator !== null); + $numerator = self::cleanUp($sign, $numerator); + $denominator = self::cleanUp(null, $denominator); + if ($denominator === '0') { + throw DivisionByZeroException::denominatorMustNotBeZero(); + } + return new BigRational(new BigInteger($numerator), new BigInteger($denominator), \false); + } else { + // Integer or decimal number + if (\preg_match(self::PARSE_REGEXP_NUMERICAL, $value, $matches, \PREG_UNMATCHED_AS_NULL) !== 1) { + throw NumberFormatException::invalidFormat($value); + } + $sign = $matches['sign']; + $point = $matches['point']; + $integral = $matches['integral']; + $fractional = $matches['fractional']; + $exponent = $matches['exponent']; + if ($integral === null && $fractional === null) { + throw NumberFormatException::invalidFormat($value); + } + if ($integral === null) { + $integral = '0'; + } + if ($point !== null || $exponent !== null) { + $fractional = $fractional ?? ''; + $exponent = $exponent !== null ? (int) $exponent : 0; + if ($exponent === \PHP_INT_MIN || $exponent === \PHP_INT_MAX) { + throw new NumberFormatException('Exponent too large.'); + } + $unscaledValue = self::cleanUp($sign, $integral . $fractional); + $scale = \strlen($fractional) - $exponent; + if ($scale < 0) { + if ($unscaledValue !== '0') { + $unscaledValue .= \str_repeat('0', -$scale); + } + $scale = 0; + } + return new BigDecimal($unscaledValue, $scale); + } + $integral = self::cleanUp($sign, $integral); + return new BigInteger($integral); + } + } + /** + * Overridden by subclasses to convert a BigNumber to an instance of the subclass. + * + * @throws MathException If the value cannot be converted. + * + * @psalm-pure + * @return static + */ + protected static abstract function from(BigNumber $number); + /** + * Proxy method to access BigInteger's protected constructor from sibling classes. + * + * @internal + * @psalm-pure + */ + protected final function newBigInteger(string $value) : BigInteger + { + return new BigInteger($value); + } + /** + * Proxy method to access BigDecimal's protected constructor from sibling classes. + * + * @internal + * @psalm-pure + */ + protected final function newBigDecimal(string $value, int $scale = 0) : BigDecimal + { + return new BigDecimal($value, $scale); + } + /** + * Proxy method to access BigRational's protected constructor from sibling classes. + * + * @internal + * @psalm-pure + */ + protected final function newBigRational(BigInteger $numerator, BigInteger $denominator, bool $checkDenominator) : BigRational + { + return new BigRational($numerator, $denominator, $checkDenominator); + } + /** + * Returns the minimum of the given values. + * + * @param BigNumber|int|float|string ...$values The numbers to compare. All the numbers need to be convertible + * to an instance of the class this method is called on. + * + * @throws \InvalidArgumentException If no values are given. + * @throws MathException If an argument is not valid. + * + * @psalm-pure + * @return static + */ + public static final function min(...$values) + { + $min = null; + foreach ($values as $value) { + $value = static::of($value); + if ($min === null || $value->isLessThan($min)) { + $min = $value; + } + } + if ($min === null) { + throw new \InvalidArgumentException(__METHOD__ . '() expects at least one value.'); + } + return $min; + } + /** + * Returns the maximum of the given values. + * + * @param BigNumber|int|float|string ...$values The numbers to compare. All the numbers need to be convertible + * to an instance of the class this method is called on. + * + * @throws \InvalidArgumentException If no values are given. + * @throws MathException If an argument is not valid. + * + * @psalm-pure + * @return static + */ + public static final function max(...$values) + { + $max = null; + foreach ($values as $value) { + $value = static::of($value); + if ($max === null || $value->isGreaterThan($max)) { + $max = $value; + } + } + if ($max === null) { + throw new \InvalidArgumentException(__METHOD__ . '() expects at least one value.'); + } + return $max; + } + /** + * Returns the sum of the given values. + * + * @param BigNumber|int|float|string ...$values The numbers to add. All the numbers need to be convertible + * to an instance of the class this method is called on. + * + * @throws \InvalidArgumentException If no values are given. + * @throws MathException If an argument is not valid. + * + * @psalm-pure + * @return static + */ + public static final function sum(...$values) + { + /** @var static|null $sum */ + $sum = null; + foreach ($values as $value) { + $value = static::of($value); + $sum = $sum === null ? $value : self::add($sum, $value); + } + if ($sum === null) { + throw new \InvalidArgumentException(__METHOD__ . '() expects at least one value.'); + } + return $sum; + } + /** + * Adds two BigNumber instances in the correct order to avoid a RoundingNecessaryException. + * + * @todo This could be better resolved by creating an abstract protected method in BigNumber, and leaving to + * concrete classes the responsibility to perform the addition themselves or delegate it to the given number, + * depending on their ability to perform the operation. This will also require a version bump because we're + * potentially breaking custom BigNumber implementations (if any...) + * + * @psalm-pure + */ + private static function add(BigNumber $a, BigNumber $b) : BigNumber + { + if ($a instanceof BigRational) { + return $a->plus($b); + } + if ($b instanceof BigRational) { + return $b->plus($a); + } + if ($a instanceof BigDecimal) { + return $a->plus($b); + } + if ($b instanceof BigDecimal) { + return $b->plus($a); + } + /** @var BigInteger $a */ + return $a->plus($b); + } + /** + * Removes optional leading zeros and applies sign. + * + * @param string|null $sign The sign, '+' or '-', optional. Null is allowed for convenience and treated as '+'. + * @param string $number The number, validated as a non-empty string of digits. + * + * @psalm-pure + */ + private static function cleanUp(?string $sign, string $number) : string + { + $number = \ltrim($number, '0'); + if ($number === '') { + return '0'; + } + return $sign === '-' ? '-' . $number : $number; + } + /** + * Checks if this number is equal to the given one. + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigNumber|int|float|string $that + */ + public final function isEqualTo($that) : bool + { + return $this->compareTo($that) === 0; + } + /** + * Checks if this number is strictly lower than the given one. + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigNumber|int|float|string $that + */ + public final function isLessThan($that) : bool + { + return $this->compareTo($that) < 0; + } + /** + * Checks if this number is lower than or equal to the given one. + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigNumber|int|float|string $that + */ + public final function isLessThanOrEqualTo($that) : bool + { + return $this->compareTo($that) <= 0; + } + /** + * Checks if this number is strictly greater than the given one. + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigNumber|int|float|string $that + */ + public final function isGreaterThan($that) : bool + { + return $this->compareTo($that) > 0; + } + /** + * Checks if this number is greater than or equal to the given one. + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigNumber|int|float|string $that + */ + public final function isGreaterThanOrEqualTo($that) : bool + { + return $this->compareTo($that) >= 0; + } + /** + * Checks if this number equals zero. + */ + public final function isZero() : bool + { + return $this->getSign() === 0; + } + /** + * Checks if this number is strictly negative. + */ + public final function isNegative() : bool + { + return $this->getSign() < 0; + } + /** + * Checks if this number is negative or zero. + */ + public final function isNegativeOrZero() : bool + { + return $this->getSign() <= 0; + } + /** + * Checks if this number is strictly positive. + */ + public final function isPositive() : bool + { + return $this->getSign() > 0; + } + /** + * Checks if this number is positive or zero. + */ + public final function isPositiveOrZero() : bool + { + return $this->getSign() >= 0; + } + /** + * Returns the sign of this number. + * + * @psalm-return -1|0|1 + * + * @return int -1 if the number is negative, 0 if zero, 1 if positive. + */ + public abstract function getSign() : int; + /** + * Compares this number to the given one. + * + * @psalm-return -1|0|1 + * + * @return int -1 if `$this` is lower than, 0 if equal to, 1 if greater than `$that`. + * + * @throws MathException If the number is not valid. + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigNumber|int|float|string $that + */ + public abstract function compareTo($that) : int; + /** + * Converts this number to a BigInteger. + * + * @throws RoundingNecessaryException If this number cannot be converted to a BigInteger without rounding. + */ + public abstract function toBigInteger() : BigInteger; + /** + * Converts this number to a BigDecimal. + * + * @throws RoundingNecessaryException If this number cannot be converted to a BigDecimal without rounding. + */ + public abstract function toBigDecimal() : BigDecimal; + /** + * Converts this number to a BigRational. + */ + public abstract function toBigRational() : BigRational; + /** + * Converts this number to a BigDecimal with the given scale, using rounding if necessary. + * + * @param int $scale The scale of the resulting `BigDecimal`. + * @param RoundingMode $roundingMode An optional rounding mode, defaults to UNNECESSARY. + * + * @throws RoundingNecessaryException If this number cannot be converted to the given scale without rounding. + * This only applies when RoundingMode::UNNECESSARY is used. + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\RoundingMode::* $roundingMode + */ + public abstract function toScale(int $scale, string $roundingMode = RoundingMode::UNNECESSARY) : BigDecimal; + /** + * Returns the exact value of this number as a native integer. + * + * If this number cannot be converted to a native integer without losing precision, an exception is thrown. + * Note that the acceptable range for an integer depends on the platform and differs for 32-bit and 64-bit. + * + * @throws MathException If this number cannot be exactly converted to a native integer. + */ + public abstract function toInt() : int; + /** + * Returns an approximation of this number as a floating-point value. + * + * Note that this method can discard information as the precision of a floating-point value + * is inherently limited. + * + * If the number is greater than the largest representable floating point number, positive infinity is returned. + * If the number is less than the smallest representable floating point number, negative infinity is returned. + */ + public abstract function toFloat() : float; + /** + * Returns a string representation of this number. + * + * The output of this method can be parsed by the `of()` factory method; + * this will yield an object equal to this one, without any information loss. + */ + public abstract function __toString() : string; + public final function jsonSerialize() : string + { + return $this->__toString(); + } +} diff --git a/vendor/prefixed/brick/math/src/BigRational.php b/vendor/prefixed/brick/math/src/BigRational.php new file mode 100644 index 000000000..5d8cff852 --- /dev/null +++ b/vendor/prefixed/brick/math/src/BigRational.php @@ -0,0 +1,357 @@ +isZero()) { + throw DivisionByZeroException::denominatorMustNotBeZero(); + } + if ($denominator->isNegative()) { + $numerator = $numerator->negated(); + $denominator = $denominator->negated(); + } + } + $this->numerator = $numerator; + $this->denominator = $denominator; + } + /** + * @psalm-pure + * @return static + */ + protected static function from(BigNumber $number) + { + return $number->toBigRational(); + } + /** + * Creates a BigRational out of a numerator and a denominator. + * + * If the denominator is negative, the signs of both the numerator and the denominator + * will be inverted to ensure that the denominator is always positive. + * + * @param BigNumber|int|float|string $numerator The numerator. Must be convertible to a BigInteger. + * @param BigNumber|int|float|string $denominator The denominator. Must be convertible to a BigInteger. + * + * @throws NumberFormatException If an argument does not represent a valid number. + * @throws RoundingNecessaryException If an argument represents a non-integer number. + * @throws DivisionByZeroException If the denominator is zero. + * + * @psalm-pure + */ + public static function nd($numerator, $denominator) : BigRational + { + $numerator = BigInteger::of($numerator); + $denominator = BigInteger::of($denominator); + return new BigRational($numerator, $denominator, \true); + } + /** + * Returns a BigRational representing zero. + * + * @psalm-pure + */ + public static function zero() : BigRational + { + /** + * @psalm-suppress ImpureStaticVariable + * @var BigRational|null $zero + */ + static $zero; + if ($zero === null) { + $zero = new BigRational(BigInteger::zero(), BigInteger::one(), \false); + } + return $zero; + } + /** + * Returns a BigRational representing one. + * + * @psalm-pure + */ + public static function one() : BigRational + { + /** + * @psalm-suppress ImpureStaticVariable + * @var BigRational|null $one + */ + static $one; + if ($one === null) { + $one = new BigRational(BigInteger::one(), BigInteger::one(), \false); + } + return $one; + } + /** + * Returns a BigRational representing ten. + * + * @psalm-pure + */ + public static function ten() : BigRational + { + /** + * @psalm-suppress ImpureStaticVariable + * @var BigRational|null $ten + */ + static $ten; + if ($ten === null) { + $ten = new BigRational(BigInteger::ten(), BigInteger::one(), \false); + } + return $ten; + } + public function getNumerator() : BigInteger + { + return $this->numerator; + } + public function getDenominator() : BigInteger + { + return $this->denominator; + } + /** + * Returns the quotient of the division of the numerator by the denominator. + */ + public function quotient() : BigInteger + { + return $this->numerator->quotient($this->denominator); + } + /** + * Returns the remainder of the division of the numerator by the denominator. + */ + public function remainder() : BigInteger + { + return $this->numerator->remainder($this->denominator); + } + /** + * Returns the quotient and remainder of the division of the numerator by the denominator. + * + * @return BigInteger[] + * + * @psalm-return array{BigInteger, BigInteger} + */ + public function quotientAndRemainder() : array + { + return $this->numerator->quotientAndRemainder($this->denominator); + } + /** + * Returns the sum of this number and the given one. + * + * @param BigNumber|int|float|string $that The number to add. + * + * @throws MathException If the number is not valid. + */ + public function plus($that) : BigRational + { + $that = BigRational::of($that); + $numerator = $this->numerator->multipliedBy($that->denominator); + $numerator = $numerator->plus($that->numerator->multipliedBy($this->denominator)); + $denominator = $this->denominator->multipliedBy($that->denominator); + return new BigRational($numerator, $denominator, \false); + } + /** + * Returns the difference of this number and the given one. + * + * @param BigNumber|int|float|string $that The number to subtract. + * + * @throws MathException If the number is not valid. + */ + public function minus($that) : BigRational + { + $that = BigRational::of($that); + $numerator = $this->numerator->multipliedBy($that->denominator); + $numerator = $numerator->minus($that->numerator->multipliedBy($this->denominator)); + $denominator = $this->denominator->multipliedBy($that->denominator); + return new BigRational($numerator, $denominator, \false); + } + /** + * Returns the product of this number and the given one. + * + * @param BigNumber|int|float|string $that The multiplier. + * + * @throws MathException If the multiplier is not a valid number. + */ + public function multipliedBy($that) : BigRational + { + $that = BigRational::of($that); + $numerator = $this->numerator->multipliedBy($that->numerator); + $denominator = $this->denominator->multipliedBy($that->denominator); + return new BigRational($numerator, $denominator, \false); + } + /** + * Returns the result of the division of this number by the given one. + * + * @param BigNumber|int|float|string $that The divisor. + * + * @throws MathException If the divisor is not a valid number, or is zero. + */ + public function dividedBy($that) : BigRational + { + $that = BigRational::of($that); + $numerator = $this->numerator->multipliedBy($that->denominator); + $denominator = $this->denominator->multipliedBy($that->numerator); + return new BigRational($numerator, $denominator, \true); + } + /** + * Returns this number exponentiated to the given value. + * + * @throws \InvalidArgumentException If the exponent is not in the range 0 to 1,000,000. + */ + public function power(int $exponent) : BigRational + { + if ($exponent === 0) { + $one = BigInteger::one(); + return new BigRational($one, $one, \false); + } + if ($exponent === 1) { + return $this; + } + return new BigRational($this->numerator->power($exponent), $this->denominator->power($exponent), \false); + } + /** + * Returns the reciprocal of this BigRational. + * + * The reciprocal has the numerator and denominator swapped. + * + * @throws DivisionByZeroException If the numerator is zero. + */ + public function reciprocal() : BigRational + { + return new BigRational($this->denominator, $this->numerator, \true); + } + /** + * Returns the absolute value of this BigRational. + */ + public function abs() : BigRational + { + return new BigRational($this->numerator->abs(), $this->denominator, \false); + } + /** + * Returns the negated value of this BigRational. + */ + public function negated() : BigRational + { + return new BigRational($this->numerator->negated(), $this->denominator, \false); + } + /** + * Returns the simplified value of this BigRational. + */ + public function simplified() : BigRational + { + $gcd = $this->numerator->gcd($this->denominator); + $numerator = $this->numerator->quotient($gcd); + $denominator = $this->denominator->quotient($gcd); + return new BigRational($numerator, $denominator, \false); + } + /** + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigNumber|int|float|string $that + */ + public function compareTo($that) : int + { + return $this->minus($that)->getSign(); + } + public function getSign() : int + { + return $this->numerator->getSign(); + } + public function toBigInteger() : BigInteger + { + $simplified = $this->simplified(); + if (!$simplified->denominator->isEqualTo(1)) { + throw new RoundingNecessaryException('This rational number cannot be represented as an integer value without rounding.'); + } + return $simplified->numerator; + } + public function toBigDecimal() : BigDecimal + { + return $this->numerator->toBigDecimal()->exactlyDividedBy($this->denominator); + } + public function toBigRational() : BigRational + { + return $this; + } + /** + * @param string $roundingMode + */ + public function toScale(int $scale, $roundingMode = RoundingMode::UNNECESSARY) : BigDecimal + { + return $this->numerator->toBigDecimal()->dividedBy($this->denominator, $scale, $roundingMode); + } + public function toInt() : int + { + return $this->toBigInteger()->toInt(); + } + public function toFloat() : float + { + $simplified = $this->simplified(); + return $simplified->numerator->toFloat() / $simplified->denominator->toFloat(); + } + public function __toString() : string + { + $numerator = (string) $this->numerator; + $denominator = (string) $this->denominator; + if ($denominator === '1') { + return $numerator; + } + return $this->numerator . '/' . $this->denominator; + } + /** + * This method is required for serializing the object and SHOULD NOT be accessed directly. + * + * @internal + * + * @return array{numerator: BigInteger, denominator: BigInteger} + */ + public function __serialize() : array + { + return ['numerator' => $this->numerator, 'denominator' => $this->denominator]; + } + /** + * This method is only here to allow unserializing the object and cannot be accessed directly. + * + * @internal + * @psalm-suppress RedundantPropertyInitializationCheck + * + * @param array{numerator: BigInteger, denominator: BigInteger} $data + * + * @throws \LogicException + */ + public function __unserialize(array $data) : void + { + if (isset($this->numerator)) { + throw new \LogicException('__unserialize() is an internal function, it must not be called directly.'); + } + $this->numerator = $data['numerator']; + $this->denominator = $data['denominator']; + } +} diff --git a/vendor/prefixed/brick/math/src/Exception/DivisionByZeroException.php b/vendor/prefixed/brick/math/src/Exception/DivisionByZeroException.php new file mode 100644 index 000000000..7d359c0b1 --- /dev/null +++ b/vendor/prefixed/brick/math/src/Exception/DivisionByZeroException.php @@ -0,0 +1,32 @@ + 126) { + $char = \strtoupper(\dechex($ord)); + if ($ord < 10) { + $char = '0' . $char; + } + } else { + $char = '"' . $char . '"'; + } + return new self(\sprintf('Char %s is not a valid character in the given alphabet.', $char)); + } +} diff --git a/vendor/prefixed/brick/math/src/Exception/RoundingNecessaryException.php b/vendor/prefixed/brick/math/src/Exception/RoundingNecessaryException.php new file mode 100644 index 000000000..de056f79b --- /dev/null +++ b/vendor/prefixed/brick/math/src/Exception/RoundingNecessaryException.php @@ -0,0 +1,18 @@ +init($a, $b); + if ($aNeg && !$bNeg) { + return -1; + } + if ($bNeg && !$aNeg) { + return 1; + } + $aLen = \strlen($aDig); + $bLen = \strlen($bDig); + if ($aLen < $bLen) { + $result = -1; + } elseif ($aLen > $bLen) { + $result = 1; + } else { + $result = $aDig <=> $bDig; + } + return $aNeg ? -$result : $result; + } + /** + * Adds two numbers. + */ + public abstract function add(string $a, string $b) : string; + /** + * Subtracts two numbers. + */ + public abstract function sub(string $a, string $b) : string; + /** + * Multiplies two numbers. + */ + public abstract function mul(string $a, string $b) : string; + /** + * Returns the quotient of the division of two numbers. + * + * @param string $a The dividend. + * @param string $b The divisor, must not be zero. + * + * @return string The quotient. + */ + public abstract function divQ(string $a, string $b) : string; + /** + * Returns the remainder of the division of two numbers. + * + * @param string $a The dividend. + * @param string $b The divisor, must not be zero. + * + * @return string The remainder. + */ + public abstract function divR(string $a, string $b) : string; + /** + * Returns the quotient and remainder of the division of two numbers. + * + * @param string $a The dividend. + * @param string $b The divisor, must not be zero. + * + * @return array{string, string} An array containing the quotient and remainder. + */ + public abstract function divQR(string $a, string $b) : array; + /** + * Exponentiates a number. + * + * @param string $a The base number. + * @param int $e The exponent, validated as an integer between 0 and MAX_POWER. + * + * @return string The power. + */ + public abstract function pow(string $a, int $e) : string; + /** + * @param string $b The modulus; must not be zero. + */ + public function mod(string $a, string $b) : string + { + return $this->divR($this->add($this->divR($a, $b), $b), $b); + } + /** + * Returns the modular multiplicative inverse of $x modulo $m. + * + * If $x has no multiplicative inverse mod m, this method must return null. + * + * This method can be overridden by the concrete implementation if the underlying library has built-in support. + * + * @param string $m The modulus; must not be negative or zero. + */ + public function modInverse(string $x, string $m) : ?string + { + if ($m === '1') { + return '0'; + } + $modVal = $x; + if ($x[0] === '-' || $this->cmp($this->abs($x), $m) >= 0) { + $modVal = $this->mod($x, $m); + } + [$g, $x] = $this->gcdExtended($modVal, $m); + if ($g !== '1') { + return null; + } + return $this->mod($this->add($this->mod($x, $m), $m), $m); + } + /** + * Raises a number into power with modulo. + * + * @param string $base The base number; must be positive or zero. + * @param string $exp The exponent; must be positive or zero. + * @param string $mod The modulus; must be strictly positive. + */ + public abstract function modPow(string $base, string $exp, string $mod) : string; + /** + * Returns the greatest common divisor of the two numbers. + * + * This method can be overridden by the concrete implementation if the underlying library + * has built-in support for GCD calculations. + * + * @return string The GCD, always positive, or zero if both arguments are zero. + */ + public function gcd(string $a, string $b) : string + { + if ($a === '0') { + return $this->abs($b); + } + if ($b === '0') { + return $this->abs($a); + } + return $this->gcd($b, $this->divR($a, $b)); + } + /** + * @return array{string, string, string} GCD, X, Y + */ + private function gcdExtended(string $a, string $b) : array + { + if ($a === '0') { + return [$b, '0', '1']; + } + [$gcd, $x1, $y1] = $this->gcdExtended($this->mod($b, $a), $a); + $x = $this->sub($y1, $this->mul($this->divQ($b, $a), $x1)); + $y = $x1; + return [$gcd, $x, $y]; + } + /** + * Returns the square root of the given number, rounded down. + * + * The result is the largest x such that x² ≤ n. + * The input MUST NOT be negative. + */ + public abstract function sqrt(string $n) : string; + /** + * Converts a number from an arbitrary base. + * + * This method can be overridden by the concrete implementation if the underlying library + * has built-in support for base conversion. + * + * @param string $number The number, positive or zero, non-empty, case-insensitively validated for the given base. + * @param int $base The base of the number, validated from 2 to 36. + * + * @return string The converted number, following the Calculator conventions. + */ + public function fromBase(string $number, int $base) : string + { + return $this->fromArbitraryBase(\strtolower($number), self::ALPHABET, $base); + } + /** + * Converts a number to an arbitrary base. + * + * This method can be overridden by the concrete implementation if the underlying library + * has built-in support for base conversion. + * + * @param string $number The number to convert, following the Calculator conventions. + * @param int $base The base to convert to, validated from 2 to 36. + * + * @return string The converted number, lowercase. + */ + public function toBase(string $number, int $base) : string + { + $negative = $number[0] === '-'; + if ($negative) { + $number = \substr($number, 1); + } + $number = $this->toArbitraryBase($number, self::ALPHABET, $base); + if ($negative) { + return '-' . $number; + } + return $number; + } + /** + * Converts a non-negative number in an arbitrary base using a custom alphabet, to base 10. + * + * @param string $number The number to convert, validated as a non-empty string, + * containing only chars in the given alphabet/base. + * @param string $alphabet The alphabet that contains every digit, validated as 2 chars minimum. + * @param int $base The base of the number, validated from 2 to alphabet length. + * + * @return string The number in base 10, following the Calculator conventions. + */ + public final function fromArbitraryBase(string $number, string $alphabet, int $base) : string + { + // remove leading "zeros" + $number = \ltrim($number, $alphabet[0]); + if ($number === '') { + return '0'; + } + // optimize for "one" + if ($number === $alphabet[1]) { + return '1'; + } + $result = '0'; + $power = '1'; + $base = (string) $base; + for ($i = \strlen($number) - 1; $i >= 0; $i--) { + $index = \strpos($alphabet, $number[$i]); + if ($index !== 0) { + $result = $this->add($result, $index === 1 ? $power : $this->mul($power, (string) $index)); + } + if ($i !== 0) { + $power = $this->mul($power, $base); + } + } + return $result; + } + /** + * Converts a non-negative number to an arbitrary base using a custom alphabet. + * + * @param string $number The number to convert, positive or zero, following the Calculator conventions. + * @param string $alphabet The alphabet that contains every digit, validated as 2 chars minimum. + * @param int $base The base to convert to, validated from 2 to alphabet length. + * + * @return string The converted number in the given alphabet. + */ + public final function toArbitraryBase(string $number, string $alphabet, int $base) : string + { + if ($number === '0') { + return $alphabet[0]; + } + $base = (string) $base; + $result = ''; + while ($number !== '0') { + [$number, $remainder] = $this->divQR($number, $base); + $remainder = (int) $remainder; + $result .= $alphabet[$remainder]; + } + return \strrev($result); + } + /** + * Performs a rounded division. + * + * Rounding is performed when the remainder of the division is not zero. + * + * @param string $a The dividend. + * @param string $b The divisor, must not be zero. + * @param RoundingMode $roundingMode The rounding mode. + * + * @throws \InvalidArgumentException If the rounding mode is invalid. + * @throws RoundingNecessaryException If RoundingMode::UNNECESSARY is provided but rounding is necessary. + * + * @psalm-suppress ImpureFunctionCall + * @param \Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\RoundingMode::* $roundingMode + */ + public final function divRound(string $a, string $b, string $roundingMode) : string + { + [$quotient, $remainder] = $this->divQR($a, $b); + $hasDiscardedFraction = $remainder !== '0'; + $isPositiveOrZero = ($a[0] === '-') === ($b[0] === '-'); + $discardedFractionSign = function () use($remainder, $b) : int { + $r = $this->abs($this->mul($remainder, '2')); + $b = $this->abs($b); + return $this->cmp($r, $b); + }; + $increment = \false; + switch ($roundingMode) { + case RoundingMode::UNNECESSARY: + if ($hasDiscardedFraction) { + throw RoundingNecessaryException::roundingNecessary(); + } + break; + case RoundingMode::UP: + $increment = $hasDiscardedFraction; + break; + case RoundingMode::DOWN: + break; + case RoundingMode::CEILING: + $increment = $hasDiscardedFraction && $isPositiveOrZero; + break; + case RoundingMode::FLOOR: + $increment = $hasDiscardedFraction && !$isPositiveOrZero; + break; + case RoundingMode::HALF_UP: + $increment = $discardedFractionSign() >= 0; + break; + case RoundingMode::HALF_DOWN: + $increment = $discardedFractionSign() > 0; + break; + case RoundingMode::HALF_CEILING: + $increment = $isPositiveOrZero ? $discardedFractionSign() >= 0 : $discardedFractionSign() > 0; + break; + case RoundingMode::HALF_FLOOR: + $increment = $isPositiveOrZero ? $discardedFractionSign() > 0 : $discardedFractionSign() >= 0; + break; + case RoundingMode::HALF_EVEN: + $lastDigit = (int) $quotient[-1]; + $lastDigitIsEven = $lastDigit % 2 === 0; + $increment = $lastDigitIsEven ? $discardedFractionSign() > 0 : $discardedFractionSign() >= 0; + break; + default: + throw new \InvalidArgumentException('Invalid rounding mode.'); + } + if ($increment) { + return $this->add($quotient, $isPositiveOrZero ? '1' : '-1'); + } + return $quotient; + } + /** + * Calculates bitwise AND of two numbers. + * + * This method can be overridden by the concrete implementation if the underlying library + * has built-in support for bitwise operations. + */ + public function and(string $a, string $b) : string + { + return $this->bitwise('and', $a, $b); + } + /** + * Calculates bitwise OR of two numbers. + * + * This method can be overridden by the concrete implementation if the underlying library + * has built-in support for bitwise operations. + */ + public function or(string $a, string $b) : string + { + return $this->bitwise('or', $a, $b); + } + /** + * Calculates bitwise XOR of two numbers. + * + * This method can be overridden by the concrete implementation if the underlying library + * has built-in support for bitwise operations. + */ + public function xor(string $a, string $b) : string + { + return $this->bitwise('xor', $a, $b); + } + /** + * Performs a bitwise operation on a decimal number. + * + * @param 'and'|'or'|'xor' $operator The operator to use. + * @param string $a The left operand. + * @param string $b The right operand. + */ + private function bitwise(string $operator, string $a, string $b) : string + { + [$aNeg, $bNeg, $aDig, $bDig] = $this->init($a, $b); + $aBin = $this->toBinary($aDig); + $bBin = $this->toBinary($bDig); + $aLen = \strlen($aBin); + $bLen = \strlen($bBin); + if ($aLen > $bLen) { + $bBin = \str_repeat("\x00", $aLen - $bLen) . $bBin; + } elseif ($bLen > $aLen) { + $aBin = \str_repeat("\x00", $bLen - $aLen) . $aBin; + } + if ($aNeg) { + $aBin = $this->twosComplement($aBin); + } + if ($bNeg) { + $bBin = $this->twosComplement($bBin); + } + switch ($operator) { + case 'and': + $value = $aBin & $bBin; + break; + case 'or': + $value = $aBin | $bBin; + break; + case 'xor': + $value = $aBin ^ $bBin; + break; + } + switch ($operator) { + case 'and': + $negative = ($aNeg and $bNeg); + break; + case 'or': + $negative = ($aNeg or $bNeg); + break; + case 'xor': + $negative = ($aNeg xor $bNeg); + break; + } + if ($negative) { + $value = $this->twosComplement($value); + } + $result = $this->toDecimal($value); + return $negative ? $this->neg($result) : $result; + } + /** + * @param string $number A positive, binary number. + */ + private function twosComplement(string $number) : string + { + $xor = \str_repeat("\xff", \strlen($number)); + $number ^= $xor; + for ($i = \strlen($number) - 1; $i >= 0; $i--) { + $byte = \ord($number[$i]); + if (++$byte !== 256) { + $number[$i] = \chr($byte); + break; + } + $number[$i] = "\x00"; + if ($i === 0) { + $number = "\x01" . $number; + } + } + return $number; + } + /** + * Converts a decimal number to a binary string. + * + * @param string $number The number to convert, positive or zero, only digits. + */ + private function toBinary(string $number) : string + { + $result = ''; + while ($number !== '0') { + [$number, $remainder] = $this->divQR($number, '256'); + $result .= \chr((int) $remainder); + } + return \strrev($result); + } + /** + * Returns the positive decimal representation of a binary number. + * + * @param string $bytes The bytes representing the number. + */ + private function toDecimal(string $bytes) : string + { + $result = '0'; + $power = '1'; + for ($i = \strlen($bytes) - 1; $i >= 0; $i--) { + $index = \ord($bytes[$i]); + if ($index !== 0) { + $result = $this->add($result, $index === 1 ? $power : $this->mul($power, (string) $index)); + } + if ($i !== 0) { + $power = $this->mul($power, '256'); + } + } + return $result; + } +} diff --git a/vendor/prefixed/brick/math/src/Internal/Calculator/BcMathCalculator.php b/vendor/prefixed/brick/math/src/Internal/Calculator/BcMathCalculator.php new file mode 100644 index 000000000..761bdb2de --- /dev/null +++ b/vendor/prefixed/brick/math/src/Internal/Calculator/BcMathCalculator.php @@ -0,0 +1,54 @@ +maxDigits = 9; + break; + case 8: + $this->maxDigits = 18; + break; + default: + throw new \RuntimeException('The platform is not 32-bit or 64-bit as expected.'); + } + } + public function add(string $a, string $b) : string + { + /** + * @psalm-var numeric-string $a + * @psalm-var numeric-string $b + */ + $result = $a + $b; + if (is_int($result)) { + return (string) $result; + } + if ($a === '0') { + return $b; + } + if ($b === '0') { + return $a; + } + [$aNeg, $bNeg, $aDig, $bDig] = $this->init($a, $b); + $result = $aNeg === $bNeg ? $this->doAdd($aDig, $bDig) : $this->doSub($aDig, $bDig); + if ($aNeg) { + $result = $this->neg($result); + } + return $result; + } + public function sub(string $a, string $b) : string + { + return $this->add($a, $this->neg($b)); + } + public function mul(string $a, string $b) : string + { + /** + * @psalm-var numeric-string $a + * @psalm-var numeric-string $b + */ + $result = $a * $b; + if (is_int($result)) { + return (string) $result; + } + if ($a === '0' || $b === '0') { + return '0'; + } + if ($a === '1') { + return $b; + } + if ($b === '1') { + return $a; + } + if ($a === '-1') { + return $this->neg($b); + } + if ($b === '-1') { + return $this->neg($a); + } + [$aNeg, $bNeg, $aDig, $bDig] = $this->init($a, $b); + $result = $this->doMul($aDig, $bDig); + if ($aNeg !== $bNeg) { + $result = $this->neg($result); + } + return $result; + } + public function divQ(string $a, string $b) : string + { + return $this->divQR($a, $b)[0]; + } + public function divR(string $a, string $b) : string + { + return $this->divQR($a, $b)[1]; + } + public function divQR(string $a, string $b) : array + { + if ($a === '0') { + return ['0', '0']; + } + if ($a === $b) { + return ['1', '0']; + } + if ($b === '1') { + return [$a, '0']; + } + if ($b === '-1') { + return [$this->neg($a), '0']; + } + /** @psalm-var numeric-string $a */ + $na = $a * 1; + // cast to number + if (is_int($na)) { + /** @psalm-var numeric-string $b */ + $nb = $b * 1; + if (is_int($nb)) { + // the only division that may overflow is PHP_INT_MIN / -1, + // which cannot happen here as we've already handled a divisor of -1 above. + $q = intdiv($na, $nb); + $r = $na % $nb; + return [(string) $q, (string) $r]; + } + } + [$aNeg, $bNeg, $aDig, $bDig] = $this->init($a, $b); + [$q, $r] = $this->doDiv($aDig, $bDig); + if ($aNeg !== $bNeg) { + $q = $this->neg($q); + } + if ($aNeg) { + $r = $this->neg($r); + } + return [$q, $r]; + } + public function pow(string $a, int $e) : string + { + if ($e === 0) { + return '1'; + } + if ($e === 1) { + return $a; + } + $odd = $e % 2; + $e -= $odd; + $aa = $this->mul($a, $a); + /** @psalm-suppress PossiblyInvalidArgument We're sure that $e / 2 is an int now */ + $result = $this->pow($aa, $e / 2); + if ($odd === 1) { + $result = $this->mul($result, $a); + } + return $result; + } + /** + * Algorithm from: https://www.geeksforgeeks.org/modular-exponentiation-power-in-modular-arithmetic/ + */ + public function modPow(string $base, string $exp, string $mod) : string + { + // special case: the algorithm below fails with 0 power 0 mod 1 (returns 1 instead of 0) + if ($base === '0' && $exp === '0' && $mod === '1') { + return '0'; + } + // special case: the algorithm below fails with power 0 mod 1 (returns 1 instead of 0) + if ($exp === '0' && $mod === '1') { + return '0'; + } + $x = $base; + $res = '1'; + // numbers are positive, so we can use remainder instead of modulo + $x = $this->divR($x, $mod); + while ($exp !== '0') { + if (in_array($exp[-1], ['1', '3', '5', '7', '9'])) { + // odd + $res = $this->divR($this->mul($res, $x), $mod); + } + $exp = $this->divQ($exp, '2'); + $x = $this->divR($this->mul($x, $x), $mod); + } + return $res; + } + /** + * Adapted from https://cp-algorithms.com/num_methods/roots_newton.html + */ + public function sqrt(string $n) : string + { + if ($n === '0') { + return '0'; + } + // initial approximation + $x = \str_repeat('9', \intdiv(\strlen($n), 2) ?: 1); + $decreased = \false; + for (;;) { + $nx = $this->divQ($this->add($x, $this->divQ($n, $x)), '2'); + if ($x === $nx || $this->cmp($nx, $x) > 0 && $decreased) { + break; + } + $decreased = $this->cmp($nx, $x) < 0; + $x = $nx; + } + return $x; + } + /** + * Performs the addition of two non-signed large integers. + */ + private function doAdd(string $a, string $b) : string + { + [$a, $b, $length] = $this->pad($a, $b); + $carry = 0; + $result = ''; + for ($i = $length - $this->maxDigits;; $i -= $this->maxDigits) { + $blockLength = $this->maxDigits; + if ($i < 0) { + $blockLength += $i; + /** @psalm-suppress LoopInvalidation */ + $i = 0; + } + /** @psalm-var numeric-string $blockA */ + $blockA = \substr($a, $i, $blockLength); + /** @psalm-var numeric-string $blockB */ + $blockB = \substr($b, $i, $blockLength); + $sum = (string) ($blockA + $blockB + $carry); + $sumLength = \strlen($sum); + if ($sumLength > $blockLength) { + $sum = \substr($sum, 1); + $carry = 1; + } else { + if ($sumLength < $blockLength) { + $sum = \str_repeat('0', $blockLength - $sumLength) . $sum; + } + $carry = 0; + } + $result = $sum . $result; + if ($i === 0) { + break; + } + } + if ($carry === 1) { + $result = '1' . $result; + } + return $result; + } + /** + * Performs the subtraction of two non-signed large integers. + */ + private function doSub(string $a, string $b) : string + { + if ($a === $b) { + return '0'; + } + // Ensure that we always subtract to a positive result: biggest minus smallest. + $cmp = $this->doCmp($a, $b); + $invert = $cmp === -1; + if ($invert) { + $c = $a; + $a = $b; + $b = $c; + } + [$a, $b, $length] = $this->pad($a, $b); + $carry = 0; + $result = ''; + $complement = 10 ** $this->maxDigits; + for ($i = $length - $this->maxDigits;; $i -= $this->maxDigits) { + $blockLength = $this->maxDigits; + if ($i < 0) { + $blockLength += $i; + /** @psalm-suppress LoopInvalidation */ + $i = 0; + } + /** @psalm-var numeric-string $blockA */ + $blockA = \substr($a, $i, $blockLength); + /** @psalm-var numeric-string $blockB */ + $blockB = \substr($b, $i, $blockLength); + $sum = $blockA - $blockB - $carry; + if ($sum < 0) { + $sum += $complement; + $carry = 1; + } else { + $carry = 0; + } + $sum = (string) $sum; + $sumLength = \strlen($sum); + if ($sumLength < $blockLength) { + $sum = \str_repeat('0', $blockLength - $sumLength) . $sum; + } + $result = $sum . $result; + if ($i === 0) { + break; + } + } + // Carry cannot be 1 when the loop ends, as a > b + assert($carry === 0); + $result = \ltrim($result, '0'); + if ($invert) { + $result = $this->neg($result); + } + return $result; + } + /** + * Performs the multiplication of two non-signed large integers. + */ + private function doMul(string $a, string $b) : string + { + $x = \strlen($a); + $y = \strlen($b); + $maxDigits = \intdiv($this->maxDigits, 2); + $complement = 10 ** $maxDigits; + $result = '0'; + for ($i = $x - $maxDigits;; $i -= $maxDigits) { + $blockALength = $maxDigits; + if ($i < 0) { + $blockALength += $i; + /** @psalm-suppress LoopInvalidation */ + $i = 0; + } + $blockA = (int) \substr($a, $i, $blockALength); + $line = ''; + $carry = 0; + for ($j = $y - $maxDigits;; $j -= $maxDigits) { + $blockBLength = $maxDigits; + if ($j < 0) { + $blockBLength += $j; + /** @psalm-suppress LoopInvalidation */ + $j = 0; + } + $blockB = (int) \substr($b, $j, $blockBLength); + $mul = $blockA * $blockB + $carry; + $value = $mul % $complement; + $carry = ($mul - $value) / $complement; + $value = (string) $value; + $value = \str_pad($value, $maxDigits, '0', \STR_PAD_LEFT); + $line = $value . $line; + if ($j === 0) { + break; + } + } + if ($carry !== 0) { + $line = $carry . $line; + } + $line = \ltrim($line, '0'); + if ($line !== '') { + $line .= \str_repeat('0', $x - $blockALength - $i); + $result = $this->add($result, $line); + } + if ($i === 0) { + break; + } + } + return $result; + } + /** + * Performs the division of two non-signed large integers. + * + * @return string[] The quotient and remainder. + */ + private function doDiv(string $a, string $b) : array + { + $cmp = $this->doCmp($a, $b); + if ($cmp === -1) { + return ['0', $a]; + } + $x = \strlen($a); + $y = \strlen($b); + // we now know that a >= b && x >= y + $q = '0'; + // quotient + $r = $a; + // remainder + $z = $y; + // focus length, always $y or $y+1 + for (;;) { + $focus = \substr($a, 0, $z); + $cmp = $this->doCmp($focus, $b); + if ($cmp === -1) { + if ($z === $x) { + // remainder < dividend + break; + } + $z++; + } + $zeros = \str_repeat('0', $x - $z); + $q = $this->add($q, '1' . $zeros); + $a = $this->sub($a, $b . $zeros); + $r = $a; + if ($r === '0') { + // remainder == 0 + break; + } + $x = \strlen($a); + if ($x < $y) { + // remainder < dividend + break; + } + $z = $y; + } + return [$q, $r]; + } + /** + * Compares two non-signed large numbers. + * + * @psalm-return -1|0|1 + */ + private function doCmp(string $a, string $b) : int + { + $x = \strlen($a); + $y = \strlen($b); + $cmp = $x <=> $y; + if ($cmp !== 0) { + return $cmp; + } + return \strcmp($a, $b) <=> 0; + // enforce -1|0|1 + } + /** + * Pads the left of one of the given numbers with zeros if necessary to make both numbers the same length. + * + * The numbers must only consist of digits, without leading minus sign. + * + * @return array{string, string, int} + */ + private function pad(string $a, string $b) : array + { + $x = \strlen($a); + $y = \strlen($b); + if ($x > $y) { + $b = \str_repeat('0', $x - $y) . $b; + return [$a, $b, $x]; + } + if ($x < $y) { + $a = \str_repeat('0', $y - $x) . $a; + return [$a, $b, $y]; + } + return [$a, $b, $x]; + } +} diff --git a/vendor/prefixed/brick/math/src/RoundingMode.php b/vendor/prefixed/brick/math/src/RoundingMode.php new file mode 100644 index 000000000..78864a057 --- /dev/null +++ b/vendor/prefixed/brick/math/src/RoundingMode.php @@ -0,0 +1,18 @@ +payload = $payload; + } + public function getPayload() : object + { + return $this->payload; + } } diff --git a/vendor/prefixed/firebase/php-jwt/src/CachedKeySet.php b/vendor/prefixed/firebase/php-jwt/src/CachedKeySet.php index f9bdcbfd3..499fbbbbd 100644 --- a/vendor/prefixed/firebase/php-jwt/src/CachedKeySet.php +++ b/vendor/prefixed/firebase/php-jwt/src/CachedKeySet.php @@ -3,6 +3,7 @@ namespace Matomo\Dependencies\GoogleAnalyticsImporter\Firebase\JWT; use ArrayAccess; +use InvalidArgumentException; use LogicException; use OutOfBoundsException; use Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Cache\CacheItemInterface; @@ -10,6 +11,7 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Http\Client\ClientInterface; use Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Http\Message\RequestFactoryInterface; use RuntimeException; +use UnexpectedValueException; /** * @implements ArrayAccess */ @@ -40,7 +42,7 @@ class CachedKeySet implements ArrayAccess */ private $cacheItem; /** - * @var array + * @var array> */ private $keySet; /** @@ -91,7 +93,7 @@ public function offsetGet($keyId) : Key if (!$this->keyIdExists($keyId)) { throw new OutOfBoundsException('Key ID not found'); } - return $this->keySet[$keyId]; + return JWK::parseKey($this->keySet[$keyId], $this->defaultAlg); } /** * @param string $keyId @@ -116,32 +118,55 @@ public function offsetUnset($offset) : void { throw new LogicException('Method not implemented'); } + /** + * @return array + */ + private function formatJwksForCache(string $jwks) : array + { + $jwks = json_decode($jwks, \true); + if (!isset($jwks['keys'])) { + throw new UnexpectedValueException('"keys" member must exist in the JWK Set'); + } + if (empty($jwks['keys'])) { + throw new InvalidArgumentException('JWK Set did not contain any keys'); + } + $keys = []; + foreach ($jwks['keys'] as $k => $v) { + $kid = isset($v['kid']) ? $v['kid'] : $k; + $keys[(string) $kid] = $v; + } + return $keys; + } private function keyIdExists(string $keyId) : bool { - $keySetToCache = null; if (null === $this->keySet) { $item = $this->getCacheItem(); // Try to load keys from cache if ($item->isHit()) { - // item found! Return it + // item found! retrieve it $this->keySet = $item->get(); + // If the cached item is a string, the JWKS response was cached (previous behavior). + // Parse this into expected format array instead. + if (\is_string($this->keySet)) { + $this->keySet = $this->formatJwksForCache($this->keySet); + } } } if (!isset($this->keySet[$keyId])) { if ($this->rateLimitExceeded()) { return \false; } - $request = $this->httpFactory->createRequest('get', $this->jwksUri); + $request = $this->httpFactory->createRequest('GET', $this->jwksUri); $jwksResponse = $this->httpClient->sendRequest($request); - $jwks = json_decode((string) $jwksResponse->getBody(), \true); - $this->keySet = $keySetToCache = JWK::parseKeySet($jwks, $this->defaultAlg); + if ($jwksResponse->getStatusCode() !== 200) { + throw new UnexpectedValueException(sprintf('HTTP Error: %d %s for URI "%s"', $jwksResponse->getStatusCode(), $jwksResponse->getReasonPhrase(), $this->jwksUri), $jwksResponse->getStatusCode()); + } + $this->keySet = $this->formatJwksForCache((string) $jwksResponse->getBody()); if (!isset($this->keySet[$keyId])) { return \false; } - } - if ($keySetToCache) { $item = $this->getCacheItem(); - $item->set($keySetToCache); + $item->set($this->keySet); if ($this->expiresAfter) { $item->expiresAfter($this->expiresAfter); } @@ -155,15 +180,17 @@ private function rateLimitExceeded() : bool return \false; } $cacheItem = $this->cache->getItem($this->rateLimitCacheKey); - if (!$cacheItem->isHit()) { - $cacheItem->expiresAfter(1); - // # of calls are cached each minute + $cacheItemData = []; + if ($cacheItem->isHit() && \is_array($data = $cacheItem->get())) { + $cacheItemData = $data; } - $callsPerMinute = (int) $cacheItem->get(); + $callsPerMinute = $cacheItemData['callsPerMinute'] ?? 0; + $expiry = $cacheItemData['expiry'] ?? new \DateTime('+60 seconds', new \DateTimeZone('UTC')); if (++$callsPerMinute > $this->maxCallsPerMinute) { return \true; } - $cacheItem->set($callsPerMinute); + $cacheItem->set(['expiry' => $expiry, 'callsPerMinute' => $callsPerMinute]); + $cacheItem->expiresAt($expiry); $this->cache->save($cacheItem); return \false; } diff --git a/vendor/prefixed/firebase/php-jwt/src/ExpiredException.php b/vendor/prefixed/firebase/php-jwt/src/ExpiredException.php index 0dfdb534d..e448e5a4a 100644 --- a/vendor/prefixed/firebase/php-jwt/src/ExpiredException.php +++ b/vendor/prefixed/firebase/php-jwt/src/ExpiredException.php @@ -2,6 +2,18 @@ namespace Matomo\Dependencies\GoogleAnalyticsImporter\Firebase\JWT; -class ExpiredException extends \UnexpectedValueException +class ExpiredException extends \UnexpectedValueException implements JWTExceptionWithPayloadInterface { + /** + * @var object + */ + private $payload; + public function setPayload(object $payload) : void + { + $this->payload = $payload; + } + public function getPayload() : object + { + return $this->payload; + } } diff --git a/vendor/prefixed/firebase/php-jwt/src/JWK.php b/vendor/prefixed/firebase/php-jwt/src/JWK.php index 69cf27e2a..1a33c68d1 100644 --- a/vendor/prefixed/firebase/php-jwt/src/JWK.php +++ b/vendor/prefixed/firebase/php-jwt/src/JWK.php @@ -19,6 +19,21 @@ */ class JWK { + private const OID = '1.2.840.10045.2.1'; + private const ASN1_OBJECT_IDENTIFIER = 0x6; + private const ASN1_SEQUENCE = 0x10; + // also defined in JWT + private const ASN1_BIT_STRING = 0x3; + private const EC_CURVES = [ + 'P-256' => '1.2.840.10045.3.1.7', + // Len: 64 + 'secp256k1' => '1.3.132.0.10', + // Len: 64 + 'P-384' => '1.3.132.0.34', + ]; + // For keys with "kty" equal to "OKP" (Octet Key Pair), the "crv" parameter must contain the key subtype. + // This library supports the following subtypes: + private const OKP_SUBTYPES = ['Ed25519' => \true]; /** * Parse a set of JWK keys * @@ -101,12 +116,58 @@ public static function parseKey(array $jwk, string $defaultAlg = null) : ?Key throw new DomainException('OpenSSL error: ' . \openssl_error_string()); } return new Key($publicKey, $jwk['alg']); + case 'EC': + if (isset($jwk['d'])) { + // The key is actually a private key + throw new UnexpectedValueException('Key data must be for a public key'); + } + if (empty($jwk['crv'])) { + throw new UnexpectedValueException('crv not set'); + } + if (!isset(self::EC_CURVES[$jwk['crv']])) { + throw new DomainException('Unrecognised or unsupported EC curve'); + } + if (empty($jwk['x']) || empty($jwk['y'])) { + throw new UnexpectedValueException('x and y not set'); + } + $publicKey = self::createPemFromCrvAndXYCoordinates($jwk['crv'], $jwk['x'], $jwk['y']); + return new Key($publicKey, $jwk['alg']); + case 'OKP': + if (isset($jwk['d'])) { + // The key is actually a private key + throw new UnexpectedValueException('Key data must be for a public key'); + } + if (!isset($jwk['crv'])) { + throw new UnexpectedValueException('crv not set'); + } + if (empty(self::OKP_SUBTYPES[$jwk['crv']])) { + throw new DomainException('Unrecognised or unsupported OKP key subtype'); + } + if (empty($jwk['x'])) { + throw new UnexpectedValueException('x not set'); + } + // This library works internally with EdDSA keys (Ed25519) encoded in standard base64. + $publicKey = JWT::convertBase64urlToBase64($jwk['x']); + return new Key($publicKey, $jwk['alg']); default: - // Currently only RSA is supported break; } return null; } + /** + * Converts the EC JWK values to pem format. + * + * @param string $crv The EC curve (only P-256 & P-384 is supported) + * @param string $x The EC x-coordinate + * @param string $y The EC y-coordinate + * + * @return string + */ + private static function createPemFromCrvAndXYCoordinates(string $crv, string $x, string $y) : string + { + $pem = self::encodeDER(self::ASN1_SEQUENCE, self::encodeDER(self::ASN1_SEQUENCE, self::encodeDER(self::ASN1_OBJECT_IDENTIFIER, self::encodeOID(self::OID)) . self::encodeDER(self::ASN1_OBJECT_IDENTIFIER, self::encodeOID(self::EC_CURVES[$crv]))) . self::encodeDER(self::ASN1_BIT_STRING, \chr(0x0) . \chr(0x4) . JWT::urlsafeB64Decode($x) . JWT::urlsafeB64Decode($y))); + return sprintf("-----BEGIN PUBLIC KEY-----\n%s\n-----END PUBLIC KEY-----\n", wordwrap(base64_encode($pem), 64, "\n", \true)); + } /** * Create a public key represented in PEM format from RSA modulus and exponent information * @@ -130,8 +191,7 @@ private static function createPemFromModulusAndExponent(string $n, string $e) : $rsaPublicKey = \chr(0) . $rsaPublicKey; $rsaPublicKey = \chr(3) . self::encodeLength(\strlen($rsaPublicKey)) . $rsaPublicKey; $rsaPublicKey = \pack('Ca*a*', 48, self::encodeLength(\strlen($rsaOID . $rsaPublicKey)), $rsaOID . $rsaPublicKey); - $rsaPublicKey = "-----BEGIN PUBLIC KEY-----\r\n" . \chunk_split(\base64_encode($rsaPublicKey), 64) . '-----END PUBLIC KEY-----'; - return $rsaPublicKey; + return "-----BEGIN PUBLIC KEY-----\r\n" . \chunk_split(\base64_encode($rsaPublicKey), 64) . '-----END PUBLIC KEY-----'; } /** * DER-encode the length @@ -150,4 +210,58 @@ private static function encodeLength(int $length) : string $temp = \ltrim(\pack('N', $length), \chr(0)); return \pack('Ca*', 0x80 | \strlen($temp), $temp); } + /** + * Encodes a value into a DER object. + * Also defined in Firebase\JWT\JWT + * + * @param int $type DER tag + * @param string $value the value to encode + * @return string the encoded object + */ + private static function encodeDER(int $type, string $value) : string + { + $tag_header = 0; + if ($type === self::ASN1_SEQUENCE) { + $tag_header |= 0x20; + } + // Type + $der = \chr($tag_header | $type); + // Length + $der .= \chr(\strlen($value)); + return $der . $value; + } + /** + * Encodes a string into a DER-encoded OID. + * + * @param string $oid the OID string + * @return string the binary DER-encoded OID + */ + private static function encodeOID(string $oid) : string + { + $octets = explode('.', $oid); + // Get the first octet + $first = (int) array_shift($octets); + $second = (int) array_shift($octets); + $oid = \chr($first * 40 + $second); + // Iterate over subsequent octets + foreach ($octets as $octet) { + if ($octet == 0) { + $oid .= \chr(0x0); + continue; + } + $bin = ''; + while ($octet) { + $bin .= \chr(0x80 | $octet & 0x7f); + $octet >>= 7; + } + $bin[0] = $bin[0] & \chr(0x7f); + // Convert to big endian if necessary + if (pack('V', 65534) == pack('L', 65534)) { + $oid .= strrev($bin); + } else { + $oid .= $bin; + } + } + return $oid; + } } diff --git a/vendor/prefixed/firebase/php-jwt/src/JWT.php b/vendor/prefixed/firebase/php-jwt/src/JWT.php index 9cf3f0748..1bcfea942 100644 --- a/vendor/prefixed/firebase/php-jwt/src/JWT.php +++ b/vendor/prefixed/firebase/php-jwt/src/JWT.php @@ -48,20 +48,25 @@ class JWT /** * @var array */ - public static $supported_algs = ['ES384' => ['openssl', 'SHA384'], 'ES256' => ['openssl', 'SHA256'], 'HS256' => ['hash_hmac', 'SHA256'], 'HS384' => ['hash_hmac', 'SHA384'], 'HS512' => ['hash_hmac', 'SHA512'], 'RS256' => ['openssl', 'SHA256'], 'RS384' => ['openssl', 'SHA384'], 'RS512' => ['openssl', 'SHA512'], 'EdDSA' => ['sodium_crypto', 'EdDSA']]; + public static $supported_algs = ['ES384' => ['openssl', 'SHA384'], 'ES256' => ['openssl', 'SHA256'], 'ES256K' => ['openssl', 'SHA256'], 'HS256' => ['hash_hmac', 'SHA256'], 'HS384' => ['hash_hmac', 'SHA384'], 'HS512' => ['hash_hmac', 'SHA512'], 'RS256' => ['openssl', 'SHA256'], 'RS384' => ['openssl', 'SHA384'], 'RS512' => ['openssl', 'SHA512'], 'EdDSA' => ['sodium_crypto', 'EdDSA']]; /** * Decodes a JWT string into a PHP object. * * @param string $jwt The JWT - * @param Key|array $keyOrKeyArray The Key or associative array of key IDs (kid) to Key objects. - * If the algorithm used is asymmetric, this is the public key - * Each Key object contains an algorithm and matching key. - * Supported algorithms are 'ES384','ES256', 'HS256', 'HS384', - * 'HS512', 'RS256', 'RS384', and 'RS512' + * @param Key|ArrayAccess|array $keyOrKeyArray The Key or associative array of key IDs + * (kid) to Key objects. + * If the algorithm used is asymmetric, this is + * the public key. + * Each Key object contains an algorithm and + * matching key. + * Supported algorithms are 'ES384','ES256', + * 'HS256', 'HS384', 'HS512', 'RS256', 'RS384' + * and 'RS512'. + * @param stdClass $headers Optional. Populates stdClass with headers. * * @return stdClass The JWT's payload as a PHP object * - * @throws InvalidArgumentException Provided key/key-array was empty + * @throws InvalidArgumentException Provided key/key-array was empty or malformed * @throws DomainException Provided JWT is malformed * @throws UnexpectedValueException Provided JWT was invalid * @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed @@ -72,7 +77,7 @@ class JWT * @uses jsonDecode * @uses urlsafeB64Decode */ - public static function decode(string $jwt, $keyOrKeyArray) : stdClass + public static function decode(string $jwt, $keyOrKeyArray, stdClass &$headers = null) : stdClass { // Validate JWT $timestamp = \is_null(static::$timestamp) ? \time() : static::$timestamp; @@ -80,7 +85,7 @@ public static function decode(string $jwt, $keyOrKeyArray) : stdClass throw new InvalidArgumentException('Key may not be empty'); } $tks = \explode('.', $jwt); - if (\count($tks) != 3) { + if (\count($tks) !== 3) { throw new UnexpectedValueException('Wrong number of segments'); } list($headb64, $bodyb64, $cryptob64) = $tks; @@ -88,6 +93,9 @@ public static function decode(string $jwt, $keyOrKeyArray) : stdClass if (null === ($header = static::jsonDecode($headerRaw))) { throw new UnexpectedValueException('Invalid header encoding'); } + if ($headers !== null) { + $headers = $header; + } $payloadRaw = static::urlsafeB64Decode($bodyb64); if (null === ($payload = static::jsonDecode($payloadRaw))) { throw new UnexpectedValueException('Invalid claims encoding'); @@ -112,8 +120,8 @@ public static function decode(string $jwt, $keyOrKeyArray) : stdClass // See issue #351 throw new UnexpectedValueException('Incorrect key for this algorithm'); } - if ($header->alg === 'ES256' || $header->alg === 'ES384') { - // OpenSSL expects an ASN.1 DER sequence for ES256/ES384 signatures + if (\in_array($header->alg, ['ES256', 'ES256K', 'ES384'], \true)) { + // OpenSSL expects an ASN.1 DER sequence for ES256/ES256K/ES384 signatures $sig = self::signatureToDER($sig); } if (!self::verify("{$headb64}.{$bodyb64}", $sig, $key->getKeyMaterial(), $header->alg)) { @@ -121,28 +129,34 @@ public static function decode(string $jwt, $keyOrKeyArray) : stdClass } // Check the nbf if it is defined. This is the time that the // token can actually be used. If it's not yet that time, abort. - if (isset($payload->nbf) && $payload->nbf > $timestamp + static::$leeway) { - throw new BeforeValidException('Cannot handle token prior to ' . \date(DateTime::ISO8601, $payload->nbf)); + if (isset($payload->nbf) && floor($payload->nbf) > $timestamp + static::$leeway) { + $ex = new BeforeValidException('Cannot handle token with nbf prior to ' . \date(DateTime::ISO8601, (int) $payload->nbf)); + $ex->setPayload($payload); + throw $ex; } // Check that this token has been created before 'now'. This prevents // using tokens that have been created for later use (and haven't // correctly used the nbf claim). - if (isset($payload->iat) && $payload->iat > $timestamp + static::$leeway) { - throw new BeforeValidException('Cannot handle token prior to ' . \date(DateTime::ISO8601, $payload->iat)); + if (!isset($payload->nbf) && isset($payload->iat) && floor($payload->iat) > $timestamp + static::$leeway) { + $ex = new BeforeValidException('Cannot handle token with iat prior to ' . \date(DateTime::ISO8601, (int) $payload->iat)); + $ex->setPayload($payload); + throw $ex; } // Check if this token has expired. if (isset($payload->exp) && $timestamp - static::$leeway >= $payload->exp) { - throw new ExpiredException('Expired token'); + $ex = new ExpiredException('Expired token'); + $ex->setPayload($payload); + throw $ex; } return $payload; } /** - * Converts and signs a PHP object or array into a JWT string. + * Converts and signs a PHP array into a JWT string. * * @param array $payload PHP array * @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $key The secret key. - * @param string $alg Supported algorithms are 'ES384','ES256', 'HS256', 'HS384', - * 'HS512', 'RS256', 'RS384', and 'RS512' + * @param string $alg Supported algorithms are 'ES384','ES256', 'ES256K', 'HS256', + * 'HS384', 'HS512', 'RS256', 'RS384', and 'RS512' * @param string $keyId * @param array $head An array with header elements to attach * @@ -153,13 +167,14 @@ public static function decode(string $jwt, $keyOrKeyArray) : stdClass */ public static function encode(array $payload, $key, string $alg, string $keyId = null, array $head = null) : string { - $header = ['typ' => 'JWT', 'alg' => $alg]; + $header = ['typ' => 'JWT']; + if (isset($head) && \is_array($head)) { + $header = \array_merge($header, $head); + } + $header['alg'] = $alg; if ($keyId !== null) { $header['kid'] = $keyId; } - if (isset($head) && \is_array($head)) { - $header = \array_merge($head, $header); - } $segments = []; $segments[] = static::urlsafeB64Encode((string) static::jsonEncode($header)); $segments[] = static::urlsafeB64Encode((string) static::jsonEncode($payload)); @@ -173,8 +188,8 @@ public static function encode(array $payload, $key, string $alg, string $keyId = * * @param string $msg The message to sign * @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $key The secret key. - * @param string $alg Supported algorithms are 'ES384','ES256', 'HS256', 'HS384', - * 'HS512', 'RS256', 'RS384', and 'RS512' + * @param string $alg Supported algorithms are 'EdDSA', 'ES384', 'ES256', 'ES256K', 'HS256', + * 'HS384', 'HS512', 'RS256', 'RS384', and 'RS512' * * @return string An encrypted message * @@ -194,12 +209,15 @@ public static function sign(string $msg, $key, string $alg) : string return \hash_hmac($algorithm, $msg, $key, \true); case 'openssl': $signature = ''; + if (!\is_resource($key) && !openssl_pkey_get_private($key)) { + throw new DomainException('OpenSSL unable to validate key'); + } $success = \openssl_sign($msg, $signature, $key, $algorithm); // @phpstan-ignore-line if (!$success) { throw new DomainException('OpenSSL unable to sign data'); } - if ($alg === 'ES256') { + if ($alg === 'ES256' || $alg === 'ES256K') { $signature = self::signatureFromDER($signature, 256); } elseif ($alg === 'ES384') { $signature = self::signatureFromDER($signature, 384); @@ -216,6 +234,9 @@ public static function sign(string $msg, $key, string $alg) : string // The last non-empty line is used as the key. $lines = array_filter(explode("\n", $key)); $key = base64_decode((string) end($lines)); + if (\strlen($key) === 0) { + throw new DomainException('Key cannot be empty string'); + } return sodium_crypto_sign_detached($msg, $key); } catch (Exception $e) { throw new DomainException($e->getMessage(), 0, $e); @@ -229,7 +250,7 @@ public static function sign(string $msg, $key, string $alg) : string * * @param string $msg The original message (header and body) * @param string $signature The original signature - * @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $keyMaterial For HS*, a string key works. for RS*, must be an instance of OpenSSLAsymmetricKey + * @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $keyMaterial For Ed*, ES*, HS*, a string key works. for RS*, must be an instance of OpenSSLAsymmetricKey * @param string $alg The algorithm * * @return bool @@ -248,7 +269,8 @@ private static function verify(string $msg, string $signature, $keyMaterial, str // @phpstan-ignore-line if ($success === 1) { return \true; - } elseif ($success === 0) { + } + if ($success === 0) { return \false; } // returns 1 on success, 0 on failure, -1 on error. @@ -264,6 +286,12 @@ private static function verify(string $msg, string $signature, $keyMaterial, str // The last non-empty line is used as the key. $lines = array_filter(explode("\n", $keyMaterial)); $key = base64_decode((string) end($lines)); + if (\strlen($key) === 0) { + throw new DomainException('Key cannot be empty string'); + } + if (\strlen($signature) === 0) { + throw new DomainException('Signature cannot be empty string'); + } return sodium_crypto_sign_verify_detached($signature, $msg, $key); } catch (Exception $e) { throw new DomainException($e->getMessage(), 0, $e); @@ -315,7 +343,7 @@ public static function jsonEncode(array $input) : string } if ($errno = \json_last_error()) { self::handleJsonError($errno); - } elseif ($json === 'null' && $input !== null) { + } elseif ($json === 'null') { throw new DomainException('Null result with non-null input'); } if ($json === \false) { @@ -333,13 +361,27 @@ public static function jsonEncode(array $input) : string * @throws InvalidArgumentException invalid base64 characters */ public static function urlsafeB64Decode(string $input) : string + { + return \base64_decode(self::convertBase64UrlToBase64($input)); + } + /** + * Convert a string in the base64url (URL-safe Base64) encoding to standard base64. + * + * @param string $input A Base64 encoded string with URL-safe characters (-_ and no padding) + * + * @return string A Base64 encoded string with standard characters (+/) and padding (=), when + * needed. + * + * @see https://www.rfc-editor.org/rfc/rfc4648 + */ + public static function convertBase64UrlToBase64(string $input) : string { $remainder = \strlen($input) % 4; if ($remainder) { $padlen = 4 - $remainder; $input .= \str_repeat('=', $padlen); } - return \base64_decode(\strtr($input, '-_', '+/')); + return \strtr($input, '-_', '+/'); } /** * Encode a string with URL-safe Base64. @@ -367,13 +409,13 @@ private static function getKey($keyOrKeyArray, ?string $kid) : Key if ($keyOrKeyArray instanceof Key) { return $keyOrKeyArray; } + if (empty($kid) && $kid !== '0') { + throw new UnexpectedValueException('"kid" empty, unable to lookup correct key'); + } if ($keyOrKeyArray instanceof CachedKeySet) { // Skip "isset" check, as this will automatically refresh if not set return $keyOrKeyArray[$kid]; } - if (empty($kid)) { - throw new UnexpectedValueException('"kid" empty, unable to lookup correct key'); - } if (!isset($keyOrKeyArray[$kid])) { throw new UnexpectedValueException('"kid" invalid, unable to lookup correct key'); } @@ -435,7 +477,7 @@ private static function signatureToDER(string $sig) : string { // Separate the signature into r-value and s-value $length = max(1, (int) (\strlen($sig) / 2)); - list($r, $s) = \str_split($sig, $length > 0 ? $length : 1); + list($r, $s) = \str_split($sig, $length); // Trim leading zeros $r = \ltrim($r, "\x00"); $s = \ltrim($s, "\x00"); @@ -517,7 +559,7 @@ private static function readDER(string $der, int $offset = 0) : array } } // Value - if ($type == self::ASN1_BIT_STRING) { + if ($type === self::ASN1_BIT_STRING) { $pos++; // Skip the first contents octet (padding indicator) $data = \substr($der, $pos, $len - 1); diff --git a/vendor/prefixed/firebase/php-jwt/src/JWTExceptionWithPayloadInterface.php b/vendor/prefixed/firebase/php-jwt/src/JWTExceptionWithPayloadInterface.php new file mode 100644 index 000000000..8f02f1c89 --- /dev/null +++ b/vendor/prefixed/firebase/php-jwt/src/JWTExceptionWithPayloadInterface.php @@ -0,0 +1,20 @@ +internalAddGeneratedFile(' -ûÎ -4google/analytics/admin/v1alpha/analytics_admin.protogoogle.analytics.admin.v1alpha-google/analytics/admin/v1alpha/audience.proto6google/analytics/admin/v1alpha/expanded_data_set.proto.google/analytics/admin/v1alpha/resources.protogoogle/api/annotations.protogoogle/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/protobuf/empty.proto google/protobuf/field_mask.protogoogle/protobuf/timestamp.proto"¤ +ÁÀ +4google/analytics/admin/v1alpha/analytics_admin.protogoogle.analytics.admin.v1alpha-google/analytics/admin/v1alpha/audience.proto2google/analytics/admin/v1alpha/channel_group.proto:google/analytics/admin/v1alpha/event_create_and_edit.proto6google/analytics/admin/v1alpha/expanded_data_set.proto.google/analytics/admin/v1alpha/resources.proto=google/analytics/admin/v1alpha/subproperty_event_filter.protogoogle/api/annotations.protogoogle/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/protobuf/empty.proto google/protobuf/field_mask.protogoogle/protobuf/timestamp.proto"à RunAccessReportRequest entity ( C @@ -40,7 +43,9 @@ public static function initOnce() time_zone ( @ order_bys ( 2-.google.analytics.admin.v1alpha.AccessOrderBy -return_entity_quota ("¿ +return_entity_quota ( +include_all_users (BàA + expand_groups (BàA"¿ RunAccessReportResponseP dimension_headers ( 25.google.analytics.admin.v1alpha.AccessDimensionHeaderJ metric_headers ( 22.google.analytics.admin.v1alpha.AccessMetricHeader7 @@ -89,60 +94,7 @@ public static function initOnce() property ( 2(.google.analytics.admin.v1alpha.PropertyBàA"U DeletePropertyRequest< name ( B.àAúA( -&analyticsadmin.googleapis.com/Property"R -GetUserLinkRequest< -name ( B.àAúA( -&analyticsadmin.googleapis.com/UserLink"™ -BatchGetUserLinksRequest> -parent ( B.àAúA(&analyticsadmin.googleapis.com/UserLink= -names ( B.àAúA( -&analyticsadmin.googleapis.com/UserLink"Y -BatchGetUserLinksResponse< - -user_links ( 2(.google.analytics.admin.v1alpha.UserLink"} -ListUserLinksRequest> -parent ( B.àAúA(&analyticsadmin.googleapis.com/UserLink - page_size ( - -page_token ( "n -ListUserLinksResponse< - -user_links ( 2(.google.analytics.admin.v1alpha.UserLink -next_page_token ( "~ -AuditUserLinksRequest> -parent ( B.àAúA(&analyticsadmin.googleapis.com/UserLink - page_size ( - -page_token ( "t -AuditUserLinksResponseA - -user_links ( 2-.google.analytics.admin.v1alpha.AuditUserLink -next_page_token ( "· -CreateUserLinkRequest> -parent ( B.àAúA(&analyticsadmin.googleapis.com/UserLink -notify_new_user (BàA@ - user_link ( 2(.google.analytics.admin.v1alpha.UserLinkBàA"Ê -BatchCreateUserLinksRequest> -parent ( B.àAúA(&analyticsadmin.googleapis.com/UserLink -notify_new_users (BàAL -requests ( 25.google.analytics.admin.v1alpha.CreateUserLinkRequestBàA"\\ -BatchCreateUserLinksResponse< - -user_links ( 2(.google.analytics.admin.v1alpha.UserLink"Y -UpdateUserLinkRequest@ - user_link ( 2(.google.analytics.admin.v1alpha.UserLinkBàA"« -BatchUpdateUserLinksRequest> -parent ( B.àAúA(&analyticsadmin.googleapis.com/UserLinkL -requests ( 25.google.analytics.admin.v1alpha.UpdateUserLinkRequestBàA"\\ -BatchUpdateUserLinksResponse< - -user_links ( 2(.google.analytics.admin.v1alpha.UserLink"U -DeleteUserLinkRequest< -name ( B.àAúA( -&analyticsadmin.googleapis.com/UserLink"« -BatchDeleteUserLinksRequest> -parent ( B.àAúA(&analyticsadmin.googleapis.com/UserLinkL -requests ( 25.google.analytics.admin.v1alpha.DeleteUserLinkRequestBàA"© +&analyticsadmin.googleapis.com/Property"© CreateFirebaseLinkRequestB parent ( B2àAúA,*analyticsadmin.googleapis.com/FirebaseLinkH firebase_link ( 2,.google.analytics.admin.v1alpha.FirebaseLinkBàA"] @@ -216,10 +168,10 @@ public static function initOnce() measurement_protocol_secret ( 29.google.analytics.admin.v1alpha.MeasurementProtocolSecretBàA"w &DeleteMeasurementProtocolSecretRequestM name ( B?àAúA9 -7analyticsadmin.googleapis.com/MeasurementProtocolSecret"¾ +7analyticsadmin.googleapis.com/MeasurementProtocolSecret"à &UpdateMeasurementProtocolSecretRequestc -measurement_protocol_secret ( 29.google.analytics.admin.v1alpha.MeasurementProtocolSecretBàA/ - update_mask ( 2.google.protobuf.FieldMask"Ÿ +measurement_protocol_secret ( 29.google.analytics.admin.v1alpha.MeasurementProtocolSecretBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"Ÿ %ListMeasurementProtocolSecretsRequestO parent ( B?àAúA97analyticsadmin.googleapis.com/MeasurementProtocolSecret page_size ( @@ -227,6 +179,26 @@ public static function initOnce() page_token ( "¢ &ListMeasurementProtocolSecretsResponse_ measurement_protocol_secrets ( 29.google.analytics.admin.v1alpha.MeasurementProtocolSecret +next_page_token ( "‚ +*GetSKAdNetworkConversionValueSchemaRequestT +name ( BFàAúA@ +>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema"û +-CreateSKAdNetworkConversionValueSchemaRequestV +parent ( BFàAúA@>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchemar +#skadnetwork_conversion_value_schema ( 2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaBàA"… +-DeleteSKAdNetworkConversionValueSchemaRequestT +name ( BFàAúA@ +>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema"Ù +-UpdateSKAdNetworkConversionValueSchemaRequestr +#skadnetwork_conversion_value_schema ( 2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"­ +,ListSKAdNetworkConversionValueSchemasRequestV +parent ( BFàAúA@>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema + page_size ( + +page_token ( "¸ +-ListSKAdNetworkConversionValueSchemasResponsen +$skadnetwork_conversion_value_schemas ( 2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema next_page_token ( "l GetGoogleSignalsSettingsRequestI name ( B;àAúA5 @@ -236,7 +208,10 @@ public static function initOnce() update_mask ( 2.google.protobuf.FieldMaskBàA"µ CreateConversionEventRequestN conversion_event ( 2/.google.analytics.admin.v1alpha.ConversionEventBàAE -parent ( B5àAúA/-analyticsadmin.googleapis.com/ConversionEvent"` +parent ( B5àAúA/-analyticsadmin.googleapis.com/ConversionEvent"¤ +UpdateConversionEventRequestN +conversion_event ( 2/.google.analytics.admin.v1alpha.ConversionEventBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"` GetConversionEventRequestC name ( B5àAúA/ -analyticsadmin.googleapis.com/ConversionEvent"c @@ -355,7 +330,28 @@ public static function initOnce() *analyticsadmin.googleapis.com/CustomMetric"Z GetCustomMetricRequest@ name ( B2àAúA, -*analyticsadmin.googleapis.com/CustomMetric"l +*analyticsadmin.googleapis.com/CustomMetric"Ü +CreateCalculatedMetricRequestF +parent ( B6àAúA0.analyticsadmin.googleapis.com/CalculatedMetric! +calculated_metric_id ( BàAP +calculated_metric ( 20.google.analytics.admin.v1alpha.CalculatedMetricBàA"§ +UpdateCalculatedMetricRequestP +calculated_metric ( 20.google.analytics.admin.v1alpha.CalculatedMetricBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"e +DeleteCalculatedMetricRequestD +name ( B6àAúA0 +.analyticsadmin.googleapis.com/CalculatedMetric"— +ListCalculatedMetricsRequestF +parent ( B6àAúA0.analyticsadmin.googleapis.com/CalculatedMetric + page_size (BàA + +page_token ( BàA"† +ListCalculatedMetricsResponseL +calculated_metrics ( 20.google.analytics.admin.v1alpha.CalculatedMetric +next_page_token ( "b +GetCalculatedMetricRequestD +name ( B6àAúA0 +.analyticsadmin.googleapis.com/CalculatedMetric"l GetDataRetentionSettingsRequestI name ( B;àAúA5 3analyticsadmin.googleapis.com/DataRetentionSettings"· @@ -464,6 +460,26 @@ public static function initOnce() page_token ( "„ ListExpandedDataSetsResponseK expanded_data_sets ( 2/.google.analytics.admin.v1alpha.ExpandedDataSet +next_page_token ( "© +CreateChannelGroupRequestB +parent ( B2àAúA,*analyticsadmin.googleapis.com/ChannelGroupH + channel_group ( 2,.google.analytics.admin.v1alpha.ChannelGroupBàA"› +UpdateChannelGroupRequestH + channel_group ( 2,.google.analytics.admin.v1alpha.ChannelGroupBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"] +DeleteChannelGroupRequest@ +name ( B2àAúA, +*analyticsadmin.googleapis.com/ChannelGroup"Z +GetChannelGroupRequest@ +name ( B2àAúA, +*analyticsadmin.googleapis.com/ChannelGroup"… +ListChannelGroupsRequestB +parent ( B2àAúA,*analyticsadmin.googleapis.com/ChannelGroup + page_size ( + +page_token ( "z +ListChannelGroupsResponseD +channel_groups ( 2,.google.analytics.admin.v1alpha.ChannelGroup next_page_token ( "S )SetAutomatedGa4ConfigurationOptOutRequest property ( BàA @@ -483,112 +499,263 @@ public static function initOnce() page_token ( "z ListBigQueryLinksResponseD bigquery_links ( 2,.google.analytics.admin.v1alpha.BigQueryLink -next_page_token ( 2°¸ +next_page_token ( "x +%GetEnhancedMeasurementSettingsRequestO +name ( BAàAúA; +9analyticsadmin.googleapis.com/EnhancedMeasurementSettings"É +(UpdateEnhancedMeasurementSettingsRequestg +enhanced_measurement_settings ( 2;.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"l +GetDataRedactionSettingsRequestI +name ( B;àAúA5 +3analyticsadmin.googleapis.com/DataRedactionSettings"· +"UpdateDataRedactionSettingsRequest[ +data_redaction_settings ( 25.google.analytics.admin.v1alpha.DataRedactionSettingsBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"„ +CreateConnectedSiteTagRequest +property ( Q +connected_site_tag ( 20.google.analytics.admin.v1alpha.ConnectedSiteTagBàA" +CreateConnectedSiteTagResponse"A +DeleteConnectedSiteTagRequest +property (  +tag_id ( "0 +ListConnectedSiteTagsRequest +property ( "n +ListConnectedSiteTagsResponseM +connected_site_tags ( 20.google.analytics.admin.v1alpha.ConnectedSiteTag"¥ +CreateAdSenseLinkRequestA +parent ( B1àAúA+)analyticsadmin.googleapis.com/AdSenseLinkF + adsense_link ( 2+.google.analytics.admin.v1alpha.AdSenseLinkBàA"X +GetAdSenseLinkRequest? +name ( B1àAúA+ +)analyticsadmin.googleapis.com/AdSenseLink"[ +DeleteAdSenseLinkRequest? +name ( B1àAúA+ +)analyticsadmin.googleapis.com/AdSenseLink"ƒ +ListAdSenseLinksRequestA +parent ( B1àAúA+)analyticsadmin.googleapis.com/AdSenseLink + page_size ( + +page_token ( "w +ListAdSenseLinksResponseB + adsense_links ( 2+.google.analytics.admin.v1alpha.AdSenseLink +next_page_token ( "d + FetchConnectedGa4PropertyRequest@ +property ( B.àAúA( +&analyticsadmin.googleapis.com/Property"b +!FetchConnectedGa4PropertyResponse= +property ( B+úA( +&analyticsadmin.googleapis.com/Property"¶ +CreateEventCreateRuleRequestE +parent ( B5àAúA/-analyticsadmin.googleapis.com/EventCreateRuleO +event_create_rule ( 2/.google.analytics.admin.v1alpha.EventCreateRuleBàA"¥ +UpdateEventCreateRuleRequestO +event_create_rule ( 2/.google.analytics.admin.v1alpha.EventCreateRuleBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"c +DeleteEventCreateRuleRequestC +name ( B5àAúA/ +-analyticsadmin.googleapis.com/EventCreateRule"` +GetEventCreateRuleRequestC +name ( B5àAúA/ +-analyticsadmin.googleapis.com/EventCreateRule"‹ +ListEventCreateRulesRequestE +parent ( B5àAúA/-analyticsadmin.googleapis.com/EventCreateRule + page_size ( + +page_token ( "„ +ListEventCreateRulesResponseK +event_create_rules ( 2/.google.analytics.admin.v1alpha.EventCreateRule +next_page_token ( "… +CreateRollupPropertyRequestF +rollup_property ( 2(.google.analytics.admin.v1alpha.PropertyBàA +source_properties ( BàA"Á +CreateRollupPropertyResponseA +rollup_property ( 2(.google.analytics.admin.v1alpha.Property^ +rollup_property_source_links ( 28.google.analytics.admin.v1alpha.RollupPropertySourceLink"r +"GetRollupPropertySourceLinkRequestL +name ( B>àAúA8 +6analyticsadmin.googleapis.com/RollupPropertySourceLink"§ +$ListRollupPropertySourceLinksRequestN +parent ( B>àAúA86analyticsadmin.googleapis.com/RollupPropertySourceLink + page_size (BàA + +page_token ( BàA"  +%ListRollupPropertySourceLinksResponse^ +rollup_property_source_links ( 28.google.analytics.admin.v1alpha.RollupPropertySourceLink +next_page_token ( "Û +%CreateRollupPropertySourceLinkRequestN +parent ( B>àAúA86analyticsadmin.googleapis.com/RollupPropertySourceLinkb +rollup_property_source_link ( 28.google.analytics.admin.v1alpha.RollupPropertySourceLinkBàA"u +%DeleteRollupPropertySourceLinkRequestL +name ( B>àAúA8 +6analyticsadmin.googleapis.com/RollupPropertySourceLink"ý +CreateSubpropertyRequest> +parent ( B.àAúA( +&analyticsadmin.googleapis.com/PropertyB + subproperty ( 2(.google.analytics.admin.v1alpha.PropertyBàA] +subproperty_event_filter ( 26.google.analytics.admin.v1alpha.SubpropertyEventFilterBàA"´ +CreateSubpropertyResponse= + subproperty ( 2(.google.analytics.admin.v1alpha.PropertyX +subproperty_event_filter ( 26.google.analytics.admin.v1alpha.SubpropertyEventFilter"Ò +#CreateSubpropertyEventFilterRequestL +parent ( B<àAúA64analyticsadmin.googleapis.com/SubpropertyEventFilter] +subproperty_event_filter ( 26.google.analytics.admin.v1alpha.SubpropertyEventFilterBàA"n + GetSubpropertyEventFilterRequestJ +name ( B<àAúA6 +4analyticsadmin.googleapis.com/SubpropertyEventFilter"£ +"ListSubpropertyEventFiltersRequestL +parent ( B<àAúA64analyticsadmin.googleapis.com/SubpropertyEventFilter + page_size (BàA + +page_token ( BàA"™ +#ListSubpropertyEventFiltersResponseY +subproperty_event_filters ( 26.google.analytics.admin.v1alpha.SubpropertyEventFilter +next_page_token ( "º +#UpdateSubpropertyEventFilterRequest] +subproperty_event_filter ( 26.google.analytics.admin.v1alpha.SubpropertyEventFilterBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"q +#DeleteSubpropertyEventFilterRequestJ +name ( B<àAúA6 +4analyticsadmin.googleapis.com/SubpropertyEventFilter2ã÷ AnalyticsAdminService“ -GetAccount1.google.analytics.admin.v1alpha.GetAccountRequest\'.google.analytics.admin.v1alpha.Account")‚Óä“/v1alpha/{name=accounts/*}ÚAname” +GetAccount1.google.analytics.admin.v1alpha.GetAccountRequest\'.google.analytics.admin.v1alpha.Account")ÚAname‚Óä“/v1alpha/{name=accounts/*}” ListAccounts3.google.analytics.admin.v1alpha.ListAccountsRequest4.google.analytics.admin.v1alpha.ListAccountsResponse"‚Óä“/v1alpha/accountsˆ - DeleteAccount4.google.analytics.admin.v1alpha.DeleteAccountRequest.google.protobuf.Empty")‚Óä“*/v1alpha/{name=accounts/*}ÚAname¹ - UpdateAccount4.google.analytics.admin.v1alpha.UpdateAccountRequest\'.google.analytics.admin.v1alpha.Account"I‚Óä“-2"/v1alpha/{account.name=accounts/*}:accountÚAaccount,update_maskÌ + DeleteAccount4.google.analytics.admin.v1alpha.DeleteAccountRequest.google.protobuf.Empty")ÚAname‚Óä“*/v1alpha/{name=accounts/*}¹ + UpdateAccount4.google.analytics.admin.v1alpha.UpdateAccountRequest\'.google.analytics.admin.v1alpha.Account"IÚAaccount,update_mask‚Óä“-2"/v1alpha/{account.name=accounts/*}:accountÌ ProvisionAccountTicket=.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest>.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse"3‚Óä“-"(/v1alpha/accounts:provisionAccountTicket:*´ ListAccountSummaries;.google.analytics.admin.v1alpha.ListAccountSummariesRequest<.google.analytics.admin.v1alpha.ListAccountSummariesResponse"!‚Óä“/v1alpha/accountSummaries˜ - GetProperty2.google.analytics.admin.v1alpha.GetPropertyRequest(.google.analytics.admin.v1alpha.Property"+‚Óä“/v1alpha/{name=properties/*}ÚAnameœ + GetProperty2.google.analytics.admin.v1alpha.GetPropertyRequest(.google.analytics.admin.v1alpha.Property"+ÚAname‚Óä“/v1alpha/{name=properties/*}œ ListProperties5.google.analytics.admin.v1alpha.ListPropertiesRequest6.google.analytics.admin.v1alpha.ListPropertiesResponse"‚Óä“/v1alpha/properties£ -CreateProperty5.google.analytics.admin.v1alpha.CreatePropertyRequest(.google.analytics.admin.v1alpha.Property"0‚Óä“"/v1alpha/properties:propertyÚApropertyž -DeleteProperty5.google.analytics.admin.v1alpha.DeletePropertyRequest(.google.analytics.admin.v1alpha.Property"+‚Óä“*/v1alpha/{name=properties/*}ÚAnameÁ -UpdateProperty5.google.analytics.admin.v1alpha.UpdatePropertyRequest(.google.analytics.admin.v1alpha.Property"N‚Óä“12%/v1alpha/{property.name=properties/*}:propertyÚAproperty,update_maskÎ - GetUserLink2.google.analytics.admin.v1alpha.GetUserLinkRequest(.google.analytics.admin.v1alpha.UserLink"a‚Óä“T&/v1alpha/{name=accounts/*/userLinks/*}Z*(/v1alpha/{name=properties/*/userLinks/*}ÚAnameö -BatchGetUserLinks8.google.analytics.admin.v1alpha.BatchGetUserLinksRequest9.google.analytics.admin.v1alpha.BatchGetUserLinksResponse"l‚Óä“f//v1alpha/{parent=accounts/*}/userLinks:batchGetZ31/v1alpha/{parent=properties/*}/userLinks:batchGetá - ListUserLinks4.google.analytics.admin.v1alpha.ListUserLinksRequest5.google.analytics.admin.v1alpha.ListUserLinksResponse"c‚Óä“T&/v1alpha/{parent=accounts/*}/userLinksZ*(/v1alpha/{parent=properties/*}/userLinksÚAparentí -AuditUserLinks5.google.analytics.admin.v1alpha.AuditUserLinksRequest6.google.analytics.admin.v1alpha.AuditUserLinksResponse"l‚Óä“f",/v1alpha/{parent=accounts/*}/userLinks:audit:*Z3"./v1alpha/{parent=properties/*}/userLinks:audit:*÷ -CreateUserLink5.google.analytics.admin.v1alpha.CreateUserLinkRequest(.google.analytics.admin.v1alpha.UserLink"ƒ‚Óä“j"&/v1alpha/{parent=accounts/*}/userLinks: user_linkZ5"(/v1alpha/{parent=properties/*}/userLinks: user_linkÚAparent,user_link‹ -BatchCreateUserLinks;.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest<.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse"x‚Óä“r"2/v1alpha/{parent=accounts/*}/userLinks:batchCreate:*Z9"4/v1alpha/{parent=properties/*}/userLinks:batchCreate:*„ -UpdateUserLink5.google.analytics.admin.v1alpha.UpdateUserLinkRequest(.google.analytics.admin.v1alpha.UserLink"‚Óä“~20/v1alpha/{user_link.name=accounts/*/userLinks/*}: user_linkZ?22/v1alpha/{user_link.name=properties/*/userLinks/*}: user_linkÚA user_link‹ -BatchUpdateUserLinks;.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest<.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse"x‚Óä“r"2/v1alpha/{parent=accounts/*}/userLinks:batchUpdate:*Z9"4/v1alpha/{parent=properties/*}/userLinks:batchUpdate:* -DeleteUserLink5.google.analytics.admin.v1alpha.DeleteUserLinkRequest.google.protobuf.Empty"a‚Óä“T*&/v1alpha/{name=accounts/*/userLinks/*}Z**(/v1alpha/{name=properties/*/userLinks/*}ÚAnameå -BatchDeleteUserLinks;.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.google.protobuf.Empty"x‚Óä“r"2/v1alpha/{parent=accounts/*}/userLinks:batchDelete:*Z9"4/v1alpha/{parent=properties/*}/userLinks:batchDelete:*Ù -CreateFirebaseLink9.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest,.google.analytics.admin.v1alpha.FirebaseLink"Z‚Óä“=",/v1alpha/{parent=properties/*}/firebaseLinks: firebase_linkÚAparent,firebase_link¤ -DeleteFirebaseLink9.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.google.protobuf.Empty";‚Óä“.*,/v1alpha/{name=properties/*/firebaseLinks/*}ÚAnameÇ -ListFirebaseLinks8.google.analytics.admin.v1alpha.ListFirebaseLinksRequest9.google.analytics.admin.v1alpha.ListFirebaseLinksResponse"=‚Óä“.,/v1alpha/{parent=properties/*}/firebaseLinksÚAparentà -GetGlobalSiteTag7.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest-.google.analytics.admin.v1alpha.GlobalSiteTag"G‚Óä“:8/v1alpha/{name=properties/*/dataStreams/*/globalSiteTag}ÚAnameá -CreateGoogleAdsLink:.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest-.google.analytics.admin.v1alpha.GoogleAdsLink"_‚Óä“@"-/v1alpha/{parent=properties/*}/googleAdsLinks:google_ads_linkÚAparent,google_ads_linkö -UpdateGoogleAdsLink:.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest-.google.analytics.admin.v1alpha.GoogleAdsLink"t‚Óä“P2=/v1alpha/{google_ads_link.name=properties/*/googleAdsLinks/*}:google_ads_linkÚAgoogle_ads_link,update_mask§ -DeleteGoogleAdsLink:.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.google.protobuf.Empty"<‚Óä“/*-/v1alpha/{name=properties/*/googleAdsLinks/*}ÚAnameË -ListGoogleAdsLinks9.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest:.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse">‚Óä“/-/v1alpha/{parent=properties/*}/googleAdsLinksÚAparentË -GetDataSharingSettings=.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest3.google.analytics.admin.v1alpha.DataSharingSettings"=‚Óä“0./v1alpha/{name=accounts/*/dataSharingSettings}ÚAnameö -GetMeasurementProtocolSecretC.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest9.google.analytics.admin.v1alpha.MeasurementProtocolSecret"V‚Óä“IG/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}ÚAname‰ -ListMeasurementProtocolSecretsE.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequestF.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse"X‚Óä“IG/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecretsÚAparent¸ -CreateMeasurementProtocolSecretF.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest9.google.analytics.admin.v1alpha.MeasurementProtocolSecret"‘‚Óä“f"G/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets:measurement_protocol_secretÚA"parent,measurement_protocol_secretÙ -DeleteMeasurementProtocolSecretF.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.google.protobuf.Empty"V‚Óä“I*G/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}ÚAnameÚ -UpdateMeasurementProtocolSecretF.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest9.google.analytics.admin.v1alpha.MeasurementProtocolSecret"³‚Óä“‚2c/v1alpha/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}:measurement_protocol_secretÚA\'measurement_protocol_secret,update_mask÷ -AcknowledgeUserDataCollectionD.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequestE.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse"I‚Óä“C">/v1alpha/{property=properties/*}:acknowledgeUserDataCollection:*ä +CreateProperty5.google.analytics.admin.v1alpha.CreatePropertyRequest(.google.analytics.admin.v1alpha.Property"0ÚAproperty‚Óä“"/v1alpha/properties:propertyž +DeleteProperty5.google.analytics.admin.v1alpha.DeletePropertyRequest(.google.analytics.admin.v1alpha.Property"+ÚAname‚Óä“*/v1alpha/{name=properties/*}Á +UpdateProperty5.google.analytics.admin.v1alpha.UpdatePropertyRequest(.google.analytics.admin.v1alpha.Property"NÚAproperty,update_mask‚Óä“12%/v1alpha/{property.name=properties/*}:propertyÙ +CreateFirebaseLink9.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest,.google.analytics.admin.v1alpha.FirebaseLink"ZÚAparent,firebase_link‚Óä“=",/v1alpha/{parent=properties/*}/firebaseLinks: firebase_link¤ +DeleteFirebaseLink9.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.google.protobuf.Empty";ÚAname‚Óä“.*,/v1alpha/{name=properties/*/firebaseLinks/*}Ç +ListFirebaseLinks8.google.analytics.admin.v1alpha.ListFirebaseLinksRequest9.google.analytics.admin.v1alpha.ListFirebaseLinksResponse"=ÚAparent‚Óä“.,/v1alpha/{parent=properties/*}/firebaseLinksà +GetGlobalSiteTag7.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest-.google.analytics.admin.v1alpha.GlobalSiteTag"GÚAname‚Óä“:8/v1alpha/{name=properties/*/dataStreams/*/globalSiteTag}á +CreateGoogleAdsLink:.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest-.google.analytics.admin.v1alpha.GoogleAdsLink"_ÚAparent,google_ads_link‚Óä“@"-/v1alpha/{parent=properties/*}/googleAdsLinks:google_ads_linkö +UpdateGoogleAdsLink:.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest-.google.analytics.admin.v1alpha.GoogleAdsLink"tÚAgoogle_ads_link,update_mask‚Óä“P2=/v1alpha/{google_ads_link.name=properties/*/googleAdsLinks/*}:google_ads_link§ +DeleteGoogleAdsLink:.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.google.protobuf.Empty"<ÚAname‚Óä“/*-/v1alpha/{name=properties/*/googleAdsLinks/*}Ë +ListGoogleAdsLinks9.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest:.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse">ÚAparent‚Óä“/-/v1alpha/{parent=properties/*}/googleAdsLinksË +GetDataSharingSettings=.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest3.google.analytics.admin.v1alpha.DataSharingSettings"=ÚAname‚Óä“0./v1alpha/{name=accounts/*/dataSharingSettings}ö +GetMeasurementProtocolSecretC.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest9.google.analytics.admin.v1alpha.MeasurementProtocolSecret"VÚAname‚Óä“IG/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}‰ +ListMeasurementProtocolSecretsE.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequestF.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse"XÚAparent‚Óä“IG/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets¸ +CreateMeasurementProtocolSecretF.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest9.google.analytics.admin.v1alpha.MeasurementProtocolSecret"‘ÚA"parent,measurement_protocol_secret‚Óä“f"G/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets:measurement_protocol_secretÙ +DeleteMeasurementProtocolSecretF.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.google.protobuf.Empty"VÚAname‚Óä“I*G/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}Ú +UpdateMeasurementProtocolSecretF.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest9.google.analytics.admin.v1alpha.MeasurementProtocolSecret"³ÚA\'measurement_protocol_secret,update_mask‚Óä“‚2c/v1alpha/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}:measurement_protocol_secret÷ +AcknowledgeUserDataCollectionD.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequestE.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse"I‚Óä“C">/v1alpha/{property=properties/*}:acknowledgeUserDataCollection:*‘ +#GetSKAdNetworkConversionValueSchemaJ.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema"\\ÚAname‚Óä“OM/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}ã +&CreateSKAdNetworkConversionValueSchemaM.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema"§ÚA*parent,skadnetwork_conversion_value_schema‚Óä“t"M/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema:#skadnetwork_conversion_value_schemaí +&DeleteSKAdNetworkConversionValueSchemaM.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.google.protobuf.Empty"\\ÚAname‚Óä“O*M/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*} +&UpdateSKAdNetworkConversionValueSchemaM.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema"ÑÚA/skadnetwork_conversion_value_schema,update_mask‚Ó䓘2q/v1alpha/{skadnetwork_conversion_value_schema.name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}:#skadnetwork_conversion_value_schema¤ +%ListSKAdNetworkConversionValueSchemasL.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequestM.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse"^ÚAparent‚Óä“OM/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchemaä SearchChangeHistoryEvents@.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequestA.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse"B‚Óä“<"7/v1alpha/{account=accounts/*}:searchChangeHistoryEvents:*Õ -GetGoogleSignalsSettings?.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest5.google.analytics.admin.v1alpha.GoogleSignalsSettings"A‚Óä“42/v1alpha/{name=properties/*/googleSignalsSettings}ÚAname¬ -UpdateGoogleSignalsSettingsB.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest5.google.analytics.admin.v1alpha.GoogleSignalsSettings"‘‚Óä“e2J/v1alpha/{google_signals_settings.name=properties/*/googleSignalsSettings}:google_signals_settingsÚA#google_signals_settings,update_maskë -CreateConversionEvent<.google.analytics.admin.v1alpha.CreateConversionEventRequest/.google.analytics.admin.v1alpha.ConversionEvent"c‚Óä“C"//v1alpha/{parent=properties/*}/conversionEvents:conversion_eventÚAparent,conversion_eventÀ -GetConversionEvent9.google.analytics.admin.v1alpha.GetConversionEventRequest/.google.analytics.admin.v1alpha.ConversionEvent">‚Óä“1//v1alpha/{name=properties/*/conversionEvents/*}ÚAname­ -DeleteConversionEvent<.google.analytics.admin.v1alpha.DeleteConversionEventRequest.google.protobuf.Empty">‚Óä“1*//v1alpha/{name=properties/*/conversionEvents/*}ÚAnameÓ -ListConversionEvents;.google.analytics.admin.v1alpha.ListConversionEventsRequest<.google.analytics.admin.v1alpha.ListConversionEventsResponse"@‚Óä“1//v1alpha/{parent=properties/*}/conversionEventsÚAparentø - GetDisplayVideo360AdvertiserLinkG.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink"L‚Óä“?=/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}ÚAname‹ -"ListDisplayVideo360AdvertiserLinksI.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequestJ.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse"N‚Óä“?=/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinksÚAparentÆ -#CreateDisplayVideo360AdvertiserLinkJ.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink"“‚Óä“b"=/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks:!display_video_360_advertiser_linkÚA(parent,display_video_360_advertiser_link× -#DeleteDisplayVideo360AdvertiserLinkJ.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.google.protobuf.Empty"L‚Óä“?*=/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}ÚAnameî -#UpdateDisplayVideo360AdvertiserLinkJ.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink"»‚Óä“„2_/v1alpha/{display_video_360_advertiser_link.name=properties/*/displayVideo360AdvertiserLinks/*}:!display_video_360_advertiser_linkÚA-display_video_360_advertiser_link,update_mask˜ -(GetDisplayVideo360AdvertiserLinkProposalO.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequestE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal"T‚Óä“GE/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}ÚAname« -*ListDisplayVideo360AdvertiserLinkProposalsQ.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequestR.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse"V‚Óä“GE/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposalsÚAparentø -+CreateDisplayVideo360AdvertiserLinkProposalR.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequestE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal"­‚Óä“s"E/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals:*display_video_360_advertiser_link_proposalÚA1parent,display_video_360_advertiser_link_proposalï -+DeleteDisplayVideo360AdvertiserLinkProposalR.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.google.protobuf.Empty"T‚Óä“G*E/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}ÚAname³ +GetGoogleSignalsSettings?.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest5.google.analytics.admin.v1alpha.GoogleSignalsSettings"AÚAname‚Óä“42/v1alpha/{name=properties/*/googleSignalsSettings}¬ +UpdateGoogleSignalsSettingsB.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest5.google.analytics.admin.v1alpha.GoogleSignalsSettings"‘ÚA#google_signals_settings,update_mask‚Óä“e2J/v1alpha/{google_signals_settings.name=properties/*/googleSignalsSettings}:google_signals_settingsë +CreateConversionEvent<.google.analytics.admin.v1alpha.CreateConversionEventRequest/.google.analytics.admin.v1alpha.ConversionEvent"cÚAparent,conversion_event‚Óä“C"//v1alpha/{parent=properties/*}/conversionEvents:conversion_event +UpdateConversionEvent<.google.analytics.admin.v1alpha.UpdateConversionEventRequest/.google.analytics.admin.v1alpha.ConversionEvent"yÚAconversion_event,update_mask‚Óä“T2@/v1alpha/{conversion_event.name=properties/*/conversionEvents/*}:conversion_eventÀ +GetConversionEvent9.google.analytics.admin.v1alpha.GetConversionEventRequest/.google.analytics.admin.v1alpha.ConversionEvent">ÚAname‚Óä“1//v1alpha/{name=properties/*/conversionEvents/*}­ +DeleteConversionEvent<.google.analytics.admin.v1alpha.DeleteConversionEventRequest.google.protobuf.Empty">ÚAname‚Óä“1*//v1alpha/{name=properties/*/conversionEvents/*}Ó +ListConversionEvents;.google.analytics.admin.v1alpha.ListConversionEventsRequest<.google.analytics.admin.v1alpha.ListConversionEventsResponse"@ÚAparent‚Óä“1//v1alpha/{parent=properties/*}/conversionEventsø + GetDisplayVideo360AdvertiserLinkG.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink"LÚAname‚Óä“?=/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}‹ +"ListDisplayVideo360AdvertiserLinksI.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequestJ.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse"NÚAparent‚Óä“?=/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinksÆ +#CreateDisplayVideo360AdvertiserLinkJ.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink"“ÚA(parent,display_video_360_advertiser_link‚Óä“b"=/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks:!display_video_360_advertiser_link× +#DeleteDisplayVideo360AdvertiserLinkJ.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.google.protobuf.Empty"LÚAname‚Óä“?*=/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}î +#UpdateDisplayVideo360AdvertiserLinkJ.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink"»ÚA-display_video_360_advertiser_link,update_mask‚Óä“„2_/v1alpha/{display_video_360_advertiser_link.name=properties/*/displayVideo360AdvertiserLinks/*}:!display_video_360_advertiser_link˜ +(GetDisplayVideo360AdvertiserLinkProposalO.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequestE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal"TÚAname‚Óä“GE/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}« +*ListDisplayVideo360AdvertiserLinkProposalsQ.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequestR.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse"VÚAparent‚Óä“GE/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposalsø ++CreateDisplayVideo360AdvertiserLinkProposalR.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequestE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal"­ÚA1parent,display_video_360_advertiser_link_proposal‚Óä“s"E/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals:*display_video_360_advertiser_link_proposalï ++DeleteDisplayVideo360AdvertiserLinkProposalR.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.google.protobuf.Empty"TÚAname‚Óä“G*E/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}³ ,ApproveDisplayVideo360AdvertiserLinkProposalS.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequestT.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse"X‚Óä“R"M/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve:*¡ +CancelDisplayVideo360AdvertiserLinkProposalR.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequestE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal"W‚Óä“Q"L/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:cancel:*ë -CreateCustomDimension<.google.analytics.admin.v1alpha.CreateCustomDimensionRequest/.google.analytics.admin.v1alpha.CustomDimension"c‚Óä“C"//v1alpha/{parent=properties/*}/customDimensions:custom_dimensionÚAparent,custom_dimension -UpdateCustomDimension<.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest/.google.analytics.admin.v1alpha.CustomDimension"y‚Óä“T2@/v1alpha/{custom_dimension.name=properties/*/customDimensions/*}:custom_dimensionÚAcustom_dimension,update_maskÓ -ListCustomDimensions;.google.analytics.admin.v1alpha.ListCustomDimensionsRequest<.google.analytics.admin.v1alpha.ListCustomDimensionsResponse"@‚Óä“1//v1alpha/{parent=properties/*}/customDimensionsÚAparentº -ArchiveCustomDimension=.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.google.protobuf.Empty"I‚Óä“<"7/v1alpha/{name=properties/*/customDimensions/*}:archive:*ÚAnameÀ -GetCustomDimension9.google.analytics.admin.v1alpha.GetCustomDimensionRequest/.google.analytics.admin.v1alpha.CustomDimension">‚Óä“1//v1alpha/{name=properties/*/customDimensions/*}ÚAnameÙ -CreateCustomMetric9.google.analytics.admin.v1alpha.CreateCustomMetricRequest,.google.analytics.admin.v1alpha.CustomMetric"Z‚Óä“=",/v1alpha/{parent=properties/*}/customMetrics: custom_metricÚAparent,custom_metricì -UpdateCustomMetric9.google.analytics.admin.v1alpha.UpdateCustomMetricRequest,.google.analytics.admin.v1alpha.CustomMetric"m‚Óä“K2:/v1alpha/{custom_metric.name=properties/*/customMetrics/*}: custom_metricÚAcustom_metric,update_maskÇ -ListCustomMetrics8.google.analytics.admin.v1alpha.ListCustomMetricsRequest9.google.analytics.admin.v1alpha.ListCustomMetricsResponse"=‚Óä“.,/v1alpha/{parent=properties/*}/customMetricsÚAparent± -ArchiveCustomMetric:.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.google.protobuf.Empty"F‚Óä“9"4/v1alpha/{name=properties/*/customMetrics/*}:archive:*ÚAname´ -GetCustomMetric6.google.analytics.admin.v1alpha.GetCustomMetricRequest,.google.analytics.admin.v1alpha.CustomMetric";‚Óä“.,/v1alpha/{name=properties/*/customMetrics/*}ÚAnameÕ -GetDataRetentionSettings?.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest5.google.analytics.admin.v1alpha.DataRetentionSettings"A‚Óä“42/v1alpha/{name=properties/*/dataRetentionSettings}ÚAname¬ -UpdateDataRetentionSettingsB.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest5.google.analytics.admin.v1alpha.DataRetentionSettings"‘‚Óä“e2J/v1alpha/{data_retention_settings.name=properties/*/dataRetentionSettings}:data_retention_settingsÚA#data_retention_settings,update_maskÍ -CreateDataStream7.google.analytics.admin.v1alpha.CreateDataStreamRequest*.google.analytics.admin.v1alpha.DataStream"T‚Óä“9"*/v1alpha/{parent=properties/*}/dataStreams: data_streamÚAparent,data_streamž -DeleteDataStream7.google.analytics.admin.v1alpha.DeleteDataStreamRequest.google.protobuf.Empty"9‚Óä“,**/v1alpha/{name=properties/*/dataStreams/*}ÚAnameÞ -UpdateDataStream7.google.analytics.admin.v1alpha.UpdateDataStreamRequest*.google.analytics.admin.v1alpha.DataStream"e‚Óä“E26/v1alpha/{data_stream.name=properties/*/dataStreams/*}: data_streamÚAdata_stream,update_mask¿ -ListDataStreams6.google.analytics.admin.v1alpha.ListDataStreamsRequest7.google.analytics.admin.v1alpha.ListDataStreamsResponse";‚Óä“,*/v1alpha/{parent=properties/*}/dataStreamsÚAparent¬ - GetDataStream4.google.analytics.admin.v1alpha.GetDataStreamRequest*.google.analytics.admin.v1alpha.DataStream"9‚Óä“,*/v1alpha/{name=properties/*/dataStreams/*}ÚAname¤ - GetAudience2.google.analytics.admin.v1alpha.GetAudienceRequest(.google.analytics.admin.v1alpha.Audience"7‚Óä“*(/v1alpha/{name=properties/*/audiences/*}ÚAname· - ListAudiences4.google.analytics.admin.v1alpha.ListAudiencesRequest5.google.analytics.admin.v1alpha.ListAudiencesResponse"9‚Óä“*(/v1alpha/{parent=properties/*}/audiencesÚAparent¿ -CreateAudience5.google.analytics.admin.v1alpha.CreateAudienceRequest(.google.analytics.admin.v1alpha.Audience"L‚Óä“4"(/v1alpha/{parent=properties/*}/audiences:audienceÚAparent,audienceÍ -UpdateAudience5.google.analytics.admin.v1alpha.UpdateAudienceRequest(.google.analytics.admin.v1alpha.Audience"Z‚Óä“=21/v1alpha/{audience.name=properties/*/audiences/*}:audienceÚAaudience,update_maskž +CreateCustomDimension<.google.analytics.admin.v1alpha.CreateCustomDimensionRequest/.google.analytics.admin.v1alpha.CustomDimension"cÚAparent,custom_dimension‚Óä“C"//v1alpha/{parent=properties/*}/customDimensions:custom_dimension +UpdateCustomDimension<.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest/.google.analytics.admin.v1alpha.CustomDimension"yÚAcustom_dimension,update_mask‚Óä“T2@/v1alpha/{custom_dimension.name=properties/*/customDimensions/*}:custom_dimensionÓ +ListCustomDimensions;.google.analytics.admin.v1alpha.ListCustomDimensionsRequest<.google.analytics.admin.v1alpha.ListCustomDimensionsResponse"@ÚAparent‚Óä“1//v1alpha/{parent=properties/*}/customDimensionsº +ArchiveCustomDimension=.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.google.protobuf.Empty"IÚAname‚Óä“<"7/v1alpha/{name=properties/*/customDimensions/*}:archive:*À +GetCustomDimension9.google.analytics.admin.v1alpha.GetCustomDimensionRequest/.google.analytics.admin.v1alpha.CustomDimension">ÚAname‚Óä“1//v1alpha/{name=properties/*/customDimensions/*}Ù +CreateCustomMetric9.google.analytics.admin.v1alpha.CreateCustomMetricRequest,.google.analytics.admin.v1alpha.CustomMetric"ZÚAparent,custom_metric‚Óä“=",/v1alpha/{parent=properties/*}/customMetrics: custom_metricì +UpdateCustomMetric9.google.analytics.admin.v1alpha.UpdateCustomMetricRequest,.google.analytics.admin.v1alpha.CustomMetric"mÚAcustom_metric,update_mask‚Óä“K2:/v1alpha/{custom_metric.name=properties/*/customMetrics/*}: custom_metricÇ +ListCustomMetrics8.google.analytics.admin.v1alpha.ListCustomMetricsRequest9.google.analytics.admin.v1alpha.ListCustomMetricsResponse"=ÚAparent‚Óä“.,/v1alpha/{parent=properties/*}/customMetrics± +ArchiveCustomMetric:.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.google.protobuf.Empty"FÚAname‚Óä“9"4/v1alpha/{name=properties/*/customMetrics/*}:archive:*´ +GetCustomMetric6.google.analytics.admin.v1alpha.GetCustomMetricRequest,.google.analytics.admin.v1alpha.CustomMetric";ÚAname‚Óä“.,/v1alpha/{name=properties/*/customMetrics/*}Õ +GetDataRetentionSettings?.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest5.google.analytics.admin.v1alpha.DataRetentionSettings"AÚAname‚Óä“42/v1alpha/{name=properties/*/dataRetentionSettings}¬ +UpdateDataRetentionSettingsB.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest5.google.analytics.admin.v1alpha.DataRetentionSettings"‘ÚA#data_retention_settings,update_mask‚Óä“e2J/v1alpha/{data_retention_settings.name=properties/*/dataRetentionSettings}:data_retention_settingsÍ +CreateDataStream7.google.analytics.admin.v1alpha.CreateDataStreamRequest*.google.analytics.admin.v1alpha.DataStream"TÚAparent,data_stream‚Óä“9"*/v1alpha/{parent=properties/*}/dataStreams: data_streamž +DeleteDataStream7.google.analytics.admin.v1alpha.DeleteDataStreamRequest.google.protobuf.Empty"9ÚAname‚Óä“,**/v1alpha/{name=properties/*/dataStreams/*}Þ +UpdateDataStream7.google.analytics.admin.v1alpha.UpdateDataStreamRequest*.google.analytics.admin.v1alpha.DataStream"eÚAdata_stream,update_mask‚Óä“E26/v1alpha/{data_stream.name=properties/*/dataStreams/*}: data_stream¿ +ListDataStreams6.google.analytics.admin.v1alpha.ListDataStreamsRequest7.google.analytics.admin.v1alpha.ListDataStreamsResponse";ÚAparent‚Óä“,*/v1alpha/{parent=properties/*}/dataStreams¬ + GetDataStream4.google.analytics.admin.v1alpha.GetDataStreamRequest*.google.analytics.admin.v1alpha.DataStream"9ÚAname‚Óä“,*/v1alpha/{name=properties/*/dataStreams/*}¤ + GetAudience2.google.analytics.admin.v1alpha.GetAudienceRequest(.google.analytics.admin.v1alpha.Audience"7ÚAname‚Óä“*(/v1alpha/{name=properties/*/audiences/*}· + ListAudiences4.google.analytics.admin.v1alpha.ListAudiencesRequest5.google.analytics.admin.v1alpha.ListAudiencesResponse"9ÚAparent‚Óä“*(/v1alpha/{parent=properties/*}/audiences¿ +CreateAudience5.google.analytics.admin.v1alpha.CreateAudienceRequest(.google.analytics.admin.v1alpha.Audience"LÚAparent,audience‚Óä“4"(/v1alpha/{parent=properties/*}/audiences:audienceÍ +UpdateAudience5.google.analytics.admin.v1alpha.UpdateAudienceRequest(.google.analytics.admin.v1alpha.Audience"ZÚAaudience,update_mask‚Óä“=21/v1alpha/{audience.name=properties/*/audiences/*}:audiencež ArchiveAudience6.google.analytics.admin.v1alpha.ArchiveAudienceRequest.google.protobuf.Empty";‚Óä“5"0/v1alpha/{name=properties/*/audiences/*}:archive:*Ä -GetSearchAds360Link:.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest0.google.analytics.admin.v1alpha.SearchAds360Link"?‚Óä“20/v1alpha/{name=properties/*/searchAds360Links/*}ÚAname× -ListSearchAds360Links<.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest=.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse"A‚Óä“20/v1alpha/{parent=properties/*}/searchAds360LinksÚAparentõ -CreateSearchAds360Link=.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest0.google.analytics.admin.v1alpha.SearchAds360Link"j‚Óä“G"0/v1alpha/{parent=properties/*}/searchAds360Links:search_ads_360_linkÚAparent,search_ads_360_link° -DeleteSearchAds360Link=.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest.google.protobuf.Empty"?‚Óä“2*0/v1alpha/{name=properties/*/searchAds360Links/*}ÚAname -UpdateSearchAds360Link=.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest0.google.analytics.admin.v1alpha.SearchAds360Link"ƒ‚Óä“[2D/v1alpha/{search_ads_360_link.name=properties/*/searchAds360Links/*}:search_ads_360_linkÚAsearch_ads_360_link,update_maskÍ -GetAttributionSettings=.google.analytics.admin.v1alpha.GetAttributionSettingsRequest3.google.analytics.admin.v1alpha.AttributionSettings"?‚Óä“20/v1alpha/{name=properties/*/attributionSettings}ÚAname› -UpdateAttributionSettings@.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest3.google.analytics.admin.v1alpha.AttributionSettings"†‚Óä“]2E/v1alpha/{attribution_settings.name=properties/*/attributionSettings}:attribution_settingsÚA attribution_settings,update_mask½ -RunAccessReport6.google.analytics.admin.v1alpha.RunAccessReportRequest7.google.analytics.admin.v1alpha.RunAccessReportResponse"9‚Óä“3"./v1alpha/{entity=properties/*}:runAccessReport:*Ÿ -CreateAccessBinding:.google.analytics.admin.v1alpha.CreateAccessBindingRequest-.google.analytics.admin.v1alpha.AccessBinding"œ‚Óä“~"+/v1alpha/{parent=accounts/*}/accessBindings:access_bindingZ?"-/v1alpha/{parent=properties/*}/accessBindings:access_bindingÚAparent,access_bindingç -GetAccessBinding7.google.analytics.admin.v1alpha.GetAccessBindingRequest-.google.analytics.admin.v1alpha.AccessBinding"k‚Óä“^+/v1alpha/{name=accounts/*/accessBindings/*}Z/-/v1alpha/{name=properties/*/accessBindings/*}ÚAname· -UpdateAccessBinding:.google.analytics.admin.v1alpha.UpdateAccessBindingRequest-.google.analytics.admin.v1alpha.AccessBinding"´‚Óä“œ2:/v1alpha/{access_binding.name=accounts/*/accessBindings/*}:access_bindingZN2"9/v1alpha/{parent=properties/*}/accessBindings:batchCreate:* BatchGetAccessBindings=.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest>.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse"v‚Óä“p4/v1alpha/{parent=accounts/*}/accessBindings:batchGetZ86/v1alpha/{parent=properties/*}/accessBindings:batchGet¥ BatchUpdateAccessBindings@.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequestA.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse"‚‚Óä“|"7/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate:*Z>"9/v1alpha/{parent=properties/*}/accessBindings:batchUpdate:*ú BatchDeleteAccessBindings@.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.google.protobuf.Empty"‚‚Óä“|"7/v1alpha/{parent=accounts/*}/accessBindings:batchDelete:*Z>"9/v1alpha/{parent=properties/*}/accessBindings:batchDelete:*À -GetExpandedDataSet9.google.analytics.admin.v1alpha.GetExpandedDataSetRequest/.google.analytics.admin.v1alpha.ExpandedDataSet">‚Óä“1//v1alpha/{name=properties/*/expandedDataSets/*}ÚAnameÓ -ListExpandedDataSets;.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest<.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse"@‚Óä“1//v1alpha/{parent=properties/*}/expandedDataSetsÚAparentí -CreateExpandedDataSet<.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest/.google.analytics.admin.v1alpha.ExpandedDataSet"e‚Óä“D"//v1alpha/{parent=properties/*}/expandedDataSets:expanded_data_setÚAparent,expanded_data_set„ -UpdateExpandedDataSet<.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest/.google.analytics.admin.v1alpha.ExpandedDataSet"|‚Óä“V2A/v1alpha/{expanded_data_set.name=properties/*/expandedDataSets/*}:expanded_data_setÚAexpanded_data_set,update_mask­ -DeleteExpandedDataSet<.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.google.protobuf.Empty">‚Óä“1*//v1alpha/{name=properties/*/expandedDataSets/*}ÚAnameþ +GetExpandedDataSet9.google.analytics.admin.v1alpha.GetExpandedDataSetRequest/.google.analytics.admin.v1alpha.ExpandedDataSet">ÚAname‚Óä“1//v1alpha/{name=properties/*/expandedDataSets/*}Ó +ListExpandedDataSets;.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest<.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse"@ÚAparent‚Óä“1//v1alpha/{parent=properties/*}/expandedDataSetsí +CreateExpandedDataSet<.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest/.google.analytics.admin.v1alpha.ExpandedDataSet"eÚAparent,expanded_data_set‚Óä“D"//v1alpha/{parent=properties/*}/expandedDataSets:expanded_data_set„ +UpdateExpandedDataSet<.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest/.google.analytics.admin.v1alpha.ExpandedDataSet"|ÚAexpanded_data_set,update_mask‚Óä“V2A/v1alpha/{expanded_data_set.name=properties/*/expandedDataSets/*}:expanded_data_set­ +DeleteExpandedDataSet<.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.google.protobuf.Empty">ÚAname‚Óä“1*//v1alpha/{name=properties/*/expandedDataSets/*}´ +GetChannelGroup6.google.analytics.admin.v1alpha.GetChannelGroupRequest,.google.analytics.admin.v1alpha.ChannelGroup";ÚAname‚Óä“.,/v1alpha/{name=properties/*/channelGroups/*}Ç +ListChannelGroups8.google.analytics.admin.v1alpha.ListChannelGroupsRequest9.google.analytics.admin.v1alpha.ListChannelGroupsResponse"=ÚAparent‚Óä“.,/v1alpha/{parent=properties/*}/channelGroupsÙ +CreateChannelGroup9.google.analytics.admin.v1alpha.CreateChannelGroupRequest,.google.analytics.admin.v1alpha.ChannelGroup"ZÚAparent,channel_group‚Óä“=",/v1alpha/{parent=properties/*}/channelGroups: channel_groupì +UpdateChannelGroup9.google.analytics.admin.v1alpha.UpdateChannelGroupRequest,.google.analytics.admin.v1alpha.ChannelGroup"mÚAchannel_group,update_mask‚Óä“K2:/v1alpha/{channel_group.name=properties/*/channelGroups/*}: channel_group¤ +DeleteChannelGroup9.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.google.protobuf.Empty";ÚAname‚Óä“.*,/v1alpha/{name=properties/*/channelGroups/*}þ "SetAutomatedGa4ConfigurationOptOutI.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequestJ.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse"A‚Óä“;"6/v1alpha/properties:setAutomatedGa4ConfigurationOptOut:*† $FetchAutomatedGa4ConfigurationOptOutK.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequestL.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse"C‚Óä“="8/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut:*´ -GetBigQueryLink6.google.analytics.admin.v1alpha.GetBigQueryLinkRequest,.google.analytics.admin.v1alpha.BigQueryLink";‚Óä“.,/v1alpha/{name=properties/*/bigQueryLinks/*}ÚAnameÇ -ListBigQueryLinks8.google.analytics.admin.v1alpha.ListBigQueryLinksRequest9.google.analytics.admin.v1alpha.ListBigQueryLinksResponse"=‚Óä“.,/v1alpha/{parent=properties/*}/bigQueryLinksÚAparentüÊAanalyticsadmin.googleapis.comÒAØhttps://www.googleapis.com/auth/analytics.edit,https://www.googleapis.com/auth/analytics.manage.users,https://www.googleapis.com/auth/analytics.manage.users.readonly,https://www.googleapis.com/auth/analytics.readonlyB€ -"com.google.analytics.admin.v1alphaBAnalyticsAdminProtoPZCgoogle.golang.org/genproto/googleapis/analytics/admin/v1alpha;adminbproto3', \true); +GetBigQueryLink6.google.analytics.admin.v1alpha.GetBigQueryLinkRequest,.google.analytics.admin.v1alpha.BigQueryLink";ÚAname‚Óä“.,/v1alpha/{name=properties/*/bigQueryLinks/*}Ç +ListBigQueryLinks8.google.analytics.admin.v1alpha.ListBigQueryLinksRequest9.google.analytics.admin.v1alpha.ListBigQueryLinksResponse"=ÚAparent‚Óä“.,/v1alpha/{parent=properties/*}/bigQueryLinksû +GetEnhancedMeasurementSettingsE.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest;.google.analytics.admin.v1alpha.EnhancedMeasurementSettings"UÚAname‚Óä“HF/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}å +!UpdateEnhancedMeasurementSettingsH.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest;.google.analytics.admin.v1alpha.EnhancedMeasurementSettings"¸ÚA)enhanced_measurement_settings,update_mask‚Óä“…2d/v1alpha/{enhanced_measurement_settings.name=properties/*/dataStreams/*/enhancedMeasurementSettings}:enhanced_measurement_settingsÎ +CreateConnectedSiteTag=.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest>.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse"5‚Óä“/"*/v1alpha/properties:createConnectedSiteTag:*¦ +DeleteConnectedSiteTag=.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.google.protobuf.Empty"5‚Óä“/"*/v1alpha/properties:deleteConnectedSiteTag:*Ê +ListConnectedSiteTags<.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest=.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse"4‚Óä“.")/v1alpha/properties:listConnectedSiteTags:*× +FetchConnectedGa4Property@.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequestA.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse"5‚Óä“/-/v1alpha/properties:fetchConnectedGa4Property° +GetAdSenseLink5.google.analytics.admin.v1alpha.GetAdSenseLinkRequest+.google.analytics.admin.v1alpha.AdSenseLink":ÚAname‚Óä“-+/v1alpha/{name=properties/*/adSenseLinks/*}Ó +CreateAdSenseLink8.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest+.google.analytics.admin.v1alpha.AdSenseLink"WÚAparent,adsense_link‚Óä“;"+/v1alpha/{parent=properties/*}/adSenseLinks: adsense_link¡ +DeleteAdSenseLink8.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.google.protobuf.Empty":ÚAname‚Óä“-*+/v1alpha/{name=properties/*/adSenseLinks/*}à +ListAdSenseLinks7.google.analytics.admin.v1alpha.ListAdSenseLinksRequest8.google.analytics.admin.v1alpha.ListAdSenseLinksResponse"<ÚAparent‚Óä“-+/v1alpha/{parent=properties/*}/adSenseLinksÎ +GetEventCreateRule9.google.analytics.admin.v1alpha.GetEventCreateRuleRequest/.google.analytics.admin.v1alpha.EventCreateRule"LÚAname‚Óä“?=/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}á +ListEventCreateRules;.google.analytics.admin.v1alpha.ListEventCreateRulesRequest<.google.analytics.admin.v1alpha.ListEventCreateRulesResponse"NÚAparent‚Óä“?=/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRulesû +CreateEventCreateRule<.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest/.google.analytics.admin.v1alpha.EventCreateRule"sÚAparent,event_create_rule‚Óä“R"=/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules:event_create_rule“ +UpdateEventCreateRule<.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest/.google.analytics.admin.v1alpha.EventCreateRule"ŠÚAevent_create_rule,update_mask‚Óä“d2O/v1alpha/{event_create_rule.name=properties/*/dataStreams/*/eventCreateRules/*}:event_create_rule» +DeleteEventCreateRule<.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.google.protobuf.Empty"LÚAname‚Óä“?*=/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}º +UpdateDataRedactionSettingsB.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest5.google.analytics.admin.v1alpha.DataRedactionSettings"ŸÚA#data_redaction_settings,update_mask‚Óä“s2X/v1alpha/{data_redaction_settings.name=properties/*/dataStreams/*/dataRedactionSettings}:data_redaction_settingsã +GetDataRedactionSettings?.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest5.google.analytics.admin.v1alpha.DataRedactionSettings"OÚAname‚Óä“B@/v1alpha/{name=properties/*/dataStreams/*/dataRedactionSettings}Ä +GetCalculatedMetric:.google.analytics.admin.v1alpha.GetCalculatedMetricRequest0.google.analytics.admin.v1alpha.CalculatedMetric"?ÚAname‚Óä“20/v1alpha/{name=properties/*/calculatedMetrics/*}† +CreateCalculatedMetric=.google.analytics.admin.v1alpha.CreateCalculatedMetricRequest0.google.analytics.admin.v1alpha.CalculatedMetric"{ÚA-parent,calculated_metric,calculated_metric_id‚Óä“E"0/v1alpha/{parent=properties/*}/calculatedMetrics:calculated_metric× +ListCalculatedMetrics<.google.analytics.admin.v1alpha.ListCalculatedMetricsRequest=.google.analytics.admin.v1alpha.ListCalculatedMetricsResponse"AÚAparent‚Óä“20/v1alpha/{parent=properties/*}/calculatedMetricsˆ +UpdateCalculatedMetric=.google.analytics.admin.v1alpha.UpdateCalculatedMetricRequest0.google.analytics.admin.v1alpha.CalculatedMetric"}ÚAcalculated_metric,update_mask‚Óä“W2B/v1alpha/{calculated_metric.name=properties/*/calculatedMetrics/*}:calculated_metric° +DeleteCalculatedMetric=.google.analytics.admin.v1alpha.DeleteCalculatedMetricRequest.google.protobuf.Empty"?ÚAname‚Óä“2*0/v1alpha/{name=properties/*/calculatedMetrics/*}Æ +CreateRollupProperty;.google.analytics.admin.v1alpha.CreateRollupPropertyRequest<.google.analytics.admin.v1alpha.CreateRollupPropertyResponse"3‚Óä“-"(/v1alpha/properties:createRollupProperty:*ä +GetRollupPropertySourceLinkB.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest8.google.analytics.admin.v1alpha.RollupPropertySourceLink"GÚAname‚Óä“:8/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}÷ +ListRollupPropertySourceLinksD.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequestE.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse"IÚAparent‚Óä“:8/v1alpha/{parent=properties/*}/rollupPropertySourceLinks¦ +CreateRollupPropertySourceLinkE.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest8.google.analytics.admin.v1alpha.RollupPropertySourceLink"‚ÚA"parent,rollup_property_source_link‚Óä“W"8/v1alpha/{parent=properties/*}/rollupPropertySourceLinks:rollup_property_source_linkÈ +DeleteRollupPropertySourceLinkE.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.google.protobuf.Empty"GÚAname‚Óä“:*8/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}º +CreateSubproperty8.google.analytics.admin.v1alpha.CreateSubpropertyRequest9.google.analytics.admin.v1alpha.CreateSubpropertyResponse"0‚Óä“*"%/v1alpha/properties:createSubproperty:*— +CreateSubpropertyEventFilterC.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest6.google.analytics.admin.v1alpha.SubpropertyEventFilter"zÚAparent,subproperty_event_filter‚Óä“R"6/v1alpha/{parent=properties/*}/subpropertyEventFilters:subproperty_event_filterÜ +GetSubpropertyEventFilter@.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest6.google.analytics.admin.v1alpha.SubpropertyEventFilter"EÚAname‚Óä“86/v1alpha/{name=properties/*/subpropertyEventFilters/*}ï +ListSubpropertyEventFiltersB.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequestC.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse"GÚAparent‚Óä“86/v1alpha/{parent=properties/*}/subpropertyEventFilters¶ +UpdateSubpropertyEventFilterC.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest6.google.analytics.admin.v1alpha.SubpropertyEventFilter"˜ÚA$subproperty_event_filter,update_mask‚Óä“k2O/v1alpha/{subproperty_event_filter.name=properties/*/subpropertyEventFilters/*}:subproperty_event_filter +DeleteSubpropertyEventFilterC.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.google.protobuf.Empty"EÚAname‚Óä“8*6/v1alpha/{name=properties/*/subpropertyEventFilters/*}üÊAanalyticsadmin.googleapis.comÒAØhttps://www.googleapis.com/auth/analytics.edit,https://www.googleapis.com/auth/analytics.manage.users,https://www.googleapis.com/auth/analytics.manage.users.readonly,https://www.googleapis.com/auth/analytics.readonlyB{ +"com.google.analytics.admin.v1alphaBAnalyticsAdminProtoPZ>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/Audience.php b/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/Audience.php index 9c7969624..52e9f5aaf 100644 Binary files a/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/Audience.php and b/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/Audience.php differ diff --git a/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/ChannelGroup.php b/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/ChannelGroup.php new file mode 100644 index 000000000..8b29a2d0b Binary files /dev/null and b/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/ChannelGroup.php differ diff --git a/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/EventCreateAndEdit.php b/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/EventCreateAndEdit.php new file mode 100644 index 000000000..3745b47d1 Binary files /dev/null and b/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/EventCreateAndEdit.php differ diff --git a/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/ExpandedDataSet.php b/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/ExpandedDataSet.php index 6f5d091d0..794ad448a 100644 Binary files a/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/ExpandedDataSet.php and b/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/ExpandedDataSet.php differ diff --git a/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/Resources.php b/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/Resources.php index ae7cb399e..486798bd7 100644 Binary files a/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/Resources.php and b/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/Resources.php differ diff --git a/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/SubpropertyEventFilter.php b/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/SubpropertyEventFilter.php new file mode 100644 index 000000000..09fd56085 Binary files /dev/null and b/vendor/prefixed/google/analytics-admin/metadata/V1Alpha/SubpropertyEventFilter.php differ diff --git a/vendor/prefixed/google/analytics-admin/metadata/V1Beta/AccessReport.php b/vendor/prefixed/google/analytics-admin/metadata/V1Beta/AccessReport.php new file mode 100644 index 000000000..4c010d555 Binary files /dev/null and b/vendor/prefixed/google/analytics-admin/metadata/V1Beta/AccessReport.php differ diff --git a/vendor/prefixed/google/analytics-admin/metadata/V1Beta/AnalyticsAdmin.php b/vendor/prefixed/google/analytics-admin/metadata/V1Beta/AnalyticsAdmin.php index 971b5bf06..93804f74d 100644 --- a/vendor/prefixed/google/analytics-admin/metadata/V1Beta/AnalyticsAdmin.php +++ b/vendor/prefixed/google/analytics-admin/metadata/V1Beta/AnalyticsAdmin.php @@ -13,6 +13,7 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Annotations::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce(); @@ -22,8 +23,28 @@ public static function initOnce() \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\FieldMask::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile(' -Ž -3google/analytics/admin/v1beta/analytics_admin.protogoogle.analytics.admin.v1betagoogle/api/annotations.protogoogle/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/protobuf/empty.proto google/protobuf/field_mask.protogoogle/protobuf/timestamp.proto"P +¶š +3google/analytics/admin/v1beta/analytics_admin.protogoogle.analytics.admin.v1beta-google/analytics/admin/v1beta/resources.protogoogle/api/annotations.protogoogle/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/protobuf/empty.proto google/protobuf/field_mask.protogoogle/protobuf/timestamp.proto"ž +RunAccessReportRequest +entity ( B + +dimensions ( 2..google.analytics.admin.v1beta.AccessDimension< +metrics ( 2+.google.analytics.admin.v1beta.AccessMetricC + date_ranges ( 2..google.analytics.admin.v1beta.AccessDateRangeO +dimension_filter ( 25.google.analytics.admin.v1beta.AccessFilterExpressionL + metric_filter ( 25.google.analytics.admin.v1beta.AccessFilterExpression +offset ( +limit ( + time_zone ( ? + order_bys + ( 2,.google.analytics.admin.v1beta.AccessOrderBy +return_entity_quota ("» +RunAccessReportResponseO +dimension_headers ( 24.google.analytics.admin.v1beta.AccessDimensionHeaderI +metric_headers ( 21.google.analytics.admin.v1beta.AccessMetricHeader6 +rows ( 2(.google.analytics.admin.v1beta.AccessRow + row_count (9 +quota ( 2*.google.analytics.admin.v1beta.AccessQuota"P GetAccountRequest; name ( B-àAúA\' %analyticsadmin.googleapis.com/Account"R @@ -137,10 +158,10 @@ public static function initOnce() measurement_protocol_secret ( 28.google.analytics.admin.v1beta.MeasurementProtocolSecretBàA"w &DeleteMeasurementProtocolSecretRequestM name ( B?àAúA9 -7analyticsadmin.googleapis.com/MeasurementProtocolSecret"½ +7analyticsadmin.googleapis.com/MeasurementProtocolSecret" &UpdateMeasurementProtocolSecretRequestb -measurement_protocol_secret ( 28.google.analytics.admin.v1beta.MeasurementProtocolSecretBàA/ - update_mask ( 2.google.protobuf.FieldMask"Ÿ +measurement_protocol_secret ( 28.google.analytics.admin.v1beta.MeasurementProtocolSecretBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"Ÿ %ListMeasurementProtocolSecretsRequestO parent ( B?àAúA97analyticsadmin.googleapis.com/MeasurementProtocolSecret page_size ( @@ -151,7 +172,10 @@ public static function initOnce() next_page_token ( "´ CreateConversionEventRequestM conversion_event ( 2..google.analytics.admin.v1beta.ConversionEventBàAE -parent ( B5àAúA/-analyticsadmin.googleapis.com/ConversionEvent"` +parent ( B5àAúA/-analyticsadmin.googleapis.com/ConversionEvent"£ +UpdateConversionEventRequestM +conversion_event ( 2..google.analytics.admin.v1beta.ConversionEventBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"` GetConversionEventRequestC name ( B5àAúA/ -analyticsadmin.googleapis.com/ConversionEvent"c @@ -231,56 +255,58 @@ public static function initOnce() next_page_token ( "V GetDataStreamRequest> name ( B0àAúA* -(analyticsadmin.googleapis.com/DataStream2ëL +(analyticsadmin.googleapis.com/DataStream2ÛP AnalyticsAdminService -GetAccount0.google.analytics.admin.v1beta.GetAccountRequest&.google.analytics.admin.v1beta.Account"(‚Óä“/v1beta/{name=accounts/*}ÚAname‘ +GetAccount0.google.analytics.admin.v1beta.GetAccountRequest&.google.analytics.admin.v1beta.Account"(ÚAname‚Óä“/v1beta/{name=accounts/*}‘ ListAccounts2.google.analytics.admin.v1beta.ListAccountsRequest3.google.analytics.admin.v1beta.ListAccountsResponse"‚Óä“/v1beta/accounts† - DeleteAccount3.google.analytics.admin.v1beta.DeleteAccountRequest.google.protobuf.Empty"(‚Óä“*/v1beta/{name=accounts/*}ÚAname¶ - UpdateAccount3.google.analytics.admin.v1beta.UpdateAccountRequest&.google.analytics.admin.v1beta.Account"H‚Óä“,2!/v1beta/{account.name=accounts/*}:accountÚAaccount,update_maskÉ + DeleteAccount3.google.analytics.admin.v1beta.DeleteAccountRequest.google.protobuf.Empty"(ÚAname‚Óä“*/v1beta/{name=accounts/*}¶ + UpdateAccount3.google.analytics.admin.v1beta.UpdateAccountRequest&.google.analytics.admin.v1beta.Account"HÚAaccount,update_mask‚Óä“,2!/v1beta/{account.name=accounts/*}:accountÉ ProvisionAccountTicket<.google.analytics.admin.v1beta.ProvisionAccountTicketRequest=.google.analytics.admin.v1beta.ProvisionAccountTicketResponse"2‚Óä“,"\'/v1beta/accounts:provisionAccountTicket:*± ListAccountSummaries:.google.analytics.admin.v1beta.ListAccountSummariesRequest;.google.analytics.admin.v1beta.ListAccountSummariesResponse" ‚Óä“/v1beta/accountSummaries• - GetProperty1.google.analytics.admin.v1beta.GetPropertyRequest\'.google.analytics.admin.v1beta.Property"*‚Óä“/v1beta/{name=properties/*}ÚAname™ + GetProperty1.google.analytics.admin.v1beta.GetPropertyRequest\'.google.analytics.admin.v1beta.Property"*ÚAname‚Óä“/v1beta/{name=properties/*}™ ListProperties4.google.analytics.admin.v1beta.ListPropertiesRequest5.google.analytics.admin.v1beta.ListPropertiesResponse"‚Óä“/v1beta/properties  -CreateProperty4.google.analytics.admin.v1beta.CreatePropertyRequest\'.google.analytics.admin.v1beta.Property"/‚Óä“"/v1beta/properties:propertyÚAproperty› -DeleteProperty4.google.analytics.admin.v1beta.DeletePropertyRequest\'.google.analytics.admin.v1beta.Property"*‚Óä“*/v1beta/{name=properties/*}ÚAname¾ -UpdateProperty4.google.analytics.admin.v1beta.UpdatePropertyRequest\'.google.analytics.admin.v1beta.Property"M‚Óä“02$/v1beta/{property.name=properties/*}:propertyÚAproperty,update_maskÖ -CreateFirebaseLink8.google.analytics.admin.v1beta.CreateFirebaseLinkRequest+.google.analytics.admin.v1beta.FirebaseLink"Y‚Óä“<"+/v1beta/{parent=properties/*}/firebaseLinks: firebase_linkÚAparent,firebase_link¢ -DeleteFirebaseLink8.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.google.protobuf.Empty":‚Óä“-*+/v1beta/{name=properties/*/firebaseLinks/*}ÚAnameÄ -ListFirebaseLinks7.google.analytics.admin.v1beta.ListFirebaseLinksRequest8.google.analytics.admin.v1beta.ListFirebaseLinksResponse"<‚Óä“-+/v1beta/{parent=properties/*}/firebaseLinksÚAparentÞ -CreateGoogleAdsLink9.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest,.google.analytics.admin.v1beta.GoogleAdsLink"^‚Óä“?",/v1beta/{parent=properties/*}/googleAdsLinks:google_ads_linkÚAparent,google_ads_linkó -UpdateGoogleAdsLink9.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest,.google.analytics.admin.v1beta.GoogleAdsLink"s‚Óä“O2.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest4.google.analytics.admin.v1beta.DataRetentionSettings"@‚Óä“31/v1beta/{name=properties/*/dataRetentionSettings}ÚAname© -UpdateDataRetentionSettingsA.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest4.google.analytics.admin.v1beta.DataRetentionSettings"‚Óä“d2I/v1beta/{data_retention_settings.name=properties/*/dataRetentionSettings}:data_retention_settingsÚA#data_retention_settings,update_maskÊ -CreateDataStream6.google.analytics.admin.v1beta.CreateDataStreamRequest).google.analytics.admin.v1beta.DataStream"S‚Óä“8")/v1beta/{parent=properties/*}/dataStreams: data_streamÚAparent,data_streamœ -DeleteDataStream6.google.analytics.admin.v1beta.DeleteDataStreamRequest.google.protobuf.Empty"8‚Óä“+*)/v1beta/{name=properties/*/dataStreams/*}ÚAnameÛ -UpdateDataStream6.google.analytics.admin.v1beta.UpdateDataStreamRequest).google.analytics.admin.v1beta.DataStream"d‚Óä“D25/v1beta/{data_stream.name=properties/*/dataStreams/*}: data_streamÚAdata_stream,update_mask¼ -ListDataStreams5.google.analytics.admin.v1beta.ListDataStreamsRequest6.google.analytics.admin.v1beta.ListDataStreamsResponse":‚Óä“+)/v1beta/{parent=properties/*}/dataStreamsÚAparent© - GetDataStream3.google.analytics.admin.v1beta.GetDataStreamRequest).google.analytics.admin.v1beta.DataStream"8‚Óä“+)/v1beta/{name=properties/*/dataStreams/*}ÚAname„ÊAanalyticsadmin.googleapis.comÒAahttps://www.googleapis.com/auth/analytics.edit,https://www.googleapis.com/auth/analytics.readonlyB~ +CreateConversionEvent;.google.analytics.admin.v1beta.CreateConversionEventRequest..google.analytics.admin.v1beta.ConversionEvent"bÚAparent,conversion_event‚Óä“B"./v1beta/{parent=properties/*}/conversionEvents:conversion_eventþ +UpdateConversionEvent;.google.analytics.admin.v1beta.UpdateConversionEventRequest..google.analytics.admin.v1beta.ConversionEvent"xÚAconversion_event,update_mask‚Óä“S2?/v1beta/{conversion_event.name=properties/*/conversionEvents/*}:conversion_event½ +GetConversionEvent8.google.analytics.admin.v1beta.GetConversionEventRequest..google.analytics.admin.v1beta.ConversionEvent"=ÚAname‚Óä“0./v1beta/{name=properties/*/conversionEvents/*}« +DeleteConversionEvent;.google.analytics.admin.v1beta.DeleteConversionEventRequest.google.protobuf.Empty"=ÚAname‚Óä“0*./v1beta/{name=properties/*/conversionEvents/*}Ð +ListConversionEvents:.google.analytics.admin.v1beta.ListConversionEventsRequest;.google.analytics.admin.v1beta.ListConversionEventsResponse"?ÚAparent‚Óä“0./v1beta/{parent=properties/*}/conversionEventsè +CreateCustomDimension;.google.analytics.admin.v1beta.CreateCustomDimensionRequest..google.analytics.admin.v1beta.CustomDimension"bÚAparent,custom_dimension‚Óä“B"./v1beta/{parent=properties/*}/customDimensions:custom_dimensionþ +UpdateCustomDimension;.google.analytics.admin.v1beta.UpdateCustomDimensionRequest..google.analytics.admin.v1beta.CustomDimension"xÚAcustom_dimension,update_mask‚Óä“S2?/v1beta/{custom_dimension.name=properties/*/customDimensions/*}:custom_dimensionÐ +ListCustomDimensions:.google.analytics.admin.v1beta.ListCustomDimensionsRequest;.google.analytics.admin.v1beta.ListCustomDimensionsResponse"?ÚAparent‚Óä“0./v1beta/{parent=properties/*}/customDimensions¸ +ArchiveCustomDimension<.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.google.protobuf.Empty"HÚAname‚Óä“;"6/v1beta/{name=properties/*/customDimensions/*}:archive:*½ +GetCustomDimension8.google.analytics.admin.v1beta.GetCustomDimensionRequest..google.analytics.admin.v1beta.CustomDimension"=ÚAname‚Óä“0./v1beta/{name=properties/*/customDimensions/*}Ö +CreateCustomMetric8.google.analytics.admin.v1beta.CreateCustomMetricRequest+.google.analytics.admin.v1beta.CustomMetric"YÚAparent,custom_metric‚Óä“<"+/v1beta/{parent=properties/*}/customMetrics: custom_metricé +UpdateCustomMetric8.google.analytics.admin.v1beta.UpdateCustomMetricRequest+.google.analytics.admin.v1beta.CustomMetric"lÚAcustom_metric,update_mask‚Óä“J29/v1beta/{custom_metric.name=properties/*/customMetrics/*}: custom_metricÄ +ListCustomMetrics7.google.analytics.admin.v1beta.ListCustomMetricsRequest8.google.analytics.admin.v1beta.ListCustomMetricsResponse"<ÚAparent‚Óä“-+/v1beta/{parent=properties/*}/customMetrics¯ +ArchiveCustomMetric9.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.google.protobuf.Empty"EÚAname‚Óä“8"3/v1beta/{name=properties/*/customMetrics/*}:archive:*± +GetCustomMetric5.google.analytics.admin.v1beta.GetCustomMetricRequest+.google.analytics.admin.v1beta.CustomMetric":ÚAname‚Óä“-+/v1beta/{name=properties/*/customMetrics/*}Ò +GetDataRetentionSettings>.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest4.google.analytics.admin.v1beta.DataRetentionSettings"@ÚAname‚Óä“31/v1beta/{name=properties/*/dataRetentionSettings}© +UpdateDataRetentionSettingsA.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest4.google.analytics.admin.v1beta.DataRetentionSettings"ÚA#data_retention_settings,update_mask‚Óä“d2I/v1beta/{data_retention_settings.name=properties/*/dataRetentionSettings}:data_retention_settingsÊ +CreateDataStream6.google.analytics.admin.v1beta.CreateDataStreamRequest).google.analytics.admin.v1beta.DataStream"SÚAparent,data_stream‚Óä“8")/v1beta/{parent=properties/*}/dataStreams: data_streamœ +DeleteDataStream6.google.analytics.admin.v1beta.DeleteDataStreamRequest.google.protobuf.Empty"8ÚAname‚Óä“+*)/v1beta/{name=properties/*/dataStreams/*}Û +UpdateDataStream6.google.analytics.admin.v1beta.UpdateDataStreamRequest).google.analytics.admin.v1beta.DataStream"dÚAdata_stream,update_mask‚Óä“D25/v1beta/{data_stream.name=properties/*/dataStreams/*}: data_stream¼ +ListDataStreams5.google.analytics.admin.v1beta.ListDataStreamsRequest6.google.analytics.admin.v1beta.ListDataStreamsResponse":ÚAparent‚Óä“+)/v1beta/{parent=properties/*}/dataStreams© + GetDataStream3.google.analytics.admin.v1beta.GetDataStreamRequest).google.analytics.admin.v1beta.DataStream"8ÚAname‚Óä“+)/v1beta/{name=properties/*/dataStreams/*}ì +RunAccessReport5.google.analytics.admin.v1beta.RunAccessReportRequest6.google.analytics.admin.v1beta.RunAccessReportResponse"j‚Óä“d"-/v1beta/{entity=properties/*}:runAccessReport:*Z0"+/v1beta/{entity=accounts/*}:runAccessReport:*„ÊAanalyticsadmin.googleapis.comÒAahttps://www.googleapis.com/auth/analytics.edit,https://www.googleapis.com/auth/analytics.readonlyB~ !com.google.analytics.admin.v1betaBAnalyticsAdminProtoPZBgoogle.golang.org/genproto/googleapis/analytics/admin/v1beta;adminbproto3', \true); static::$is_initialized = \true; } diff --git a/vendor/prefixed/google/analytics-admin/metadata/V1Beta/Resources.php b/vendor/prefixed/google/analytics-admin/metadata/V1Beta/Resources.php index 6bf4f855c..a40f574c9 100644 Binary files a/vendor/prefixed/google/analytics-admin/metadata/V1Beta/Resources.php and b/vendor/prefixed/google/analytics-admin/metadata/V1Beta/Resources.php differ diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/AdSenseLink.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/AdSenseLink.php new file mode 100644 index 000000000..7ded10fd4 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/AdSenseLink.php @@ -0,0 +1,104 @@ +google.analytics.admin.v1alpha.AdSenseLink + */ +class AdSenseLink extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $name = ''; + /** + * Immutable. The AdSense ad client code that the GA4 property is linked to. + * Example format: "ca-pub-1234567890" + * + * Generated from protobuf field string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + private $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 GA4 property is linked to. + * Example format: "ca-pub-1234567890" + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 GA4 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 GA4 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/vendor/prefixed/google/analytics-admin/src/V1alpha/AnalyticsAdminServiceGrpcClient.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/AnalyticsAdminServiceGrpcClient.php index 05421baf6..6f7af6aab 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/AnalyticsAdminServiceGrpcClient.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/AnalyticsAdminServiceGrpcClient.php @@ -1199,6 +1199,61 @@ public function DeleteExpandedDataSet(\Matomo\Dependencies\GoogleAnalyticsImport { return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteExpandedDataSet', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'decode'], $metadata, $options); } + /** + * Lookup for a single ChannelGroup. + * @param \Google\Analytics\Admin\V1alpha\GetChannelGroupRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function GetChannelGroup(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetChannelGroupRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetChannelGroup', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroup', 'decode'], $metadata, $options); + } + /** + * Lists ChannelGroups on a property. + * @param \Google\Analytics\Admin\V1alpha\ListChannelGroupsRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function ListChannelGroups(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListChannelGroupsRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListChannelGroups', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListChannelGroupsResponse', 'decode'], $metadata, $options); + } + /** + * Creates a ChannelGroup. + * @param \Google\Analytics\Admin\V1alpha\CreateChannelGroupRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function CreateChannelGroup(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateChannelGroupRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateChannelGroup', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroup', 'decode'], $metadata, $options); + } + /** + * Updates a ChannelGroup. + * @param \Google\Analytics\Admin\V1alpha\UpdateChannelGroupRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function UpdateChannelGroup(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateChannelGroupRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateChannelGroup', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroup', 'decode'], $metadata, $options); + } + /** + * Deletes a ChannelGroup on a property. + * @param \Google\Analytics\Admin\V1alpha\DeleteChannelGroupRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function DeleteChannelGroup(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteChannelGroupRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteChannelGroup', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'decode'], $metadata, $options); + } /** * Sets the opt out status for the automated GA4 setup process for a UA * property. @@ -1247,4 +1302,179 @@ public function ListBigQueryLinks(\Matomo\Dependencies\GoogleAnalyticsImporter\G { return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListBigQueryLinks', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListBigQueryLinksResponse', 'decode'], $metadata, $options); } + /** + * Returns the enhanced measurement settings for this data stream. + * Note that the stream must enable enhanced measurement for these settings to + * take effect. + * @param \Google\Analytics\Admin\V1alpha\GetEnhancedMeasurementSettingsRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function GetEnhancedMeasurementSettings(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetEnhancedMeasurementSettingsRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetEnhancedMeasurementSettings', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EnhancedMeasurementSettings', 'decode'], $metadata, $options); + } + /** + * Updates the enhanced measurement settings for this data stream. + * Note that the stream must enable enhanced measurement for these settings to + * take effect. + * @param \Google\Analytics\Admin\V1alpha\UpdateEnhancedMeasurementSettingsRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function UpdateEnhancedMeasurementSettings(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateEnhancedMeasurementSettingsRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateEnhancedMeasurementSettings', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EnhancedMeasurementSettings', 'decode'], $metadata, $options); + } + /** + * Creates a connected site tag for a Universal Analytics property. You can + * create a maximum of 20 connected site tags per property. + * Note: This API cannot be used on GA4 properties. + * @param \Google\Analytics\Admin\V1alpha\CreateConnectedSiteTagRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function CreateConnectedSiteTag(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateConnectedSiteTagRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateConnectedSiteTag', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateConnectedSiteTagResponse', 'decode'], $metadata, $options); + } + /** + * Deletes a connected site tag for a Universal Analytics property. + * Note: this has no effect on GA4 properties. + * @param \Google\Analytics\Admin\V1alpha\DeleteConnectedSiteTagRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function DeleteConnectedSiteTag(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteConnectedSiteTagRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteConnectedSiteTag', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'decode'], $metadata, $options); + } + /** + * Lists the connected site tags for a Universal Analytics property. A maximum + * of 20 connected site tags will be returned. Note: this has no effect on GA4 + * property. + * @param \Google\Analytics\Admin\V1alpha\ListConnectedSiteTagsRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function ListConnectedSiteTags(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListConnectedSiteTagsRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListConnectedSiteTags', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListConnectedSiteTagsResponse', 'decode'], $metadata, $options); + } + /** + * Given a specified UA property, looks up the GA4 property connected to it. + * Note: this cannot be used with GA4 properties. + * @param \Google\Analytics\Admin\V1alpha\FetchConnectedGa4PropertyRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function FetchConnectedGa4Property(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\FetchConnectedGa4PropertyRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/FetchConnectedGa4Property', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FetchConnectedGa4PropertyResponse', 'decode'], $metadata, $options); + } + /** + * Looks up a single AdSenseLink. + * @param \Google\Analytics\Admin\V1alpha\GetAdSenseLinkRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function GetAdSenseLink(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetAdSenseLinkRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetAdSenseLink', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AdSenseLink', 'decode'], $metadata, $options); + } + /** + * Creates an AdSenseLink. + * @param \Google\Analytics\Admin\V1alpha\CreateAdSenseLinkRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function CreateAdSenseLink(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateAdSenseLinkRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateAdSenseLink', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AdSenseLink', 'decode'], $metadata, $options); + } + /** + * Deletes an AdSenseLink. + * @param \Google\Analytics\Admin\V1alpha\DeleteAdSenseLinkRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function DeleteAdSenseLink(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteAdSenseLinkRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteAdSenseLink', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'decode'], $metadata, $options); + } + /** + * Lists AdSenseLinks on a property. + * @param \Google\Analytics\Admin\V1alpha\ListAdSenseLinksRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function ListAdSenseLinks(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListAdSenseLinksRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListAdSenseLinks', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAdSenseLinksResponse', 'decode'], $metadata, $options); + } + /** + * Lookup for a single EventCreateRule. + * @param \Google\Analytics\Admin\V1alpha\GetEventCreateRuleRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function GetEventCreateRule(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetEventCreateRuleRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetEventCreateRule', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EventCreateRule', 'decode'], $metadata, $options); + } + /** + * Lists EventCreateRules on a web data stream. + * @param \Google\Analytics\Admin\V1alpha\ListEventCreateRulesRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function ListEventCreateRules(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListEventCreateRulesRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListEventCreateRules', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListEventCreateRulesResponse', 'decode'], $metadata, $options); + } + /** + * Creates an EventCreateRule. + * @param \Google\Analytics\Admin\V1alpha\CreateEventCreateRuleRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function CreateEventCreateRule(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateEventCreateRuleRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateEventCreateRule', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EventCreateRule', 'decode'], $metadata, $options); + } + /** + * Updates an EventCreateRule. + * @param \Google\Analytics\Admin\V1alpha\UpdateEventCreateRuleRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function UpdateEventCreateRule(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateEventCreateRuleRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateEventCreateRule', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EventCreateRule', 'decode'], $metadata, $options); + } + /** + * Deletes an EventCreateRule. + * @param \Google\Analytics\Admin\V1alpha\DeleteEventCreateRuleRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function DeleteEventCreateRule(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteEventCreateRuleRequest $argument, $metadata = [], $options = []) + { + return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteEventCreateRule', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'decode'], $metadata, $options); + } } diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ArchiveCustomDimensionRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ArchiveCustomDimensionRequest.php index ebc5c87b4..357909c2e 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ArchiveCustomDimensionRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ArchiveCustomDimensionRequest.php @@ -21,6 +21,19 @@ class ArchiveCustomDimensionRequest extends \Matomo\Dependencies\GoogleAnalytics * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ArchiveCustomMetricRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ArchiveCustomMetricRequest.php index aeb114654..d6054502a 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ArchiveCustomMetricRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ArchiveCustomMetricRequest.php @@ -21,6 +21,19 @@ class ArchiveCustomMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImp * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/AttributionSettings.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/AttributionSettings.php index d326e9051..97fdd892c 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/AttributionSettings.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/AttributionSettings.php @@ -47,6 +47,13 @@ class AttributionSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\G * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; */ private $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]; + */ + private $ads_web_conversion_data_export_scope = 0; /** * Constructor. * @@ -69,6 +76,9 @@ class AttributionSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\G * 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) @@ -184,4 +194,29 @@ public function setReportingAttributionModel($var) $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AttributionSettings\AdsWebConversionDataExportScope::class); + $this->ads_web_conversion_data_export_scope = $var; + return $this; + } } diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php new file mode 100644 index 000000000..618f5d999 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php @@ -0,0 +1,63 @@ +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); + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(AdsWebConversionDataExportScope::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AttributionSettings_AdsWebConversionDataExportScope::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/AttributionSettings/ReportingAttributionModel.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/AttributionSettings/ReportingAttributionModel.php index 58c3348f6..02c233d63 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/AttributionSettings/ReportingAttributionModel.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/AttributionSettings/ReportingAttributionModel.php @@ -23,55 +23,29 @@ class ReportingAttributionModel * 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 CROSS_CHANNEL_DATA_DRIVEN = 1; + * Generated from protobuf enum PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN = 1; */ - const CROSS_CHANNEL_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 CROSS_CHANNEL_LAST_CLICK = 2; + * Generated from protobuf enum PAID_AND_ORGANIC_CHANNELS_LAST_CLICK = 2; */ - const CROSS_CHANNEL_LAST_CLICK = 2; + const PAID_AND_ORGANIC_CHANNELS_LAST_CLICK = 2; /** - * Gives all credit for the conversion to the first channel that a customer - * clicked (or engaged view through for YouTube) before converting. - * - * Generated from protobuf enum CROSS_CHANNEL_FIRST_CLICK = 3; - */ - const CROSS_CHANNEL_FIRST_CLICK = 3; - /** - * Distributes the credit for the conversion equally across all the channels - * a customer clicked (or engaged view through for YouTube) before - * converting. - * - * Generated from protobuf enum CROSS_CHANNEL_LINEAR = 4; - */ - const CROSS_CHANNEL_LINEAR = 4; - /** - * Attributes 40% credit to the first and last interaction, and the - * remaining 20% credit is distributed evenly to the middle interactions. - * - * Generated from protobuf enum CROSS_CHANNEL_POSITION_BASED = 5; - */ - const CROSS_CHANNEL_POSITION_BASED = 5; - /** - * Gives more credit to the touchpoints that happened closer in time to - * the conversion. - * - * Generated from protobuf enum CROSS_CHANNEL_TIME_DECAY = 6; - */ - const CROSS_CHANNEL_TIME_DECAY = 6; - /** - * Attributes 100% of the conversion value to the last Google Ads channel + * 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 ADS_PREFERRED_LAST_CLICK = 7; + * Generated from protobuf enum GOOGLE_PAID_CHANNELS_LAST_CLICK = 7; */ - const ADS_PREFERRED_LAST_CLICK = 7; - private static $valueToName = [self::REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED => 'REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED', self::CROSS_CHANNEL_DATA_DRIVEN => 'CROSS_CHANNEL_DATA_DRIVEN', self::CROSS_CHANNEL_LAST_CLICK => 'CROSS_CHANNEL_LAST_CLICK', self::CROSS_CHANNEL_FIRST_CLICK => 'CROSS_CHANNEL_FIRST_CLICK', self::CROSS_CHANNEL_LINEAR => 'CROSS_CHANNEL_LINEAR', self::CROSS_CHANNEL_POSITION_BASED => 'CROSS_CHANNEL_POSITION_BASED', self::CROSS_CHANNEL_TIME_DECAY => 'CROSS_CHANNEL_TIME_DECAY', self::ADS_PREFERRED_LAST_CLICK => 'ADS_PREFERRED_LAST_CLICK']; + 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])) { diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceDimensionOrMetricFilter.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceDimensionOrMetricFilter.php index daa90600c..08fc25731 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceDimensionOrMetricFilter.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceDimensionOrMetricFilter.php @@ -15,7 +15,12 @@ class AudienceDimensionOrMetricFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * Required. Immutable. The dimension name or metric name to filter. + * 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]; */ @@ -34,7 +39,7 @@ class AudienceDimensionOrMetricFilter extends \Matomo\Dependencies\GoogleAnalyti /** * Optional. If set, specifies the time window for which to evaluate data in * number of days. If not set, then audience data is evaluated against - * lifetime data (i.e., infinite time window). + * 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. @@ -62,7 +67,12 @@ class AudienceDimensionOrMetricFilter extends \Matomo\Dependencies\GoogleAnalyti * 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. + * 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 @@ -73,7 +83,7 @@ class AudienceDimensionOrMetricFilter extends \Matomo\Dependencies\GoogleAnalyti * @type int $in_any_n_day_period * Optional. If set, specifies the time window for which to evaluate data in * number of days. If not set, then audience data is evaluated against - * lifetime data (i.e., infinite time window). + * 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. @@ -199,7 +209,12 @@ public function setBetweenFilter($var) return $this; } /** - * Required. Immutable. The dimension name or metric name to filter. + * 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 @@ -209,7 +224,12 @@ public function getFieldName() return $this->field_name; } /** - * Required. Immutable. The dimension name or metric name to filter. + * 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 @@ -257,7 +277,7 @@ public function setAtAnyPointInTime($var) /** * Optional. If set, specifies the time window for which to evaluate data in * number of days. If not set, then audience data is evaluated against - * lifetime data (i.e., infinite time window). + * 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. @@ -274,7 +294,7 @@ public function getInAnyNDayPeriod() /** * Optional. If set, specifies the time window for which to evaluate data in * number of days. If not set, then audience data is evaluated against - * lifetime data (i.e., infinite time window). + * 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. diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceEventFilter.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceEventFilter.php index 29e6474b1..c7cdef0fe 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceEventFilter.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceEventFilter.php @@ -25,7 +25,7 @@ class AudienceEventFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\G /** * Optional. If specified, this filter matches events that match both the * single event name and the parameter filter expressions. AudienceEventFilter - * inside the parameter filter expression cannot be set (i.e., nested + * 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 @@ -45,7 +45,7 @@ class AudienceEventFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\G * @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 (i.e., nested + * 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 @@ -83,7 +83,7 @@ public function setEventName($var) /** * Optional. If specified, this filter matches events that match both the * single event name and the parameter filter expressions. AudienceEventFilter - * inside the parameter filter expression cannot be set (i.e., nested + * 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 @@ -107,7 +107,7 @@ public function clearEventParameterFilterExpression() /** * Optional. If specified, this filter matches events that match both the * single event name and the parameter filter expressions. AudienceEventFilter - * inside the parameter filter expression cannot be set (i.e., nested + * 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 diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceFilterClause.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceFilterClause.php index ebb6e6f77..45a186a63 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceFilterClause.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceFilterClause.php @@ -9,9 +9,9 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** * A clause for defining either a simple or sequence filter. A filter can be - * inclusive (i.e., users satisfying the filter clause are included in the - * Audience) or exclusive (i.e., users satisfying the filter clause are - * excluded from the Audience). + * inclusive (For example, users satisfying the filter clause are included in + * the Audience) or exclusive (For example, users satisfying the filter clause + * are excluded from the Audience). * * Generated from protobuf message google.analytics.admin.v1alpha.AudienceFilterClause */ diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceFilterExpression.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceFilterExpression.php index 0af8bc48e..147b65016 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceFilterExpression.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceFilterExpression.php @@ -29,9 +29,9 @@ class AudienceFilterExpression extends \Matomo\Dependencies\GoogleAnalyticsImpor * 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 (i.e., inverted, complemented). It - * can only include a dimension_or_metric_filter. This cannot be set on the - * top level AudienceFilterExpression. + * 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. @@ -106,9 +106,9 @@ public function setOrGroup($var) return $this; } /** - * A filter expression to be NOT'ed (i.e., inverted, complemented). It - * can only include a dimension_or_metric_filter. This cannot be set on the - * top level AudienceFilterExpression. + * 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 @@ -122,9 +122,9 @@ public function hasNotExpression() return $this->hasOneof(3); } /** - * A filter expression to be NOT'ed (i.e., inverted, complemented). It - * can only include a dimension_or_metric_filter. This cannot be set on the - * top level AudienceFilterExpression. + * 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 diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php index 139e536fd..89bbddee9 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php @@ -33,7 +33,7 @@ class AudienceSequenceStep extends \Matomo\Dependencies\GoogleAnalyticsImporter\ private $immediately_follows = \false; /** * Optional. When set, this step must be satisfied within the - * constraint_duration of the previous step (i.e., t[i] - t[i-1] <= + * constraint_duration 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. * @@ -63,7 +63,7 @@ class AudienceSequenceStep extends \Matomo\Dependencies\GoogleAnalyticsImporter\ * first step. * @type \Google\Protobuf\Duration $constraint_duration * Optional. When set, this step must be satisfied within the - * constraint_duration of the previous step (i.e., t[i] - t[i-1] <= + * constraint_duration 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 @@ -132,7 +132,7 @@ public function setImmediatelyFollows($var) } /** * Optional. When set, this step must be satisfied within the - * constraint_duration of the previous step (i.e., t[i] - t[i-1] <= + * constraint_duration 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. * @@ -153,7 +153,7 @@ public function clearConstraintDuration() } /** * Optional. When set, this step must be satisfied within the - * constraint_duration of the previous step (i.e., t[i] - t[i-1] <= + * constraint_duration 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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/BatchDeleteAccessBindingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/BatchDeleteAccessBindingsRequest.php index 426ddf7ed..9726d0d08 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/BatchDeleteAccessBindingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/BatchDeleteAccessBindingsRequest.php @@ -16,8 +16,8 @@ class BatchDeleteAccessBindingsRequest extends \Matomo\Dependencies\GoogleAnalyt { /** * Required. The account or property that owns the access bindings. The parent - * field in the DeleteAccessBindingRequest messages must either be empty or - * match this field. Formats: + * of all provided values for the 'names' field in DeleteAccessBindingRequest + * messages must match this field. Formats: * - accounts/{account} * - properties/{property} * @@ -39,8 +39,8 @@ class BatchDeleteAccessBindingsRequest extends \Matomo\Dependencies\GoogleAnalyt * * @type string $parent * Required. The account or property that owns the access bindings. The parent - * field in the DeleteAccessBindingRequest messages must either be empty or - * match this field. Formats: + * of all provided values for the 'names' field in DeleteAccessBindingRequest + * messages must match this field. Formats: * - accounts/{account} * - properties/{property} * @type array<\Google\Analytics\Admin\V1alpha\DeleteAccessBindingRequest>|\Google\Protobuf\Internal\RepeatedField $requests @@ -55,8 +55,8 @@ public function __construct($data = NULL) } /** * Required. The account or property that owns the access bindings. The parent - * field in the DeleteAccessBindingRequest messages must either be empty or - * match this field. Formats: + * of all provided values for the 'names' field in DeleteAccessBindingRequest + * messages must match this field. Formats: * - accounts/{account} * - properties/{property} * @@ -69,8 +69,8 @@ public function getParent() } /** * Required. The account or property that owns the access bindings. The parent - * field in the DeleteAccessBindingRequest messages must either be empty or - * match this field. Formats: + * of all provided values for the 'names' field in DeleteAccessBindingRequest + * messages must match this field. Formats: * - accounts/{account} * - properties/{property} * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/BatchUpdateAccessBindingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/BatchUpdateAccessBindingsRequest.php index 43f97e15d..eaad1d993 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/BatchUpdateAccessBindingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/BatchUpdateAccessBindingsRequest.php @@ -16,8 +16,9 @@ class BatchUpdateAccessBindingsRequest extends \Matomo\Dependencies\GoogleAnalyt { /** * Required. The account or property that owns the access bindings. The parent - * field in the UpdateAccessBindingRequest messages must either be empty or - * match this field. Formats: + * of all provided AccessBinding in UpdateAccessBindingRequest messages must + * match this field. + * Formats: * - accounts/{account} * - properties/{property} * @@ -39,8 +40,9 @@ class BatchUpdateAccessBindingsRequest extends \Matomo\Dependencies\GoogleAnalyt * * @type string $parent * Required. The account or property that owns the access bindings. The parent - * field in the UpdateAccessBindingRequest messages must either be empty or - * match this field. Formats: + * of all provided AccessBinding in UpdateAccessBindingRequest messages must + * match this field. + * Formats: * - accounts/{account} * - properties/{property} * @type array<\Google\Analytics\Admin\V1alpha\UpdateAccessBindingRequest>|\Google\Protobuf\Internal\RepeatedField $requests @@ -55,8 +57,9 @@ public function __construct($data = NULL) } /** * Required. The account or property that owns the access bindings. The parent - * field in the UpdateAccessBindingRequest messages must either be empty or - * match this field. Formats: + * of all provided AccessBinding in UpdateAccessBindingRequest messages must + * match this field. + * Formats: * - accounts/{account} * - properties/{property} * @@ -69,8 +72,9 @@ public function getParent() } /** * Required. The account or property that owns the access bindings. The parent - * field in the UpdateAccessBindingRequest messages must either be empty or - * match this field. Formats: + * of all provided AccessBinding in UpdateAccessBindingRequest messages must + * match this field. + * Formats: * - accounts/{account} * - properties/{property} * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/BigQueryLink.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/BigQueryLink.php index 86f872b69..cd6b6bd56 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/BigQueryLink.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/BigQueryLink.php @@ -51,6 +51,12 @@ class BigQueryLink extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * Generated from protobuf field bool streaming_export_enabled = 5; */ private $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; + */ + private $fresh_daily_export_enabled = \false; /** * If set true, exported data will include advertising identifiers for mobile * app streams. @@ -96,6 +102,8 @@ class BigQueryLink extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * 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. @@ -250,6 +258,29 @@ public function setStreamingExportEnabled($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. diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CalculatedMetric.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CalculatedMetric.php new file mode 100644 index 000000000..fe8221554 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CalculatedMetric.php @@ -0,0 +1,334 @@ +google.analytics.admin.v1alpha.CalculatedMetric + */ +class CalculatedMetric extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Output only. 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]; + */ + private $name = ''; + /** + * Optional. Description for this calculated metric. + * Max length of 4096 characters. + * + * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $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]; + */ + private $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]; + */ + private $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]; + */ + private $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]; + */ + private $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]; + */ + private $invalid_metric_reference = \false; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. 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 array|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + /** + * Output only. 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]; + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * Output only. 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]; + * @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, \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\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 array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setRestrictedMetricType($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/CalculatedMetric/MetricUnit.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CalculatedMetric/MetricUnit.php new file mode 100644 index 000000000..c5442537b --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CalculatedMetric/MetricUnit.php @@ -0,0 +1,99 @@ +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); + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(MetricUnit::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CalculatedMetric_MetricUnit::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CalculatedMetric/RestrictedMetricType.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CalculatedMetric/RestrictedMetricType.php new file mode 100644 index 000000000..aaee4368c --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CalculatedMetric/RestrictedMetricType.php @@ -0,0 +1,52 @@ +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); + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(RestrictedMetricType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CalculatedMetric_RestrictedMetricType::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php index 3dba6c858..46c7a9264 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php @@ -56,8 +56,25 @@ class ChangeHistoryResource extends \Matomo\Dependencies\GoogleAnalyticsImporter * 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\CalculatedMetric $calculated_metric + * A snapshot of a CalculatedMetric resource in change history. * } */ public function __construct($data = NULL) @@ -501,6 +518,33 @@ public function setExpandedDataSet($var) $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ChannelGroup::class); + $this->writeOneof(22, $var); + return $this; + } /** * A snapshot of a BigQuery link resource in change history. * @@ -528,6 +572,197 @@ public function setBigqueryLink($var) $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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\EventCreateRule::class); + $this->writeOneof(29, $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CalculatedMetric::class); + $this->writeOneof(31, $var); + return $this; + } /** * @return string */ diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ChangeHistoryResourceType.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChangeHistoryResourceType.php index 3e4af68df..82e3d45f0 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ChangeHistoryResourceType.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChangeHistoryResourceType.php @@ -120,7 +120,49 @@ class ChangeHistoryResourceType * Generated from protobuf enum CHANNEL_GROUP = 22; */ const CHANNEL_GROUP = 22; - private static $valueToName = [self::CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED => 'CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED', 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']; + /** + * 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; + /** + * CalculatedMetric resource + * + * Generated from protobuf enum CALCULATED_METRIC = 31; + */ + const CALCULATED_METRIC = 31; + 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::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::CALCULATED_METRIC => 'CALCULATED_METRIC']; public static function name($value) { if (!isset(self::$valueToName[$value])) { diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroup.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroup.php new file mode 100644 index 000000000..2900b5e3a --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroup.php @@ -0,0 +1,201 @@ +google.analytics.admin.v1alpha.ChannelGroup + */ +class ChannelGroup extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $display_name = ''; + /** + * The description of the Channel Group. Max length of 256 characters. + * + * Generated from protobuf field string description = 3; + */ + private $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]; + */ + private $system_defined = \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 array<\Google\Analytics\Admin\V1alpha\GroupingRule>|\Google\Protobuf\Internal\RepeatedField $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. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\GroupingRule>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setGroupingRule($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter.php new file mode 100644 index 000000000..c14c097c1 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter.php @@ -0,0 +1,130 @@ +google.analytics.admin.v1alpha.ChannelGroupFilter + */ +class ChannelGroupFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter/InListFilter.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter/InListFilter.php new file mode 100644 index 000000000..e3350501c --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter/InListFilter.php @@ -0,0 +1,68 @@ +google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter + */ +class InListFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\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 array|\Google\Protobuf\Internal\RepeatedField $values + * Required. The list of possible string values to match against. Must be + * non-empty. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + public function getValues() + { + return $this->values; + } + /** + * Required. The list of possible string values to match against. Must be + * non-empty. + * + * Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING); + $this->values = $arr; + return $this; + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(InListFilter::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ChannelGroupFilter_InListFilter::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter/StringFilter.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter/StringFilter.php new file mode 100644 index 000000000..c494a02f7 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter/StringFilter.php @@ -0,0 +1,94 @@ +google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter + */ +class StringFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $match_type = 0; + /** + * Required. The string value to be matched against. + * + * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $value = ''; + /** + * 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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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; + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(StringFilter::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ChannelGroupFilter_StringFilter::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php new file mode 100644 index 000000000..03696feda --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php @@ -0,0 +1,75 @@ +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); + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(MatchType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ChannelGroupFilter_StringFilter_MatchType::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilterExpression.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilterExpression.php new file mode 100644 index 000000000..1eb7f23e0 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilterExpression.php @@ -0,0 +1,172 @@ +google.analytics.admin.v1alpha.ChannelGroupFilterExpression + */ +class ChannelGroupFilterExpression extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ChannelGroupFilter::class); + $this->writeOneof(4, $var); + return $this; + } + /** + * @return string + */ + public function getExpr() + { + return $this->whichOneof("expr"); + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilterExpressionList.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilterExpressionList.php new file mode 100644 index 000000000..9d93a9e73 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilterExpressionList.php @@ -0,0 +1,61 @@ +google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + */ +class ChannelGroupFilterExpressionList extends \Matomo\Dependencies\GoogleAnalyticsImporter\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 array<\Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression>|\Google\Protobuf\Internal\RepeatedField $filter_expressions + * A list of Channel Group filter expressions. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setFilterExpressions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression::class); + $this->filter_expressions = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter_InListFilter.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter_InListFilter.php new file mode 100644 index 000000000..aa68b83a3 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ChannelGroupFilter_InListFilter.php @@ -0,0 +1,17 @@ + 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 + * 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 + * 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 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 + * 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]); + } + /** + * 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} + * - 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 + * - measurementProtocolSecret: properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret} + * - property: properties/{property} + * - propertyAccessBinding: properties/{property}/accessBindings/{access_binding} + * - 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} + * + * 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 $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 string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials + * The credentials to be used by the client to authorize API calls. This option + * accepts either a path to a credentials file, or a decoded credentials file as a + * PHP array. + * *Advanced usage*: In addition, this option can also accept a pre-constructed + * {@see \Google\Auth\FetchAuthTokenInterface} object or + * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these + * objects are provided, any settings in $credentialsConfig will be ignored. + * @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. + * } + * + * @throws ValidationException + * + * @experimental + */ + public function __construct(array $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 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(); + } + /** + * Creates a connected site tag for a Universal Analytics property. You can + * create a maximum of 20 connected site tags per property. + * Note: This API cannot be used on GA4 properties. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createConnectedSiteTagAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_connected_site_tag.php + * + * @param CreateConnectedSiteTagRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return CreateConnectedSiteTagResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createConnectedSiteTag(CreateConnectedSiteTagRequest $request, array $callOptions = []) : CreateConnectedSiteTagResponse + { + return $this->startApiCall('CreateConnectedSiteTag', $request, $callOptions)->wait(); + } + /** + * 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 + */ + 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 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 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 an "GA4" 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(); + } + /** + * 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(); + } + /** + * Create a subproperty and a subproperty event filter that applies to the + * created subproperty. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createSubpropertyAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty.php + * + * @param CreateSubpropertyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return CreateSubpropertyResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createSubproperty(CreateSubpropertyRequest $request, array $callOptions = []) : CreateSubpropertyResponse + { + return $this->startApiCall('CreateSubproperty', $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 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(); + } + /** + * Deletes a connected site tag for a Universal Analytics property. + * Note: this has no effect on GA4 properties. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteConnectedSiteTagAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_connected_site_tag.php + * + * @param DeleteConnectedSiteTagRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this 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 deleteConnectedSiteTag(DeleteConnectedSiteTagRequest $request, array $callOptions = []) : void + { + $this->startApiCall('DeleteConnectedSiteTag', $request, $callOptions)->wait(); + } + /** + * 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 + */ + 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 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 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, or is not a GA4 Property. + * + * 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 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(); + } + /** + * Fetches the opt out status for the automated GA4 setup process for a UA + * property. + * Note: this has no effect on GA4 property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::fetchAutomatedGa4ConfigurationOptOutAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/fetch_automated_ga4_configuration_opt_out.php + * + * @param FetchAutomatedGa4ConfigurationOptOutRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return FetchAutomatedGa4ConfigurationOptOutResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function fetchAutomatedGa4ConfigurationOptOut(FetchAutomatedGa4ConfigurationOptOutRequest $request, array $callOptions = []) : FetchAutomatedGa4ConfigurationOptOutResponse + { + return $this->startApiCall('FetchAutomatedGa4ConfigurationOptOut', $request, $callOptions)->wait(); + } + /** + * Given a specified UA property, looks up the GA4 property connected to it. + * Note: this cannot be used with GA4 properties. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::fetchConnectedGa4PropertyAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/fetch_connected_ga4_property.php + * + * @param FetchConnectedGa4PropertyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return FetchConnectedGa4PropertyResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function fetchConnectedGa4Property(FetchConnectedGa4PropertyRequest $request, array $callOptions = []) : FetchConnectedGa4PropertyResponse + { + return $this->startApiCall('FetchConnectedGa4Property', $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(); + } + /** + * 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 + */ + 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 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(); + } + /** + * Lookup for a single "GA4" 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 "GA4" 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 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(); + } + /** + * 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 GA4 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); + } + /** + * Lists the connected site tags for a Universal Analytics property. A maximum + * of 20 connected site tags will be returned. Note: this has no effect on GA4 + * property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listConnectedSiteTagsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_connected_site_tags.php + * + * @param ListConnectedSiteTagsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return ListConnectedSiteTagsResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listConnectedSiteTags(ListConnectedSiteTagsRequest $request, array $callOptions = []) : ListConnectedSiteTagsResponse + { + return $this->startApiCall('ListConnectedSiteTags', $request, $callOptions)->wait(); + } + /** + * 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 + */ + 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 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 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. + * + * Only "GA4" properties will be returned. + * 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); + } + /** + * 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); + } + /** + * 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(); + } + /** + * 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 GA4 UI Reporting, GA4 UI Explorations, + * GA4 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). + * + * 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. + * + * 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); + } + /** + * Sets the opt out status for the automated GA4 setup process for a UA + * property. + * Note: this has no effect on GA4 property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::setAutomatedGa4ConfigurationOptOutAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/set_automated_ga4_configuration_opt_out.php + * + * @param SetAutomatedGa4ConfigurationOptOutRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return SetAutomatedGa4ConfigurationOptOutResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function setAutomatedGa4ConfigurationOptOut(SetAutomatedGa4ConfigurationOptOutRequest $request, array $callOptions = []) : SetAutomatedGa4ConfigurationOptOutResponse + { + return $this->startApiCall('SetAutomatedGa4ConfigurationOptOut', $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 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(); + } + /** + * 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 + */ + 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 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 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 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(); + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CoarseValue.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CoarseValue.php new file mode 100644 index 000000000..f5716d4f9 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CoarseValue.php @@ -0,0 +1,58 @@ +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/vendor/prefixed/google/analytics-admin/src/V1alpha/ConnectedSiteTag.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ConnectedSiteTag.php new file mode 100644 index 000000000..66a8de3f7 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ConnectedSiteTag.php @@ -0,0 +1,100 @@ +google.analytics.admin.v1alpha.ConnectedSiteTag + */ +class ConnectedSiteTag extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. User-provided display name for the connected site tag. Must be + * less than 256 characters. + * + * Generated from protobuf field string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $display_name = ''; + /** + * Required. "Tag ID to forward events to. Also known as the Measurement ID, + * or the "G-ID" (For example: G-12345). + * + * Generated from protobuf field string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $tag_id = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $display_name + * Required. User-provided display name for the connected site tag. Must be + * less than 256 characters. + * @type string $tag_id + * Required. "Tag ID to forward events to. Also known as the Measurement ID, + * or the "G-ID" (For example: G-12345). + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + /** + * Required. User-provided display name for the connected site tag. Must be + * less than 256 characters. + * + * Generated from protobuf field string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + /** + * Required. User-provided display name for the connected site tag. Must be + * less than 256 characters. + * + * Generated from protobuf field string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + return $this; + } + /** + * Required. "Tag ID to forward events to. Also known as the Measurement ID, + * or the "G-ID" (For example: G-12345). + * + * Generated from protobuf field string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getTagId() + { + return $this->tag_id; + } + /** + * Required. "Tag ID to forward events to. Also known as the Measurement ID, + * or the "G-ID" (For example: G-12345). + * + * Generated from protobuf field string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setTagId($var) + { + GPBUtil::checkString($var, True); + $this->tag_id = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionEvent.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionEvent.php index 2bf528656..bf5259de5 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionEvent.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionEvent.php @@ -35,7 +35,7 @@ class ConversionEvent extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl */ private $create_time = null; /** - * Output only. If set, this event can currently be deleted via + * 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]; @@ -52,6 +52,20 @@ class ConversionEvent extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $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]; + */ + private $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]; + */ + private $default_conversion_value = null; /** * Constructor. * @@ -67,7 +81,7 @@ class ConversionEvent extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl * @type \Google\Protobuf\Timestamp $create_time * Output only. Time when this conversion event was created in the property. * @type bool $deletable - * Output only. If set, this event can currently be deleted via + * 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 @@ -76,6 +90,12 @@ class ConversionEvent extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl * 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) @@ -165,7 +185,7 @@ public function setCreateTime($var) return $this; } /** - * Output only. If set, this event can currently be deleted via + * 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]; @@ -176,7 +196,7 @@ public function getDeletable() return $this->deletable; } /** - * Output only. If set, this event can currently be deleted via + * 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]; @@ -222,4 +242,62 @@ public function setCustom($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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ConversionEvent\DefaultConversionValue::class); + $this->default_conversion_value = $var; + return $this; + } } diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionEvent/ConversionCountingMethod.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionEvent/ConversionCountingMethod.php new file mode 100644 index 000000000..b2bc74921 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionEvent/ConversionCountingMethod.php @@ -0,0 +1,53 @@ +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); + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ConversionCountingMethod::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ConversionEvent_ConversionCountingMethod::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionEvent/DefaultConversionValue.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionEvent/DefaultConversionValue.php new file mode 100644 index 000000000..7891eaa44 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionEvent/DefaultConversionValue.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValue + */ +class DefaultConversionValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $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; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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; + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(DefaultConversionValue::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ConversionEvent_DefaultConversionValue::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionValues.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionValues.php new file mode 100644 index 000000000..1440d7aa3 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ConversionValues.php @@ -0,0 +1,234 @@ +google.analytics.admin.v1alpha.ConversionValues + */ +class ConversionValues extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $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; + */ + private $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]; + */ + private $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; + */ + private $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 array<\Google\Analytics\Admin\V1alpha\EventMapping>|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\EventMapping>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setEventMappings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateAccessBindingRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateAccessBindingRequest.php index 228c73c5d..b1e9a17bb 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateAccessBindingRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateAccessBindingRequest.php @@ -28,6 +28,21 @@ class CreateAccessBindingRequest extends \Matomo\Dependencies\GoogleAnalyticsImp * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AccessBinding $accessBinding) : self + { + return (new self())->setParent($parent)->setAccessBinding($accessBinding); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateAdSenseLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateAdSenseLinkRequest.php new file mode 100644 index 000000000..d9519727f --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateAdSenseLinkRequest.php @@ -0,0 +1,123 @@ +google.analytics.admin.v1alpha.CreateAdSenseLinkRequest + */ +class CreateAdSenseLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $parent = ''; + /** + * Required. The AdSense Link to create + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AdSenseLink::class); + $this->adsense_link = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateAudienceRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateAudienceRequest.php index 0161b6be1..c7193c757 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateAudienceRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateAudienceRequest.php @@ -26,6 +26,19 @@ class CreateAudienceRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\Audience $audience) : self + { + return (new self())->setParent($parent)->setAudience($audience); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateCalculatedMetricRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateCalculatedMetricRequest.php new file mode 100644 index 000000000..f42d66b48 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateCalculatedMetricRequest.php @@ -0,0 +1,181 @@ +google.analytics.admin.v1alpha.CreateCalculatedMetricRequest + */ +class CreateCalculatedMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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]; + */ + private $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]; + */ + private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CalculatedMetric::class); + $this->calculated_metric = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateChannelGroupRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateChannelGroupRequest.php new file mode 100644 index 000000000..708a652f7 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateChannelGroupRequest.php @@ -0,0 +1,118 @@ +google.analytics.admin.v1alpha.CreateChannelGroupRequest + */ +class CreateChannelGroupRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $parent = ''; + /** + * Required. The ChannelGroup to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ChannelGroup::class); + $this->channel_group = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateConnectedSiteTagRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateConnectedSiteTagRequest.php new file mode 100644 index 000000000..26a4aa25f --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateConnectedSiteTagRequest.php @@ -0,0 +1,112 @@ +google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest + */ +class CreateConnectedSiteTagRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The Universal Analytics property to create connected site tags for. + * This API does not support GA4 properties. + * Format: properties/{universalAnalyticsPropertyId} + * Example: properties/1234 + * + * Generated from protobuf field string property = 1; + */ + private $property = ''; + /** + * Required. The tag to add to the Universal Analytics property + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $connected_site_tag = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $property + * The Universal Analytics property to create connected site tags for. + * This API does not support GA4 properties. + * Format: properties/{universalAnalyticsPropertyId} + * Example: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\ConnectedSiteTag $connected_site_tag + * Required. The tag to add to the Universal Analytics property + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + /** + * The Universal Analytics property to create connected site tags for. + * This API does not support GA4 properties. + * Format: properties/{universalAnalyticsPropertyId} + * Example: properties/1234 + * + * Generated from protobuf field string property = 1; + * @return string + */ + public function getProperty() + { + return $this->property; + } + /** + * The Universal Analytics property to create connected site tags for. + * This API does not support GA4 properties. + * Format: properties/{universalAnalyticsPropertyId} + * Example: properties/1234 + * + * Generated from protobuf field string property = 1; + * @param string $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkString($var, True); + $this->property = $var; + return $this; + } + /** + * Required. The tag to add to the Universal Analytics property + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\ConnectedSiteTag|null + */ + public function getConnectedSiteTag() + { + return $this->connected_site_tag; + } + public function hasConnectedSiteTag() + { + return isset($this->connected_site_tag); + } + public function clearConnectedSiteTag() + { + unset($this->connected_site_tag); + } + /** + * Required. The tag to add to the Universal Analytics property + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\ConnectedSiteTag $var + * @return $this + */ + public function setConnectedSiteTag($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ConnectedSiteTag::class); + $this->connected_site_tag = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateConnectedSiteTagResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateConnectedSiteTagResponse.php new file mode 100644 index 000000000..b84a16a5c --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateConnectedSiteTagResponse.php @@ -0,0 +1,30 @@ +google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse + */ +class CreateConnectedSiteTagResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateConversionEventRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateConversionEventRequest.php index 563b6d3eb..37e550cf8 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateConversionEventRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateConversionEventRequest.php @@ -27,6 +27,20 @@ class CreateConversionEventRequest extends \Matomo\Dependencies\GoogleAnalyticsI * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ConversionEvent $conversionEvent) : self + { + return (new self())->setParent($parent)->setConversionEvent($conversionEvent); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateCustomDimensionRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateCustomDimensionRequest.php index e06632d5f..691dfa2e9 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateCustomDimensionRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateCustomDimensionRequest.php @@ -26,6 +26,19 @@ class CreateCustomDimensionRequest extends \Matomo\Dependencies\GoogleAnalyticsI * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CustomDimension $customDimension) : self + { + return (new self())->setParent($parent)->setCustomDimension($customDimension); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateCustomMetricRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateCustomMetricRequest.php index 5fdb8e9b1..f54200014 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateCustomMetricRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateCustomMetricRequest.php @@ -26,6 +26,19 @@ class CreateCustomMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CustomMetric $customMetric) : self + { + return (new self())->setParent($parent)->setCustomMetric($customMetric); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateDataStreamRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateDataStreamRequest.php index 27169976d..49013d434 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateDataStreamRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateDataStreamRequest.php @@ -26,6 +26,19 @@ class CreateDataStreamRequest extends \Matomo\Dependencies\GoogleAnalyticsImport * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DataStream $dataStream) : self + { + return (new self())->setParent($parent)->setDataStream($dataStream); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php index eb188bd25..e99c4d969 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php @@ -26,6 +26,19 @@ class CreateDisplayVideo360AdvertiserLinkProposalRequest extends \Matomo\Depende * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $displayVideo360AdvertiserLinkProposal) : self + { + return (new self())->setParent($parent)->setDisplayVideo360AdvertiserLinkProposal($displayVideo360AdvertiserLinkProposal); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php index e1fa344b5..0fe562c4d 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php @@ -26,6 +26,19 @@ class CreateDisplayVideo360AdvertiserLinkRequest extends \Matomo\Dependencies\Go * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $displayVideo360AdvertiserLink) : self + { + return (new self())->setParent($parent)->setDisplayVideo360AdvertiserLink($displayVideo360AdvertiserLink); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateEventCreateRuleRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateEventCreateRuleRequest.php new file mode 100644 index 000000000..a4707254b --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateEventCreateRuleRequest.php @@ -0,0 +1,113 @@ +google.analytics.admin.v1alpha.CreateEventCreateRuleRequest + */ +class CreateEventCreateRuleRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $parent = ''; + /** + * Required. The EventCreateRule to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\EventCreateRule::class); + $this->event_create_rule = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateExpandedDataSetRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateExpandedDataSetRequest.php index 353b7c782..226ff3733 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateExpandedDataSetRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateExpandedDataSetRequest.php @@ -26,6 +26,19 @@ class CreateExpandedDataSetRequest extends \Matomo\Dependencies\GoogleAnalyticsI * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ExpandedDataSet $expandedDataSet) : self + { + return (new self())->setParent($parent)->setExpandedDataSet($expandedDataSet); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateFirebaseLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateFirebaseLinkRequest.php index c159c075a..38ccdd0a5 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateFirebaseLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateFirebaseLinkRequest.php @@ -27,6 +27,20 @@ class CreateFirebaseLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\FirebaseLink $firebaseLink) : self + { + return (new self())->setParent($parent)->setFirebaseLink($firebaseLink); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateGoogleAdsLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateGoogleAdsLinkRequest.php index f6b53f0c7..d4a2124bc 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateGoogleAdsLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateGoogleAdsLinkRequest.php @@ -26,6 +26,19 @@ class CreateGoogleAdsLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImp * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GoogleAdsLink $googleAdsLink) : self + { + return (new self())->setParent($parent)->setGoogleAdsLink($googleAdsLink); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateMeasurementProtocolSecretRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateMeasurementProtocolSecretRequest.php index 7e0cadff5..d724aaf14 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateMeasurementProtocolSecretRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateMeasurementProtocolSecretRequest.php @@ -27,6 +27,20 @@ class CreateMeasurementProtocolSecretRequest extends \Matomo\Dependencies\Google * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurementProtocolSecret) : self + { + return (new self())->setParent($parent)->setMeasurementProtocolSecret($measurementProtocolSecret); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreatePropertyRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreatePropertyRequest.php index e24d9bf97..c15161680 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreatePropertyRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreatePropertyRequest.php @@ -21,6 +21,18 @@ class CreatePropertyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\Property $property) : self + { + return (new self())->setProperty($property); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateRollupPropertyRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateRollupPropertyRequest.php new file mode 100644 index 000000000..74fadc72e --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateRollupPropertyRequest.php @@ -0,0 +1,104 @@ +google.analytics.admin.v1alpha.CreateRollupPropertyRequest + */ +class CreateRollupPropertyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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 array|\Google\Protobuf\Internal\RepeatedField $source_properties + * Optional. The resource names of properties that will be sources to the + * created roll-up property. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\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 array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setSourceProperties($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING); + $this->source_properties = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateRollupPropertyResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateRollupPropertyResponse.php new file mode 100644 index 000000000..c292a8274 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateRollupPropertyResponse.php @@ -0,0 +1,100 @@ +google.analytics.admin.v1alpha.CreateRollupPropertyResponse + */ +class CreateRollupPropertyResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The created roll-up property. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1; + */ + private $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 array<\Google\Analytics\Admin\V1alpha\RollupPropertySourceLink>|\Google\Protobuf\Internal\RepeatedField $rollup_property_source_links + * The created roll-up property source links. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\RollupPropertySourceLink>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setRollupPropertySourceLinks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\RollupPropertySourceLink::class); + $this->rollup_property_source_links = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateRollupPropertySourceLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateRollupPropertySourceLinkRequest.php new file mode 100644 index 000000000..dbe0a5a72 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateRollupPropertySourceLinkRequest.php @@ -0,0 +1,118 @@ +google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest + */ +class CreateRollupPropertySourceLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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]; + */ + private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\RollupPropertySourceLink::class); + $this->rollup_property_source_link = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php new file mode 100644 index 000000000..051fd2c2d --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php @@ -0,0 +1,118 @@ +google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + */ +class CreateSKAdNetworkConversionValueSchemaRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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]; + */ + private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema::class); + $this->skadnetwork_conversion_value_schema = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSearchAds360LinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSearchAds360LinkRequest.php index e1597d2cf..42893326d 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSearchAds360LinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSearchAds360LinkRequest.php @@ -26,6 +26,19 @@ class CreateSearchAds360LinkRequest extends \Matomo\Dependencies\GoogleAnalytics * Generated from protobuf field .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $search_ads_360_link = null; + /** + * @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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SearchAds360Link $searchAds360Link) : self + { + return (new self())->setParent($parent)->setSearchAds360Link($searchAds360Link); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSubpropertyEventFilterRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSubpropertyEventFilterRequest.php new file mode 100644 index 000000000..fddd499c6 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSubpropertyEventFilterRequest.php @@ -0,0 +1,118 @@ +google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest + */ +class CreateSubpropertyEventFilterRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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]; + */ + private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); + $this->subproperty_event_filter = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSubpropertyRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSubpropertyRequest.php new file mode 100644 index 000000000..20629b99a --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSubpropertyRequest.php @@ -0,0 +1,147 @@ +google.analytics.admin.v1alpha.CreateSubpropertyRequest + */ +class CreateSubpropertyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The ordinary property for which to create a subproperty. + * Format: properties/property_id + * Example: properties/123 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $parent = ''; + /** + * Required. The subproperty to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $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]; + */ + private $subproperty_event_filter = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The ordinary property for which to create a subproperty. + * Format: properties/property_id + * Example: properties/123 + * @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. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + /** + * Required. The ordinary property for which to create a subproperty. + * 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. + * 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 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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); + $this->subproperty_event_filter = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSubpropertyResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSubpropertyResponse.php new file mode 100644 index 000000000..0bca5a89b --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CreateSubpropertyResponse.php @@ -0,0 +1,108 @@ +google.analytics.admin.v1alpha.CreateSubpropertyResponse + */ +class CreateSubpropertyResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The created subproperty. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 1; + */ + private $subproperty = null; + /** + * The created subproperty event filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); + $this->subproperty_event_filter = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CustomDimension.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CustomDimension.php index 5c32d3f24..5f580f303 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CustomDimension.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CustomDimension.php @@ -26,6 +26,8 @@ class CustomDimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl * 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. @@ -78,6 +80,8 @@ class CustomDimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl * 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. @@ -133,6 +137,8 @@ public function setName($var) * 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. @@ -149,6 +155,8 @@ public function getParameterName() * 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. diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/CustomDimension/DimensionScope.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/CustomDimension/DimensionScope.php index bb230bab9..9889c9226 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/CustomDimension/DimensionScope.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/CustomDimension/DimensionScope.php @@ -30,7 +30,13 @@ class DimensionScope * Generated from protobuf enum USER = 2; */ const USER = 2; - private static $valueToName = [self::DIMENSION_SCOPE_UNSPECIFIED => 'DIMENSION_SCOPE_UNSPECIFIED', self::EVENT => 'EVENT', self::USER => 'USER']; + /** + * 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])) { diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DataRedactionSettings.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DataRedactionSettings.php new file mode 100644 index 000000000..c9b84bbd4 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DataRedactionSettings.php @@ -0,0 +1,195 @@ +google.analytics.admin.v1alpha.DataRedactionSettings + */ +class DataRedactionSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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; + */ + private $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; + */ + private $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 array|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\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 array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setQueryParameterKeys($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING); + $this->query_parameter_keys = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DataStream/WebStreamData.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DataStream/WebStreamData.php index d23be7fd1..b12aa31fa 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DataStream/WebStreamData.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DataStream/WebStreamData.php @@ -15,8 +15,8 @@ class WebStreamData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * Output only. Analytics "Measurement ID", without the "G-" prefix. - * Example: "G-1A2BCD345E" would just be "1A2BCD345E" + * Output only. Analytics Measurement ID. + * Example: "G-1A2BCD345E" * * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -29,10 +29,10 @@ class WebStreamData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ */ private $firebase_app_id = ''; /** - * Immutable. Domain name of the web app being measured, or empty. + * 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 [(.google.api.field_behavior) = IMMUTABLE]; + * Generated from protobuf field string default_uri = 3; */ private $default_uri = ''; /** @@ -42,13 +42,13 @@ class WebStreamData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ * Optional. Data for populating the Message object. * * @type string $measurement_id - * Output only. Analytics "Measurement ID", without the "G-" prefix. - * Example: "G-1A2BCD345E" would just be "1A2BCD345E" + * 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 - * Immutable. Domain name of the web app being measured, or empty. + * Domain name of the web app being measured, or empty. * Example: "http://www.google.com", "https://www.google.com" * } */ @@ -58,8 +58,8 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * Output only. Analytics "Measurement ID", without the "G-" prefix. - * Example: "G-1A2BCD345E" would just be "1A2BCD345E" + * Output only. Analytics Measurement ID. + * Example: "G-1A2BCD345E" * * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -69,8 +69,8 @@ public function getMeasurementId() return $this->measurement_id; } /** - * Output only. Analytics "Measurement ID", without the "G-" prefix. - * Example: "G-1A2BCD345E" would just be "1A2BCD345E" + * 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 @@ -108,10 +108,10 @@ public function setFirebaseAppId($var) return $this; } /** - * Immutable. Domain name of the web app being measured, or empty. + * 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 [(.google.api.field_behavior) = IMMUTABLE]; + * Generated from protobuf field string default_uri = 3; * @return string */ public function getDefaultUri() @@ -119,10 +119,10 @@ public function getDefaultUri() return $this->default_uri; } /** - * Immutable. Domain name of the web app being measured, or empty. + * 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 [(.google.api.field_behavior) = IMMUTABLE]; + * Generated from protobuf field string default_uri = 3; * @param string $var * @return $this */ diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteAccessBindingRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteAccessBindingRequest.php index 1d0acae04..4810dfbae 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteAccessBindingRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteAccessBindingRequest.php @@ -22,6 +22,20 @@ class DeleteAccessBindingRequest extends \Matomo\Dependencies\GoogleAnalyticsImp * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteAccountRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteAccountRequest.php index d3e67a7e3..dee992073 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteAccountRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteAccountRequest.php @@ -22,6 +22,20 @@ class DeleteAccountRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteAdSenseLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteAdSenseLinkRequest.php new file mode 100644 index 000000000..0ac413686 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteAdSenseLinkRequest.php @@ -0,0 +1,83 @@ +google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest + */ +class DeleteAdSenseLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteCalculatedMetricRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteCalculatedMetricRequest.php new file mode 100644 index 000000000..e9bf8f8f9 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteCalculatedMetricRequest.php @@ -0,0 +1,83 @@ +google.analytics.admin.v1alpha.DeleteCalculatedMetricRequest + */ +class DeleteCalculatedMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteChannelGroupRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteChannelGroupRequest.php new file mode 100644 index 000000000..ffea8a7f1 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteChannelGroupRequest.php @@ -0,0 +1,78 @@ +google.analytics.admin.v1alpha.DeleteChannelGroupRequest + */ +class DeleteChannelGroupRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteConnectedSiteTagRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteConnectedSiteTagRequest.php new file mode 100644 index 000000000..7c8271d6d --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteConnectedSiteTagRequest.php @@ -0,0 +1,108 @@ +google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest + */ +class DeleteConnectedSiteTagRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The Universal Analytics property to delete connected site tags for. + * This API does not support GA4 properties. + * Format: properties/{universalAnalyticsPropertyId} + * Example: properties/1234 + * + * Generated from protobuf field string property = 1; + */ + private $property = ''; + /** + * Tag ID to forward events to. Also known as the Measurement ID, or the + * "G-ID" (For example: G-12345). + * + * Generated from protobuf field string tag_id = 2; + */ + private $tag_id = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $property + * The Universal Analytics property to delete connected site tags for. + * This API does not support GA4 properties. + * Format: properties/{universalAnalyticsPropertyId} + * Example: properties/1234 + * @type string $tag_id + * Tag ID to forward events to. Also known as the Measurement ID, or the + * "G-ID" (For example: G-12345). + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + /** + * The Universal Analytics property to delete connected site tags for. + * This API does not support GA4 properties. + * Format: properties/{universalAnalyticsPropertyId} + * Example: properties/1234 + * + * Generated from protobuf field string property = 1; + * @return string + */ + public function getProperty() + { + return $this->property; + } + /** + * The Universal Analytics property to delete connected site tags for. + * This API does not support GA4 properties. + * Format: properties/{universalAnalyticsPropertyId} + * Example: properties/1234 + * + * Generated from protobuf field string property = 1; + * @param string $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkString($var, True); + $this->property = $var; + return $this; + } + /** + * Tag ID to forward events to. Also known as the Measurement ID, or the + * "G-ID" (For example: G-12345). + * + * Generated from protobuf field string tag_id = 2; + * @return string + */ + public function getTagId() + { + return $this->tag_id; + } + /** + * Tag ID to forward events to. Also known as the Measurement ID, or the + * "G-ID" (For example: G-12345). + * + * Generated from protobuf field string tag_id = 2; + * @param string $var + * @return $this + */ + public function setTagId($var) + { + GPBUtil::checkString($var, True); + $this->tag_id = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteConversionEventRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteConversionEventRequest.php index cf9e99b76..58ece2922 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteConversionEventRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteConversionEventRequest.php @@ -22,6 +22,20 @@ class DeleteConversionEventRequest extends \Matomo\Dependencies\GoogleAnalyticsI * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteDataStreamRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteDataStreamRequest.php index 763ccfb1e..397c867bb 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteDataStreamRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteDataStreamRequest.php @@ -21,6 +21,19 @@ class DeleteDataStreamRequest extends \Matomo\Dependencies\GoogleAnalyticsImport * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php index 5fb2c32d1..2af254092 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php @@ -21,6 +21,19 @@ class DeleteDisplayVideo360AdvertiserLinkProposalRequest extends \Matomo\Depende * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php index 98d96aba3..d0315f000 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php @@ -21,6 +21,19 @@ class DeleteDisplayVideo360AdvertiserLinkRequest extends \Matomo\Dependencies\Go * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteEventCreateRuleRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteEventCreateRuleRequest.php new file mode 100644 index 000000000..f326e4684 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteEventCreateRuleRequest.php @@ -0,0 +1,78 @@ +google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest + */ +class DeleteEventCreateRuleRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteExpandedDataSetRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteExpandedDataSetRequest.php index cc157c3b6..56dab3ff6 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteExpandedDataSetRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteExpandedDataSetRequest.php @@ -20,6 +20,18 @@ class DeleteExpandedDataSetRequest extends \Matomo\Dependencies\GoogleAnalyticsI * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteFirebaseLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteFirebaseLinkRequest.php index 465efe400..08bab2757 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteFirebaseLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteFirebaseLinkRequest.php @@ -21,6 +21,19 @@ class DeleteFirebaseLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteGoogleAdsLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteGoogleAdsLinkRequest.php index 91334fd04..afc007ef4 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteGoogleAdsLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteGoogleAdsLinkRequest.php @@ -20,6 +20,18 @@ class DeleteGoogleAdsLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImp * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteMeasurementProtocolSecretRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteMeasurementProtocolSecretRequest.php index 5cdacf9a7..bc315cd26 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteMeasurementProtocolSecretRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteMeasurementProtocolSecretRequest.php @@ -22,6 +22,20 @@ class DeleteMeasurementProtocolSecretRequest extends \Matomo\Dependencies\Google * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeletePropertyRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeletePropertyRequest.php index a5eee6278..9deee239f 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeletePropertyRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeletePropertyRequest.php @@ -22,6 +22,20 @@ class DeletePropertyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteRollupPropertySourceLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteRollupPropertySourceLinkRequest.php new file mode 100644 index 000000000..d1102e780 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteRollupPropertySourceLinkRequest.php @@ -0,0 +1,83 @@ +google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest + */ +class DeleteRollupPropertySourceLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php new file mode 100644 index 000000000..339d14258 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php @@ -0,0 +1,83 @@ +google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + */ +class DeleteSKAdNetworkConversionValueSchemaRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteSearchAds360LinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteSearchAds360LinkRequest.php index 1641626db..90649a333 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteSearchAds360LinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteSearchAds360LinkRequest.php @@ -21,6 +21,19 @@ class DeleteSearchAds360LinkRequest extends \Matomo\Dependencies\GoogleAnalytics * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteSubpropertyEventFilterRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteSubpropertyEventFilterRequest.php new file mode 100644 index 000000000..7b80b8709 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/DeleteSubpropertyEventFilterRequest.php @@ -0,0 +1,88 @@ +google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest + */ +class DeleteSubpropertyEventFilterRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/EnhancedMeasurementSettings.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/EnhancedMeasurementSettings.php index 7835df12c..20a692bdb 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/EnhancedMeasurementSettings.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/EnhancedMeasurementSettings.php @@ -8,7 +8,7 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** - * Singleton resource under a WebDataStream, configuring measurement of + * Singleton resource under a web DataStream, configuring measurement of * additional site interactions and content. * * Generated from protobuf message google.analytics.admin.v1alpha.EnhancedMeasurementSettings @@ -16,10 +16,10 @@ class EnhancedMeasurementSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * Output only. Resource name of this Data Stream. + * Output only. Resource name of the Enhanced Measurement Settings. * Format: - * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings - * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" + * 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]; */ @@ -33,73 +33,68 @@ class EnhancedMeasurementSettings extends \Matomo\Dependencies\GoogleAnalyticsIm * Generated from protobuf field bool stream_enabled = 2; */ private $stream_enabled = \false; - /** - * Output only. If enabled, capture a page view event each time a page loads or the - * website changes the browser history state. - * - * Generated from protobuf field bool page_views_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $page_views_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 = 4; + * Generated from protobuf field bool scrolls_enabled = 3; */ private $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 = 5; + * Generated from protobuf field bool outbound_clicks_enabled = 4; */ private $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 = 7; + * Generated from protobuf field bool site_search_enabled = 5; */ private $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 = 9; + * Generated from protobuf field bool video_engagement_enabled = 6; */ private $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 = 10; + * Generated from protobuf field bool file_downloads_enabled = 7; */ private $file_downloads_enabled = \false; - /** - * Output only. If enabled, capture a page view event each time a page loads. - * - * Generated from protobuf field bool page_loads_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $page_loads_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 = 13; + * Generated from protobuf field bool page_changes_enabled = 8; */ private $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; + */ + private $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 = 16 [(.google.api.field_behavior) = REQUIRED]; + * Generated from protobuf field string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; */ private $search_query_parameter = ''; /** * Additional URL query parameters. * Max length is 1024 characters. * - * Generated from protobuf field string uri_query_parameter = 17; + * Generated from protobuf field string uri_query_parameter = 11; */ private $uri_query_parameter = ''; /** @@ -109,18 +104,15 @@ class EnhancedMeasurementSettings extends \Matomo\Dependencies\GoogleAnalyticsIm * Optional. Data for populating the Message object. * * @type string $name - * Output only. Resource name of this Data Stream. + * Output only. Resource name of the Enhanced Measurement Settings. * Format: - * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings - * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" + * 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 $page_views_enabled - * Output only. If enabled, capture a page view event each time a page loads or the - * website changes the browser history state. * @type bool $scrolls_enabled * If enabled, capture scroll events each time a visitor gets to the bottom of * a page. @@ -136,11 +128,13 @@ class EnhancedMeasurementSettings extends \Matomo\Dependencies\GoogleAnalyticsIm * @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_loads_enabled - * Output only. If enabled, capture a page view event each time a page loads. * @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. @@ -155,10 +149,10 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * Output only. Resource name of this Data Stream. + * Output only. Resource name of the Enhanced Measurement Settings. * Format: - * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings - * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" + * 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 @@ -168,10 +162,10 @@ public function getName() return $this->name; } /** - * Output only. Resource name of this Data Stream. + * Output only. Resource name of the Enhanced Measurement Settings. * Format: - * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings - * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" + * 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 @@ -212,36 +206,11 @@ public function setStreamEnabled($var) $this->stream_enabled = $var; return $this; } - /** - * Output only. If enabled, capture a page view event each time a page loads or the - * website changes the browser history state. - * - * Generated from protobuf field bool page_views_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getPageViewsEnabled() - { - return $this->page_views_enabled; - } - /** - * Output only. If enabled, capture a page view event each time a page loads or the - * website changes the browser history state. - * - * Generated from protobuf field bool page_views_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setPageViewsEnabled($var) - { - GPBUtil::checkBool($var); - $this->page_views_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 = 4; + * Generated from protobuf field bool scrolls_enabled = 3; * @return bool */ public function getScrollsEnabled() @@ -252,7 +221,7 @@ public function getScrollsEnabled() * If enabled, capture scroll events each time a visitor gets to the bottom of * a page. * - * Generated from protobuf field bool scrolls_enabled = 4; + * Generated from protobuf field bool scrolls_enabled = 3; * @param bool $var * @return $this */ @@ -266,7 +235,7 @@ public function setScrollsEnabled($var) * 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 = 5; + * Generated from protobuf field bool outbound_clicks_enabled = 4; * @return bool */ public function getOutboundClicksEnabled() @@ -277,7 +246,7 @@ public function getOutboundClicksEnabled() * 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 = 5; + * Generated from protobuf field bool outbound_clicks_enabled = 4; * @param bool $var * @return $this */ @@ -291,7 +260,7 @@ public function setOutboundClicksEnabled($var) * 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 = 7; + * Generated from protobuf field bool site_search_enabled = 5; * @return bool */ public function getSiteSearchEnabled() @@ -302,7 +271,7 @@ public function getSiteSearchEnabled() * 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 = 7; + * Generated from protobuf field bool site_search_enabled = 5; * @param bool $var * @return $this */ @@ -316,7 +285,7 @@ public function setSiteSearchEnabled($var) * 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 = 9; + * Generated from protobuf field bool video_engagement_enabled = 6; * @return bool */ public function getVideoEngagementEnabled() @@ -327,7 +296,7 @@ public function getVideoEngagementEnabled() * 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 = 9; + * Generated from protobuf field bool video_engagement_enabled = 6; * @param bool $var * @return $this */ @@ -341,7 +310,7 @@ public function setVideoEngagementEnabled($var) * 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 = 10; + * Generated from protobuf field bool file_downloads_enabled = 7; * @return bool */ public function getFileDownloadsEnabled() @@ -352,7 +321,7 @@ public function getFileDownloadsEnabled() * 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 = 10; + * Generated from protobuf field bool file_downloads_enabled = 7; * @param bool $var * @return $this */ @@ -363,58 +332,62 @@ public function setFileDownloadsEnabled($var) return $this; } /** - * Output only. If enabled, capture a page view event each time a page loads. + * If enabled, capture a page view event each time the website changes the + * browser history state. * - * Generated from protobuf field bool page_loads_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field bool page_changes_enabled = 8; * @return bool */ - public function getPageLoadsEnabled() + public function getPageChangesEnabled() { - return $this->page_loads_enabled; + return $this->page_changes_enabled; } /** - * Output only. If enabled, capture a page view event each time a page loads. + * If enabled, capture a page view event each time the website changes the + * browser history state. * - * Generated from protobuf field bool page_loads_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field bool page_changes_enabled = 8; * @param bool $var * @return $this */ - public function setPageLoadsEnabled($var) + public function setPageChangesEnabled($var) { GPBUtil::checkBool($var); - $this->page_loads_enabled = $var; + $this->page_changes_enabled = $var; return $this; } /** - * If enabled, capture a page view event each time the website changes the - * browser history state. + * 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 page_changes_enabled = 13; + * Generated from protobuf field bool form_interactions_enabled = 9; * @return bool */ - public function getPageChangesEnabled() + public function getFormInteractionsEnabled() { - return $this->page_changes_enabled; + return $this->form_interactions_enabled; } /** - * If enabled, capture a page view event each time the website changes the - * browser history state. + * 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 page_changes_enabled = 13; + * Generated from protobuf field bool form_interactions_enabled = 9; * @param bool $var * @return $this */ - public function setPageChangesEnabled($var) + public function setFormInteractionsEnabled($var) { GPBUtil::checkBool($var); - $this->page_changes_enabled = $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 = 16 [(.google.api.field_behavior) = REQUIRED]; + * Generated from protobuf field string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getSearchQueryParameter() @@ -425,7 +398,7 @@ public function getSearchQueryParameter() * 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 = 16 [(.google.api.field_behavior) = REQUIRED]; + * Generated from protobuf field string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ @@ -439,7 +412,7 @@ public function setSearchQueryParameter($var) * Additional URL query parameters. * Max length is 1024 characters. * - * Generated from protobuf field string uri_query_parameter = 17; + * Generated from protobuf field string uri_query_parameter = 11; * @return string */ public function getUriQueryParameter() @@ -450,7 +423,7 @@ public function getUriQueryParameter() * Additional URL query parameters. * Max length is 1024 characters. * - * Generated from protobuf field string uri_query_parameter = 17; + * Generated from protobuf field string uri_query_parameter = 11; * @param string $var * @return $this */ diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/EventCreateRule.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/EventCreateRule.php new file mode 100644 index 000000000..b238067bc --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/EventCreateRule.php @@ -0,0 +1,239 @@ +google.analytics.admin.v1alpha.EventCreateRule + */ +class EventCreateRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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; + */ + private $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 array<\Google\Analytics\Admin\V1alpha\MatchingCondition>|\Google\Protobuf\Internal\RepeatedField $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 array<\Google\Analytics\Admin\V1alpha\ParameterMutation>|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\MatchingCondition>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setEventConditions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\ParameterMutation>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setParameterMutations($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ParameterMutation::class); + $this->parameter_mutations = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/EventMapping.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/EventMapping.php new file mode 100644 index 000000000..e22081ef7 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/EventMapping.php @@ -0,0 +1,253 @@ +google.analytics.admin.v1alpha.EventMapping + */ +class EventMapping extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. Name of the GA4 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]; + */ + private $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; + */ + private $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; + */ + private $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; + */ + private $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; + */ + private $max_event_value = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $event_name + * Required. Name of the GA4 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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + /** + * Required. Name of the GA4 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 GA4 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/vendor/prefixed/google/analytics-admin/src/V1alpha/ExpandedDataSet.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ExpandedDataSet.php index e01769ba3..3e780996d 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ExpandedDataSet.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ExpandedDataSet.php @@ -56,7 +56,7 @@ class ExpandedDataSet extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl /** * Immutable. A logical expression of ExpandedDataSet filters applied to * dimension included in the ExpandedDataSet. This filter is used to reduce - * the number of rows and thus the change of encountering `other row`. + * 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]; */ @@ -96,7 +96,7 @@ class ExpandedDataSet extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression $dimension_filter_expression * Immutable. A logical expression of ExpandedDataSet filters applied to * dimension included in the ExpandedDataSet. This filter is used to reduce - * the number of rows and thus the change of encountering `other row`. + * 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. @@ -243,7 +243,7 @@ public function setMetricNames($var) /** * Immutable. A logical expression of ExpandedDataSet filters applied to * dimension included in the ExpandedDataSet. This filter is used to reduce - * the number of rows and thus the change of encountering `other row`. + * 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 @@ -263,7 +263,7 @@ public function clearDimensionFilterExpression() /** * Immutable. A logical expression of ExpandedDataSet filters applied to * dimension included in the ExpandedDataSet. This filter is used to reduce - * the number of rows and thus the change of encountering `other row`. + * 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 diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ExpandedDataSetFilterExpression.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ExpandedDataSetFilterExpression.php index 1f8a656bd..e18b2d580 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ExpandedDataSetFilterExpression.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ExpandedDataSetFilterExpression.php @@ -27,7 +27,7 @@ class ExpandedDataSetFilterExpression extends \Matomo\Dependencies\GoogleAnalyti * dimension_filter. This must be set for the top level * ExpandedDataSetFilterExpression. * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression $not_expression - * A filter expression to be NOT'ed (i.e., inverted, complemented). It + * 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 @@ -74,7 +74,7 @@ public function setAndGroup($var) return $this; } /** - * A filter expression to be NOT'ed (i.e., inverted, complemented). It + * 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. * @@ -90,7 +90,7 @@ public function hasNotExpression() return $this->hasOneof(2); } /** - * A filter expression to be NOT'ed (i.e., inverted, complemented). It + * 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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/FetchConnectedGa4PropertyRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/FetchConnectedGa4PropertyRequest.php new file mode 100644 index 000000000..1d866e07b --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/FetchConnectedGa4PropertyRequest.php @@ -0,0 +1,77 @@ +google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest + */ +class FetchConnectedGa4PropertyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The UA property for which to look up the connected GA4 property. + * Note this request uses the + * internal property ID, not the tracking ID of the form UA-XXXXXX-YY. + * Format: properties/{internal_web_property_id} + * Example: properties/1234 + * + * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $property = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $property + * Required. The UA property for which to look up the connected GA4 property. + * Note this request uses the + * internal property ID, not the tracking ID of the form UA-XXXXXX-YY. + * Format: properties/{internal_web_property_id} + * Example: properties/1234 + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + /** + * Required. The UA property for which to look up the connected GA4 property. + * Note this request uses the + * internal property ID, not the tracking ID of the form UA-XXXXXX-YY. + * Format: properties/{internal_web_property_id} + * Example: properties/1234 + * + * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getProperty() + { + return $this->property; + } + /** + * Required. The UA property for which to look up the connected GA4 property. + * Note this request uses the + * internal property ID, not the tracking ID of the form UA-XXXXXX-YY. + * Format: properties/{internal_web_property_id} + * Example: properties/1234 + * + * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkString($var, True); + $this->property = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/FetchConnectedGa4PropertyResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/FetchConnectedGa4PropertyResponse.php new file mode 100644 index 000000000..5cc3e2b5a --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/FetchConnectedGa4PropertyResponse.php @@ -0,0 +1,73 @@ +google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse + */ +class FetchConnectedGa4PropertyResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The GA4 property connected to the UA property. An empty string is returned + * when there is no connected GA4 property. + * Format: properties/{property_id} + * Example: properties/1234 + * + * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { + */ + private $property = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $property + * The GA4 property connected to the UA property. An empty string is returned + * when there is no connected GA4 property. + * Format: properties/{property_id} + * Example: properties/1234 + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + /** + * The GA4 property connected to the UA property. An empty string is returned + * when there is no connected GA4 property. + * Format: properties/{property_id} + * Example: properties/1234 + * + * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { + * @return string + */ + public function getProperty() + { + return $this->property; + } + /** + * The GA4 property connected to the UA property. An empty string is returned + * when there is no connected GA4 property. + * Format: properties/{property_id} + * Example: properties/1234 + * + * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkString($var, True); + $this->property = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/Gapic/AnalyticsAdminServiceGapicClient.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/Gapic/AnalyticsAdminServiceGapicClient.php index a017fb3a3..4128585fb 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/Gapic/AnalyticsAdminServiceGapicClient.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/Gapic/AnalyticsAdminServiceGapicClient.php @@ -34,6 +34,7 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\Account; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AcknowledgeUserDataCollectionRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AcknowledgeUserDataCollectionResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AdSenseLink; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ApproveDisplayVideo360AdvertiserLinkProposalRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ApproveDisplayVideo360AdvertiserLinkProposalResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ArchiveAudienceRequest; @@ -41,84 +42,110 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ArchiveCustomMetricRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AttributionSettings; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\Audience; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AuditUserLinksRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AuditUserLinksResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchCreateAccessBindingsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchCreateAccessBindingsResponse; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchCreateUserLinksRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchCreateUserLinksResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchDeleteAccessBindingsRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchDeleteUserLinksRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchGetAccessBindingsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchGetAccessBindingsResponse; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchGetUserLinksRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchGetUserLinksResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchUpdateAccessBindingsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchUpdateAccessBindingsResponse; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchUpdateUserLinksRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BatchUpdateUserLinksResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\BigQueryLink; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CalculatedMetric; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CancelDisplayVideo360AdvertiserLinkProposalRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ChannelGroup; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ConnectedSiteTag; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ConversionEvent; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateAccessBindingRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateAdSenseLinkRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateAudienceRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateCalculatedMetricRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateChannelGroupRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateConnectedSiteTagRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateConnectedSiteTagResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateConversionEventRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateCustomDimensionRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateCustomMetricRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateDataStreamRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateDisplayVideo360AdvertiserLinkProposalRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateDisplayVideo360AdvertiserLinkRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateEventCreateRuleRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateExpandedDataSetRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateFirebaseLinkRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateGoogleAdsLinkRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateMeasurementProtocolSecretRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreatePropertyRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateRollupPropertyRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateRollupPropertyResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateRollupPropertySourceLinkRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateSKAdNetworkConversionValueSchemaRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateSearchAds360LinkRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateUserLinkRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateSubpropertyEventFilterRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateSubpropertyRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CreateSubpropertyResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CustomDimension; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CustomMetric; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DataRedactionSettings; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DataRetentionSettings; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DataSharingSettings; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DataStream; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteAccessBindingRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteAccountRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteAdSenseLinkRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteCalculatedMetricRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteChannelGroupRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteConnectedSiteTagRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteConversionEventRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteDataStreamRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteDisplayVideo360AdvertiserLinkProposalRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteDisplayVideo360AdvertiserLinkRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteEventCreateRuleRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteExpandedDataSetRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteFirebaseLinkRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteGoogleAdsLinkRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteMeasurementProtocolSecretRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeletePropertyRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteRollupPropertySourceLinkRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteSKAdNetworkConversionValueSchemaRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteSearchAds360LinkRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteUserLinkRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DeleteSubpropertyEventFilterRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\EventCreateRule; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ExpandedDataSet; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\FetchAutomatedGa4ConfigurationOptOutRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\FetchAutomatedGa4ConfigurationOptOutResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\FetchConnectedGa4PropertyRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\FetchConnectedGa4PropertyResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\FirebaseLink; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetAccessBindingRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetAccountRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetAdSenseLinkRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetAttributionSettingsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetAudienceRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetBigQueryLinkRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetCalculatedMetricRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetChannelGroupRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetConversionEventRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetCustomDimensionRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetCustomMetricRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetDataRedactionSettingsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetDataRetentionSettingsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetDataSharingSettingsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetDataStreamRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetDisplayVideo360AdvertiserLinkProposalRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetDisplayVideo360AdvertiserLinkRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetEnhancedMeasurementSettingsRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetEventCreateRuleRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetExpandedDataSetRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetGlobalSiteTagRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetGoogleSignalsSettingsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetMeasurementProtocolSecretRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetPropertyRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetRollupPropertySourceLinkRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetSKAdNetworkConversionValueSchemaRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetSearchAds360LinkRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetUserLinkRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GetSubpropertyEventFilterRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GlobalSiteTag; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GoogleAdsLink; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GoogleSignalsSettings; @@ -128,10 +155,18 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListAccountSummariesResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListAccountsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListAccountsResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListAdSenseLinksRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListAdSenseLinksResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListAudiencesRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListAudiencesResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListBigQueryLinksRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListBigQueryLinksResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListCalculatedMetricsRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListCalculatedMetricsResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListChannelGroupsRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListChannelGroupsResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListConnectedSiteTagsRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListConnectedSiteTagsResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListConversionEventsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListConversionEventsResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListCustomDimensionsRequest; @@ -144,6 +179,8 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinkProposalsResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinksRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinksResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListEventCreateRulesRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListEventCreateRulesResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListExpandedDataSetsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListExpandedDataSetsResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListFirebaseLinksRequest; @@ -154,38 +191,51 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListMeasurementProtocolSecretsResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListPropertiesRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListPropertiesResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListRollupPropertySourceLinksRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListRollupPropertySourceLinksResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListSKAdNetworkConversionValueSchemasRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListSKAdNetworkConversionValueSchemasResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListSearchAds360LinksRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListSearchAds360LinksResponse; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListUserLinksRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListUserLinksResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListSubpropertyEventFiltersRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ListSubpropertyEventFiltersResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\Property; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ProvisionAccountTicketRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ProvisionAccountTicketResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\RollupPropertySourceLink; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\RunAccessReportRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\RunAccessReportResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SearchAds360Link; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SearchChangeHistoryEventsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SearchChangeHistoryEventsResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SetAutomatedGa4ConfigurationOptOutRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SetAutomatedGa4ConfigurationOptOutResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SubpropertyEventFilter; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateAccessBindingRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateAccountRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateAttributionSettingsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateAudienceRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateCalculatedMetricRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateChannelGroupRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateConversionEventRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateCustomDimensionRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateCustomMetricRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateDataRedactionSettingsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateDataRetentionSettingsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateDataStreamRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateDisplayVideo360AdvertiserLinkRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateEnhancedMeasurementSettingsRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateEventCreateRuleRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateExpandedDataSetRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateGoogleAdsLinkRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateGoogleSignalsSettingsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateMeasurementProtocolSecretRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdatePropertyRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateSKAdNetworkConversionValueSchemaRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateSearchAds360LinkRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateUserLinkRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UserLink; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\UpdateSubpropertyEventFilterRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\ApiException; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\CredentialsWrapper; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\GapicClientTrait; @@ -221,14 +271,22 @@ * contained within formatted names that are returned by the API. * * @experimental + * + * @deprecated Please use the new service client {@see \Google\Analytics\Admin\V1alpha\Client\AnalyticsAdminServiceClient}. */ class AnalyticsAdminServiceGapicClient { use GapicClientTrait; /** The name of the service. */ const SERVICE_NAME = 'google.analytics.admin.v1alpha.AnalyticsAdminService'; - /** The default address of the service. */ + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ 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. */ const DEFAULT_SERVICE_PORT = 443; /** The name of the code generator, to be included in the agent header. */ @@ -238,18 +296,23 @@ class AnalyticsAdminServiceGapicClient private static $accessBindingNameTemplate; private static $accountNameTemplate; private static $accountAccessBindingNameTemplate; - private static $accountUserLinkNameTemplate; + private static $adSenseLinkNameTemplate; private static $attributionSettingsNameTemplate; private static $audienceNameTemplate; private static $bigQueryLinkNameTemplate; + private static $calculatedMetricNameTemplate; + private static $channelGroupNameTemplate; private static $conversionEventNameTemplate; private static $customDimensionNameTemplate; private static $customMetricNameTemplate; + private static $dataRedactionSettingsNameTemplate; private static $dataRetentionSettingsNameTemplate; private static $dataSharingSettingsNameTemplate; private static $dataStreamNameTemplate; private static $displayVideo360AdvertiserLinkNameTemplate; private static $displayVideo360AdvertiserLinkProposalNameTemplate; + private static $enhancedMeasurementSettingsNameTemplate; + private static $eventCreateRuleNameTemplate; private static $expandedDataSetNameTemplate; private static $firebaseLinkNameTemplate; private static $globalSiteTagNameTemplate; @@ -258,9 +321,10 @@ class AnalyticsAdminServiceGapicClient private static $measurementProtocolSecretNameTemplate; private static $propertyNameTemplate; private static $propertyAccessBindingNameTemplate; - private static $propertyUserLinkNameTemplate; + private static $rollupPropertySourceLinkNameTemplate; + private static $sKAdNetworkConversionValueSchemaNameTemplate; private static $searchAds360LinkNameTemplate; - private static $userLinkNameTemplate; + private static $subpropertyEventFilterNameTemplate; private static $pathTemplateMap; private static function getClientDefaults() { @@ -287,12 +351,12 @@ private static function getAccountAccessBindingNameTemplate() } return self::$accountAccessBindingNameTemplate; } - private static function getAccountUserLinkNameTemplate() + private static function getAdSenseLinkNameTemplate() { - if (self::$accountUserLinkNameTemplate == null) { - self::$accountUserLinkNameTemplate = new PathTemplate('accounts/{account}/userLinks/{user_link}'); + if (self::$adSenseLinkNameTemplate == null) { + self::$adSenseLinkNameTemplate = new PathTemplate('properties/{property}/adSenseLinks/{adsense_link}'); } - return self::$accountUserLinkNameTemplate; + return self::$adSenseLinkNameTemplate; } private static function getAttributionSettingsNameTemplate() { @@ -315,6 +379,20 @@ private static function getBigQueryLinkNameTemplate() } return self::$bigQueryLinkNameTemplate; } + private static function getCalculatedMetricNameTemplate() + { + if (self::$calculatedMetricNameTemplate == null) { + self::$calculatedMetricNameTemplate = new PathTemplate('properties/{property}/calculatedMetrics/{calculated_metric}'); + } + return self::$calculatedMetricNameTemplate; + } + private static function getChannelGroupNameTemplate() + { + if (self::$channelGroupNameTemplate == null) { + self::$channelGroupNameTemplate = new PathTemplate('properties/{property}/channelGroups/{channel_group}'); + } + return self::$channelGroupNameTemplate; + } private static function getConversionEventNameTemplate() { if (self::$conversionEventNameTemplate == null) { @@ -336,6 +414,13 @@ private static function getCustomMetricNameTemplate() } return self::$customMetricNameTemplate; } + private static function getDataRedactionSettingsNameTemplate() + { + if (self::$dataRedactionSettingsNameTemplate == null) { + self::$dataRedactionSettingsNameTemplate = new PathTemplate('properties/{property}/dataStreams/{data_stream}/dataRedactionSettings'); + } + return self::$dataRedactionSettingsNameTemplate; + } private static function getDataRetentionSettingsNameTemplate() { if (self::$dataRetentionSettingsNameTemplate == null) { @@ -371,6 +456,20 @@ private static function getDisplayVideo360AdvertiserLinkProposalNameTemplate() } return self::$displayVideo360AdvertiserLinkProposalNameTemplate; } + private static function getEnhancedMeasurementSettingsNameTemplate() + { + if (self::$enhancedMeasurementSettingsNameTemplate == null) { + self::$enhancedMeasurementSettingsNameTemplate = new PathTemplate('properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings'); + } + return self::$enhancedMeasurementSettingsNameTemplate; + } + private static function getEventCreateRuleNameTemplate() + { + if (self::$eventCreateRuleNameTemplate == null) { + self::$eventCreateRuleNameTemplate = new PathTemplate('properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}'); + } + return self::$eventCreateRuleNameTemplate; + } private static function getExpandedDataSetNameTemplate() { if (self::$expandedDataSetNameTemplate == null) { @@ -427,12 +526,19 @@ private static function getPropertyAccessBindingNameTemplate() } return self::$propertyAccessBindingNameTemplate; } - private static function getPropertyUserLinkNameTemplate() + private static function getRollupPropertySourceLinkNameTemplate() + { + if (self::$rollupPropertySourceLinkNameTemplate == null) { + self::$rollupPropertySourceLinkNameTemplate = new PathTemplate('properties/{property}/rollupPropertySourceLinks/{rollup_property_source_link}'); + } + return self::$rollupPropertySourceLinkNameTemplate; + } + private static function getSKAdNetworkConversionValueSchemaNameTemplate() { - if (self::$propertyUserLinkNameTemplate == null) { - self::$propertyUserLinkNameTemplate = new PathTemplate('properties/{property}/userLinks/{user_link}'); + if (self::$sKAdNetworkConversionValueSchemaNameTemplate == null) { + self::$sKAdNetworkConversionValueSchemaNameTemplate = new PathTemplate('properties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}'); } - return self::$propertyUserLinkNameTemplate; + return self::$sKAdNetworkConversionValueSchemaNameTemplate; } private static function getSearchAds360LinkNameTemplate() { @@ -441,17 +547,17 @@ private static function getSearchAds360LinkNameTemplate() } return self::$searchAds360LinkNameTemplate; } - private static function getUserLinkNameTemplate() + private static function getSubpropertyEventFilterNameTemplate() { - if (self::$userLinkNameTemplate == null) { - self::$userLinkNameTemplate = new PathTemplate('accounts/{account}/userLinks/{user_link}'); + if (self::$subpropertyEventFilterNameTemplate == null) { + self::$subpropertyEventFilterNameTemplate = new PathTemplate('properties/{property}/subpropertyEventFilters/{sub_property_event_filter}'); } - return self::$userLinkNameTemplate; + return self::$subpropertyEventFilterNameTemplate; } private static function getPathTemplateMap() { if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = ['accessBinding' => self::getAccessBindingNameTemplate(), 'account' => self::getAccountNameTemplate(), 'accountAccessBinding' => self::getAccountAccessBindingNameTemplate(), 'accountUserLink' => self::getAccountUserLinkNameTemplate(), 'attributionSettings' => self::getAttributionSettingsNameTemplate(), 'audience' => self::getAudienceNameTemplate(), 'bigQueryLink' => self::getBigQueryLinkNameTemplate(), 'conversionEvent' => self::getConversionEventNameTemplate(), 'customDimension' => self::getCustomDimensionNameTemplate(), 'customMetric' => self::getCustomMetricNameTemplate(), 'dataRetentionSettings' => self::getDataRetentionSettingsNameTemplate(), 'dataSharingSettings' => self::getDataSharingSettingsNameTemplate(), 'dataStream' => self::getDataStreamNameTemplate(), 'displayVideo360AdvertiserLink' => self::getDisplayVideo360AdvertiserLinkNameTemplate(), 'displayVideo360AdvertiserLinkProposal' => self::getDisplayVideo360AdvertiserLinkProposalNameTemplate(), 'expandedDataSet' => self::getExpandedDataSetNameTemplate(), 'firebaseLink' => self::getFirebaseLinkNameTemplate(), 'globalSiteTag' => self::getGlobalSiteTagNameTemplate(), 'googleAdsLink' => self::getGoogleAdsLinkNameTemplate(), 'googleSignalsSettings' => self::getGoogleSignalsSettingsNameTemplate(), 'measurementProtocolSecret' => self::getMeasurementProtocolSecretNameTemplate(), 'property' => self::getPropertyNameTemplate(), 'propertyAccessBinding' => self::getPropertyAccessBindingNameTemplate(), 'propertyUserLink' => self::getPropertyUserLinkNameTemplate(), 'searchAds360Link' => self::getSearchAds360LinkNameTemplate(), 'userLink' => self::getUserLinkNameTemplate()]; + self::$pathTemplateMap = ['accessBinding' => self::getAccessBindingNameTemplate(), 'account' => self::getAccountNameTemplate(), 'accountAccessBinding' => self::getAccountAccessBindingNameTemplate(), 'adSenseLink' => self::getAdSenseLinkNameTemplate(), 'attributionSettings' => self::getAttributionSettingsNameTemplate(), 'audience' => self::getAudienceNameTemplate(), 'bigQueryLink' => self::getBigQueryLinkNameTemplate(), 'calculatedMetric' => self::getCalculatedMetricNameTemplate(), 'channelGroup' => self::getChannelGroupNameTemplate(), 'conversionEvent' => self::getConversionEventNameTemplate(), 'customDimension' => self::getCustomDimensionNameTemplate(), 'customMetric' => self::getCustomMetricNameTemplate(), 'dataRedactionSettings' => self::getDataRedactionSettingsNameTemplate(), 'dataRetentionSettings' => self::getDataRetentionSettingsNameTemplate(), 'dataSharingSettings' => self::getDataSharingSettingsNameTemplate(), 'dataStream' => self::getDataStreamNameTemplate(), 'displayVideo360AdvertiserLink' => self::getDisplayVideo360AdvertiserLinkNameTemplate(), 'displayVideo360AdvertiserLinkProposal' => self::getDisplayVideo360AdvertiserLinkProposalNameTemplate(), 'enhancedMeasurementSettings' => self::getEnhancedMeasurementSettingsNameTemplate(), 'eventCreateRule' => self::getEventCreateRuleNameTemplate(), 'expandedDataSet' => self::getExpandedDataSetNameTemplate(), 'firebaseLink' => self::getFirebaseLinkNameTemplate(), 'globalSiteTag' => self::getGlobalSiteTagNameTemplate(), 'googleAdsLink' => self::getGoogleAdsLinkNameTemplate(), 'googleSignalsSettings' => self::getGoogleSignalsSettingsNameTemplate(), 'measurementProtocolSecret' => self::getMeasurementProtocolSecretNameTemplate(), 'property' => self::getPropertyNameTemplate(), 'propertyAccessBinding' => self::getPropertyAccessBindingNameTemplate(), 'rollupPropertySourceLink' => self::getRollupPropertySourceLinkNameTemplate(), 'sKAdNetworkConversionValueSchema' => self::getSKAdNetworkConversionValueSchemaNameTemplate(), 'searchAds360Link' => self::getSearchAds360LinkNameTemplate(), 'subpropertyEventFilter' => self::getSubpropertyEventFilterNameTemplate()]; } return self::$pathTemplateMap; } @@ -501,18 +607,18 @@ public static function accountAccessBindingName($account, $accessBinding) } /** * Formats a string containing the fully-qualified path to represent a - * account_user_link resource. + * ad_sense_link resource. * - * @param string $account - * @param string $userLink + * @param string $property + * @param string $adsenseLink * - * @return string The formatted account_user_link resource. + * @return string The formatted ad_sense_link resource. * * @experimental */ - public static function accountUserLinkName($account, $userLink) + public static function adSenseLinkName($property, $adsenseLink) { - return self::getAccountUserLinkNameTemplate()->render(['account' => $account, 'user_link' => $userLink]); + return self::getAdSenseLinkNameTemplate()->render(['property' => $property, 'adsense_link' => $adsenseLink]); } /** * Formats a string containing the fully-qualified path to represent a @@ -558,6 +664,36 @@ public static function bigQueryLinkName($property, $bigqueryLink) { return self::getBigQueryLinkNameTemplate()->render(['property' => $property, 'bigquery_link' => $bigqueryLink]); } + /** + * Formats a string containing the fully-qualified path to represent a + * calculated_metric resource. + * + * @param string $property + * @param string $calculatedMetric + * + * @return string The formatted calculated_metric resource. + * + * @experimental + */ + public static function calculatedMetricName($property, $calculatedMetric) + { + return self::getCalculatedMetricNameTemplate()->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($property, $channelGroup) + { + return self::getChannelGroupNameTemplate()->render(['property' => $property, 'channel_group' => $channelGroup]); + } /** * Formats a string containing the fully-qualified path to represent a * conversion_event resource. @@ -603,6 +739,21 @@ public static function customMetricName($property, $customMetric) { return self::getCustomMetricNameTemplate()->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($property, $dataStream) + { + return self::getDataRedactionSettingsNameTemplate()->render(['property' => $property, 'data_stream' => $dataStream]); + } /** * Formats a string containing the fully-qualified path to represent a * data_retention_settings resource. @@ -676,6 +827,37 @@ public static function displayVideo360AdvertiserLinkProposalName($property, $dis { return self::getDisplayVideo360AdvertiserLinkProposalNameTemplate()->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($property, $dataStream) + { + return self::getEnhancedMeasurementSettingsNameTemplate()->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($property, $dataStream, $eventCreateRule) + { + return self::getEventCreateRuleNameTemplate()->render(['property' => $property, 'data_stream' => $dataStream, 'event_create_rule' => $eventCreateRule]); + } /** * Formats a string containing the fully-qualified path to represent a * expanded_data_set resource. @@ -797,18 +979,34 @@ public static function propertyAccessBindingName($property, $accessBinding) } /** * Formats a string containing the fully-qualified path to represent a - * property_user_link resource. + * 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($property, $rollupPropertySourceLink) + { + return self::getRollupPropertySourceLinkNameTemplate()->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 $userLink + * @param string $dataStream + * @param string $skadnetworkConversionValueSchema * - * @return string The formatted property_user_link resource. + * @return string The formatted sk_ad_network_conversion_value_schema resource. * * @experimental */ - public static function propertyUserLinkName($property, $userLink) + public static function sKAdNetworkConversionValueSchemaName($property, $dataStream, $skadnetworkConversionValueSchema) { - return self::getPropertyUserLinkNameTemplate()->render(['property' => $property, 'user_link' => $userLink]); + return self::getSKAdNetworkConversionValueSchemaNameTemplate()->render(['property' => $property, 'data_stream' => $dataStream, 'skadnetwork_conversion_value_schema' => $skadnetworkConversionValueSchema]); } /** * Formats a string containing the fully-qualified path to represent a @@ -826,19 +1024,19 @@ public static function searchAds360LinkName($property, $searchAds360Link) return self::getSearchAds360LinkNameTemplate()->render(['property' => $property, 'search_ads_360_link' => $searchAds360Link]); } /** - * Formats a string containing the fully-qualified path to represent a user_link - * resource. + * Formats a string containing the fully-qualified path to represent a + * subproperty_event_filter resource. * - * @param string $account - * @param string $userLink + * @param string $property + * @param string $subPropertyEventFilter * - * @return string The formatted user_link resource. + * @return string The formatted subproperty_event_filter resource. * * @experimental */ - public static function userLinkName($account, $userLink) + public static function subpropertyEventFilterName($property, $subPropertyEventFilter) { - return self::getUserLinkNameTemplate()->render(['account' => $account, 'user_link' => $userLink]); + return self::getSubpropertyEventFilterNameTemplate()->render(['property' => $property, 'sub_property_event_filter' => $subPropertyEventFilter]); } /** * Parses a formatted name string and returns an associative array of the components in the name. @@ -847,18 +1045,23 @@ public static function userLinkName($account, $userLink) * - accessBinding: accounts/{account}/accessBindings/{access_binding} * - account: accounts/{account} * - accountAccessBinding: accounts/{account}/accessBindings/{access_binding} - * - accountUserLink: accounts/{account}/userLinks/{user_link} + * - 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} * - expandedDataSet: properties/{property}/expandedDataSets/{expanded_data_set} * - firebaseLink: properties/{property}/firebaseLinks/{firebase_link} * - globalSiteTag: properties/{property}/dataStreams/{data_stream}/globalSiteTag @@ -867,9 +1070,10 @@ public static function userLinkName($account, $userLink) * - measurementProtocolSecret: properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret} * - property: properties/{property} * - propertyAccessBinding: properties/{property}/accessBindings/{access_binding} - * - propertyUserLink: properties/{property}/userLinks/{user_link} + * - 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} - * - userLink: accounts/{account}/userLinks/{user_link} + * - subpropertyEventFilter: properties/{property}/subpropertyEventFilters/{sub_property_event_filter} * * 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 @@ -1179,86 +1383,59 @@ public function archiveCustomMetric($name, array $optionalArgs = []) return $this->startCall('ArchiveCustomMetric', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Lists all user links on an account or property, including implicit ones - * that come from effective permissions granted by groups or organization - * admin roles. + * Creates information about multiple access bindings to an account or + * property. * - * If a returned user link does not have direct permissions, they cannot - * be removed from the account or property directly with the DeleteUserLink - * command. They have to be removed from the group/etc that gives them - * permissions, which is currently only usable/discoverable in the GA or GMP - * UIs. + * This method is transactional. If any AccessBinding cannot be created, none + * of the AccessBindings will be created. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { * $formattedParent = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); - * // Iterate over pages of elements - * $pagedResponse = $analyticsAdminServiceClient->auditUserLinks($formattedParent); - * foreach ($pagedResponse->iteratePages() as $page) { - * foreach ($page as $element) { - * // doSomethingWith($element); - * } - * } - * // Alternatively: - * // Iterate through all elements - * $pagedResponse = $analyticsAdminServiceClient->auditUserLinks($formattedParent); - * foreach ($pagedResponse->iterateAllElements() as $element) { - * // doSomethingWith($element); - * } + * $requests = []; + * $response = $analyticsAdminServiceClient->batchCreateAccessBindings($formattedParent, $requests); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $parent Required. Example format: accounts/1234 - * @param array $optionalArgs { + * @param 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} + * @param CreateAccessBindingRequest[] $requests Required. The requests specifying the access bindings to create. + * A maximum of 1000 access bindings can be created in a batch. + * @param array $optionalArgs { * Optional. * - * @type int $pageSize - * The maximum number of resources contained in the underlying API - * response. The API may return fewer values in a page, even if - * there are additional values to be retrieved. - * @type string $pageToken - * A page token is used to specify a page of values to be returned. - * If no page token is specified (the default), the first page - * of values will be returned. Any page token used here must have - * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on * {@see RetrySettings} for example usage. * } * - * @return \Google\ApiCore\PagedListResponse + * @return \Google\Analytics\Admin\V1alpha\BatchCreateAccessBindingsResponse * * @throws ApiException if the remote call fails * * @experimental */ - public function auditUserLinks($parent, array $optionalArgs = []) + public function batchCreateAccessBindings($parent, $requests, array $optionalArgs = []) { - $request = new AuditUserLinksRequest(); + $request = new BatchCreateAccessBindingsRequest(); $requestParamHeaders = []; $request->setParent($parent); + $request->setRequests($requests); $requestParamHeaders['parent'] = $parent; - if (isset($optionalArgs['pageSize'])) { - $request->setPageSize($optionalArgs['pageSize']); - } - if (isset($optionalArgs['pageToken'])) { - $request->setPageToken($optionalArgs['pageToken']); - } $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->getPagedListResponse('AuditUserLinks', $optionalArgs, AuditUserLinksResponse::class, $request); + return $this->startCall('BatchCreateAccessBindings', BatchCreateAccessBindingsResponse::class, $optionalArgs, $request)->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. + * Deletes information about multiple users' links to an account or property. * * Sample code: * ``` @@ -1266,19 +1443,19 @@ public function auditUserLinks($parent, array $optionalArgs = []) * try { * $formattedParent = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); * $requests = []; - * $response = $analyticsAdminServiceClient->batchCreateAccessBindings($formattedParent, $requests); + * $analyticsAdminServiceClient->batchDeleteAccessBindings($formattedParent, $requests); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * * @param 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: + * of all provided values for the 'names' field in DeleteAccessBindingRequest + * messages must match this field. Formats: * - accounts/{account} * - properties/{property} - * @param CreateAccessBindingRequest[] $requests Required. The requests specifying the access bindings to create. - * A maximum of 1000 access bindings can be created in a batch. + * @param DeleteAccessBindingRequest[] $requests Required. The requests specifying the access bindings to delete. + * A maximum of 1000 access bindings can be deleted in a batch. * @param array $optionalArgs { * Optional. * @@ -1288,82 +1465,77 @@ public function auditUserLinks($parent, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\BatchCreateAccessBindingsResponse - * * @throws ApiException if the remote call fails * * @experimental */ - public function batchCreateAccessBindings($parent, $requests, array $optionalArgs = []) + public function batchDeleteAccessBindings($parent, $requests, array $optionalArgs = []) { - $request = new BatchCreateAccessBindingsRequest(); + $request = new BatchDeleteAccessBindingsRequest(); $requestParamHeaders = []; $request->setParent($parent); $request->setRequests($requests); $requestParamHeaders['parent'] = $parent; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('BatchCreateAccessBindings', BatchCreateAccessBindingsResponse::class, $optionalArgs, $request)->wait(); + return $this->startCall('BatchDeleteAccessBindings', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Creates information about multiple users' links to an account or property. - * - * This method is transactional. If any UserLink cannot be created, none of - * the UserLinks will be created. + * Gets information about multiple access bindings to an account or property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { * $formattedParent = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); - * $requests = []; - * $response = $analyticsAdminServiceClient->batchCreateUserLinks($formattedParent, $requests); + * $formattedNames = [ + * $analyticsAdminServiceClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'), + * ]; + * $response = $analyticsAdminServiceClient->batchGetAccessBindings($formattedParent, $formattedNames); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $parent Required. The account or property that all user links in the request are - * for. This field is required. The parent field in the CreateUserLinkRequest - * messages must either be empty or match this field. - * Example format: accounts/1234 - * @param CreateUserLinkRequest[] $requests Required. The requests specifying the user links to create. - * A maximum of 1000 user links can be created in a batch. - * @param array $optionalArgs { + * @param 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} + * @param 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} + * @param array $optionalArgs { * Optional. * - * @type bool $notifyNewUsers - * Optional. If set, then email the new users notifying them that they've been - * granted permissions to the resource. Regardless of whether this is set or - * not, notify_new_user field inside each individual request is ignored. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\BatchCreateUserLinksResponse + * @return \Google\Analytics\Admin\V1alpha\BatchGetAccessBindingsResponse * * @throws ApiException if the remote call fails * * @experimental */ - public function batchCreateUserLinks($parent, $requests, array $optionalArgs = []) + public function batchGetAccessBindings($parent, $names, array $optionalArgs = []) { - $request = new BatchCreateUserLinksRequest(); + $request = new BatchGetAccessBindingsRequest(); $requestParamHeaders = []; $request->setParent($parent); - $request->setRequests($requests); + $request->setNames($names); $requestParamHeaders['parent'] = $parent; - if (isset($optionalArgs['notifyNewUsers'])) { - $request->setNotifyNewUsers($optionalArgs['notifyNewUsers']); - } $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('BatchCreateUserLinks', BatchCreateUserLinksResponse::class, $optionalArgs, $request)->wait(); + return $this->startCall('BatchGetAccessBindings', BatchGetAccessBindingsResponse::class, $optionalArgs, $request)->wait(); } /** - * Deletes information about multiple users' links to an account or property. + * Updates information about multiple access bindings to an account or + * property. * * Sample code: * ``` @@ -1371,19 +1543,20 @@ public function batchCreateUserLinks($parent, $requests, array $optionalArgs = [ * try { * $formattedParent = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); * $requests = []; - * $analyticsAdminServiceClient->batchDeleteAccessBindings($formattedParent, $requests); + * $response = $analyticsAdminServiceClient->batchUpdateAccessBindings($formattedParent, $requests); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * * @param string $parent Required. The account or property that owns the access bindings. The parent - * field in the DeleteAccessBindingRequest messages must either be empty or - * match this field. Formats: + * of all provided AccessBinding in UpdateAccessBindingRequest messages must + * match this field. + * Formats: * - accounts/{account} * - properties/{property} - * @param DeleteAccessBindingRequest[] $requests Required. The requests specifying the access bindings to delete. - * A maximum of 1000 access bindings can be deleted in a batch. + * @param UpdateAccessBindingRequest[] $requests Required. The requests specifying the access bindings to update. + * A maximum of 1000 access bindings can be updated in a batch. * @param array $optionalArgs { * Optional. * @@ -1393,43 +1566,44 @@ public function batchCreateUserLinks($parent, $requests, array $optionalArgs = [ * {@see RetrySettings} for example usage. * } * + * @return \Google\Analytics\Admin\V1alpha\BatchUpdateAccessBindingsResponse + * * @throws ApiException if the remote call fails * * @experimental */ - public function batchDeleteAccessBindings($parent, $requests, array $optionalArgs = []) + public function batchUpdateAccessBindings($parent, $requests, array $optionalArgs = []) { - $request = new BatchDeleteAccessBindingsRequest(); + $request = new BatchUpdateAccessBindingsRequest(); $requestParamHeaders = []; $request->setParent($parent); $request->setRequests($requests); $requestParamHeaders['parent'] = $parent; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('BatchDeleteAccessBindings', GPBEmpty::class, $optionalArgs, $request)->wait(); + return $this->startCall('BatchUpdateAccessBindings', BatchUpdateAccessBindingsResponse::class, $optionalArgs, $request)->wait(); } /** - * Deletes information about multiple users' links to an account or property. + * 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. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedParent = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); - * $requests = []; - * $analyticsAdminServiceClient->batchDeleteUserLinks($formattedParent, $requests); + * $formattedName = $analyticsAdminServiceClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); + * $response = $analyticsAdminServiceClient->cancelDisplayVideo360AdvertiserLinkProposal($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $parent Required. The account or property that all user links in the request are - * for. The parent of all values for user link names to delete must match this - * field. - * Example format: accounts/1234 - * @param DeleteUserLinkRequest[] $requests Required. The requests specifying the user links to update. - * A maximum of 1000 user links can be updated in a batch. - * @param array $optionalArgs { + * @param string $name Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * @param array $optionalArgs { * Optional. * * @type RetrySettings|array $retrySettings @@ -1438,49 +1612,42 @@ public function batchDeleteAccessBindings($parent, $requests, array $optionalArg * {@see RetrySettings} for example usage. * } * + * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal + * * @throws ApiException if the remote call fails * * @experimental */ - public function batchDeleteUserLinks($parent, $requests, array $optionalArgs = []) + public function cancelDisplayVideo360AdvertiserLinkProposal($name, array $optionalArgs = []) { - $request = new BatchDeleteUserLinksRequest(); + $request = new CancelDisplayVideo360AdvertiserLinkProposalRequest(); $requestParamHeaders = []; - $request->setParent($parent); - $request->setRequests($requests); - $requestParamHeaders['parent'] = $parent; + $request->setName($name); + $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('BatchDeleteUserLinks', GPBEmpty::class, $optionalArgs, $request)->wait(); + return $this->startCall('CancelDisplayVideo360AdvertiserLinkProposal', DisplayVideo360AdvertiserLinkProposal::class, $optionalArgs, $request)->wait(); } /** - * Gets information about multiple access bindings to an account or property. + * Creates an access binding on an account or property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { * $formattedParent = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); - * $formattedNames = [ - * $analyticsAdminServiceClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'), - * ]; - * $response = $analyticsAdminServiceClient->batchGetAccessBindings($formattedParent, $formattedNames); + * $accessBinding = new AccessBinding(); + * $response = $analyticsAdminServiceClient->createAccessBinding($formattedParent, $accessBinding); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param 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} - * @param 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} - * @param array $optionalArgs { + * @param string $parent Required. Formats: + * - accounts/{account} + * - properties/{property} + * @param AccessBinding $accessBinding Required. The access binding to create. + * @param array $optionalArgs { * Optional. * * @type RetrySettings|array $retrySettings @@ -1489,48 +1656,43 @@ public function batchDeleteUserLinks($parent, $requests, array $optionalArgs = [ * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\BatchGetAccessBindingsResponse + * @return \Google\Analytics\Admin\V1alpha\AccessBinding * * @throws ApiException if the remote call fails * * @experimental */ - public function batchGetAccessBindings($parent, $names, array $optionalArgs = []) + public function createAccessBinding($parent, $accessBinding, array $optionalArgs = []) { - $request = new BatchGetAccessBindingsRequest(); + $request = new CreateAccessBindingRequest(); $requestParamHeaders = []; $request->setParent($parent); - $request->setNames($names); + $request->setAccessBinding($accessBinding); $requestParamHeaders['parent'] = $parent; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('BatchGetAccessBindings', BatchGetAccessBindingsResponse::class, $optionalArgs, $request)->wait(); + return $this->startCall('CreateAccessBinding', AccessBinding::class, $optionalArgs, $request)->wait(); } /** - * Gets information about multiple users' links to an account or property. + * Creates an AdSenseLink. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedParent = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); - * $formattedNames = [ - * $analyticsAdminServiceClient->userLinkName('[ACCOUNT]', '[USER_LINK]'), - * ]; - * $response = $analyticsAdminServiceClient->batchGetUserLinks($formattedParent, $formattedNames); + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * $adsenseLink = new AdSenseLink(); + * $response = $analyticsAdminServiceClient->createAdSenseLink($formattedParent, $adsenseLink); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $parent Required. The account or property that all user links in the request are - * for. The parent of all provided values for the 'names' field must match - * this field. - * Example format: accounts/1234 - * @param string[] $names Required. The names of the user links to retrieve. - * A maximum of 1000 user links can be retrieved in a batch. - * Format: accounts/{accountId}/userLinks/{userLinkId} - * @param array $optionalArgs { + * @param string $parent Required. The property for which to create an AdSense Link. + * Format: properties/{propertyId} + * Example: properties/1234 + * @param AdSenseLink $adsenseLink Required. The AdSense Link to create + * @param array $optionalArgs { * Optional. * * @type RetrySettings|array $retrySettings @@ -1539,47 +1701,41 @@ public function batchGetAccessBindings($parent, $names, array $optionalArgs = [] * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\BatchGetUserLinksResponse + * @return \Google\Analytics\Admin\V1alpha\AdSenseLink * * @throws ApiException if the remote call fails * * @experimental */ - public function batchGetUserLinks($parent, $names, array $optionalArgs = []) + public function createAdSenseLink($parent, $adsenseLink, array $optionalArgs = []) { - $request = new BatchGetUserLinksRequest(); + $request = new CreateAdSenseLinkRequest(); $requestParamHeaders = []; $request->setParent($parent); - $request->setNames($names); + $request->setAdsenseLink($adsenseLink); $requestParamHeaders['parent'] = $parent; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('BatchGetUserLinks', BatchGetUserLinksResponse::class, $optionalArgs, $request)->wait(); + return $this->startCall('CreateAdSenseLink', AdSenseLink::class, $optionalArgs, $request)->wait(); } /** - * Updates information about multiple access bindings to an account or - * property. + * Creates an Audience. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedParent = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); - * $requests = []; - * $response = $analyticsAdminServiceClient->batchUpdateAccessBindings($formattedParent, $requests); + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * $audience = new Audience(); + * $response = $analyticsAdminServiceClient->createAudience($formattedParent, $audience); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $parent Required. The account or property that owns the access bindings. The parent - * field in the UpdateAccessBindingRequest messages must either be empty or - * match this field. Formats: - * - accounts/{account} - * - properties/{property} - * @param UpdateAccessBindingRequest[] $requests Required. The requests specifying the access bindings to update. - * A maximum of 1000 access bindings can be updated in a batch. - * @param array $optionalArgs { + * @param string $parent Required. Example format: properties/1234 + * @param Audience $audience Required. The audience to create. + * @param array $optionalArgs { * Optional. * * @type RetrySettings|array $retrySettings @@ -1588,45 +1744,51 @@ public function batchGetUserLinks($parent, $names, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\BatchUpdateAccessBindingsResponse + * @return \Google\Analytics\Admin\V1alpha\Audience * * @throws ApiException if the remote call fails * * @experimental */ - public function batchUpdateAccessBindings($parent, $requests, array $optionalArgs = []) + public function createAudience($parent, $audience, array $optionalArgs = []) { - $request = new BatchUpdateAccessBindingsRequest(); + $request = new CreateAudienceRequest(); $requestParamHeaders = []; $request->setParent($parent); - $request->setRequests($requests); + $request->setAudience($audience); $requestParamHeaders['parent'] = $parent; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('BatchUpdateAccessBindings', BatchUpdateAccessBindingsResponse::class, $optionalArgs, $request)->wait(); + return $this->startCall('CreateAudience', Audience::class, $optionalArgs, $request)->wait(); } /** - * Updates information about multiple users' links to an account or property. + * Creates a CalculatedMetric. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedParent = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); - * $requests = []; - * $response = $analyticsAdminServiceClient->batchUpdateUserLinks($formattedParent, $requests); + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * $calculatedMetricId = 'calculated_metric_id'; + * $calculatedMetric = new CalculatedMetric(); + * $response = $analyticsAdminServiceClient->createCalculatedMetric($formattedParent, $calculatedMetricId, $calculatedMetric); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $parent Required. The account or property that all user links in the request are - * for. The parent field in the UpdateUserLinkRequest messages must either be - * empty or match this field. - * Example format: accounts/1234 - * @param UpdateUserLinkRequest[] $requests Required. The requests specifying the user links to update. - * A maximum of 1000 user links can be updated in a batch. - * @param array $optionalArgs { + * @param string $parent Required. Format: properties/{property_id} + * Example: properties/1234 + * @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}". + * @param CalculatedMetric $calculatedMetric Required. The CalculatedMetric to create. + * @param array $optionalArgs { * Optional. * * @type RetrySettings|array $retrySettings @@ -1635,88 +1797,43 @@ public function batchUpdateAccessBindings($parent, $requests, array $optionalArg * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\BatchUpdateUserLinksResponse + * @return \Google\Analytics\Admin\V1alpha\CalculatedMetric * * @throws ApiException if the remote call fails * * @experimental */ - public function batchUpdateUserLinks($parent, $requests, array $optionalArgs = []) + public function createCalculatedMetric($parent, $calculatedMetricId, $calculatedMetric, array $optionalArgs = []) { - $request = new BatchUpdateUserLinksRequest(); + $request = new CreateCalculatedMetricRequest(); $requestParamHeaders = []; $request->setParent($parent); - $request->setRequests($requests); + $request->setCalculatedMetricId($calculatedMetricId); + $request->setCalculatedMetric($calculatedMetric); $requestParamHeaders['parent'] = $parent; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('BatchUpdateUserLinks', BatchUpdateUserLinksResponse::class, $optionalArgs, $request)->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. - * - * Sample code: - * ``` - * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); - * try { - * $formattedName = $analyticsAdminServiceClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); - * $response = $analyticsAdminServiceClient->cancelDisplayVideo360AdvertiserLinkProposal($formattedName); - * } finally { - * $analyticsAdminServiceClient->close(); - * } - * ``` - * - * @param string $name Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal - * - * @throws ApiException if the remote call fails - * - * @experimental - */ - public function cancelDisplayVideo360AdvertiserLinkProposal($name, array $optionalArgs = []) - { - $request = new CancelDisplayVideo360AdvertiserLinkProposalRequest(); - $requestParamHeaders = []; - $request->setName($name); - $requestParamHeaders['name'] = $name; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('CancelDisplayVideo360AdvertiserLinkProposal', DisplayVideo360AdvertiserLinkProposal::class, $optionalArgs, $request)->wait(); + return $this->startCall('CreateCalculatedMetric', CalculatedMetric::class, $optionalArgs, $request)->wait(); } /** - * Creates an access binding on an account or property. + * Creates a ChannelGroup. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedParent = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); - * $accessBinding = new AccessBinding(); - * $response = $analyticsAdminServiceClient->createAccessBinding($formattedParent, $accessBinding); + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * $channelGroup = new ChannelGroup(); + * $response = $analyticsAdminServiceClient->createChannelGroup($formattedParent, $channelGroup); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $parent Required. Formats: - * - accounts/{account} - * - properties/{property} - * @param AccessBinding $accessBinding Required. The access binding to create. - * @param array $optionalArgs { + * @param string $parent Required. The property for which to create a ChannelGroup. + * Example format: properties/1234 + * @param ChannelGroup $channelGroup Required. The ChannelGroup to create. + * @param array $optionalArgs { * Optional. * * @type RetrySettings|array $retrySettings @@ -1725,65 +1842,68 @@ public function cancelDisplayVideo360AdvertiserLinkProposal($name, array $option * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\AccessBinding + * @return \Google\Analytics\Admin\V1alpha\ChannelGroup * * @throws ApiException if the remote call fails * * @experimental */ - public function createAccessBinding($parent, $accessBinding, array $optionalArgs = []) + public function createChannelGroup($parent, $channelGroup, array $optionalArgs = []) { - $request = new CreateAccessBindingRequest(); + $request = new CreateChannelGroupRequest(); $requestParamHeaders = []; $request->setParent($parent); - $request->setAccessBinding($accessBinding); + $request->setChannelGroup($channelGroup); $requestParamHeaders['parent'] = $parent; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('CreateAccessBinding', AccessBinding::class, $optionalArgs, $request)->wait(); + return $this->startCall('CreateChannelGroup', ChannelGroup::class, $optionalArgs, $request)->wait(); } /** - * Creates an Audience. + * Creates a connected site tag for a Universal Analytics property. You can + * create a maximum of 20 connected site tags per property. + * Note: This API cannot be used on GA4 properties. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); - * $audience = new Audience(); - * $response = $analyticsAdminServiceClient->createAudience($formattedParent, $audience); + * $connectedSiteTag = new ConnectedSiteTag(); + * $response = $analyticsAdminServiceClient->createConnectedSiteTag($connectedSiteTag); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $parent Required. Example format: properties/1234 - * @param Audience $audience Required. The audience to create. - * @param array $optionalArgs { + * @param ConnectedSiteTag $connectedSiteTag Required. The tag to add to the Universal Analytics property + * @param array $optionalArgs { * Optional. * + * @type string $property + * The Universal Analytics property to create connected site tags for. + * This API does not support GA4 properties. + * Format: properties/{universalAnalyticsPropertyId} + * Example: properties/1234 * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\Audience + * @return \Google\Analytics\Admin\V1alpha\CreateConnectedSiteTagResponse * * @throws ApiException if the remote call fails * * @experimental */ - public function createAudience($parent, $audience, array $optionalArgs = []) + public function createConnectedSiteTag($connectedSiteTag, array $optionalArgs = []) { - $request = new CreateAudienceRequest(); - $requestParamHeaders = []; - $request->setParent($parent); - $request->setAudience($audience); - $requestParamHeaders['parent'] = $parent; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('CreateAudience', Audience::class, $optionalArgs, $request)->wait(); + $request = new CreateConnectedSiteTagRequest(); + $request->setConnectedSiteTag($connectedSiteTag); + if (isset($optionalArgs['property'])) { + $request->setProperty($optionalArgs['property']); + } + return $this->startCall('CreateConnectedSiteTag', CreateConnectedSiteTagResponse::class, $optionalArgs, $request)->wait(); } /** * Creates a conversion event with the specified attributes. @@ -2048,6 +2168,49 @@ public function createDisplayVideo360AdvertiserLinkProposal($parent, $displayVid $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); return $this->startCall('CreateDisplayVideo360AdvertiserLinkProposal', DisplayVideo360AdvertiserLinkProposal::class, $optionalArgs, $request)->wait(); } + /** + * Creates an EventCreateRule. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedParent = $analyticsAdminServiceClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + * $eventCreateRule = new EventCreateRule(); + * $response = $analyticsAdminServiceClient->createEventCreateRule($formattedParent, $eventCreateRule); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $parent Required. Example format: properties/123/dataStreams/456 + * @param EventCreateRule $eventCreateRule Required. The EventCreateRule to create. + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\EventCreateRule + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function createEventCreateRule($parent, $eventCreateRule, array $optionalArgs = []) + { + $request = new CreateEventCreateRuleRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $request->setEventCreateRule($eventCreateRule); + $requestParamHeaders['parent'] = $parent; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('CreateEventCreateRule', EventCreateRule::class, $optionalArgs, $request)->wait(); + } /** * Creates a ExpandedDataSet. * @@ -2262,119 +2425,112 @@ public function createProperty($property, array $optionalArgs = []) return $this->startCall('CreateProperty', Property::class, $optionalArgs, $request)->wait(); } /** - * Creates a SearchAds360Link. + * Create a roll-up property and all roll-up property source links. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); - * $searchAds360Link = new SearchAds360Link(); - * $response = $analyticsAdminServiceClient->createSearchAds360Link($formattedParent, $searchAds360Link); + * $rollupProperty = new Property(); + * $response = $analyticsAdminServiceClient->createRollupProperty($rollupProperty); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $parent Required. Example format: properties/1234 - * @param SearchAds360Link $searchAds360Link Required. The SearchAds360Link to create. - * @param array $optionalArgs { + * @param Property $rollupProperty Required. The roll-up property to create. + * @param array $optionalArgs { * Optional. * + * @type string[] $sourceProperties + * Optional. The resource names of properties that will be sources to the + * created roll-up property. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\SearchAds360Link + * @return \Google\Analytics\Admin\V1alpha\CreateRollupPropertyResponse * * @throws ApiException if the remote call fails * * @experimental */ - public function createSearchAds360Link($parent, $searchAds360Link, array $optionalArgs = []) + public function createRollupProperty($rollupProperty, array $optionalArgs = []) { - $request = new CreateSearchAds360LinkRequest(); - $requestParamHeaders = []; - $request->setParent($parent); - $request->setSearchAds360Link($searchAds360Link); - $requestParamHeaders['parent'] = $parent; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('CreateSearchAds360Link', SearchAds360Link::class, $optionalArgs, $request)->wait(); + $request = new CreateRollupPropertyRequest(); + $request->setRollupProperty($rollupProperty); + if (isset($optionalArgs['sourceProperties'])) { + $request->setSourceProperties($optionalArgs['sourceProperties']); + } + return $this->startCall('CreateRollupProperty', CreateRollupPropertyResponse::class, $optionalArgs, $request)->wait(); } /** - * Creates a user link on an account or property. - * - * If the user with the specified email already has permissions on the - * account or property, then the user's existing permissions will be unioned - * with the permissions specified in the new UserLink. + * 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. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedParent = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); - * $userLink = new UserLink(); - * $response = $analyticsAdminServiceClient->createUserLink($formattedParent, $userLink); + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * $rollupPropertySourceLink = new RollupPropertySourceLink(); + * $response = $analyticsAdminServiceClient->createRollupPropertySourceLink($formattedParent, $rollupPropertySourceLink); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $parent Required. Example format: accounts/1234 - * @param UserLink $userLink Required. The user link to create. - * @param array $optionalArgs { + * @param string $parent Required. Format: properties/{property_id} + * Example: properties/1234 + * @param RollupPropertySourceLink $rollupPropertySourceLink Required. The roll-up property source link to create. + * @param array $optionalArgs { * Optional. * - * @type bool $notifyNewUser - * Optional. If set, then email the new user notifying them that they've been - * granted permissions to the resource. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\UserLink + * @return \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink * * @throws ApiException if the remote call fails * * @experimental */ - public function createUserLink($parent, $userLink, array $optionalArgs = []) + public function createRollupPropertySourceLink($parent, $rollupPropertySourceLink, array $optionalArgs = []) { - $request = new CreateUserLinkRequest(); + $request = new CreateRollupPropertySourceLinkRequest(); $requestParamHeaders = []; $request->setParent($parent); - $request->setUserLink($userLink); + $request->setRollupPropertySourceLink($rollupPropertySourceLink); $requestParamHeaders['parent'] = $parent; - if (isset($optionalArgs['notifyNewUser'])) { - $request->setNotifyNewUser($optionalArgs['notifyNewUser']); - } $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('CreateUserLink', UserLink::class, $optionalArgs, $request)->wait(); + return $this->startCall('CreateRollupPropertySourceLink', RollupPropertySourceLink::class, $optionalArgs, $request)->wait(); } /** - * Deletes an access binding on an account or property. + * Creates a SKAdNetworkConversionValueSchema. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); - * $analyticsAdminServiceClient->deleteAccessBinding($formattedName); + * $formattedParent = $analyticsAdminServiceClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + * $skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(); + * $response = $analyticsAdminServiceClient->createSKAdNetworkConversionValueSchema($formattedParent, $skadnetworkConversionValueSchema); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * @param array $optionalArgs { + * @param string $parent Required. The parent resource where this schema will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * @param SKAdNetworkConversionValueSchema $skadnetworkConversionValueSchema Required. SKAdNetwork conversion value schema to create. + * @param array $optionalArgs { * Optional. * * @type RetrySettings|array $retrySettings @@ -2383,48 +2539,41 @@ public function createUserLink($parent, $userLink, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * + * @return \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema + * * @throws ApiException if the remote call fails * * @experimental */ - public function deleteAccessBinding($name, array $optionalArgs = []) + public function createSKAdNetworkConversionValueSchema($parent, $skadnetworkConversionValueSchema, array $optionalArgs = []) { - $request = new DeleteAccessBindingRequest(); + $request = new CreateSKAdNetworkConversionValueSchemaRequest(); $requestParamHeaders = []; - $request->setName($name); - $requestParamHeaders['name'] = $name; + $request->setParent($parent); + $request->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema); + $requestParamHeaders['parent'] = $parent; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteAccessBinding', GPBEmpty::class, $optionalArgs, $request)->wait(); + return $this->startCall('CreateSKAdNetworkConversionValueSchema', SKAdNetworkConversionValueSchema::class, $optionalArgs, $request)->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, - * UserLinks) will be permanently purged. - * https://support.google.com/analytics/answer/6154772 - * - * Returns an error if the target is not found. + * Creates a SearchAds360Link. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); - * $analyticsAdminServiceClient->deleteAccount($formattedName); + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * $searchAds360Link = new SearchAds360Link(); + * $response = $analyticsAdminServiceClient->createSearchAds360Link($formattedParent, $searchAds360Link); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the Account to soft-delete. - * Format: accounts/{account} - * Example: "accounts/100" - * @param array $optionalArgs { + * @param string $parent Required. Example format: properties/1234 + * @param SearchAds360Link $searchAds360Link Required. The SearchAds360Link to create. + * @param array $optionalArgs { * Optional. * * @type RetrySettings|array $retrySettings @@ -2433,77 +2582,89 @@ public function deleteAccessBinding($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * + * @return \Google\Analytics\Admin\V1alpha\SearchAds360Link + * * @throws ApiException if the remote call fails * * @experimental */ - public function deleteAccount($name, array $optionalArgs = []) + public function createSearchAds360Link($parent, $searchAds360Link, array $optionalArgs = []) { - $request = new DeleteAccountRequest(); + $request = new CreateSearchAds360LinkRequest(); $requestParamHeaders = []; - $request->setName($name); - $requestParamHeaders['name'] = $name; + $request->setParent($parent); + $request->setSearchAds360Link($searchAds360Link); + $requestParamHeaders['parent'] = $parent; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteAccount', GPBEmpty::class, $optionalArgs, $request)->wait(); + return $this->startCall('CreateSearchAds360Link', SearchAds360Link::class, $optionalArgs, $request)->wait(); } /** - * Deletes a conversion event in a property. + * Create a subproperty and a subproperty event filter that applies to the + * created subproperty. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); - * $analyticsAdminServiceClient->deleteConversionEvent($formattedName); + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * $subproperty = new Property(); + * $response = $analyticsAdminServiceClient->createSubproperty($formattedParent, $subproperty); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The resource name of the conversion event to delete. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * @param array $optionalArgs { + * @param string $parent Required. The ordinary property for which to create a subproperty. + * Format: properties/property_id + * Example: properties/123 + * @param Property $subproperty Required. The subproperty to create. + * @param array $optionalArgs { * Optional. * + * @type SubpropertyEventFilter $subpropertyEventFilter + * Optional. The subproperty event filter to create on an ordinary property. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on * {@see RetrySettings} for example usage. * } * + * @return \Google\Analytics\Admin\V1alpha\CreateSubpropertyResponse + * * @throws ApiException if the remote call fails * * @experimental */ - public function deleteConversionEvent($name, array $optionalArgs = []) + public function createSubproperty($parent, $subproperty, array $optionalArgs = []) { - $request = new DeleteConversionEventRequest(); - $requestParamHeaders = []; - $request->setName($name); - $requestParamHeaders['name'] = $name; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteConversionEvent', GPBEmpty::class, $optionalArgs, $request)->wait(); + $request = new CreateSubpropertyRequest(); + $request->setParent($parent); + $request->setSubproperty($subproperty); + if (isset($optionalArgs['subpropertyEventFilter'])) { + $request->setSubpropertyEventFilter($optionalArgs['subpropertyEventFilter']); + } + return $this->startCall('CreateSubproperty', CreateSubpropertyResponse::class, $optionalArgs, $request)->wait(); } /** - * Deletes a DataStream on a property. + * Creates a subproperty Event Filter. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - * $analyticsAdminServiceClient->deleteDataStream($formattedName); + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * $subpropertyEventFilter = new SubpropertyEventFilter(); + * $response = $analyticsAdminServiceClient->createSubpropertyEventFilter($formattedParent, $subpropertyEventFilter); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the DataStream to delete. - * Example format: properties/1234/dataStreams/5678 - * @param array $optionalArgs { + * @param string $parent Required. The ordinary property for which to create a subproperty event + * filter. Format: properties/property_id Example: properties/123 + * @param SubpropertyEventFilter $subpropertyEventFilter Required. The subproperty event filter to create. + * @param array $optionalArgs { * Optional. * * @type RetrySettings|array $retrySettings @@ -2512,36 +2673,40 @@ public function deleteConversionEvent($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * + * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter + * * @throws ApiException if the remote call fails * * @experimental */ - public function deleteDataStream($name, array $optionalArgs = []) + public function createSubpropertyEventFilter($parent, $subpropertyEventFilter, array $optionalArgs = []) { - $request = new DeleteDataStreamRequest(); + $request = new CreateSubpropertyEventFilterRequest(); $requestParamHeaders = []; - $request->setName($name); - $requestParamHeaders['name'] = $name; + $request->setParent($parent); + $request->setSubpropertyEventFilter($subpropertyEventFilter); + $requestParamHeaders['parent'] = $parent; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteDataStream', GPBEmpty::class, $optionalArgs, $request)->wait(); + return $this->startCall('CreateSubpropertyEventFilter', SubpropertyEventFilter::class, $optionalArgs, $request)->wait(); } /** - * Deletes a DisplayVideo360AdvertiserLink on a property. + * Deletes an access binding on an account or property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->displayVideo360AdvertiserLinkName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK]'); - * $analyticsAdminServiceClient->deleteDisplayVideo360AdvertiserLink($formattedName); + * $formattedName = $analyticsAdminServiceClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); + * $analyticsAdminServiceClient->deleteAccessBinding($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the DisplayVideo360AdvertiserLink to delete. - * Example format: properties/1234/displayVideo360AdvertiserLinks/5678 + * @param string $name Required. Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} * @param array $optionalArgs { * Optional. * @@ -2555,33 +2720,43 @@ public function deleteDataStream($name, array $optionalArgs = []) * * @experimental */ - public function deleteDisplayVideo360AdvertiserLink($name, array $optionalArgs = []) + public function deleteAccessBinding($name, array $optionalArgs = []) { - $request = new DeleteDisplayVideo360AdvertiserLinkRequest(); + $request = new DeleteAccessBindingRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteDisplayVideo360AdvertiserLink', GPBEmpty::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteAccessBinding', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Deletes a DisplayVideo360AdvertiserLinkProposal on a property. - * This can only be used on cancelled proposals. + * 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. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); - * $analyticsAdminServiceClient->deleteDisplayVideo360AdvertiserLinkProposal($formattedName); + * $formattedName = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); + * $analyticsAdminServiceClient->deleteAccount($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * @param string $name Required. The name of the Account to soft-delete. + * Format: accounts/{account} + * Example: "accounts/100" * @param array $optionalArgs { * Optional. * @@ -2595,31 +2770,33 @@ public function deleteDisplayVideo360AdvertiserLink($name, array $optionalArgs = * * @experimental */ - public function deleteDisplayVideo360AdvertiserLinkProposal($name, array $optionalArgs = []) + public function deleteAccount($name, array $optionalArgs = []) { - $request = new DeleteDisplayVideo360AdvertiserLinkProposalRequest(); + $request = new DeleteAccountRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteDisplayVideo360AdvertiserLinkProposal', GPBEmpty::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteAccount', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Deletes a ExpandedDataSet on a property. + * Deletes an AdSenseLink. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->expandedDataSetName('[PROPERTY]', '[EXPANDED_DATA_SET]'); - * $analyticsAdminServiceClient->deleteExpandedDataSet($formattedName); + * $formattedName = $analyticsAdminServiceClient->adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); + * $analyticsAdminServiceClient->deleteAdSenseLink($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. Example format: properties/1234/expandedDataSets/5678 + * @param string $name Required. Unique identifier for the AdSense Link to be deleted. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/5678 * @param array $optionalArgs { * Optional. * @@ -2633,32 +2810,33 @@ public function deleteDisplayVideo360AdvertiserLinkProposal($name, array $option * * @experimental */ - public function deleteExpandedDataSet($name, array $optionalArgs = []) + public function deleteAdSenseLink($name, array $optionalArgs = []) { - $request = new DeleteExpandedDataSetRequest(); + $request = new DeleteAdSenseLinkRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteExpandedDataSet', GPBEmpty::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteAdSenseLink', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Deletes a FirebaseLink on a property + * Deletes a CalculatedMetric on a property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); - * $analyticsAdminServiceClient->deleteFirebaseLink($formattedName); + * $formattedName = $analyticsAdminServiceClient->calculatedMetricName('[PROPERTY]', '[CALCULATED_METRIC]'); + * $analyticsAdminServiceClient->deleteCalculatedMetric($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - * Example: properties/1234/firebaseLinks/5678 + * @param string $name Required. The name of the CalculatedMetric to delete. + * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + * Example: properties/1234/calculatedMetrics/Metric01 * @param array $optionalArgs { * Optional. * @@ -2672,31 +2850,32 @@ public function deleteExpandedDataSet($name, array $optionalArgs = []) * * @experimental */ - public function deleteFirebaseLink($name, array $optionalArgs = []) + public function deleteCalculatedMetric($name, array $optionalArgs = []) { - $request = new DeleteFirebaseLinkRequest(); + $request = new DeleteCalculatedMetricRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteFirebaseLink', GPBEmpty::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteCalculatedMetric', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Deletes a GoogleAdsLink on a property + * Deletes a ChannelGroup on a property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); - * $analyticsAdminServiceClient->deleteGoogleAdsLink($formattedName); + * $formattedName = $analyticsAdminServiceClient->channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); + * $analyticsAdminServiceClient->deleteChannelGroup($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. Example format: properties/1234/googleAdsLinks/5678 + * @param string $name Required. The ChannelGroup to delete. + * Example format: properties/1234/channelGroups/5678 * @param array $optionalArgs { * Optional. * @@ -2710,36 +2889,41 @@ public function deleteFirebaseLink($name, array $optionalArgs = []) * * @experimental */ - public function deleteGoogleAdsLink($name, array $optionalArgs = []) + public function deleteChannelGroup($name, array $optionalArgs = []) { - $request = new DeleteGoogleAdsLinkRequest(); + $request = new DeleteChannelGroupRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteGoogleAdsLink', GPBEmpty::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteChannelGroup', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Deletes target MeasurementProtocolSecret. + * Deletes a connected site tag for a Universal Analytics property. + * Note: this has no effect on GA4 properties. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); - * $analyticsAdminServiceClient->deleteMeasurementProtocolSecret($formattedName); + * $analyticsAdminServiceClient->deleteConnectedSiteTag(); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the MeasurementProtocolSecret to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * @param array $optionalArgs { + * @param array $optionalArgs { * Optional. * + * @type string $property + * The Universal Analytics property to delete connected site tags for. + * This API does not support GA4 properties. + * Format: properties/{universalAnalyticsPropertyId} + * Example: properties/1234 + * @type string $tagId + * Tag ID to forward events to. Also known as the Measurement ID, or the + * "G-ID" (For example: G-12345). * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on @@ -2750,43 +2934,34 @@ public function deleteGoogleAdsLink($name, array $optionalArgs = []) * * @experimental */ - public function deleteMeasurementProtocolSecret($name, array $optionalArgs = []) + public function deleteConnectedSiteTag(array $optionalArgs = []) { - $request = new DeleteMeasurementProtocolSecretRequest(); - $requestParamHeaders = []; - $request->setName($name); - $requestParamHeaders['name'] = $name; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteMeasurementProtocolSecret', GPBEmpty::class, $optionalArgs, $request)->wait(); + $request = new DeleteConnectedSiteTagRequest(); + if (isset($optionalArgs['property'])) { + $request->setProperty($optionalArgs['property']); + } + if (isset($optionalArgs['tagId'])) { + $request->setTagId($optionalArgs['tagId']); + } + return $this->startCall('DeleteConnectedSiteTag', GPBEmpty::class, $optionalArgs, $request)->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, UserLinks) - * will be permanently purged. - * https://support.google.com/analytics/answer/6154772 - * - * Returns an error if the target is not found, or is not a GA4 Property. + * Deletes a conversion event in a property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); - * $response = $analyticsAdminServiceClient->deleteProperty($formattedName); + * $formattedName = $analyticsAdminServiceClient->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); + * $analyticsAdminServiceClient->deleteConversionEvent($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the Property to soft-delete. - * Format: properties/{property_id} - * Example: "properties/1000" + * @param string $name Required. The resource name of the conversion event to delete. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" * @param array $optionalArgs { * Optional. * @@ -2796,38 +2971,36 @@ public function deleteMeasurementProtocolSecret($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\Property - * * @throws ApiException if the remote call fails * * @experimental */ - public function deleteProperty($name, array $optionalArgs = []) + public function deleteConversionEvent($name, array $optionalArgs = []) { - $request = new DeletePropertyRequest(); + $request = new DeleteConversionEventRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteProperty', Property::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteConversionEvent', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Deletes a SearchAds360Link on a property. + * Deletes a DataStream on a property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->searchAds360LinkName('[PROPERTY]', '[SEARCH_ADS_360_LINK]'); - * $analyticsAdminServiceClient->deleteSearchAds360Link($formattedName); + * $formattedName = $analyticsAdminServiceClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + * $analyticsAdminServiceClient->deleteDataStream($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the SearchAds360Link to delete. - * Example format: properties/1234/SearchAds360Links/5678 + * @param string $name Required. The name of the DataStream to delete. + * Example format: properties/1234/dataStreams/5678 * @param array $optionalArgs { * Optional. * @@ -2841,31 +3014,32 @@ public function deleteProperty($name, array $optionalArgs = []) * * @experimental */ - public function deleteSearchAds360Link($name, array $optionalArgs = []) + public function deleteDataStream($name, array $optionalArgs = []) { - $request = new DeleteSearchAds360LinkRequest(); + $request = new DeleteDataStreamRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteSearchAds360Link', GPBEmpty::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteDataStream', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Deletes a user link on an account or property. + * Deletes a DisplayVideo360AdvertiserLink on a property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->userLinkName('[ACCOUNT]', '[USER_LINK]'); - * $analyticsAdminServiceClient->deleteUserLink($formattedName); + * $formattedName = $analyticsAdminServiceClient->displayVideo360AdvertiserLinkName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK]'); + * $analyticsAdminServiceClient->deleteDisplayVideo360AdvertiserLink($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. Example format: accounts/1234/userLinks/5678 + * @param string $name Required. The name of the DisplayVideo360AdvertiserLink to delete. + * Example format: properties/1234/displayVideo360AdvertiserLinks/5678 * @param array $optionalArgs { * Optional. * @@ -2879,36 +3053,33 @@ public function deleteSearchAds360Link($name, array $optionalArgs = []) * * @experimental */ - public function deleteUserLink($name, array $optionalArgs = []) + public function deleteDisplayVideo360AdvertiserLink($name, array $optionalArgs = []) { - $request = new DeleteUserLinkRequest(); + $request = new DeleteDisplayVideo360AdvertiserLinkRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DeleteUserLink', GPBEmpty::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteDisplayVideo360AdvertiserLink', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Fetches the opt out status for the automated GA4 setup process for a UA - * property. - * Note: this has no effect on GA4 property. + * Deletes a DisplayVideo360AdvertiserLinkProposal on a property. + * This can only be used on cancelled proposals. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $property = 'property'; - * $response = $analyticsAdminServiceClient->fetchAutomatedGa4ConfigurationOptOut($property); + * $formattedName = $analyticsAdminServiceClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); + * $analyticsAdminServiceClient->deleteDisplayVideo360AdvertiserLinkProposal($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $property Required. The UA property to get the opt out status. Note this request uses - * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internalWebPropertyId} - * Example: properties/1234 + * @param string $name Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 * @param array $optionalArgs { * Optional. * @@ -2918,36 +3089,36 @@ public function deleteUserLink($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\FetchAutomatedGa4ConfigurationOptOutResponse - * * @throws ApiException if the remote call fails * * @experimental */ - public function fetchAutomatedGa4ConfigurationOptOut($property, array $optionalArgs = []) + public function deleteDisplayVideo360AdvertiserLinkProposal($name, array $optionalArgs = []) { - $request = new FetchAutomatedGa4ConfigurationOptOutRequest(); - $request->setProperty($property); - return $this->startCall('FetchAutomatedGa4ConfigurationOptOut', FetchAutomatedGa4ConfigurationOptOutResponse::class, $optionalArgs, $request)->wait(); + $request = new DeleteDisplayVideo360AdvertiserLinkProposalRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('DeleteDisplayVideo360AdvertiserLinkProposal', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Gets information about an access binding. + * Deletes an EventCreateRule. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); - * $response = $analyticsAdminServiceClient->getAccessBinding($formattedName); + * $formattedName = $analyticsAdminServiceClient->eventCreateRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_CREATE_RULE]'); + * $analyticsAdminServiceClient->deleteEventCreateRule($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the access binding to retrieve. - * Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} + * @param string $name Required. Example format: + * properties/123/dataStreams/456/eventCreateRules/789 * @param array $optionalArgs { * Optional. * @@ -2957,39 +3128,35 @@ public function fetchAutomatedGa4ConfigurationOptOut($property, array $optionalA * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\AccessBinding - * * @throws ApiException if the remote call fails * * @experimental */ - public function getAccessBinding($name, array $optionalArgs = []) + public function deleteEventCreateRule($name, array $optionalArgs = []) { - $request = new GetAccessBindingRequest(); + $request = new DeleteEventCreateRuleRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetAccessBinding', AccessBinding::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteEventCreateRule', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Lookup for a single Account. + * Deletes a ExpandedDataSet on a property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); - * $response = $analyticsAdminServiceClient->getAccount($formattedName); + * $formattedName = $analyticsAdminServiceClient->expandedDataSetName('[PROPERTY]', '[EXPANDED_DATA_SET]'); + * $analyticsAdminServiceClient->deleteExpandedDataSet($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the account to lookup. - * Format: accounts/{account} - * Example: "accounts/100" + * @param string $name Required. Example format: properties/1234/expandedDataSets/5678 * @param array $optionalArgs { * Optional. * @@ -2999,38 +3166,36 @@ public function getAccessBinding($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\Account - * * @throws ApiException if the remote call fails * * @experimental */ - public function getAccount($name, array $optionalArgs = []) + public function deleteExpandedDataSet($name, array $optionalArgs = []) { - $request = new GetAccountRequest(); + $request = new DeleteExpandedDataSetRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetAccount', Account::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteExpandedDataSet', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Lookup for a AttributionSettings singleton. + * Deletes a FirebaseLink on a property * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->attributionSettingsName('[PROPERTY]'); - * $response = $analyticsAdminServiceClient->getAttributionSettings($formattedName); + * $formattedName = $analyticsAdminServiceClient->firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); + * $analyticsAdminServiceClient->deleteFirebaseLink($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the attribution settings to retrieve. - * Format: properties/{property}/attributionSettings + * @param string $name Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + * Example: properties/1234/firebaseLinks/5678 * @param array $optionalArgs { * Optional. * @@ -3040,40 +3205,35 @@ public function getAccount($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\AttributionSettings - * * @throws ApiException if the remote call fails * * @experimental */ - public function getAttributionSettings($name, array $optionalArgs = []) + public function deleteFirebaseLink($name, array $optionalArgs = []) { - $request = new GetAttributionSettingsRequest(); + $request = new DeleteFirebaseLinkRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetAttributionSettings', AttributionSettings::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteFirebaseLink', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Lookup for a single Audience. - * Audiences created before 2020 may not be supported. - * Default audiences will not show filter definitions. + * Deletes a GoogleAdsLink on a property * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->audienceName('[PROPERTY]', '[AUDIENCE]'); - * $response = $analyticsAdminServiceClient->getAudience($formattedName); + * $formattedName = $analyticsAdminServiceClient->googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); + * $analyticsAdminServiceClient->deleteGoogleAdsLink($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the Audience to get. - * Example format: properties/1234/audiences/5678 + * @param string $name Required. Example format: properties/1234/googleAdsLinks/5678 * @param array $optionalArgs { * Optional. * @@ -3083,39 +3243,37 @@ public function getAttributionSettings($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\Audience - * * @throws ApiException if the remote call fails * * @experimental */ - public function getAudience($name, array $optionalArgs = []) + public function deleteGoogleAdsLink($name, array $optionalArgs = []) { - $request = new GetAudienceRequest(); + $request = new DeleteGoogleAdsLinkRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetAudience', Audience::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteGoogleAdsLink', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Lookup for a single BigQuery Link. + * Deletes target MeasurementProtocolSecret. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]'); - * $response = $analyticsAdminServiceClient->getBigQueryLink($formattedName); - * } finally { + * $formattedName = $analyticsAdminServiceClient->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); + * $analyticsAdminServiceClient->deleteMeasurementProtocolSecret($formattedName); + * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the BigQuery link to lookup. - * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} - * Example: properties/123/bigQueryLinks/456 + * @param string $name Required. The name of the MeasurementProtocolSecret to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} * @param array $optionalArgs { * Optional. * @@ -3125,39 +3283,47 @@ public function getAudience($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\BigQueryLink - * * @throws ApiException if the remote call fails * * @experimental */ - public function getBigQueryLink($name, array $optionalArgs = []) + public function deleteMeasurementProtocolSecret($name, array $optionalArgs = []) { - $request = new GetBigQueryLinkRequest(); + $request = new DeleteMeasurementProtocolSecretRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetBigQueryLink', BigQueryLink::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteMeasurementProtocolSecret', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Retrieve a single conversion event. + * 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, or is not a GA4 Property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); - * $response = $analyticsAdminServiceClient->getConversionEvent($formattedName); + * $formattedName = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * $response = $analyticsAdminServiceClient->deleteProperty($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The resource name of the conversion event to retrieve. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" + * @param string $name Required. The name of the Property to soft-delete. + * Format: properties/{property_id} + * Example: "properties/1000" * @param array $optionalArgs { * Optional. * @@ -3167,38 +3333,41 @@ public function getBigQueryLink($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\ConversionEvent + * @return \Google\Analytics\Admin\V1alpha\Property * * @throws ApiException if the remote call fails * * @experimental */ - public function getConversionEvent($name, array $optionalArgs = []) + public function deleteProperty($name, array $optionalArgs = []) { - $request = new GetConversionEventRequest(); + $request = new DeletePropertyRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetConversionEvent', ConversionEvent::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteProperty', Property::class, $optionalArgs, $request)->wait(); } /** - * Lookup for a single CustomDimension. + * 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. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); - * $response = $analyticsAdminServiceClient->getCustomDimension($formattedName); + * $formattedName = $analyticsAdminServiceClient->rollupPropertySourceLinkName('[PROPERTY]', '[ROLLUP_PROPERTY_SOURCE_LINK]'); + * $analyticsAdminServiceClient->deleteRollupPropertySourceLink($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the CustomDimension to get. - * Example format: properties/1234/customDimensions/5678 + * @param string $name Required. Format: + * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + * Example: properties/1234/rollupPropertySourceLinks/5678 * @param array $optionalArgs { * Optional. * @@ -3208,38 +3377,37 @@ public function getConversionEvent($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\CustomDimension - * * @throws ApiException if the remote call fails * * @experimental */ - public function getCustomDimension($name, array $optionalArgs = []) + public function deleteRollupPropertySourceLink($name, array $optionalArgs = []) { - $request = new GetCustomDimensionRequest(); + $request = new DeleteRollupPropertySourceLinkRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetCustomDimension', CustomDimension::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteRollupPropertySourceLink', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Lookup for a single CustomMetric. + * Deletes target SKAdNetworkConversionValueSchema. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - * $response = $analyticsAdminServiceClient->getCustomMetric($formattedName); + * $formattedName = $analyticsAdminServiceClient->sKAdNetworkConversionValueSchemaName('[PROPERTY]', '[DATA_STREAM]', '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]'); + * $analyticsAdminServiceClient->deleteSKAdNetworkConversionValueSchema($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the CustomMetric to get. - * Example format: properties/1234/customMetrics/5678 + * @param string $name Required. The name of the SKAdNetworkConversionValueSchema to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} * @param array $optionalArgs { * Optional. * @@ -3249,40 +3417,36 @@ public function getCustomDimension($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\CustomMetric - * * @throws ApiException if the remote call fails * * @experimental */ - public function getCustomMetric($name, array $optionalArgs = []) + public function deleteSKAdNetworkConversionValueSchema($name, array $optionalArgs = []) { - $request = new GetCustomMetricRequest(); + $request = new DeleteSKAdNetworkConversionValueSchemaRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetCustomMetric', CustomMetric::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteSKAdNetworkConversionValueSchema', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Returns the singleton data retention settings for this property. + * Deletes a SearchAds360Link on a property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->dataRetentionSettingsName('[PROPERTY]'); - * $response = $analyticsAdminServiceClient->getDataRetentionSettings($formattedName); + * $formattedName = $analyticsAdminServiceClient->searchAds360LinkName('[PROPERTY]', '[SEARCH_ADS_360_LINK]'); + * $analyticsAdminServiceClient->deleteSearchAds360Link($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataRetentionSettings - * Example: "properties/1000/dataRetentionSettings" + * @param string $name Required. The name of the SearchAds360Link to delete. + * Example format: properties/1234/SearchAds360Links/5678 * @param array $optionalArgs { * Optional. * @@ -3292,40 +3456,38 @@ public function getCustomMetric($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\DataRetentionSettings - * * @throws ApiException if the remote call fails * * @experimental */ - public function getDataRetentionSettings($name, array $optionalArgs = []) + public function deleteSearchAds360Link($name, array $optionalArgs = []) { - $request = new GetDataRetentionSettingsRequest(); + $request = new DeleteSearchAds360LinkRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetDataRetentionSettings', DataRetentionSettings::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteSearchAds360Link', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Get data sharing settings on an account. - * Data sharing settings are singletons. + * Deletes a subproperty event filter. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->dataSharingSettingsName('[ACCOUNT]'); - * $response = $analyticsAdminServiceClient->getDataSharingSettings($formattedName); + * $formattedName = $analyticsAdminServiceClient->subpropertyEventFilterName('[PROPERTY]', '[SUB_PROPERTY_EVENT_FILTER]'); + * $analyticsAdminServiceClient->deleteSubpropertyEventFilter($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the settings to lookup. - * Format: accounts/{account}/dataSharingSettings - * Example: "accounts/1000/dataSharingSettings" + * @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 * @param array $optionalArgs { * Optional. * @@ -3335,38 +3497,40 @@ public function getDataRetentionSettings($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\DataSharingSettings - * * @throws ApiException if the remote call fails * * @experimental */ - public function getDataSharingSettings($name, array $optionalArgs = []) + public function deleteSubpropertyEventFilter($name, array $optionalArgs = []) { - $request = new GetDataSharingSettingsRequest(); + $request = new DeleteSubpropertyEventFilterRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetDataSharingSettings', DataSharingSettings::class, $optionalArgs, $request)->wait(); + return $this->startCall('DeleteSubpropertyEventFilter', GPBEmpty::class, $optionalArgs, $request)->wait(); } /** - * Lookup for a single DataStream. + * Fetches the opt out status for the automated GA4 setup process for a UA + * property. + * Note: this has no effect on GA4 property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - * $response = $analyticsAdminServiceClient->getDataStream($formattedName); + * $property = 'property'; + * $response = $analyticsAdminServiceClient->fetchAutomatedGa4ConfigurationOptOut($property); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the DataStream to get. - * Example format: properties/1234/dataStreams/5678 + * @param string $property Required. The UA property to get the opt out status. Note this request uses + * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. + * Format: properties/{internalWebPropertyId} + * Example: properties/1234 * @param array $optionalArgs { * Optional. * @@ -3376,38 +3540,38 @@ public function getDataSharingSettings($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\DataStream + * @return \Google\Analytics\Admin\V1alpha\FetchAutomatedGa4ConfigurationOptOutResponse * * @throws ApiException if the remote call fails * * @experimental */ - public function getDataStream($name, array $optionalArgs = []) + public function fetchAutomatedGa4ConfigurationOptOut($property, array $optionalArgs = []) { - $request = new GetDataStreamRequest(); - $requestParamHeaders = []; - $request->setName($name); - $requestParamHeaders['name'] = $name; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetDataStream', DataStream::class, $optionalArgs, $request)->wait(); + $request = new FetchAutomatedGa4ConfigurationOptOutRequest(); + $request->setProperty($property); + return $this->startCall('FetchAutomatedGa4ConfigurationOptOut', FetchAutomatedGa4ConfigurationOptOutResponse::class, $optionalArgs, $request)->wait(); } /** - * Look up a single DisplayVideo360AdvertiserLink + * Given a specified UA property, looks up the GA4 property connected to it. + * Note: this cannot be used with GA4 properties. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->displayVideo360AdvertiserLinkName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK]'); - * $response = $analyticsAdminServiceClient->getDisplayVideo360AdvertiserLink($formattedName); + * $formattedProperty = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * $response = $analyticsAdminServiceClient->fetchConnectedGa4Property($formattedProperty); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the DisplayVideo360AdvertiserLink to get. - * Example format: properties/1234/displayVideo360AdvertiserLink/5678 + * @param string $property Required. The UA property for which to look up the connected GA4 property. + * Note this request uses the + * internal property ID, not the tracking ID of the form UA-XXXXXX-YY. + * Format: properties/{internal_web_property_id} + * Example: properties/1234 * @param array $optionalArgs { * Optional. * @@ -3417,38 +3581,36 @@ public function getDataStream($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink + * @return \Google\Analytics\Admin\V1alpha\FetchConnectedGa4PropertyResponse * * @throws ApiException if the remote call fails * * @experimental */ - public function getDisplayVideo360AdvertiserLink($name, array $optionalArgs = []) + public function fetchConnectedGa4Property($property, array $optionalArgs = []) { - $request = new GetDisplayVideo360AdvertiserLinkRequest(); - $requestParamHeaders = []; - $request->setName($name); - $requestParamHeaders['name'] = $name; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetDisplayVideo360AdvertiserLink', DisplayVideo360AdvertiserLink::class, $optionalArgs, $request)->wait(); + $request = new FetchConnectedGa4PropertyRequest(); + $request->setProperty($property); + return $this->startCall('FetchConnectedGa4Property', FetchConnectedGa4PropertyResponse::class, $optionalArgs, $request)->wait(); } /** - * Lookup for a single DisplayVideo360AdvertiserLinkProposal. + * Gets information about an access binding. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); - * $response = $analyticsAdminServiceClient->getDisplayVideo360AdvertiserLinkProposal($formattedName); + * $formattedName = $analyticsAdminServiceClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); + * $response = $analyticsAdminServiceClient->getAccessBinding($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * @param string $name Required. The name of the access binding to retrieve. + * Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} * @param array $optionalArgs { * Optional. * @@ -3458,38 +3620,39 @@ public function getDisplayVideo360AdvertiserLink($name, array $optionalArgs = [] * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal + * @return \Google\Analytics\Admin\V1alpha\AccessBinding * * @throws ApiException if the remote call fails * * @experimental */ - public function getDisplayVideo360AdvertiserLinkProposal($name, array $optionalArgs = []) + public function getAccessBinding($name, array $optionalArgs = []) { - $request = new GetDisplayVideo360AdvertiserLinkProposalRequest(); + $request = new GetAccessBindingRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetDisplayVideo360AdvertiserLinkProposal', DisplayVideo360AdvertiserLinkProposal::class, $optionalArgs, $request)->wait(); + return $this->startCall('GetAccessBinding', AccessBinding::class, $optionalArgs, $request)->wait(); } /** - * Lookup for a single ExpandedDataSet. + * Lookup for a single Account. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->expandedDataSetName('[PROPERTY]', '[EXPANDED_DATA_SET]'); - * $response = $analyticsAdminServiceClient->getExpandedDataSet($formattedName); + * $formattedName = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); + * $response = $analyticsAdminServiceClient->getAccount($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the Audience to get. - * Example format: properties/1234/expandedDataSets/5678 + * @param string $name Required. The name of the account to lookup. + * Format: accounts/{account} + * Example: "accounts/100" * @param array $optionalArgs { * Optional. * @@ -3499,41 +3662,39 @@ public function getDisplayVideo360AdvertiserLinkProposal($name, array $optionalA * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSet + * @return \Google\Analytics\Admin\V1alpha\Account * * @throws ApiException if the remote call fails * * @experimental */ - public function getExpandedDataSet($name, array $optionalArgs = []) + public function getAccount($name, array $optionalArgs = []) { - $request = new GetExpandedDataSetRequest(); + $request = new GetAccountRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetExpandedDataSet', ExpandedDataSet::class, $optionalArgs, $request)->wait(); + return $this->startCall('GetAccount', Account::class, $optionalArgs, $request)->wait(); } /** - * Returns the Site Tag for the specified web stream. - * Site Tags are immutable singletons. + * Looks up a single AdSenseLink. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->globalSiteTagName('[PROPERTY]', '[DATA_STREAM]'); - * $response = $analyticsAdminServiceClient->getGlobalSiteTag($formattedName); + * $formattedName = $analyticsAdminServiceClient->adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); + * $response = $analyticsAdminServiceClient->getAdSenseLink($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @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" + * @param string $name Required. Unique identifier for the AdSense Link requested. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/5678 * @param array $optionalArgs { * Optional. * @@ -3543,38 +3704,38 @@ public function getExpandedDataSet($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\GlobalSiteTag + * @return \Google\Analytics\Admin\V1alpha\AdSenseLink * * @throws ApiException if the remote call fails * * @experimental */ - public function getGlobalSiteTag($name, array $optionalArgs = []) + public function getAdSenseLink($name, array $optionalArgs = []) { - $request = new GetGlobalSiteTagRequest(); + $request = new GetAdSenseLinkRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetGlobalSiteTag', GlobalSiteTag::class, $optionalArgs, $request)->wait(); + return $this->startCall('GetAdSenseLink', AdSenseLink::class, $optionalArgs, $request)->wait(); } /** - * Lookup for Google Signals settings for a property. + * Lookup for a AttributionSettings singleton. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->googleSignalsSettingsName('[PROPERTY]'); - * $response = $analyticsAdminServiceClient->getGoogleSignalsSettings($formattedName); + * $formattedName = $analyticsAdminServiceClient->attributionSettingsName('[PROPERTY]'); + * $response = $analyticsAdminServiceClient->getAttributionSettings($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the google signals settings to retrieve. - * Format: properties/{property}/googleSignalsSettings + * @param string $name Required. The name of the attribution settings to retrieve. + * Format: properties/{property}/attributionSettings * @param array $optionalArgs { * Optional. * @@ -3584,39 +3745,40 @@ public function getGlobalSiteTag($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings + * @return \Google\Analytics\Admin\V1alpha\AttributionSettings * * @throws ApiException if the remote call fails * * @experimental */ - public function getGoogleSignalsSettings($name, array $optionalArgs = []) + public function getAttributionSettings($name, array $optionalArgs = []) { - $request = new GetGoogleSignalsSettingsRequest(); + $request = new GetAttributionSettingsRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetGoogleSignalsSettings', GoogleSignalsSettings::class, $optionalArgs, $request)->wait(); + return $this->startCall('GetAttributionSettings', AttributionSettings::class, $optionalArgs, $request)->wait(); } /** - * Lookup for a single "GA4" MeasurementProtocolSecret. + * Lookup for a single Audience. + * Audiences created before 2020 may not be supported. + * Default audiences will not show filter definitions. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); - * $response = $analyticsAdminServiceClient->getMeasurementProtocolSecret($formattedName); + * $formattedName = $analyticsAdminServiceClient->audienceName('[PROPERTY]', '[AUDIENCE]'); + * $response = $analyticsAdminServiceClient->getAudience($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the measurement protocol secret to lookup. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * @param string $name Required. The name of the Audience to get. + * Example format: properties/1234/audiences/5678 * @param array $optionalArgs { * Optional. * @@ -3626,39 +3788,39 @@ public function getGoogleSignalsSettings($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret + * @return \Google\Analytics\Admin\V1alpha\Audience * * @throws ApiException if the remote call fails * * @experimental */ - public function getMeasurementProtocolSecret($name, array $optionalArgs = []) + public function getAudience($name, array $optionalArgs = []) { - $request = new GetMeasurementProtocolSecretRequest(); + $request = new GetAudienceRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetMeasurementProtocolSecret', MeasurementProtocolSecret::class, $optionalArgs, $request)->wait(); + return $this->startCall('GetAudience', Audience::class, $optionalArgs, $request)->wait(); } /** - * Lookup for a single "GA4" Property. + * Lookup for a single BigQuery Link. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); - * $response = $analyticsAdminServiceClient->getProperty($formattedName); + * $formattedName = $analyticsAdminServiceClient->bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]'); + * $response = $analyticsAdminServiceClient->getBigQueryLink($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. The name of the property to lookup. - * Format: properties/{property_id} - * Example: "properties/1000" + * @param string $name Required. The name of the BigQuery link to lookup. + * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} + * Example: properties/123/bigQueryLinks/456 * @param array $optionalArgs { * Optional. * @@ -3668,24 +3830,866 @@ public function getMeasurementProtocolSecret($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\Property + * @return \Google\Analytics\Admin\V1alpha\BigQueryLink * * @throws ApiException if the remote call fails * * @experimental */ - public function getProperty($name, array $optionalArgs = []) + public function getBigQueryLink($name, array $optionalArgs = []) { - $request = new GetPropertyRequest(); + $request = new GetBigQueryLinkRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetProperty', Property::class, $optionalArgs, $request)->wait(); + return $this->startCall('GetBigQueryLink', BigQueryLink::class, $optionalArgs, $request)->wait(); } /** - * Look up a single SearchAds360Link + * Lookup for a single CalculatedMetric. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->calculatedMetricName('[PROPERTY]', '[CALCULATED_METRIC]'); + * $response = $analyticsAdminServiceClient->getCalculatedMetric($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the CalculatedMetric to get. + * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + * Example: properties/1234/calculatedMetrics/Metric01 + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\CalculatedMetric + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getCalculatedMetric($name, array $optionalArgs = []) + { + $request = new GetCalculatedMetricRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetCalculatedMetric', CalculatedMetric::class, $optionalArgs, $request)->wait(); + } + /** + * Lookup for a single ChannelGroup. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); + * $response = $analyticsAdminServiceClient->getChannelGroup($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The ChannelGroup to get. + * Example format: properties/1234/channelGroups/5678 + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\ChannelGroup + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getChannelGroup($name, array $optionalArgs = []) + { + $request = new GetChannelGroupRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetChannelGroup', ChannelGroup::class, $optionalArgs, $request)->wait(); + } + /** + * Retrieve a single conversion event. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); + * $response = $analyticsAdminServiceClient->getConversionEvent($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The resource name of the conversion event to retrieve. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\ConversionEvent + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getConversionEvent($name, array $optionalArgs = []) + { + $request = new GetConversionEventRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetConversionEvent', ConversionEvent::class, $optionalArgs, $request)->wait(); + } + /** + * Lookup for a single CustomDimension. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); + * $response = $analyticsAdminServiceClient->getCustomDimension($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the CustomDimension to get. + * Example format: properties/1234/customDimensions/5678 + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\CustomDimension + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getCustomDimension($name, array $optionalArgs = []) + { + $request = new GetCustomDimensionRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetCustomDimension', CustomDimension::class, $optionalArgs, $request)->wait(); + } + /** + * Lookup for a single CustomMetric. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + * $response = $analyticsAdminServiceClient->getCustomMetric($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the CustomMetric to get. + * Example format: properties/1234/customMetrics/5678 + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\CustomMetric + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getCustomMetric($name, array $optionalArgs = []) + { + $request = new GetCustomMetricRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetCustomMetric', CustomMetric::class, $optionalArgs, $request)->wait(); + } + /** + * Lookup for a single DataRedactionSettings. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->dataRedactionSettingsName('[PROPERTY]', '[DATA_STREAM]'); + * $response = $analyticsAdminServiceClient->getDataRedactionSettings($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings + * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\DataRedactionSettings + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getDataRedactionSettings($name, array $optionalArgs = []) + { + $request = new GetDataRedactionSettingsRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetDataRedactionSettings', DataRedactionSettings::class, $optionalArgs, $request)->wait(); + } + /** + * Returns the singleton data retention settings for this property. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->dataRetentionSettingsName('[PROPERTY]'); + * $response = $analyticsAdminServiceClient->getDataRetentionSettings($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataRetentionSettings + * Example: "properties/1000/dataRetentionSettings" + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\DataRetentionSettings + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getDataRetentionSettings($name, array $optionalArgs = []) + { + $request = new GetDataRetentionSettingsRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetDataRetentionSettings', DataRetentionSettings::class, $optionalArgs, $request)->wait(); + } + /** + * Get data sharing settings on an account. + * Data sharing settings are singletons. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->dataSharingSettingsName('[ACCOUNT]'); + * $response = $analyticsAdminServiceClient->getDataSharingSettings($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the settings to lookup. + * Format: accounts/{account}/dataSharingSettings + * Example: "accounts/1000/dataSharingSettings" + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\DataSharingSettings + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getDataSharingSettings($name, array $optionalArgs = []) + { + $request = new GetDataSharingSettingsRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetDataSharingSettings', DataSharingSettings::class, $optionalArgs, $request)->wait(); + } + /** + * Lookup for a single DataStream. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + * $response = $analyticsAdminServiceClient->getDataStream($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the DataStream to get. + * Example format: properties/1234/dataStreams/5678 + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\DataStream + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getDataStream($name, array $optionalArgs = []) + { + $request = new GetDataStreamRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetDataStream', DataStream::class, $optionalArgs, $request)->wait(); + } + /** + * Look up a single DisplayVideo360AdvertiserLink + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->displayVideo360AdvertiserLinkName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK]'); + * $response = $analyticsAdminServiceClient->getDisplayVideo360AdvertiserLink($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the DisplayVideo360AdvertiserLink to get. + * Example format: properties/1234/displayVideo360AdvertiserLink/5678 + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getDisplayVideo360AdvertiserLink($name, array $optionalArgs = []) + { + $request = new GetDisplayVideo360AdvertiserLinkRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetDisplayVideo360AdvertiserLink', DisplayVideo360AdvertiserLink::class, $optionalArgs, $request)->wait(); + } + /** + * Lookup for a single DisplayVideo360AdvertiserLinkProposal. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); + * $response = $analyticsAdminServiceClient->getDisplayVideo360AdvertiserLinkProposal($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getDisplayVideo360AdvertiserLinkProposal($name, array $optionalArgs = []) + { + $request = new GetDisplayVideo360AdvertiserLinkProposalRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetDisplayVideo360AdvertiserLinkProposal', DisplayVideo360AdvertiserLinkProposal::class, $optionalArgs, $request)->wait(); + } + /** + * Returns the enhanced measurement settings for this data stream. + * Note that the stream must enable enhanced measurement for these settings to + * take effect. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->enhancedMeasurementSettingsName('[PROPERTY]', '[DATA_STREAM]'); + * $response = $analyticsAdminServiceClient->getEnhancedMeasurementSettings($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings + * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getEnhancedMeasurementSettings($name, array $optionalArgs = []) + { + $request = new GetEnhancedMeasurementSettingsRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetEnhancedMeasurementSettings', EnhancedMeasurementSettings::class, $optionalArgs, $request)->wait(); + } + /** + * Lookup for a single EventCreateRule. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->eventCreateRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_CREATE_RULE]'); + * $response = $analyticsAdminServiceClient->getEventCreateRule($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the EventCreateRule to get. + * Example format: properties/123/dataStreams/456/eventCreateRules/789 + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\EventCreateRule + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getEventCreateRule($name, array $optionalArgs = []) + { + $request = new GetEventCreateRuleRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetEventCreateRule', EventCreateRule::class, $optionalArgs, $request)->wait(); + } + /** + * Lookup for a single ExpandedDataSet. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->expandedDataSetName('[PROPERTY]', '[EXPANDED_DATA_SET]'); + * $response = $analyticsAdminServiceClient->getExpandedDataSet($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the ExpandedDataSet to get. + * Example format: properties/1234/expandedDataSets/5678 + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSet + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getExpandedDataSet($name, array $optionalArgs = []) + { + $request = new GetExpandedDataSetRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetExpandedDataSet', ExpandedDataSet::class, $optionalArgs, $request)->wait(); + } + /** + * Returns the Site Tag for the specified web stream. + * Site Tags are immutable singletons. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->globalSiteTagName('[PROPERTY]', '[DATA_STREAM]'); + * $response = $analyticsAdminServiceClient->getGlobalSiteTag($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @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" + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\GlobalSiteTag + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getGlobalSiteTag($name, array $optionalArgs = []) + { + $request = new GetGlobalSiteTagRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetGlobalSiteTag', GlobalSiteTag::class, $optionalArgs, $request)->wait(); + } + /** + * Lookup for Google Signals settings for a property. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->googleSignalsSettingsName('[PROPERTY]'); + * $response = $analyticsAdminServiceClient->getGoogleSignalsSettings($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the google signals settings to retrieve. + * Format: properties/{property}/googleSignalsSettings + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getGoogleSignalsSettings($name, array $optionalArgs = []) + { + $request = new GetGoogleSignalsSettingsRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetGoogleSignalsSettings', GoogleSignalsSettings::class, $optionalArgs, $request)->wait(); + } + /** + * Lookup for a single "GA4" MeasurementProtocolSecret. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); + * $response = $analyticsAdminServiceClient->getMeasurementProtocolSecret($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the measurement protocol secret to lookup. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getMeasurementProtocolSecret($name, array $optionalArgs = []) + { + $request = new GetMeasurementProtocolSecretRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetMeasurementProtocolSecret', MeasurementProtocolSecret::class, $optionalArgs, $request)->wait(); + } + /** + * Lookup for a single "GA4" Property. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * $response = $analyticsAdminServiceClient->getProperty($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the property to lookup. + * Format: properties/{property_id} + * Example: "properties/1000" + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\Property + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getProperty($name, array $optionalArgs = []) + { + $request = new GetPropertyRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetProperty', Property::class, $optionalArgs, $request)->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. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->rollupPropertySourceLinkName('[PROPERTY]', '[ROLLUP_PROPERTY_SOURCE_LINK]'); + * $response = $analyticsAdminServiceClient->getRollupPropertySourceLink($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @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 + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getRollupPropertySourceLink($name, array $optionalArgs = []) + { + $request = new GetRollupPropertySourceLinkRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetRollupPropertySourceLink', RollupPropertySourceLink::class, $optionalArgs, $request)->wait(); + } + /** + * Looks up a single SKAdNetworkConversionValueSchema. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedName = $analyticsAdminServiceClient->sKAdNetworkConversionValueSchemaName('[PROPERTY]', '[DATA_STREAM]', '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]'); + * $response = $analyticsAdminServiceClient->getSKAdNetworkConversionValueSchema($formattedName); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @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} + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getSKAdNetworkConversionValueSchema($name, array $optionalArgs = []) + { + $request = new GetSKAdNetworkConversionValueSchemaRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetSKAdNetworkConversionValueSchema', SKAdNetworkConversionValueSchema::class, $optionalArgs, $request)->wait(); + } + /** + * Look up a single SearchAds360Link * * Sample code: * ``` @@ -3726,20 +4730,23 @@ public function getSearchAds360Link($name, array $optionalArgs = []) return $this->startCall('GetSearchAds360Link', SearchAds360Link::class, $optionalArgs, $request)->wait(); } /** - * Gets information about a user's link to an account or property. + * Lookup for a single subproperty Event Filter. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedName = $analyticsAdminServiceClient->userLinkName('[ACCOUNT]', '[USER_LINK]'); - * $response = $analyticsAdminServiceClient->getUserLink($formattedName); + * $formattedName = $analyticsAdminServiceClient->subpropertyEventFilterName('[PROPERTY]', '[SUB_PROPERTY_EVENT_FILTER]'); + * $response = $analyticsAdminServiceClient->getSubpropertyEventFilter($formattedName); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param string $name Required. Example format: accounts/1234/userLinks/5678 + * @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 * @param array $optionalArgs { * Optional. * @@ -3749,21 +4756,21 @@ public function getSearchAds360Link($name, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\UserLink + * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter * * @throws ApiException if the remote call fails * * @experimental */ - public function getUserLink($name, array $optionalArgs = []) + public function getSubpropertyEventFilter($name, array $optionalArgs = []) { - $request = new GetUserLinkRequest(); + $request = new GetSubpropertyEventFilterRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetUserLink', UserLink::class, $optionalArgs, $request)->wait(); + return $this->startCall('GetSubpropertyEventFilter', SubpropertyEventFilter::class, $optionalArgs, $request)->wait(); } /** * Lists all access bindings on an account or property. @@ -3914,7 +4921,213 @@ public function listAccountSummaries(array $optionalArgs = []) * } * // Alternatively: * // Iterate through all elements - * $pagedResponse = $analyticsAdminServiceClient->listAccounts(); + * $pagedResponse = $analyticsAdminServiceClient->listAccounts(); + * foreach ($pagedResponse->iterateAllElements() as $element) { + * // doSomethingWith($element); + * } + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param array $optionalArgs { + * Optional. + * + * @type int $pageSize + * The maximum number of resources contained in the underlying API + * response. The API may return fewer values in a page, even if + * there are additional values to be retrieved. + * @type string $pageToken + * A page token is used to specify a page of values to be returned. + * If no page token is specified (the default), the first page + * of values will be returned. Any page token used here must have + * been generated by a previous call to the API. + * @type bool $showDeleted + * Whether to include soft-deleted (ie: "trashed") Accounts in the + * results. Accounts can be inspected to determine whether they are deleted or + * not. + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\ApiCore\PagedListResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function listAccounts(array $optionalArgs = []) + { + $request = new ListAccountsRequest(); + if (isset($optionalArgs['pageSize'])) { + $request->setPageSize($optionalArgs['pageSize']); + } + if (isset($optionalArgs['pageToken'])) { + $request->setPageToken($optionalArgs['pageToken']); + } + if (isset($optionalArgs['showDeleted'])) { + $request->setShowDeleted($optionalArgs['showDeleted']); + } + return $this->getPagedListResponse('ListAccounts', $optionalArgs, ListAccountsResponse::class, $request); + } + /** + * Lists AdSenseLinks on a property. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * // Iterate over pages of elements + * $pagedResponse = $analyticsAdminServiceClient->listAdSenseLinks($formattedParent); + * foreach ($pagedResponse->iteratePages() as $page) { + * foreach ($page as $element) { + * // doSomethingWith($element); + * } + * } + * // Alternatively: + * // Iterate through all elements + * $pagedResponse = $analyticsAdminServiceClient->listAdSenseLinks($formattedParent); + * foreach ($pagedResponse->iterateAllElements() as $element) { + * // doSomethingWith($element); + * } + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $parent Required. Resource name of the parent property. + * Format: properties/{propertyId} + * Example: properties/1234 + * @param array $optionalArgs { + * Optional. + * + * @type int $pageSize + * The maximum number of resources contained in the underlying API + * response. The API may return fewer values in a page, even if + * there are additional values to be retrieved. + * @type string $pageToken + * A page token is used to specify a page of values to be returned. + * If no page token is specified (the default), the first page + * of values will be returned. Any page token used here must have + * been generated by a previous call to the API. + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\ApiCore\PagedListResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function listAdSenseLinks($parent, array $optionalArgs = []) + { + $request = new ListAdSenseLinksRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $requestParamHeaders['parent'] = $parent; + if (isset($optionalArgs['pageSize'])) { + $request->setPageSize($optionalArgs['pageSize']); + } + if (isset($optionalArgs['pageToken'])) { + $request->setPageToken($optionalArgs['pageToken']); + } + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->getPagedListResponse('ListAdSenseLinks', $optionalArgs, ListAdSenseLinksResponse::class, $request); + } + /** + * Lists Audiences on a property. + * Audiences created before 2020 may not be supported. + * Default audiences will not show filter definitions. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * // Iterate over pages of elements + * $pagedResponse = $analyticsAdminServiceClient->listAudiences($formattedParent); + * foreach ($pagedResponse->iteratePages() as $page) { + * foreach ($page as $element) { + * // doSomethingWith($element); + * } + * } + * // Alternatively: + * // Iterate through all elements + * $pagedResponse = $analyticsAdminServiceClient->listAudiences($formattedParent); + * foreach ($pagedResponse->iterateAllElements() as $element) { + * // doSomethingWith($element); + * } + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $parent Required. Example format: properties/1234 + * @param array $optionalArgs { + * Optional. + * + * @type int $pageSize + * The maximum number of resources contained in the underlying API + * response. The API may return fewer values in a page, even if + * there are additional values to be retrieved. + * @type string $pageToken + * A page token is used to specify a page of values to be returned. + * If no page token is specified (the default), the first page + * of values will be returned. Any page token used here must have + * been generated by a previous call to the API. + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\ApiCore\PagedListResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function listAudiences($parent, array $optionalArgs = []) + { + $request = new ListAudiencesRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $requestParamHeaders['parent'] = $parent; + if (isset($optionalArgs['pageSize'])) { + $request->setPageSize($optionalArgs['pageSize']); + } + if (isset($optionalArgs['pageToken'])) { + $request->setPageToken($optionalArgs['pageToken']); + } + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->getPagedListResponse('ListAudiences', $optionalArgs, ListAudiencesResponse::class, $request); + } + /** + * Lists BigQuery Links on a property. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * // Iterate over pages of elements + * $pagedResponse = $analyticsAdminServiceClient->listBigQueryLinks($formattedParent); + * foreach ($pagedResponse->iteratePages() as $page) { + * foreach ($page as $element) { + * // doSomethingWith($element); + * } + * } + * // Alternatively: + * // Iterate through all elements + * $pagedResponse = $analyticsAdminServiceClient->listBigQueryLinks($formattedParent); * foreach ($pagedResponse->iterateAllElements() as $element) { * // doSomethingWith($element); * } @@ -3923,7 +5136,10 @@ public function listAccountSummaries(array $optionalArgs = []) * } * ``` * - * @param array $optionalArgs { + * @param string $parent Required. The name of the property to list BigQuery links under. + * Format: properties/{property_id} + * Example: properties/1234 + * @param array $optionalArgs { * Optional. * * @type int $pageSize @@ -3935,10 +5151,6 @@ public function listAccountSummaries(array $optionalArgs = []) * If no page token is specified (the default), the first page * of values will be returned. Any page token used here must have * been generated by a previous call to the API. - * @type bool $showDeleted - * Whether to include soft-deleted (ie: "trashed") Accounts in the - * results. Accounts can be inspected to determine whether they are deleted or - * not. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on @@ -3951,24 +5163,24 @@ public function listAccountSummaries(array $optionalArgs = []) * * @experimental */ - public function listAccounts(array $optionalArgs = []) + public function listBigQueryLinks($parent, array $optionalArgs = []) { - $request = new ListAccountsRequest(); + $request = new ListBigQueryLinksRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $requestParamHeaders['parent'] = $parent; if (isset($optionalArgs['pageSize'])) { $request->setPageSize($optionalArgs['pageSize']); } if (isset($optionalArgs['pageToken'])) { $request->setPageToken($optionalArgs['pageToken']); } - if (isset($optionalArgs['showDeleted'])) { - $request->setShowDeleted($optionalArgs['showDeleted']); - } - return $this->getPagedListResponse('ListAccounts', $optionalArgs, ListAccountsResponse::class, $request); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->getPagedListResponse('ListBigQueryLinks', $optionalArgs, ListBigQueryLinksResponse::class, $request); } /** - * Lists Audiences on a property. - * Audiences created before 2020 may not be supported. - * Default audiences will not show filter definitions. + * Lists CalculatedMetrics on a property. * * Sample code: * ``` @@ -3976,7 +5188,7 @@ public function listAccounts(array $optionalArgs = []) * try { * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); * // Iterate over pages of elements - * $pagedResponse = $analyticsAdminServiceClient->listAudiences($formattedParent); + * $pagedResponse = $analyticsAdminServiceClient->listCalculatedMetrics($formattedParent); * foreach ($pagedResponse->iteratePages() as $page) { * foreach ($page as $element) { * // doSomethingWith($element); @@ -3984,7 +5196,7 @@ public function listAccounts(array $optionalArgs = []) * } * // Alternatively: * // Iterate through all elements - * $pagedResponse = $analyticsAdminServiceClient->listAudiences($formattedParent); + * $pagedResponse = $analyticsAdminServiceClient->listCalculatedMetrics($formattedParent); * foreach ($pagedResponse->iterateAllElements() as $element) { * // doSomethingWith($element); * } @@ -4018,9 +5230,9 @@ public function listAccounts(array $optionalArgs = []) * * @experimental */ - public function listAudiences($parent, array $optionalArgs = []) + public function listCalculatedMetrics($parent, array $optionalArgs = []) { - $request = new ListAudiencesRequest(); + $request = new ListCalculatedMetricsRequest(); $requestParamHeaders = []; $request->setParent($parent); $requestParamHeaders['parent'] = $parent; @@ -4032,10 +5244,10 @@ public function listAudiences($parent, array $optionalArgs = []) } $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->getPagedListResponse('ListAudiences', $optionalArgs, ListAudiencesResponse::class, $request); + return $this->getPagedListResponse('ListCalculatedMetrics', $optionalArgs, ListCalculatedMetricsResponse::class, $request); } /** - * Lists BigQuery Links on a property. + * Lists ChannelGroups on a property. * * Sample code: * ``` @@ -4043,7 +5255,7 @@ public function listAudiences($parent, array $optionalArgs = []) * try { * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); * // Iterate over pages of elements - * $pagedResponse = $analyticsAdminServiceClient->listBigQueryLinks($formattedParent); + * $pagedResponse = $analyticsAdminServiceClient->listChannelGroups($formattedParent); * foreach ($pagedResponse->iteratePages() as $page) { * foreach ($page as $element) { * // doSomethingWith($element); @@ -4051,7 +5263,7 @@ public function listAudiences($parent, array $optionalArgs = []) * } * // Alternatively: * // Iterate through all elements - * $pagedResponse = $analyticsAdminServiceClient->listBigQueryLinks($formattedParent); + * $pagedResponse = $analyticsAdminServiceClient->listChannelGroups($formattedParent); * foreach ($pagedResponse->iterateAllElements() as $element) { * // doSomethingWith($element); * } @@ -4060,9 +5272,8 @@ public function listAudiences($parent, array $optionalArgs = []) * } * ``` * - * @param string $parent Required. The name of the property to list BigQuery links under. - * Format: properties/{property_id} - * Example: properties/1234 + * @param string $parent Required. The property for which to list ChannelGroups. + * Example format: properties/1234 * @param array $optionalArgs { * Optional. * @@ -4087,9 +5298,9 @@ public function listAudiences($parent, array $optionalArgs = []) * * @experimental */ - public function listBigQueryLinks($parent, array $optionalArgs = []) + public function listChannelGroups($parent, array $optionalArgs = []) { - $request = new ListBigQueryLinksRequest(); + $request = new ListChannelGroupsRequest(); $requestParamHeaders = []; $request->setParent($parent); $requestParamHeaders['parent'] = $parent; @@ -4101,7 +5312,50 @@ public function listBigQueryLinks($parent, array $optionalArgs = []) } $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->getPagedListResponse('ListBigQueryLinks', $optionalArgs, ListBigQueryLinksResponse::class, $request); + return $this->getPagedListResponse('ListChannelGroups', $optionalArgs, ListChannelGroupsResponse::class, $request); + } + /** + * Lists the connected site tags for a Universal Analytics property. A maximum + * of 20 connected site tags will be returned. Note: this has no effect on GA4 + * property. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $response = $analyticsAdminServiceClient->listConnectedSiteTags(); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param array $optionalArgs { + * Optional. + * + * @type string $property + * The Universal Analytics property to fetch connected site tags for. + * This does not work on GA4 properties. A maximum of 20 connected site tags + * will be returned. + * Example Format: `properties/1234` + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\ListConnectedSiteTagsResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function listConnectedSiteTags(array $optionalArgs = []) + { + $request = new ListConnectedSiteTagsRequest(); + if (isset($optionalArgs['property'])) { + $request->setProperty($optionalArgs['property']); + } + return $this->startCall('ListConnectedSiteTags', ListConnectedSiteTagsResponse::class, $optionalArgs, $request)->wait(); } /** * Returns a list of conversion events in the specified parent property. @@ -4508,6 +5762,73 @@ public function listDisplayVideo360AdvertiserLinks($parent, array $optionalArgs $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); return $this->getPagedListResponse('ListDisplayVideo360AdvertiserLinks', $optionalArgs, ListDisplayVideo360AdvertiserLinksResponse::class, $request); } + /** + * Lists EventCreateRules on a web data stream. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedParent = $analyticsAdminServiceClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + * // Iterate over pages of elements + * $pagedResponse = $analyticsAdminServiceClient->listEventCreateRules($formattedParent); + * foreach ($pagedResponse->iteratePages() as $page) { + * foreach ($page as $element) { + * // doSomethingWith($element); + * } + * } + * // Alternatively: + * // Iterate through all elements + * $pagedResponse = $analyticsAdminServiceClient->listEventCreateRules($formattedParent); + * foreach ($pagedResponse->iterateAllElements() as $element) { + * // doSomethingWith($element); + * } + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $parent Required. Example format: properties/123/dataStreams/456 + * @param array $optionalArgs { + * Optional. + * + * @type int $pageSize + * The maximum number of resources contained in the underlying API + * response. The API may return fewer values in a page, even if + * there are additional values to be retrieved. + * @type string $pageToken + * A page token is used to specify a page of values to be returned. + * If no page token is specified (the default), the first page + * of values will be returned. Any page token used here must have + * been generated by a previous call to the API. + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\ApiCore\PagedListResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function listEventCreateRules($parent, array $optionalArgs = []) + { + $request = new ListEventCreateRulesRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $requestParamHeaders['parent'] = $parent; + if (isset($optionalArgs['pageSize'])) { + $request->setPageSize($optionalArgs['pageSize']); + } + if (isset($optionalArgs['pageToken'])) { + $request->setPageToken($optionalArgs['pageToken']); + } + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->getPagedListResponse('ListEventCreateRules', $optionalArgs, ListEventCreateRulesResponse::class, $request); + } /** * Lists ExpandedDataSets on a property. * @@ -4866,10 +6187,151 @@ public function listProperties($filter, array $optionalArgs = []) if (isset($optionalArgs['pageToken'])) { $request->setPageToken($optionalArgs['pageToken']); } - if (isset($optionalArgs['showDeleted'])) { - $request->setShowDeleted($optionalArgs['showDeleted']); - } - return $this->getPagedListResponse('ListProperties', $optionalArgs, ListPropertiesResponse::class, $request); + if (isset($optionalArgs['showDeleted'])) { + $request->setShowDeleted($optionalArgs['showDeleted']); + } + return $this->getPagedListResponse('ListProperties', $optionalArgs, ListPropertiesResponse::class, $request); + } + /** + * 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. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); + * // Iterate over pages of elements + * $pagedResponse = $analyticsAdminServiceClient->listRollupPropertySourceLinks($formattedParent); + * foreach ($pagedResponse->iteratePages() as $page) { + * foreach ($page as $element) { + * // doSomethingWith($element); + * } + * } + * // Alternatively: + * // Iterate through all elements + * $pagedResponse = $analyticsAdminServiceClient->listRollupPropertySourceLinks($formattedParent); + * foreach ($pagedResponse->iterateAllElements() as $element) { + * // doSomethingWith($element); + * } + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @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 + * @param array $optionalArgs { + * Optional. + * + * @type int $pageSize + * The maximum number of resources contained in the underlying API + * response. The API may return fewer values in a page, even if + * there are additional values to be retrieved. + * @type string $pageToken + * A page token is used to specify a page of values to be returned. + * If no page token is specified (the default), the first page + * of values will be returned. Any page token used here must have + * been generated by a previous call to the API. + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\ApiCore\PagedListResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function listRollupPropertySourceLinks($parent, array $optionalArgs = []) + { + $request = new ListRollupPropertySourceLinksRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $requestParamHeaders['parent'] = $parent; + if (isset($optionalArgs['pageSize'])) { + $request->setPageSize($optionalArgs['pageSize']); + } + if (isset($optionalArgs['pageToken'])) { + $request->setPageToken($optionalArgs['pageToken']); + } + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->getPagedListResponse('ListRollupPropertySourceLinks', $optionalArgs, ListRollupPropertySourceLinksResponse::class, $request); + } + /** + * Lists SKAdNetworkConversionValueSchema on a stream. + * Properties can have at most one SKAdNetworkConversionValueSchema. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $formattedParent = $analyticsAdminServiceClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + * // Iterate over pages of elements + * $pagedResponse = $analyticsAdminServiceClient->listSKAdNetworkConversionValueSchemas($formattedParent); + * foreach ($pagedResponse->iteratePages() as $page) { + * foreach ($page as $element) { + * // doSomethingWith($element); + * } + * } + * // Alternatively: + * // Iterate through all elements + * $pagedResponse = $analyticsAdminServiceClient->listSKAdNetworkConversionValueSchemas($formattedParent); + * foreach ($pagedResponse->iterateAllElements() as $element) { + * // doSomethingWith($element); + * } + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param string $parent Required. The DataStream resource to list schemas for. + * Format: + * properties/{property_id}/dataStreams/{dataStream} + * Example: properties/1234/dataStreams/5678 + * @param array $optionalArgs { + * Optional. + * + * @type int $pageSize + * The maximum number of resources contained in the underlying API + * response. The API may return fewer values in a page, even if + * there are additional values to be retrieved. + * @type string $pageToken + * A page token is used to specify a page of values to be returned. + * If no page token is specified (the default), the first page + * of values will be returned. Any page token used here must have + * been generated by a previous call to the API. + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\ApiCore\PagedListResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function listSKAdNetworkConversionValueSchemas($parent, array $optionalArgs = []) + { + $request = new ListSKAdNetworkConversionValueSchemasRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $requestParamHeaders['parent'] = $parent; + if (isset($optionalArgs['pageSize'])) { + $request->setPageSize($optionalArgs['pageSize']); + } + if (isset($optionalArgs['pageToken'])) { + $request->setPageToken($optionalArgs['pageToken']); + } + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->getPagedListResponse('ListSKAdNetworkConversionValueSchemas', $optionalArgs, ListSKAdNetworkConversionValueSchemasResponse::class, $request); } /** * Lists all SearchAds360Links on a property. @@ -4939,15 +6401,15 @@ public function listSearchAds360Links($parent, array $optionalArgs = []) return $this->getPagedListResponse('ListSearchAds360Links', $optionalArgs, ListSearchAds360LinksResponse::class, $request); } /** - * Lists all user links on an account or property. + * List all subproperty Event Filters on a property. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $formattedParent = $analyticsAdminServiceClient->accountName('[ACCOUNT]'); + * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]'); * // Iterate over pages of elements - * $pagedResponse = $analyticsAdminServiceClient->listUserLinks($formattedParent); + * $pagedResponse = $analyticsAdminServiceClient->listSubpropertyEventFilters($formattedParent); * foreach ($pagedResponse->iteratePages() as $page) { * foreach ($page as $element) { * // doSomethingWith($element); @@ -4955,7 +6417,7 @@ public function listSearchAds360Links($parent, array $optionalArgs = []) * } * // Alternatively: * // Iterate through all elements - * $pagedResponse = $analyticsAdminServiceClient->listUserLinks($formattedParent); + * $pagedResponse = $analyticsAdminServiceClient->listSubpropertyEventFilters($formattedParent); * foreach ($pagedResponse->iterateAllElements() as $element) { * // doSomethingWith($element); * } @@ -4964,7 +6426,9 @@ public function listSearchAds360Links($parent, array $optionalArgs = []) * } * ``` * - * @param string $parent Required. Example format: accounts/1234 + * @param string $parent Required. Resource name of the ordinary property. + * Format: properties/property_id + * Example: properties/123 * @param array $optionalArgs { * Optional. * @@ -4989,9 +6453,9 @@ public function listSearchAds360Links($parent, array $optionalArgs = []) * * @experimental */ - public function listUserLinks($parent, array $optionalArgs = []) + public function listSubpropertyEventFilters($parent, array $optionalArgs = []) { - $request = new ListUserLinksRequest(); + $request = new ListSubpropertyEventFiltersRequest(); $requestParamHeaders = []; $request->setParent($parent); $requestParamHeaders['parent'] = $parent; @@ -5003,7 +6467,7 @@ public function listUserLinks($parent, array $optionalArgs = []) } $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->getPagedListResponse('ListUserLinks', $optionalArgs, ListUserLinksResponse::class, $request); + return $this->getPagedListResponse('ListSubpropertyEventFilters', $optionalArgs, ListSubpropertyEventFiltersResponse::class, $request); } /** * Requests a ticket for creating an account. @@ -5025,7 +6489,7 @@ public function listUserLinks($parent, array $optionalArgs = []) * The account to create. * @type string $redirectUri * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Developers Console as a Redirect URI. + * Must be configured in Cloud Console as a Redirect URI. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on @@ -5054,8 +6518,10 @@ public function provisionAccountTicket(array $optionalArgs = []) * 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. The property must be - * in Google Analytics 360. This method is only available to Administrators. + * 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 GA4 UI Reporting, GA4 UI Explorations, * GA4 Data API, and other products like Firebase & Admob that can retrieve @@ -5078,9 +6544,14 @@ public function provisionAccountTicket(array $optionalArgs = []) * Optional. * * @type string $entity - * The Data Access Report is requested for this property. - * For example if "123" is your GA4 property ID, then entity should be - * "properties/123". + * 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 GA4 property ID. To request at the + * account level, entity should be for example 'accounts/1234' if "1234" is + * your GA4 Account ID. * @type AccessDimension[] $dimensions * The dimensions requested and displayed in the response. Requests are * allowed up to 9 dimensions. @@ -5136,7 +6607,19 @@ public function provisionAccountTicket(array $optionalArgs = []) * Specifies how rows are ordered in the response. * @type bool $returnEntityQuota * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [AccessQuota](#AccessQuota). + * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level + * requests, this field must be false. + * @type bool $includeAllUsers + * 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 $expandGroups + * 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. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on @@ -5187,6 +6670,12 @@ public function runAccessReport(array $optionalArgs = []) if (isset($optionalArgs['returnEntityQuota'])) { $request->setReturnEntityQuota($optionalArgs['returnEntityQuota']); } + if (isset($optionalArgs['includeAllUsers'])) { + $request->setIncludeAllUsers($optionalArgs['includeAllUsers']); + } + if (isset($optionalArgs['expandGroups'])) { + $request->setExpandGroups($optionalArgs['expandGroups']); + } $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); return $this->startCall('RunAccessReport', RunAccessReportResponse::class, $optionalArgs, $request)->wait(); @@ -5219,13 +6708,15 @@ public function runAccessReport(array $optionalArgs = []) * ``` * * @param string $account Required. The account resource for which to return change history - * resources. + * resources. Format: accounts/{account} Example: "accounts/100" * @param array $optionalArgs { * Optional. * * @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[] $resourceType * Optional. If set, only return changes if they are for a resource that * matches at least one of these types. @@ -5523,6 +7014,146 @@ public function updateAudience($audience, $updateMask, array $optionalArgs = []) $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); return $this->startCall('UpdateAudience', Audience::class, $optionalArgs, $request)->wait(); } + /** + * Updates a CalculatedMetric on a property. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $calculatedMetric = new CalculatedMetric(); + * $updateMask = new FieldMask(); + * $response = $analyticsAdminServiceClient->updateCalculatedMetric($calculatedMetric, $updateMask); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param CalculatedMetric $calculatedMetric Required. The CalculatedMetric to update + * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be + * updated. To replace the entire entity, use one path with the string "*" to + * match all fields. + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\CalculatedMetric + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function updateCalculatedMetric($calculatedMetric, $updateMask, array $optionalArgs = []) + { + $request = new UpdateCalculatedMetricRequest(); + $requestParamHeaders = []; + $request->setCalculatedMetric($calculatedMetric); + $request->setUpdateMask($updateMask); + $requestParamHeaders['calculated_metric.name'] = $calculatedMetric->getName(); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('UpdateCalculatedMetric', CalculatedMetric::class, $optionalArgs, $request)->wait(); + } + /** + * Updates a ChannelGroup. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $channelGroup = new ChannelGroup(); + * $updateMask = new FieldMask(); + * $response = $analyticsAdminServiceClient->updateChannelGroup($channelGroup, $updateMask); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param ChannelGroup $channelGroup Required. The ChannelGroup to update. + * The resource's `name` field is used to identify the ChannelGroup to be + * updated. + * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\ChannelGroup + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function updateChannelGroup($channelGroup, $updateMask, array $optionalArgs = []) + { + $request = new UpdateChannelGroupRequest(); + $requestParamHeaders = []; + $request->setChannelGroup($channelGroup); + $request->setUpdateMask($updateMask); + $requestParamHeaders['channel_group.name'] = $channelGroup->getName(); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('UpdateChannelGroup', ChannelGroup::class, $optionalArgs, $request)->wait(); + } + /** + * Updates a conversion event with the specified attributes. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $conversionEvent = new ConversionEvent(); + * $updateMask = new FieldMask(); + * $response = $analyticsAdminServiceClient->updateConversionEvent($conversionEvent, $updateMask); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param ConversionEvent $conversionEvent Required. The conversion event to update. + * The `name` field is used to identify the settings to be updated. + * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\ConversionEvent + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function updateConversionEvent($conversionEvent, $updateMask, array $optionalArgs = []) + { + $request = new UpdateConversionEventRequest(); + $requestParamHeaders = []; + $request->setConversionEvent($conversionEvent); + $request->setUpdateMask($updateMask); + $requestParamHeaders['conversion_event.name'] = $conversionEvent->getName(); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('UpdateConversionEvent', ConversionEvent::class, $optionalArgs, $request)->wait(); + } /** * Updates a CustomDimension on a property. * @@ -5615,6 +7246,53 @@ public function updateCustomMetric($updateMask, array $optionalArgs = []) $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); return $this->startCall('UpdateCustomMetric', CustomMetric::class, $optionalArgs, $request)->wait(); } + /** + * Updates a DataRedactionSettings on a property. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $dataRedactionSettings = new DataRedactionSettings(); + * $updateMask = new FieldMask(); + * $response = $analyticsAdminServiceClient->updateDataRedactionSettings($dataRedactionSettings, $updateMask); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param DataRedactionSettings $dataRedactionSettings Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\DataRedactionSettings + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function updateDataRedactionSettings($dataRedactionSettings, $updateMask, array $optionalArgs = []) + { + $request = new UpdateDataRedactionSettingsRequest(); + $requestParamHeaders = []; + $request->setDataRedactionSettings($dataRedactionSettings); + $request->setUpdateMask($updateMask); + $requestParamHeaders['data_redaction_settings.name'] = $dataRedactionSettings->getName(); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('UpdateDataRedactionSettings', DataRedactionSettings::class, $optionalArgs, $request)->wait(); + } /** * Updates the singleton data retention settings for this property. * @@ -5754,6 +7432,103 @@ public function updateDisplayVideo360AdvertiserLink($updateMask, array $optional $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); return $this->startCall('UpdateDisplayVideo360AdvertiserLink', DisplayVideo360AdvertiserLink::class, $optionalArgs, $request)->wait(); } + /** + * Updates the enhanced measurement settings for this data stream. + * Note that the stream must enable enhanced measurement for these settings to + * take effect. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $enhancedMeasurementSettings = new EnhancedMeasurementSettings(); + * $updateMask = new FieldMask(); + * $response = $analyticsAdminServiceClient->updateEnhancedMeasurementSettings($enhancedMeasurementSettings, $updateMask); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param EnhancedMeasurementSettings $enhancedMeasurementSettings Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function updateEnhancedMeasurementSettings($enhancedMeasurementSettings, $updateMask, array $optionalArgs = []) + { + $request = new UpdateEnhancedMeasurementSettingsRequest(); + $requestParamHeaders = []; + $request->setEnhancedMeasurementSettings($enhancedMeasurementSettings); + $request->setUpdateMask($updateMask); + $requestParamHeaders['enhanced_measurement_settings.name'] = $enhancedMeasurementSettings->getName(); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('UpdateEnhancedMeasurementSettings', EnhancedMeasurementSettings::class, $optionalArgs, $request)->wait(); + } + /** + * Updates an EventCreateRule. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $eventCreateRule = new EventCreateRule(); + * $updateMask = new FieldMask(); + * $response = $analyticsAdminServiceClient->updateEventCreateRule($eventCreateRule, $updateMask); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param EventCreateRule $eventCreateRule Required. The EventCreateRule to update. + * The resource's `name` field is used to identify the EventCreateRule to be + * updated. + * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\EventCreateRule + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function updateEventCreateRule($eventCreateRule, $updateMask, array $optionalArgs = []) + { + $request = new UpdateEventCreateRuleRequest(); + $requestParamHeaders = []; + $request->setEventCreateRule($eventCreateRule); + $request->setUpdateMask($updateMask); + $requestParamHeaders['event_create_rule.name'] = $eventCreateRule->getName(); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('UpdateEventCreateRule', EventCreateRule::class, $optionalArgs, $request)->wait(); + } /** * Updates a ExpandedDataSet on a property. * @@ -5904,18 +7679,19 @@ public function updateGoogleSignalsSettings($googleSignalsSettings, $updateMask, * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { * $measurementProtocolSecret = new MeasurementProtocolSecret(); - * $response = $analyticsAdminServiceClient->updateMeasurementProtocolSecret($measurementProtocolSecret); + * $updateMask = new FieldMask(); + * $response = $analyticsAdminServiceClient->updateMeasurementProtocolSecret($measurementProtocolSecret, $updateMask); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * * @param MeasurementProtocolSecret $measurementProtocolSecret Required. The measurement protocol secret to update. + * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be + * updated. * @param array $optionalArgs { * Optional. * - * @type FieldMask $updateMask - * The list of fields to be updated. Omitted fields will not be updated. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on @@ -5928,15 +7704,13 @@ public function updateGoogleSignalsSettings($googleSignalsSettings, $updateMask, * * @experimental */ - public function updateMeasurementProtocolSecret($measurementProtocolSecret, array $optionalArgs = []) + public function updateMeasurementProtocolSecret($measurementProtocolSecret, $updateMask, array $optionalArgs = []) { $request = new UpdateMeasurementProtocolSecretRequest(); $requestParamHeaders = []; $request->setMeasurementProtocolSecret($measurementProtocolSecret); + $request->setUpdateMask($updateMask); $requestParamHeaders['measurement_protocol_secret.name'] = $measurementProtocolSecret->getName(); - if (isset($optionalArgs['updateMask'])) { - $request->setUpdateMask($optionalArgs['updateMask']); - } $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); return $this->startCall('UpdateMeasurementProtocolSecret', MeasurementProtocolSecret::class, $optionalArgs, $request)->wait(); @@ -5989,6 +7763,50 @@ public function updateProperty($property, $updateMask, array $optionalArgs = []) $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); return $this->startCall('UpdateProperty', Property::class, $optionalArgs, $request)->wait(); } + /** + * Updates a SKAdNetworkConversionValueSchema. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(); + * $updateMask = new FieldMask(); + * $response = $analyticsAdminServiceClient->updateSKAdNetworkConversionValueSchema($skadnetworkConversionValueSchema, $updateMask); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param SKAdNetworkConversionValueSchema $skadnetworkConversionValueSchema Required. SKAdNetwork conversion value schema to update. + * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be + * updated. + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function updateSKAdNetworkConversionValueSchema($skadnetworkConversionValueSchema, $updateMask, array $optionalArgs = []) + { + $request = new UpdateSKAdNetworkConversionValueSchemaRequest(); + $requestParamHeaders = []; + $request->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema); + $request->setUpdateMask($updateMask); + $requestParamHeaders['skadnetwork_conversion_value_schema.name'] = $skadnetworkConversionValueSchema->getName(); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('UpdateSKAdNetworkConversionValueSchema', SKAdNetworkConversionValueSchema::class, $optionalArgs, $request)->wait(); + } /** * Updates a SearchAds360Link on a property. * @@ -6036,21 +7854,26 @@ public function updateSearchAds360Link($updateMask, array $optionalArgs = []) return $this->startCall('UpdateSearchAds360Link', SearchAds360Link::class, $optionalArgs, $request)->wait(); } /** - * Updates a user link on an account or property. + * Updates a subproperty Event Filter. * * Sample code: * ``` * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { - * $userLink = new UserLink(); - * $response = $analyticsAdminServiceClient->updateUserLink($userLink); + * $subpropertyEventFilter = new SubpropertyEventFilter(); + * $updateMask = new FieldMask(); + * $response = $analyticsAdminServiceClient->updateSubpropertyEventFilter($subpropertyEventFilter, $updateMask); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * - * @param UserLink $userLink Required. The user link to update. - * @param array $optionalArgs { + * @param SubpropertyEventFilter $subpropertyEventFilter Required. The subproperty event filter to update. + * @param 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. + * @param array $optionalArgs { * Optional. * * @type RetrySettings|array $retrySettings @@ -6059,20 +7882,21 @@ public function updateSearchAds360Link($updateMask, array $optionalArgs = []) * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Admin\V1alpha\UserLink + * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter * * @throws ApiException if the remote call fails * * @experimental */ - public function updateUserLink($userLink, array $optionalArgs = []) + public function updateSubpropertyEventFilter($subpropertyEventFilter, $updateMask, array $optionalArgs = []) { - $request = new UpdateUserLinkRequest(); + $request = new UpdateSubpropertyEventFilterRequest(); $requestParamHeaders = []; - $request->setUserLink($userLink); - $requestParamHeaders['user_link.name'] = $userLink->getName(); + $request->setSubpropertyEventFilter($subpropertyEventFilter); + $request->setUpdateMask($updateMask); + $requestParamHeaders['subproperty_event_filter.name'] = $subpropertyEventFilter->getName(); $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('UpdateUserLink', UserLink::class, $optionalArgs, $request)->wait(); + return $this->startCall('UpdateSubpropertyEventFilter', SubpropertyEventFilter::class, $optionalArgs, $request)->wait(); } } diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAccessBindingRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAccessBindingRequest.php index 4b37d7442..c55a420fe 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAccessBindingRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAccessBindingRequest.php @@ -23,6 +23,21 @@ class GetAccessBindingRequest extends \Matomo\Dependencies\GoogleAnalyticsImport * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAccountRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAccountRequest.php index 726c03884..e92ff1e76 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAccountRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAccountRequest.php @@ -22,6 +22,20 @@ class GetAccountRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goo * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAdSenseLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAdSenseLinkRequest.php new file mode 100644 index 000000000..c0b85f051 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAdSenseLinkRequest.php @@ -0,0 +1,83 @@ +google.analytics.admin.v1alpha.GetAdSenseLinkRequest + */ +class GetAdSenseLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAttributionSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAttributionSettingsRequest.php index 5c69753a2..72a6d1524 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAttributionSettingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAttributionSettingsRequest.php @@ -21,6 +21,19 @@ class GetAttributionSettingsRequest extends \Matomo\Dependencies\GoogleAnalytics * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAudienceRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAudienceRequest.php index 6bb20a9d2..01b9f9345 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAudienceRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetAudienceRequest.php @@ -21,6 +21,19 @@ class GetAudienceRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetBigQueryLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetBigQueryLinkRequest.php index 0a88a3b7c..d5cf8f74b 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetBigQueryLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetBigQueryLinkRequest.php @@ -22,6 +22,20 @@ class GetBigQueryLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImporte * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetCalculatedMetricRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetCalculatedMetricRequest.php new file mode 100644 index 000000000..5d0cf0fb2 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetCalculatedMetricRequest.php @@ -0,0 +1,83 @@ +google.analytics.admin.v1alpha.GetCalculatedMetricRequest + */ +class GetCalculatedMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/GetChannelGroupRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetChannelGroupRequest.php new file mode 100644 index 000000000..bda1472ff --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetChannelGroupRequest.php @@ -0,0 +1,78 @@ +google.analytics.admin.v1alpha.GetChannelGroupRequest + */ +class GetChannelGroupRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/GetConversionEventRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetConversionEventRequest.php index 2429d23c6..7ae2cdc04 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetConversionEventRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetConversionEventRequest.php @@ -22,6 +22,20 @@ class GetConversionEventRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetCustomDimensionRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetCustomDimensionRequest.php index 31045592d..08fc4a854 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetCustomDimensionRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetCustomDimensionRequest.php @@ -21,6 +21,19 @@ class GetCustomDimensionRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetCustomMetricRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetCustomMetricRequest.php index 1b3927d4a..14549c0e2 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetCustomMetricRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetCustomMetricRequest.php @@ -21,6 +21,19 @@ class GetCustomMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImporte * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataRedactionSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataRedactionSettingsRequest.php new file mode 100644 index 000000000..8e79c789c --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataRedactionSettingsRequest.php @@ -0,0 +1,88 @@ +google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest + */ +class GetDataRedactionSettingsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataRetentionSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataRetentionSettingsRequest.php index 4d700d0c5..6d473280d 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataRetentionSettingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataRetentionSettingsRequest.php @@ -23,6 +23,21 @@ class GetDataRetentionSettingsRequest extends \Matomo\Dependencies\GoogleAnalyti * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataSharingSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataSharingSettingsRequest.php index 223aadafb..25bb66a6c 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataSharingSettingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataSharingSettingsRequest.php @@ -22,6 +22,20 @@ class GetDataSharingSettingsRequest extends \Matomo\Dependencies\GoogleAnalytics * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataStreamRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataStreamRequest.php index 7a2f31a1e..0b3751487 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataStreamRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDataStreamRequest.php @@ -21,6 +21,19 @@ class GetDataStreamRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php index 85aabec01..348f260d4 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php @@ -21,6 +21,19 @@ class GetDisplayVideo360AdvertiserLinkProposalRequest extends \Matomo\Dependenci * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php index 7306a9ebe..ca2291ce8 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php @@ -21,6 +21,19 @@ class GetDisplayVideo360AdvertiserLinkRequest extends \Matomo\Dependencies\Googl * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetEnhancedMeasurementSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetEnhancedMeasurementSettingsRequest.php index b1a35ebf4..1f6144f70 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetEnhancedMeasurementSettingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetEnhancedMeasurementSettingsRequest.php @@ -17,12 +17,27 @@ class GetEnhancedMeasurementSettingsRequest extends \Matomo\Dependencies\GoogleA /** * Required. The name of the settings to lookup. * Format: - * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings - * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" + * 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) = { */ private $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. * @@ -32,8 +47,8 @@ class GetEnhancedMeasurementSettingsRequest extends \Matomo\Dependencies\GoogleA * @type string $name * Required. The name of the settings to lookup. * Format: - * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings - * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" + * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings + * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" * } */ public function __construct($data = NULL) @@ -44,8 +59,8 @@ public function __construct($data = NULL) /** * Required. The name of the settings to lookup. * Format: - * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings - * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" + * 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 @@ -57,8 +72,8 @@ public function getName() /** * Required. The name of the settings to lookup. * Format: - * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings - * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" + * 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 diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetEventCreateRuleRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetEventCreateRuleRequest.php new file mode 100644 index 000000000..7e6c9649b --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetEventCreateRuleRequest.php @@ -0,0 +1,78 @@ +google.analytics.admin.v1alpha.GetEventCreateRuleRequest + */ +class GetEventCreateRuleRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/GetExpandedDataSetRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetExpandedDataSetRequest.php index 75a2a7464..004733eda 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetExpandedDataSetRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetExpandedDataSetRequest.php @@ -15,12 +15,25 @@ class GetExpandedDataSetRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * Required. The name of the Audience to get. + * 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) = { */ private $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. * @@ -28,7 +41,7 @@ class GetExpandedDataSetRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Optional. Data for populating the Message object. * * @type string $name - * Required. The name of the Audience to get. + * Required. The name of the ExpandedDataSet to get. * Example format: properties/1234/expandedDataSets/5678 * } */ @@ -38,7 +51,7 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * Required. The name of the Audience to get. + * 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) = { @@ -49,7 +62,7 @@ public function getName() return $this->name; } /** - * Required. The name of the Audience to get. + * 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) = { diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetGlobalSiteTagRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetGlobalSiteTagRequest.php index 01c9b841d..41f10e6f3 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetGlobalSiteTagRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetGlobalSiteTagRequest.php @@ -23,6 +23,21 @@ class GetGlobalSiteTagRequest extends \Matomo\Dependencies\GoogleAnalyticsImport * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetGoogleSignalsSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetGoogleSignalsSettingsRequest.php index b054325a4..0142c03f2 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetGoogleSignalsSettingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetGoogleSignalsSettingsRequest.php @@ -21,6 +21,19 @@ class GetGoogleSignalsSettingsRequest extends \Matomo\Dependencies\GoogleAnalyti * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetMeasurementProtocolSecretRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetMeasurementProtocolSecretRequest.php index 1034f27e5..f5374932f 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetMeasurementProtocolSecretRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetMeasurementProtocolSecretRequest.php @@ -22,6 +22,20 @@ class GetMeasurementProtocolSecretRequest extends \Matomo\Dependencies\GoogleAna * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetPropertyRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetPropertyRequest.php index e80024b25..db15792c1 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetPropertyRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetPropertyRequest.php @@ -22,6 +22,20 @@ class GetPropertyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetRollupPropertySourceLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetRollupPropertySourceLinkRequest.php new file mode 100644 index 000000000..f72e53280 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetRollupPropertySourceLinkRequest.php @@ -0,0 +1,88 @@ +google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest + */ +class GetRollupPropertySourceLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php new file mode 100644 index 000000000..cfd1608f1 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php @@ -0,0 +1,83 @@ +google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + */ +class GetSKAdNetworkConversionValueSchemaRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/GetSearchAds360LinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetSearchAds360LinkRequest.php index d4c32065e..6131587af 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetSearchAds360LinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetSearchAds360LinkRequest.php @@ -21,6 +21,19 @@ class GetSearchAds360LinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImp * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GetSubpropertyEventFilterRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetSubpropertyEventFilterRequest.php new file mode 100644 index 000000000..20fe0e351 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GetSubpropertyEventFilterRequest.php @@ -0,0 +1,88 @@ +google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest + */ +class GetSubpropertyEventFilterRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/GoogleSignalsConsent.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GoogleSignalsConsent.php index f12b44da0..e0e698eb5 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GoogleSignalsConsent.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GoogleSignalsConsent.php @@ -6,8 +6,7 @@ use UnexpectedValueException; /** - * Consent field of the Google Signals settings (i.e., whether the user has - * consented to the Google Signals terms of service.) + * Consent field of the Google Signals settings. * * Protobuf type google.analytics.admin.v1alpha.GoogleSignalsConsent */ diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GoogleSignalsState.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GoogleSignalsState.php index 6426519d5..f3e75e703 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/GoogleSignalsState.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GoogleSignalsState.php @@ -6,8 +6,7 @@ use UnexpectedValueException; /** - * Status of the Google Signals settings (i.e., whether this feature has been - * enabled for the property). + * Status of the Google Signals settings. * * Protobuf type google.analytics.admin.v1alpha.GoogleSignalsState */ diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/GroupingRule.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/GroupingRule.php new file mode 100644 index 000000000..980ec5aa8 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/GroupingRule.php @@ -0,0 +1,100 @@ +google.analytics.admin.v1alpha.GroupingRule + */ +class GroupingRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression::class); + $this->expression = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAccessBindingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAccessBindingsRequest.php index 3f1223ee8..ecf0f67d5 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAccessBindingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAccessBindingsRequest.php @@ -40,6 +40,20 @@ class ListAccessBindingsRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAdSenseLinksRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAdSenseLinksRequest.php new file mode 100644 index 000000000..1583d65c8 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAdSenseLinksRequest.php @@ -0,0 +1,165 @@ +google.analytics.admin.v1alpha.ListAdSenseLinksRequest + */ +class ListAdSenseLinksRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $parent = ''; + /** + * The maximum number of resources to return. + * If unspecified, at most 50 resources will be returned. + * The maximum value is 200 (higher values will be coerced to the maximum). + * + * Generated from protobuf field int32 page_size = 2; + */ + private $page_size = 0; + /** + * A page token received from a previous `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; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAdSenseLinksResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAdSenseLinksResponse.php new file mode 100644 index 000000000..567337a13 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAdSenseLinksResponse.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.ListAdSenseLinksResponse + */ +class ListAdSenseLinksResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $next_page_token = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Admin\V1alpha\AdSenseLink>|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + public function getAdsenseLinks() + { + return $this->adsense_links; + } + /** + * List of AdSenseLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; + * @param array<\Google\Analytics\Admin\V1alpha\AdSenseLink>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAdsenseLinks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAudiencesRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAudiencesRequest.php index 75b1c074f..b4831f08f 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAudiencesRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListAudiencesRequest.php @@ -37,6 +37,18 @@ class ListAudiencesRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\ * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListBigQueryLinksRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListBigQueryLinksRequest.php index 8887fd0ee..3a6edc85f 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListBigQueryLinksRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListBigQueryLinksRequest.php @@ -40,6 +40,20 @@ class ListBigQueryLinksRequest extends \Matomo\Dependencies\GoogleAnalyticsImpor * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCalculatedMetricsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCalculatedMetricsRequest.php new file mode 100644 index 000000000..7b91865dd --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCalculatedMetricsRequest.php @@ -0,0 +1,155 @@ +google.analytics.admin.v1alpha.ListCalculatedMetricsRequest + */ +class ListCalculatedMetricsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. Example format: properties/1234 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $parent = ''; + /** + * 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]; + */ + private $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]; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCalculatedMetricsResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCalculatedMetricsResponse.php new file mode 100644 index 000000000..8cc30c659 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCalculatedMetricsResponse.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.ListCalculatedMetricsResponse + */ +class ListCalculatedMetricsResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $next_page_token = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Admin\V1alpha\CalculatedMetric>|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + public function getCalculatedMetrics() + { + return $this->calculated_metrics; + } + /** + * List of CalculatedMetrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1; + * @param array<\Google\Analytics\Admin\V1alpha\CalculatedMetric>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setCalculatedMetrics($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ListChannelGroupsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListChannelGroupsRequest.php new file mode 100644 index 000000000..da4ec7b18 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListChannelGroupsRequest.php @@ -0,0 +1,160 @@ +google.analytics.admin.v1alpha.ListChannelGroupsRequest + */ +class ListChannelGroupsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $parent = ''; + /** + * The maximum number of resources to return. + * If unspecified, at most 50 resources will be returned. + * The maximum value is 200 (higher values will be coerced to the maximum). + * + * Generated from protobuf field int32 page_size = 2; + */ + private $page_size = 0; + /** + * A page token, received from a previous `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; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ListChannelGroupsResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListChannelGroupsResponse.php new file mode 100644 index 000000000..3548c56ef --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListChannelGroupsResponse.php @@ -0,0 +1,100 @@ +google.analytics.admin.v1alpha.ListChannelGroupsResponse + */ +class ListChannelGroupsResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $next_page_token = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Admin\V1alpha\ChannelGroup>|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\ChannelGroup>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setChannelGroups($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ListConnectedSiteTagsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListConnectedSiteTagsRequest.php new file mode 100644 index 000000000..756ec477e --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListConnectedSiteTagsRequest.php @@ -0,0 +1,73 @@ +google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest + */ +class ListConnectedSiteTagsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The Universal Analytics property to fetch connected site tags for. + * This does not work on GA4 properties. A maximum of 20 connected site tags + * will be returned. + * Example Format: `properties/1234` + * + * Generated from protobuf field string property = 1; + */ + private $property = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $property + * The Universal Analytics property to fetch connected site tags for. + * This does not work on GA4 properties. A maximum of 20 connected site tags + * will be returned. + * Example Format: `properties/1234` + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + /** + * The Universal Analytics property to fetch connected site tags for. + * This does not work on GA4 properties. A maximum of 20 connected site tags + * will be returned. + * Example Format: `properties/1234` + * + * Generated from protobuf field string property = 1; + * @return string + */ + public function getProperty() + { + return $this->property; + } + /** + * The Universal Analytics property to fetch connected site tags for. + * This does not work on GA4 properties. A maximum of 20 connected site tags + * will be returned. + * Example Format: `properties/1234` + * + * Generated from protobuf field string property = 1; + * @param string $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkString($var, True); + $this->property = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListConnectedSiteTagsResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListConnectedSiteTagsResponse.php new file mode 100644 index 000000000..9cb1e0588 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListConnectedSiteTagsResponse.php @@ -0,0 +1,65 @@ +google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse + */ +class ListConnectedSiteTagsResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The site tags for the Universal Analytics property. A maximum of 20 + * connected site tags will be returned. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + */ + private $connected_site_tags; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Admin\V1alpha\ConnectedSiteTag>|\Google\Protobuf\Internal\RepeatedField $connected_site_tags + * The site tags for the Universal Analytics property. A maximum of 20 + * connected site tags will be returned. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + /** + * The site tags for the Universal Analytics property. A maximum of 20 + * connected site tags will be returned. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getConnectedSiteTags() + { + return $this->connected_site_tags; + } + /** + * The site tags for the Universal Analytics property. A maximum of 20 + * connected site tags will be returned. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * @param array<\Google\Analytics\Admin\V1alpha\ConnectedSiteTag>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setConnectedSiteTags($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ConnectedSiteTag::class); + $this->connected_site_tags = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListConversionEventsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListConversionEventsRequest.php index 8b5ccf3b6..502234f15 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListConversionEventsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListConversionEventsRequest.php @@ -38,6 +38,19 @@ class ListConversionEventsRequest extends \Matomo\Dependencies\GoogleAnalyticsIm * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCustomDimensionsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCustomDimensionsRequest.php index cc9934015..d52407418 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCustomDimensionsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCustomDimensionsRequest.php @@ -37,6 +37,18 @@ class ListCustomDimensionsRequest extends \Matomo\Dependencies\GoogleAnalyticsIm * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCustomMetricsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCustomMetricsRequest.php index f71ddeeb0..cf6045f7f 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCustomMetricsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListCustomMetricsRequest.php @@ -37,6 +37,18 @@ class ListCustomMetricsRequest extends \Matomo\Dependencies\GoogleAnalyticsImpor * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListDataStreamsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListDataStreamsRequest.php index 445c21ca4..2e8cc5933 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListDataStreamsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListDataStreamsRequest.php @@ -37,6 +37,18 @@ class ListDataStreamsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporte * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.php index 1d747843e..eece09d0c 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.php @@ -39,6 +39,18 @@ class ListDisplayVideo360AdvertiserLinkProposalsRequest extends \Matomo\Dependen * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php index 0794225c1..285c1b7dc 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php @@ -38,6 +38,18 @@ class ListDisplayVideo360AdvertiserLinksRequest extends \Matomo\Dependencies\Goo * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListEventCreateRulesRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListEventCreateRulesRequest.php new file mode 100644 index 000000000..16eba40e1 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListEventCreateRulesRequest.php @@ -0,0 +1,155 @@ +google.analytics.admin.v1alpha.ListEventCreateRulesRequest + */ +class ListEventCreateRulesRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $parent = ''; + /** + * The maximum number of resources to return. + * If unspecified, at most 50 resources will be returned. + * The maximum value is 200 (higher values will be coerced to the maximum). + * + * Generated from protobuf field int32 page_size = 2; + */ + private $page_size = 0; + /** + * A page token, received from a previous `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; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ListEventCreateRulesResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListEventCreateRulesResponse.php new file mode 100644 index 000000000..0f1ff3d25 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListEventCreateRulesResponse.php @@ -0,0 +1,100 @@ +google.analytics.admin.v1alpha.ListEventCreateRulesResponse + */ +class ListEventCreateRulesResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $next_page_token = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Admin\V1alpha\EventCreateRule>|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\EventCreateRule>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setEventCreateRules($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ListExpandedDataSetsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListExpandedDataSetsRequest.php index 80e2053bb..23dc68bbe 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListExpandedDataSetsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListExpandedDataSetsRequest.php @@ -37,6 +37,18 @@ class ListExpandedDataSetsRequest extends \Matomo\Dependencies\GoogleAnalyticsIm * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListFirebaseLinksRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListFirebaseLinksRequest.php index 51210859f..6a9d5fd4e 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListFirebaseLinksRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListFirebaseLinksRequest.php @@ -39,6 +39,19 @@ class ListFirebaseLinksRequest extends \Matomo\Dependencies\GoogleAnalyticsImpor * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListGoogleAdsLinksRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListGoogleAdsLinksRequest.php index 7ce402806..cc21fa164 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListGoogleAdsLinksRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListGoogleAdsLinksRequest.php @@ -37,6 +37,18 @@ class ListGoogleAdsLinksRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListMeasurementProtocolSecretsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListMeasurementProtocolSecretsRequest.php index 5432af839..a9e961014 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListMeasurementProtocolSecretsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListMeasurementProtocolSecretsRequest.php @@ -39,6 +39,20 @@ class ListMeasurementProtocolSecretsRequest extends \Matomo\Dependencies\GoogleA * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListRollupPropertySourceLinksRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListRollupPropertySourceLinksRequest.php new file mode 100644 index 000000000..885240238 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListRollupPropertySourceLinksRequest.php @@ -0,0 +1,168 @@ +google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest + */ +class ListRollupPropertySourceLinksRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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]; + */ + private $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]; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ListRollupPropertySourceLinksResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListRollupPropertySourceLinksResponse.php new file mode 100644 index 000000000..db9954751 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListRollupPropertySourceLinksResponse.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse + */ +class ListRollupPropertySourceLinksResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $next_page_token = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Admin\V1alpha\RollupPropertySourceLink>|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\RollupPropertySourceLink>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setRollupPropertySourceLinks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php new file mode 100644 index 000000000..8932c5259 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php @@ -0,0 +1,178 @@ +google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + */ +class ListSKAdNetworkConversionValueSchemasRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $parent = ''; + /** + * The maximum number of resources to return. The service may return + * fewer than this value, even if there are additional pages. + * If unspecified, at most 50 resources will be returned. + * The maximum value is 200; (higher values will be coerced to the maximum) + * + * Generated from protobuf field int32 page_size = 2; + */ + private $page_size = 0; + /** + * A page token, received from a previous + * `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; + */ + private $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 + * 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 + * `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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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; + } + /** + * 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 + * `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; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + /** + * 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; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php new file mode 100644 index 000000000..7792470f6 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php @@ -0,0 +1,112 @@ +google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + */ +class ListSKAdNetworkConversionValueSchemasResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $next_page_token = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema>|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setSkadnetworkConversionValueSchemas($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSearchAds360LinksRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSearchAds360LinksRequest.php index f568c0e7a..d5b539193 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSearchAds360LinksRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSearchAds360LinksRequest.php @@ -38,6 +38,18 @@ class ListSearchAds360LinksRequest extends \Matomo\Dependencies\GoogleAnalyticsI * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSubpropertyEventFiltersRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSubpropertyEventFiltersRequest.php new file mode 100644 index 000000000..8c76ebfcf --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSubpropertyEventFiltersRequest.php @@ -0,0 +1,173 @@ +google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest + */ +class ListSubpropertyEventFiltersRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) = { + */ + private $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]; + */ + private $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]; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSubpropertyEventFiltersResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSubpropertyEventFiltersResponse.php new file mode 100644 index 000000000..5d61ba8cb --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ListSubpropertyEventFiltersResponse.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse + */ +class ListSubpropertyEventFiltersResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $next_page_token = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Admin\V1alpha\SubpropertyEventFilter>|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\SubpropertyEventFilter>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setSubpropertyEventFilters($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/MatchingCondition.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/MatchingCondition.php new file mode 100644 index 000000000..0b6c74a7c --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/MatchingCondition.php @@ -0,0 +1,187 @@ +google.analytics.admin.v1alpha.MatchingCondition + */ +class MatchingCondition extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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]; + */ + private $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; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/MatchingCondition/ComparisonType.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/MatchingCondition/ComparisonType.php new file mode 100644 index 000000000..5c4d0afea --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/MatchingCondition/ComparisonType.php @@ -0,0 +1,123 @@ +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); + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ComparisonType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\MatchingCondition_ComparisonType::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/MatchingCondition_ComparisonType.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/MatchingCondition_ComparisonType.php new file mode 100644 index 000000000..d67737d38 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/MatchingCondition_ComparisonType.php @@ -0,0 +1,17 @@ +google.analytics.admin.v1alpha.ParameterMutation + */ +class ParameterMutation extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/PostbackWindow.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/PostbackWindow.php new file mode 100644 index 000000000..9c16df5dc --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/PostbackWindow.php @@ -0,0 +1,128 @@ +google.analytics.admin.v1alpha.PostbackWindow + */ +class PostbackWindow extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $postback_window_settings_enabled = \false; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Admin\V1alpha\ConversionValues>|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\ConversionValues>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setConversionValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/Property.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/Property.php index 705dce094..0d6c32e22 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/Property.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/Property.php @@ -25,8 +25,7 @@ class Property extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto /** * Immutable. The property type for this Property resource. When creating a * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then - * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" - * types cannot yet be created via Google Analytics Admin API. + * "ORDINARY_PROPERTY" will be implied. * * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; */ @@ -129,8 +128,7 @@ class Property extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto * @type int $property_type * Immutable. The property type for this Property resource. When creating a * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then - * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" - * types cannot yet be created via Google Analytics Admin API. + * "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 @@ -209,8 +207,7 @@ public function setName($var) /** * Immutable. The property type for this Property resource. When creating a * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then - * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" - * types cannot yet be created via Google Analytics Admin API. + * "ORDINARY_PROPERTY" will be implied. * * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return int @@ -222,8 +219,7 @@ public function getPropertyType() /** * Immutable. The property type for this Property resource. When creating a * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then - * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" - * types cannot yet be created via Google Analytics Admin API. + * "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 diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/ProvisionAccountTicketRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/ProvisionAccountTicketRequest.php index 6ed2029da..d697bb745 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/ProvisionAccountTicketRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/ProvisionAccountTicketRequest.php @@ -22,7 +22,7 @@ class ProvisionAccountTicketRequest extends \Matomo\Dependencies\GoogleAnalytics private $account = null; /** * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Developers Console as a Redirect URI. + * Must be configured in Cloud Console as a Redirect URI. * * Generated from protobuf field string redirect_uri = 2; */ @@ -37,7 +37,7 @@ class ProvisionAccountTicketRequest extends \Matomo\Dependencies\GoogleAnalytics * 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 Developers Console as a Redirect URI. + * Must be configured in Cloud Console as a Redirect URI. * } */ public function __construct($data = NULL) @@ -78,7 +78,7 @@ public function setAccount($var) } /** * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Developers Console as a Redirect URI. + * Must be configured in Cloud Console as a Redirect URI. * * Generated from protobuf field string redirect_uri = 2; * @return string @@ -89,7 +89,7 @@ public function getRedirectUri() } /** * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Developers Console as a Redirect URI. + * Must be configured in Cloud Console as a Redirect URI. * * Generated from protobuf field string redirect_uri = 2; * @param string $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/RollupPropertySourceLink.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/RollupPropertySourceLink.php new file mode 100644 index 000000000..d133a1842 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/RollupPropertySourceLink.php @@ -0,0 +1,112 @@ +google.analytics.admin.v1alpha.RollupPropertySourceLink + */ +class RollupPropertySourceLink extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/RunAccessReportRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/RunAccessReportRequest.php index 340412a57..cd1685b97 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/RunAccessReportRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/RunAccessReportRequest.php @@ -15,9 +15,13 @@ class RunAccessReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * The Data Access Report is requested for this property. - * For example if "123" is your GA4 property ID, then entity should be - * "properties/123". + * 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 GA4 property ID. To request at the + * account level, entity should be for example 'accounts/1234' if "1234" is + * your GA4 Account ID. * * Generated from protobuf field string entity = 1; */ @@ -109,11 +113,31 @@ class RunAccessReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporte private $order_bys; /** * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [AccessQuota](#AccessQuota). + * 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; */ private $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]; + */ + private $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]; + */ + private $expand_groups = \false; /** * Constructor. * @@ -121,9 +145,13 @@ class RunAccessReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporte * Optional. Data for populating the Message object. * * @type string $entity - * The Data Access Report is requested for this property. - * For example if "123" is your GA4 property ID, then entity should be - * "properties/123". + * 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 GA4 property ID. To request at the + * account level, entity should be for example 'accounts/1234' if "1234" is + * your GA4 Account ID. * @type array<\Google\Analytics\Admin\V1alpha\AccessDimension>|\Google\Protobuf\Internal\RepeatedField $dimensions * The dimensions requested and displayed in the response. Requests are * allowed up to 9 dimensions. @@ -175,7 +203,19 @@ class RunAccessReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporte * 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). + * 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) @@ -184,9 +224,13 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * The Data Access Report is requested for this property. - * For example if "123" is your GA4 property ID, then entity should be - * "properties/123". + * 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 GA4 property ID. To request at the + * account level, entity should be for example 'accounts/1234' if "1234" is + * your GA4 Account ID. * * Generated from protobuf field string entity = 1; * @return string @@ -196,9 +240,13 @@ public function getEntity() return $this->entity; } /** - * The Data Access Report is requested for this property. - * For example if "123" is your GA4 property ID, then entity should be - * "properties/123". + * 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 GA4 property ID. To request at the + * account level, entity should be for example 'accounts/1234' if "1234" is + * your GA4 Account ID. * * Generated from protobuf field string entity = 1; * @param string $var @@ -497,7 +545,8 @@ public function setOrderBys($var) } /** * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [AccessQuota](#AccessQuota). + * 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 @@ -508,7 +557,8 @@ public function getReturnEntityQuota() } /** * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [AccessQuota](#AccessQuota). + * 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 @@ -520,4 +570,64 @@ public function setReturnEntityQuota($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/vendor/prefixed/google/analytics-admin/src/V1alpha/RunAccessReportResponse.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/RunAccessReportResponse.php index 190cf5ef8..7baf41d28 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/RunAccessReportResponse.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/RunAccessReportResponse.php @@ -49,7 +49,8 @@ class RunAccessReportResponse extends \Matomo\Dependencies\GoogleAnalyticsImport */ private $row_count = 0; /** - * The quota state for this Analytics property including this request. + * 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; */ @@ -79,7 +80,8 @@ class RunAccessReportResponse extends \Matomo\Dependencies\GoogleAnalyticsImport * 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. + * The quota state for this Analytics property including this request. This + * field doesn't work with account-level requests. * } */ public function __construct($data = NULL) @@ -200,7 +202,8 @@ public function setRowCount($var) return $this; } /** - * The quota state for this Analytics property including this request. + * 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 @@ -218,7 +221,8 @@ public function clearQuota() unset($this->quota); } /** - * The quota state for this Analytics property including this request. + * 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 diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/SKAdNetworkConversionValueSchema.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/SKAdNetworkConversionValueSchema.php new file mode 100644 index 000000000..229e4ce1b --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/SKAdNetworkConversionValueSchema.php @@ -0,0 +1,285 @@ +google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + */ +class SKAdNetworkConversionValueSchema extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Output only. 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]; + */ + private $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]; + */ + private $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; + */ + private $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; + */ + private $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; + */ + private $apply_conversion_values = \false; + /** + * Constructor. + * + * @param array $data { + * 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 + * 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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + /** + * Output only. 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]; + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * Output only. 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]; + * @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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/SearchChangeHistoryEventsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/SearchChangeHistoryEventsRequest.php index e63087431..69b58e73c 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/SearchChangeHistoryEventsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/SearchChangeHistoryEventsRequest.php @@ -16,7 +16,7 @@ class SearchChangeHistoryEventsRequest extends \Matomo\Dependencies\GoogleAnalyt { /** * Required. The account resource for which to return change history - * resources. + * resources. Format: accounts/{account} Example: "accounts/100" * * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -24,6 +24,8 @@ class SearchChangeHistoryEventsRequest extends \Matomo\Dependencies\GoogleAnalyt /** * 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) = { */ @@ -88,10 +90,12 @@ class SearchChangeHistoryEventsRequest extends \Matomo\Dependencies\GoogleAnalyt * * @type string $account * Required. The account resource for which to return change history - * resources. + * 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 array|\Google\Protobuf\Internal\RepeatedField $resource_type * Optional. If set, only return changes if they are for a resource that * matches at least one of these types. @@ -125,7 +129,7 @@ public function __construct($data = NULL) } /** * Required. The account resource for which to return change history - * resources. + * 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 @@ -136,7 +140,7 @@ public function getAccount() } /** * Required. The account resource for which to return change history - * resources. + * 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 @@ -151,6 +155,8 @@ public function setAccount($var) /** * 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 @@ -162,6 +168,8 @@ public function getProperty() /** * 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 diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilter.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilter.php new file mode 100644 index 000000000..5d78310b9 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilter.php @@ -0,0 +1,147 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilter + */ +class SubpropertyEventFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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 array<\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause>|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setFilterClauses($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause::class); + $this->filter_clauses = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterClause.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterClause.php new file mode 100644 index 000000000..6d9720203 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterClause.php @@ -0,0 +1,107 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilterClause + */ +class SubpropertyEventFilterClause extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression::class); + $this->filter_expression = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php new file mode 100644 index 000000000..e076abcb9 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php @@ -0,0 +1,56 @@ +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); + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(FilterClauseType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause_FilterClauseType::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition.php new file mode 100644 index 000000000..a9d3c67a2 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + */ +class SubpropertyEventFilterCondition extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The field that is being filtered. + * + * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $field_name = ''; + protected $one_filter; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type 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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition/StringFilter.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition/StringFilter.php new file mode 100644 index 000000000..7f3f4df1b --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition/StringFilter.php @@ -0,0 +1,129 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + */ +class StringFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $match_type = 0; + /** + * Required. The string value used for the matching. + * + * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $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]; + */ + private $case_sensitive = \false; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $match_type + * Required. The match type for the string filter. + * @type string $value + * Required. The string value 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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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; + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(StringFilter::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition_StringFilter::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php new file mode 100644 index 000000000..6b67f4233 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php @@ -0,0 +1,75 @@ +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); + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(MatchType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition_StringFilter_MatchType::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterExpression.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterExpression.php new file mode 100644 index 000000000..edec9f280 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterExpression.php @@ -0,0 +1,137 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + */ +class SubpropertyEventFilterExpression extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition::class); + $this->writeOneof(3, $var); + return $this; + } + /** + * @return string + */ + public function getExpr() + { + return $this->whichOneof("expr"); + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterExpressionList.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterExpressionList.php new file mode 100644 index 000000000..ca8ce4607 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/SubpropertyEventFilterExpressionList.php @@ -0,0 +1,61 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + */ +class SubpropertyEventFilterExpressionList extends \Matomo\Dependencies\GoogleAnalyticsImporter\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 array<\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression>|\Google\Protobuf\Internal\RepeatedField $filter_expressions + * Required. Unordered list. A list of Subproperty event filter expressions + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setFilterExpressions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression::class); + $this->filter_expressions = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAccessBindingRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAccessBindingRequest.php index cd3d3f19e..07dca2434 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAccessBindingRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAccessBindingRequest.php @@ -20,6 +20,17 @@ class UpdateAccessBindingRequest extends \Matomo\Dependencies\GoogleAnalyticsImp * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AccessBinding $accessBinding) : self + { + return (new self())->setAccessBinding($accessBinding); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAccountRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAccountRequest.php index 2750d83a5..91eb9fea7 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAccountRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAccountRequest.php @@ -30,6 +30,22 @@ class UpdateAccountRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\Account $account, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setAccount($account)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAttributionSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAttributionSettingsRequest.php index 2998d63fd..d8372ee8f 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAttributionSettingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAttributionSettingsRequest.php @@ -30,6 +30,22 @@ class UpdateAttributionSettingsRequest extends \Matomo\Dependencies\GoogleAnalyt * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AttributionSettings $attributionSettings, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setAttributionSettings($attributionSettings)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAudienceRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAudienceRequest.php index a909060f2..8e6cbe9f4 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAudienceRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateAudienceRequest.php @@ -30,6 +30,22 @@ class UpdateAudienceRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\Audience $audience, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setAudience($audience)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateCalculatedMetricRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateCalculatedMetricRequest.php new file mode 100644 index 000000000..e215eae9e --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateCalculatedMetricRequest.php @@ -0,0 +1,130 @@ +google.analytics.admin.v1alpha.UpdateCalculatedMetricRequest + */ +class UpdateCalculatedMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CalculatedMetric $calculatedMetric, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateChannelGroupRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateChannelGroupRequest.php new file mode 100644 index 000000000..f0d0fe84f --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateChannelGroupRequest.php @@ -0,0 +1,145 @@ +google.analytics.admin.v1alpha.UpdateChannelGroupRequest + */ +class UpdateChannelGroupRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ChannelGroup $channelGroup, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateConversionEventRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateConversionEventRequest.php new file mode 100644 index 000000000..93067cd3a --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateConversionEventRequest.php @@ -0,0 +1,140 @@ +google.analytics.admin.v1alpha.UpdateConversionEventRequest + */ +class UpdateConversionEventRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ConversionEvent $conversionEvent, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateCustomDimensionRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateCustomDimensionRequest.php index d36691f86..9fe103e6c 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateCustomDimensionRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateCustomDimensionRequest.php @@ -28,6 +28,20 @@ class UpdateCustomDimensionRequest extends \Matomo\Dependencies\GoogleAnalyticsI * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CustomDimension $customDimension, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setCustomDimension($customDimension)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateCustomMetricRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateCustomMetricRequest.php index a4e704fc7..67166f290 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateCustomMetricRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateCustomMetricRequest.php @@ -28,6 +28,20 @@ class UpdateCustomMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\CustomMetric $customMetric, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setCustomMetric($customMetric)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDataRedactionSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDataRedactionSettingsRequest.php new file mode 100644 index 000000000..309c87556 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDataRedactionSettingsRequest.php @@ -0,0 +1,140 @@ +google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest + */ +class UpdateDataRedactionSettingsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DataRedactionSettings $dataRedactionSettings, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDataRetentionSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDataRetentionSettingsRequest.php index e0a12519b..ff4874bf4 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDataRetentionSettingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDataRetentionSettingsRequest.php @@ -30,6 +30,22 @@ class UpdateDataRetentionSettingsRequest extends \Matomo\Dependencies\GoogleAnal * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DataRetentionSettings $dataRetentionSettings, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setDataRetentionSettings($dataRetentionSettings)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDataStreamRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDataStreamRequest.php index 61c1371f5..f86fe3f19 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDataStreamRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDataStreamRequest.php @@ -28,6 +28,20 @@ class UpdateDataStreamRequest extends \Matomo\Dependencies\GoogleAnalyticsImport * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DataStream $dataStream, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setDataStream($dataStream)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php index 8072ff9b4..a90f98006 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php @@ -28,6 +28,20 @@ class UpdateDisplayVideo360AdvertiserLinkRequest extends \Matomo\Dependencies\Go * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $displayVideo360AdvertiserLink, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setDisplayVideo360AdvertiserLink($displayVideo360AdvertiserLink)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php index eea71bf51..c5ff45fb8 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php @@ -22,13 +22,30 @@ class UpdateEnhancedMeasurementSettingsRequest extends \Matomo\Dependencies\Goog */ private $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. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "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]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $enhancedMeasurementSettings, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setEnhancedMeasurementSettings($enhancedMeasurementSettings)->setUpdateMask($updateMask); + } /** * Constructor. * @@ -39,9 +56,10 @@ class UpdateEnhancedMeasurementSettingsRequest extends \Matomo\Dependencies\Goog * Required. The settings to update. * The `name` field is used to identify the settings to be updated. * @type \Google\Protobuf\FieldMask $update_mask - * Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace - * the entire entity, use one path with the string "*" to match all fields. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * } */ public function __construct($data = NULL) @@ -58,7 +76,7 @@ public function __construct($data = NULL) */ public function getEnhancedMeasurementSettings() { - return isset($this->enhanced_measurement_settings) ? $this->enhanced_measurement_settings : null; + return $this->enhanced_measurement_settings; } public function hasEnhancedMeasurementSettings() { @@ -83,16 +101,17 @@ public function setEnhancedMeasurementSettings($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. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "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 isset($this->update_mask) ? $this->update_mask : null; + return $this->update_mask; } public function hasUpdateMask() { @@ -103,9 +122,10 @@ 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. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateEventCreateRuleRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateEventCreateRuleRequest.php new file mode 100644 index 000000000..1b78ee740 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateEventCreateRuleRequest.php @@ -0,0 +1,145 @@ +google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest + */ +class UpdateEventCreateRuleRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\EventCreateRule $eventCreateRule, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateExpandedDataSetRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateExpandedDataSetRequest.php index 9ecc9aa2f..7a5f68dbd 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateExpandedDataSetRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateExpandedDataSetRequest.php @@ -31,6 +31,23 @@ class UpdateExpandedDataSetRequest extends \Matomo\Dependencies\GoogleAnalyticsI * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\ExpandedDataSet $expandedDataSet, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setExpandedDataSet($expandedDataSet)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateGoogleAdsLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateGoogleAdsLinkRequest.php index b53d8d39e..58e5664f8 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateGoogleAdsLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateGoogleAdsLinkRequest.php @@ -29,6 +29,21 @@ class UpdateGoogleAdsLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImp * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GoogleAdsLink $googleAdsLink, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setGoogleAdsLink($googleAdsLink)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateGoogleSignalsSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateGoogleSignalsSettingsRequest.php index 4fa12d834..20aa2771c 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateGoogleSignalsSettingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateGoogleSignalsSettingsRequest.php @@ -30,6 +30,22 @@ class UpdateGoogleSignalsSettingsRequest extends \Matomo\Dependencies\GoogleAnal * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $googleSignalsSettings, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setGoogleSignalsSettings($googleSignalsSettings)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateMeasurementProtocolSecretRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateMeasurementProtocolSecretRequest.php index 8aa8c31c7..4982eba53 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateMeasurementProtocolSecretRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateMeasurementProtocolSecretRequest.php @@ -21,11 +21,25 @@ class UpdateMeasurementProtocolSecretRequest extends \Matomo\Dependencies\Google */ private $measurement_protocol_secret = null; /** - * The list of fields to be updated. Omitted fields will not be updated. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurementProtocolSecret, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setMeasurementProtocolSecret($measurementProtocolSecret)->setUpdateMask($updateMask); + } /** * Constructor. * @@ -35,7 +49,8 @@ class UpdateMeasurementProtocolSecretRequest extends \Matomo\Dependencies\Google * @type \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurement_protocol_secret * Required. The measurement protocol secret to update. * @type \Google\Protobuf\FieldMask $update_mask - * The list of fields to be updated. Omitted fields will not be updated. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. * } */ public function __construct($data = NULL) @@ -75,9 +90,10 @@ public function setMeasurementProtocolSecret($var) return $this; } /** - * The list of fields to be updated. Omitted fields will not be updated. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Protobuf\FieldMask|null */ public function getUpdateMask() @@ -93,9 +109,10 @@ public function clearUpdateMask() unset($this->update_mask); } /** - * The list of fields to be updated. Omitted fields will not be updated. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var * @return $this */ diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdatePropertyRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdatePropertyRequest.php index 94718fe0d..86b1e104b 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdatePropertyRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdatePropertyRequest.php @@ -31,6 +31,23 @@ class UpdatePropertyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\Property $property, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setProperty($property)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php new file mode 100644 index 000000000..7ce71ae55 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php @@ -0,0 +1,125 @@ +google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + */ +class UpdateSKAdNetworkConversionValueSchemaRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetworkConversionValueSchema, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateSearchAds360LinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateSearchAds360LinkRequest.php index bea5e21ff..29e194b57 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateSearchAds360LinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateSearchAds360LinkRequest.php @@ -28,6 +28,20 @@ class UpdateSearchAds360LinkRequest extends \Matomo\Dependencies\GoogleAnalytics * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SearchAds360Link $searchAds360Link, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setSearchAds360Link($searchAds360Link)->setUpdateMask($updateMask); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateSubpropertyEventFilterRequest.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateSubpropertyEventFilterRequest.php new file mode 100644 index 000000000..f34eeca15 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/UpdateSubpropertyEventFilterRequest.php @@ -0,0 +1,135 @@ +google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest + */ +class UpdateSubpropertyEventFilterRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subpropertyEventFilter, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/resources/analytics_admin_service_client_config.json b/vendor/prefixed/google/analytics-admin/src/V1alpha/resources/analytics_admin_service_client_config.json index 62fe65c72..d6a6cddd0 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/resources/analytics_admin_service_client_config.json +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/resources/analytics_admin_service_client_config.json @@ -64,62 +64,57 @@ "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" }, - "AuditUserLinks": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, "BatchCreateAccessBindings": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" }, - "BatchCreateUserLinks": { + "BatchDeleteAccessBindings": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, - "BatchDeleteAccessBindings": { + "BatchGetAccessBindings": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" }, - "BatchDeleteUserLinks": { + "BatchUpdateAccessBindings": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, - "BatchGetAccessBindings": { + "CancelDisplayVideo360AdvertiserLinkProposal": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" }, - "BatchGetUserLinks": { + "CreateAccessBinding": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, - "BatchUpdateAccessBindings": { + "CreateAdSenseLink": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" }, - "BatchUpdateUserLinks": { + "CreateAudience": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, - "CancelDisplayVideo360AdvertiserLinkProposal": { + "CreateCalculatedMetric": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" }, - "CreateAccessBinding": { + "CreateChannelGroup": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" }, - "CreateAudience": { + "CreateConnectedSiteTag": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" @@ -154,6 +149,11 @@ "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" + }, "CreateExpandedDataSet": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", @@ -179,15 +179,35 @@ "retry_codes_name": "no_retry_1_codes", "retry_params_name": "no_retry_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" }, - "CreateUserLink": { + "CreateSubproperty": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "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, @@ -199,6 +219,26 @@ "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" + }, + "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" + }, + "DeleteConnectedSiteTag": { + "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", @@ -219,6 +259,11 @@ "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" + }, "DeleteExpandedDataSet": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", @@ -244,21 +289,36 @@ "retry_codes_name": "no_retry_1_codes", "retry_params_name": "no_retry_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" }, - "DeleteUserLink": { + "DeleteSubpropertyEventFilter": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "FetchAutomatedGa4ConfigurationOptOut": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" }, + "FetchConnectedGa4Property": { + "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", @@ -269,6 +329,11 @@ "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", @@ -284,6 +349,16 @@ "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", @@ -299,6 +374,11 @@ "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", @@ -324,6 +404,16 @@ "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" + }, "GetExpandedDataSet": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", @@ -349,15 +439,25 @@ "retry_codes_name": "no_retry_1_codes", "retry_params_name": "no_retry_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" }, - "GetUserLink": { + "GetSubpropertyEventFilter": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "ListAccessBindings": { "timeout_millis": 60000, @@ -374,6 +474,11 @@ "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", @@ -384,6 +489,21 @@ "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" + }, + "ListConnectedSiteTags": { + "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", @@ -414,6 +534,11 @@ "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" + }, "ListExpandedDataSets": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", @@ -439,15 +564,25 @@ "retry_codes_name": "no_retry_1_codes", "retry_params_name": "no_retry_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" }, - "ListUserLinks": { + "ListSubpropertyEventFilters": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "ProvisionAccountTicket": { "timeout_millis": 60000, @@ -489,6 +624,21 @@ "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", @@ -499,6 +649,11 @@ "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", @@ -514,6 +669,16 @@ "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" + }, "UpdateExpandedDataSet": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", @@ -539,15 +704,20 @@ "retry_codes_name": "no_retry_1_codes", "retry_params_name": "no_retry_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" }, - "UpdateUserLink": { + "UpdateSubpropertyEventFilter": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" } } } diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/resources/analytics_admin_service_descriptor_config.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/resources/analytics_admin_service_descriptor_config.php index 17c63c029..da6ed64b6 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/resources/analytics_admin_service_descriptor_config.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/resources/analytics_admin_service_descriptor_config.php @@ -2,4 +2,23 @@ namespace Matomo\Dependencies\GoogleAnalyticsImporter; -return ['interfaces' => ['google.analytics.admin.v1alpha.AnalyticsAdminService' => ['AuditUserLinks' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getUserLinks']], 'ListAccessBindings' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getAccessBindings']], 'ListAccountSummaries' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getAccountSummaries']], 'ListAccounts' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getAccounts']], 'ListAudiences' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getAudiences']], 'ListBigQueryLinks' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getBigqueryLinks']], 'ListConversionEvents' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getConversionEvents']], 'ListCustomDimensions' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getCustomDimensions']], 'ListCustomMetrics' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getCustomMetrics']], 'ListDataStreams' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getDataStreams']], 'ListDisplayVideo360AdvertiserLinkProposals' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getDisplayVideo360AdvertiserLinkProposals']], 'ListDisplayVideo360AdvertiserLinks' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getDisplayVideo360AdvertiserLinks']], 'ListExpandedDataSets' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getExpandedDataSets']], 'ListFirebaseLinks' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getFirebaseLinks']], 'ListGoogleAdsLinks' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getGoogleAdsLinks']], 'ListMeasurementProtocolSecrets' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getMeasurementProtocolSecrets']], 'ListProperties' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getProperties']], 'ListSearchAds360Links' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getSearchAds360Links']], 'ListUserLinks' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getUserLinks']], 'SearchChangeHistoryEvents' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getChangeHistoryEvents']]]]]; +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* + * GENERATED CODE WARNING + * This file was automatically generated - do not edit! + */ +return ['interfaces' => ['google.analytics.admin.v1alpha.AnalyticsAdminService' => ['AcknowledgeUserDataCollection' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AcknowledgeUserDataCollectionResponse', 'headerParams' => [['keyName' => 'property', 'fieldAccessors' => ['getProperty']]]], 'ApproveDisplayVideo360AdvertiserLinkProposal' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ApproveDisplayVideo360AdvertiserLinkProposalResponse', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'ArchiveAudience' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'ArchiveCustomDimension' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'ArchiveCustomMetric' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'BatchCreateAccessBindings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\BatchCreateAccessBindingsResponse', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'BatchDeleteAccessBindings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'BatchGetAccessBindings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\BatchGetAccessBindingsResponse', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'BatchUpdateAccessBindings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\BatchUpdateAccessBindingsResponse', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CancelDisplayVideo360AdvertiserLinkProposal' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DisplayVideo360AdvertiserLinkProposal', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'CreateAccessBinding' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AccessBinding', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateAdSenseLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AdSenseLink', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateAudience' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Audience', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateCalculatedMetric' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CalculatedMetric', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateChannelGroup' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroup', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateConnectedSiteTag' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateConnectedSiteTagResponse'], 'CreateConversionEvent' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConversionEvent', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateCustomDimension' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomDimension', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateCustomMetric' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomMetric', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateDataStream' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataStream', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateDisplayVideo360AdvertiserLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DisplayVideo360AdvertiserLink', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateDisplayVideo360AdvertiserLinkProposal' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DisplayVideo360AdvertiserLinkProposal', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateEventCreateRule' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EventCreateRule', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateExpandedDataSet' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ExpandedDataSet', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateFirebaseLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FirebaseLink', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateGoogleAdsLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GoogleAdsLink', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateMeasurementProtocolSecret' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MeasurementProtocolSecret', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateProperty' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Property'], 'CreateRollupProperty' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateRollupPropertyResponse'], 'CreateRollupPropertySourceLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\RollupPropertySourceLink', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateSKAdNetworkConversionValueSchema' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SKAdNetworkConversionValueSchema', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateSearchAds360Link' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SearchAds360Link', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateSubproperty' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateSubpropertyResponse'], 'CreateSubpropertyEventFilter' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilter', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'DeleteAccessBinding' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteAccount' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteAdSenseLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteCalculatedMetric' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteChannelGroup' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteConnectedSiteTag' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty'], 'DeleteConversionEvent' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteDataStream' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteDisplayVideo360AdvertiserLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteDisplayVideo360AdvertiserLinkProposal' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteEventCreateRule' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteExpandedDataSet' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteFirebaseLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteGoogleAdsLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteMeasurementProtocolSecret' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteProperty' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Property', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteRollupPropertySourceLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteSKAdNetworkConversionValueSchema' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteSearchAds360Link' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteSubpropertyEventFilter' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'FetchAutomatedGa4ConfigurationOptOut' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FetchAutomatedGa4ConfigurationOptOutResponse'], 'FetchConnectedGa4Property' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FetchConnectedGa4PropertyResponse'], 'GetAccessBinding' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AccessBinding', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetAccount' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Account', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetAdSenseLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AdSenseLink', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetAttributionSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetAudience' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Audience', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetBigQueryLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\BigQueryLink', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetCalculatedMetric' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CalculatedMetric', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetChannelGroup' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroup', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetConversionEvent' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConversionEvent', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetCustomDimension' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomDimension', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetCustomMetric' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomMetric', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetDataRedactionSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataRedactionSettings', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetDataRetentionSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataRetentionSettings', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetDataSharingSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataSharingSettings', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetDataStream' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataStream', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetDisplayVideo360AdvertiserLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DisplayVideo360AdvertiserLink', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetDisplayVideo360AdvertiserLinkProposal' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DisplayVideo360AdvertiserLinkProposal', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetEnhancedMeasurementSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EnhancedMeasurementSettings', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetEventCreateRule' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EventCreateRule', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetExpandedDataSet' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ExpandedDataSet', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetGlobalSiteTag' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GlobalSiteTag', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetGoogleSignalsSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GoogleSignalsSettings', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetMeasurementProtocolSecret' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MeasurementProtocolSecret', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetProperty' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Property', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetRollupPropertySourceLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\RollupPropertySourceLink', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetSKAdNetworkConversionValueSchema' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SKAdNetworkConversionValueSchema', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetSearchAds360Link' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SearchAds360Link', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetSubpropertyEventFilter' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilter', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'ListAccessBindings' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getAccessBindings'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAccountSummariesResponse'], 'ListAccounts' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getAccounts'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAccountsResponse'], 'ListAdSenseLinks' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getAdsenseLinks'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListChannelGroupsResponse', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'ListConnectedSiteTags' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListConnectedSiteTagsResponse'], 'ListConversionEvents' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getConversionEvents'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListEventCreateRulesResponse', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'ListExpandedDataSets' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getExpandedDataSets'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListGoogleAdsLinksResponse', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'ListMeasurementProtocolSecrets' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getMeasurementProtocolSecrets'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListPropertiesResponse'], 'ListRollupPropertySourceLinks' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getRollupPropertySourceLinks'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSubpropertyEventFiltersResponse', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'ProvisionAccountTicket' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ProvisionAccountTicketResponse'], 'RunAccessReport' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SearchChangeHistoryEventsResponse', 'headerParams' => [['keyName' => 'account', 'fieldAccessors' => ['getAccount']]]], 'SetAutomatedGa4ConfigurationOptOut' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SetAutomatedGa4ConfigurationOptOutResponse'], 'UpdateAccessBinding' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AccessBinding', 'headerParams' => [['keyName' => 'access_binding.name', 'fieldAccessors' => ['getAccessBinding', 'getName']]]], 'UpdateAccount' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Account', 'headerParams' => [['keyName' => 'account.name', 'fieldAccessors' => ['getAccount', 'getName']]]], 'UpdateAttributionSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings', 'headerParams' => [['keyName' => 'attribution_settings.name', 'fieldAccessors' => ['getAttributionSettings', 'getName']]]], 'UpdateAudience' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Audience', 'headerParams' => [['keyName' => 'audience.name', 'fieldAccessors' => ['getAudience', 'getName']]]], 'UpdateCalculatedMetric' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CalculatedMetric', 'headerParams' => [['keyName' => 'calculated_metric.name', 'fieldAccessors' => ['getCalculatedMetric', 'getName']]]], 'UpdateChannelGroup' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroup', 'headerParams' => [['keyName' => 'channel_group.name', 'fieldAccessors' => ['getChannelGroup', 'getName']]]], 'UpdateConversionEvent' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConversionEvent', 'headerParams' => [['keyName' => 'conversion_event.name', 'fieldAccessors' => ['getConversionEvent', 'getName']]]], 'UpdateCustomDimension' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomDimension', 'headerParams' => [['keyName' => 'custom_dimension.name', 'fieldAccessors' => ['getCustomDimension', 'getName']]]], 'UpdateCustomMetric' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomMetric', 'headerParams' => [['keyName' => 'custom_metric.name', 'fieldAccessors' => ['getCustomMetric', 'getName']]]], 'UpdateDataRedactionSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataRedactionSettings', 'headerParams' => [['keyName' => 'data_redaction_settings.name', 'fieldAccessors' => ['getDataRedactionSettings', 'getName']]]], 'UpdateDataRetentionSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataRetentionSettings', 'headerParams' => [['keyName' => 'data_retention_settings.name', 'fieldAccessors' => ['getDataRetentionSettings', 'getName']]]], 'UpdateDataStream' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataStream', 'headerParams' => [['keyName' => 'data_stream.name', 'fieldAccessors' => ['getDataStream', 'getName']]]], 'UpdateDisplayVideo360AdvertiserLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DisplayVideo360AdvertiserLink', 'headerParams' => [['keyName' => 'display_video_360_advertiser_link.name', 'fieldAccessors' => ['getDisplayVideo360AdvertiserLink', 'getName']]]], 'UpdateEnhancedMeasurementSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EnhancedMeasurementSettings', 'headerParams' => [['keyName' => 'enhanced_measurement_settings.name', 'fieldAccessors' => ['getEnhancedMeasurementSettings', 'getName']]]], 'UpdateEventCreateRule' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EventCreateRule', 'headerParams' => [['keyName' => 'event_create_rule.name', 'fieldAccessors' => ['getEventCreateRule', 'getName']]]], 'UpdateExpandedDataSet' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ExpandedDataSet', 'headerParams' => [['keyName' => 'expanded_data_set.name', 'fieldAccessors' => ['getExpandedDataSet', 'getName']]]], 'UpdateGoogleAdsLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GoogleAdsLink', 'headerParams' => [['keyName' => 'google_ads_link.name', 'fieldAccessors' => ['getGoogleAdsLink', 'getName']]]], 'UpdateGoogleSignalsSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GoogleSignalsSettings', 'headerParams' => [['keyName' => 'google_signals_settings.name', 'fieldAccessors' => ['getGoogleSignalsSettings', 'getName']]]], 'UpdateMeasurementProtocolSecret' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MeasurementProtocolSecret', 'headerParams' => [['keyName' => 'measurement_protocol_secret.name', 'fieldAccessors' => ['getMeasurementProtocolSecret', 'getName']]]], 'UpdateProperty' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Property', 'headerParams' => [['keyName' => 'property.name', 'fieldAccessors' => ['getProperty', 'getName']]]], 'UpdateSKAdNetworkConversionValueSchema' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SKAdNetworkConversionValueSchema', 'headerParams' => [['keyName' => 'skadnetwork_conversion_value_schema.name', 'fieldAccessors' => ['getSkadnetworkConversionValueSchema', 'getName']]]], 'UpdateSearchAds360Link' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SearchAds360Link', 'headerParams' => [['keyName' => 'search_ads_360_link.name', 'fieldAccessors' => ['getSearchAds360Link', 'getName']]]], 'UpdateSubpropertyEventFilter' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilter', 'headerParams' => [['keyName' => 'subproperty_event_filter.name', 'fieldAccessors' => ['getSubpropertyEventFilter', '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}', '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', 'measurementProtocolSecret' => 'properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}', 'property' => 'properties/{property}', 'propertyAccessBinding' => 'properties/{property}/accessBindings/{access_binding}', '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}']]]]; diff --git a/vendor/prefixed/google/analytics-admin/src/V1alpha/resources/analytics_admin_service_rest_client_config.php b/vendor/prefixed/google/analytics-admin/src/V1alpha/resources/analytics_admin_service_rest_client_config.php index c6917ddc4..f7fce4b76 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1alpha/resources/analytics_admin_service_rest_client_config.php +++ b/vendor/prefixed/google/analytics-admin/src/V1alpha/resources/analytics_admin_service_rest_client_config.php @@ -2,4 +2,23 @@ namespace Matomo\Dependencies\GoogleAnalyticsImporter; -return ['interfaces' => ['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']]]], 'AuditUserLinks' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=accounts/*}/userLinks:audit', 'body' => '*', 'additionalBindings' => [['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=properties/*}/userLinks:audit', 'body' => '*']], 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'BatchCreateAccessBindings' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings:batchCreate', 'body' => '*', 'additionalBindings' => [['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings:batchCreate', 'body' => '*']], 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'BatchCreateUserLinks' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=accounts/*}/userLinks:batchCreate', 'body' => '*', 'additionalBindings' => [['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=properties/*}/userLinks: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']]]], 'BatchDeleteUserLinks' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=accounts/*}/userLinks:batchDelete', 'body' => '*', 'additionalBindings' => [['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=properties/*}/userLinks: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']]]], 'BatchGetUserLinks' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{parent=accounts/*}/userLinks:batchGet', 'additionalBindings' => [['method' => 'get', 'uriTemplate' => '/v1alpha/{parent=properties/*}/userLinks: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']]]], 'BatchUpdateUserLinks' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=accounts/*}/userLinks:batchUpdate', 'body' => '*', 'additionalBindings' => [['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=properties/*}/userLinks: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']]]], 'CreateAudience' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=properties/*}/audiences', 'body' => 'audience', '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']]]], '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']]]], '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'], 'CreateSearchAds360Link' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=properties/*}/searchAds360Links', 'body' => 'search_ads_360_link', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'CreateUserLink' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=accounts/*}/userLinks', 'body' => 'user_link', 'additionalBindings' => [['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=properties/*}/userLinks', 'body' => 'user_link']], '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']]]], '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']]]], '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']]]], 'DeleteMeasurementProtocolSecret' => ['method' => 'delete', 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'DeleteProperty' => ['method' => 'delete', 'uriTemplate' => '/v1alpha/{name=properties/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'DeleteSearchAds360Link' => ['method' => 'delete', 'uriTemplate' => '/v1alpha/{name=properties/*/searchAds360Links/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'DeleteUserLink' => ['method' => 'delete', 'uriTemplate' => '/v1alpha/{name=accounts/*/userLinks/*}', 'additionalBindings' => [['method' => 'delete', 'uriTemplate' => '/v1alpha/{name=properties/*/userLinks/*}']], 'placeholders' => ['name' => ['getters' => ['getName']]]], 'FetchAutomatedGa4ConfigurationOptOut' => ['method' => 'post', 'uriTemplate' => '/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut', 'body' => '*'], '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']]]], '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']]]], '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']]]], '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']]]], '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']]]], 'GetMeasurementProtocolSecret' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'GetProperty' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{name=properties/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'GetSearchAds360Link' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{name=properties/*/searchAds360Links/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'GetUserLink' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{name=accounts/*/userLinks/*}', 'additionalBindings' => [['method' => 'get', 'uriTemplate' => '/v1alpha/{name=properties/*/userLinks/*}']], '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'], 'ListAudiences' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{parent=properties/*}/audiences', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'ListBigQueryLinks' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{parent=properties/*}/bigQueryLinks', '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']]]], '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']]]], 'ListMeasurementProtocolSecrets' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'ListProperties' => ['method' => 'get', 'uriTemplate' => '/v1alpha/properties', 'queryParams' => ['filter']], 'ListSearchAds360Links' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{parent=properties/*}/searchAds360Links', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'ListUserLinks' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{parent=accounts/*}/userLinks', 'additionalBindings' => [['method' => 'get', 'uriTemplate' => '/v1alpha/{parent=properties/*}/userLinks']], 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'ProvisionAccountTicket' => ['method' => 'post', 'uriTemplate' => '/v1alpha/accounts:provisionAccountTicket', 'body' => '*'], 'RunAccessReport' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{entity=properties/*}:runAccessReport', 'body' => '*', 'placeholders' => ['entity' => ['getters' => ['getEntity']]]], 'SearchChangeHistoryEvents' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{account=accounts/*}:searchChangeHistoryEvents', 'body' => '*', 'placeholders' => ['account' => ['getters' => ['getAccount']]]], 'SetAutomatedGa4ConfigurationOptOut' => ['method' => 'post', 'uriTemplate' => '/v1alpha/properties:setAutomatedGa4ConfigurationOptOut', 'body' => '*'], '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']], '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']], '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']], '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']], 'UpdateMeasurementProtocolSecret' => ['method' => 'patch', 'uriTemplate' => '/v1alpha/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', 'body' => 'measurement_protocol_secret', 'placeholders' => ['measurement_protocol_secret.name' => ['getters' => ['getMeasurementProtocolSecret', 'getName']]]], 'UpdateProperty' => ['method' => 'patch', 'uriTemplate' => '/v1alpha/{property.name=properties/*}', 'body' => 'property', 'placeholders' => ['property.name' => ['getters' => ['getProperty', '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']], 'UpdateUserLink' => ['method' => 'patch', 'uriTemplate' => '/v1alpha/{user_link.name=accounts/*/userLinks/*}', 'body' => 'user_link', 'additionalBindings' => [['method' => 'patch', 'uriTemplate' => '/v1alpha/{user_link.name=properties/*/userLinks/*}', 'body' => 'user_link']], 'placeholders' => ['user_link.name' => ['getters' => ['getUserLink', 'getName']]]]]], 'numericEnums' => \true]; +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* + * GENERATED CODE WARNING + * This file was automatically generated - do not edit! + */ +return ['interfaces' => ['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']]]], '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']]]], 'CreateConnectedSiteTag' => ['method' => 'post', 'uriTemplate' => '/v1alpha/properties:createConnectedSiteTag', 'body' => '*'], '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']]]], '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']]]], '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'], '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']]]], 'CreateSubproperty' => ['method' => 'post', 'uriTemplate' => '/v1alpha/properties:createSubproperty', 'body' => '*'], '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']]]], 'DeleteCalculatedMetric' => ['method' => 'delete', 'uriTemplate' => '/v1alpha/{name=properties/*/calculatedMetrics/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'DeleteChannelGroup' => ['method' => 'delete', 'uriTemplate' => '/v1alpha/{name=properties/*/channelGroups/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'DeleteConnectedSiteTag' => ['method' => 'post', 'uriTemplate' => '/v1alpha/properties:deleteConnectedSiteTag', 'body' => '*'], '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']]]], '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']]]], 'DeleteMeasurementProtocolSecret' => ['method' => 'delete', 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'DeleteProperty' => ['method' => 'delete', 'uriTemplate' => '/v1alpha/{name=properties/*}', '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']]]], 'FetchAutomatedGa4ConfigurationOptOut' => ['method' => 'post', 'uriTemplate' => '/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut', 'body' => '*'], 'FetchConnectedGa4Property' => ['method' => 'get', 'uriTemplate' => '/v1alpha/properties:fetchConnectedGa4Property'], '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']]]], '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']]]], 'GetMeasurementProtocolSecret' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'GetProperty' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{name=properties/*}', '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']]]], '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']]]], 'ListConnectedSiteTags' => ['method' => 'post', 'uriTemplate' => '/v1alpha/properties:listConnectedSiteTags', 'body' => '*'], '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']]]], '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']]]], 'ListMeasurementProtocolSecrets' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'ListProperties' => ['method' => 'get', 'uriTemplate' => '/v1alpha/properties', 'queryParams' => ['filter']], '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']]]], 'ProvisionAccountTicket' => ['method' => 'post', 'uriTemplate' => '/v1alpha/accounts:provisionAccountTicket', 'body' => '*'], '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']]]], 'SetAutomatedGa4ConfigurationOptOut' => ['method' => 'post', 'uriTemplate' => '/v1alpha/properties:setAutomatedGa4ConfigurationOptOut', 'body' => '*'], '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']], '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']], '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']], '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']], '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']]]], 'numericEnums' => \true]; diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/AccessBetweenFilter.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessBetweenFilter.php new file mode 100644 index 000000000..953e3596b --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessBetweenFilter.php @@ -0,0 +1,108 @@ +google.analytics.admin.v1beta.AccessBetweenFilter + */ +class AccessBetweenFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Begins with this number. + * + * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue from_value = 1; + */ + private $from_value = null; + /** + * Ends with this number. + * + * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue to_value = 2; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\NumericValue::class); + $this->to_value = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/AccessDateRange.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessDateRange.php new file mode 100644 index 000000000..bf9e756f3 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessDateRange.php @@ -0,0 +1,116 @@ +google.analytics.admin.v1beta.AccessDateRange + */ +class AccessDateRange extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $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; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessDimension.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessDimension.php new file mode 100644 index 000000000..42cb8932e --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessDimension.php @@ -0,0 +1,75 @@ +google.analytics.admin.v1beta.AccessDimension + */ +class AccessDimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessDimensionHeader.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessDimensionHeader.php new file mode 100644 index 000000000..add7a9263 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessDimensionHeader.php @@ -0,0 +1,64 @@ +google.analytics.admin.v1beta.AccessDimensionHeader + */ +class AccessDimensionHeader extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The dimension's name; for example 'userEmail'. + * + * Generated from protobuf field string dimension_name = 1; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessDimensionValue.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessDimensionValue.php new file mode 100644 index 000000000..717b31c92 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessDimensionValue.php @@ -0,0 +1,65 @@ +google.analytics.admin.v1beta.AccessDimensionValue + */ +class AccessDimensionValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessFilter.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessFilter.php new file mode 100644 index 000000000..87c36ef52 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessFilter.php @@ -0,0 +1,185 @@ +google.analytics.admin.v1beta.AccessFilter + */ +class AccessFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The dimension name or metric name. + * + * Generated from protobuf field string field_name = 1; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessFilterExpression.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessFilterExpression.php new file mode 100644 index 000000000..3704a2234 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessFilterExpression.php @@ -0,0 +1,158 @@ +google.analytics.admin.v1beta.AccessFilterExpression + */ +class AccessFilterExpression extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessFilterExpressionList.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessFilterExpressionList.php new file mode 100644 index 000000000..fe896b4df --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessFilterExpressionList.php @@ -0,0 +1,61 @@ +google.analytics.admin.v1beta.AccessFilterExpressionList + */ +class AccessFilterExpressionList extends \Matomo\Dependencies\GoogleAnalyticsImporter\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 array<\Google\Analytics\Admin\V1beta\AccessFilterExpression>|\Google\Protobuf\Internal\RepeatedField $expressions + * A list of filter expressions. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + public function getExpressions() + { + return $this->expressions; + } + /** + * A list of filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; + * @param array<\Google\Analytics\Admin\V1beta\AccessFilterExpression>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setExpressions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessFilterExpression::class); + $this->expressions = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/AccessInListFilter.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessInListFilter.php new file mode 100644 index 000000000..0bf458b73 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessInListFilter.php @@ -0,0 +1,92 @@ +google.analytics.admin.v1beta.AccessInListFilter + */ +class AccessInListFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $case_sensitive = \false; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\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 array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessMetric.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessMetric.php new file mode 100644 index 000000000..0c3120814 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessMetric.php @@ -0,0 +1,74 @@ +google.analytics.admin.v1beta.AccessMetric + */ +class AccessMetric extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessMetricHeader.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessMetricHeader.php new file mode 100644 index 000000000..e07166da7 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessMetricHeader.php @@ -0,0 +1,64 @@ +google.analytics.admin.v1beta.AccessMetricHeader + */ +class AccessMetricHeader extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The metric's name; for example 'accessCount'. + * + * Generated from protobuf field string metric_name = 1; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessMetricValue.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessMetricValue.php new file mode 100644 index 000000000..e31ae2695 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessMetricValue.php @@ -0,0 +1,61 @@ +google.analytics.admin.v1beta.AccessMetricValue + */ +class AccessMetricValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The measurement value. For example, this value may be '13'. + * + * Generated from protobuf field string value = 1; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessNumericFilter.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessNumericFilter.php new file mode 100644 index 000000000..aac73b8aa --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessNumericFilter.php @@ -0,0 +1,100 @@ +google.analytics.admin.v1beta.AccessNumericFilter + */ +class AccessNumericFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The operation type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessNumericFilter.Operation operation = 1; + */ + private $operation = 0; + /** + * A numeric value or a date value. + * + * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue value = 2; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\NumericValue::class); + $this->value = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/AccessNumericFilter/Operation.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessNumericFilter/Operation.php new file mode 100644 index 000000000..e58f58cc0 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessNumericFilter/Operation.php @@ -0,0 +1,69 @@ +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); + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Operation::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessNumericFilter_Operation::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/AccessOrderBy.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessOrderBy.php new file mode 100644 index 000000000..8bc3363e9 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessOrderBy.php @@ -0,0 +1,133 @@ +google.analytics.admin.v1beta.AccessOrderBy + */ +class AccessOrderBy extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessOrderBy/DimensionOrderBy.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessOrderBy/DimensionOrderBy.php new file mode 100644 index 000000000..885d77de9 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessOrderBy/DimensionOrderBy.php @@ -0,0 +1,94 @@ +google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy + */ +class DimensionOrderBy extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * A dimension name in the request to order by. + * + * Generated from protobuf field string dimension_name = 1; + */ + private $dimension_name = ''; + /** + * Controls the rule for dimension value ordering. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessOrderBy\DimensionOrderBy\OrderType::class); + $this->order_type = $var; + return $this; + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(DimensionOrderBy::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessOrderBy_DimensionOrderBy::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php new file mode 100644 index 000000000..fc4cf6c03 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php @@ -0,0 +1,62 @@ +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); + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(OrderType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessOrderBy_DimensionOrderBy_OrderType::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/AccessOrderBy/MetricOrderBy.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessOrderBy/MetricOrderBy.php new file mode 100644 index 000000000..c97ae3ae8 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessOrderBy/MetricOrderBy.php @@ -0,0 +1,63 @@ +google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy + */ +class MetricOrderBy extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * A metric name in the request to order by. + * + * Generated from protobuf field string metric_name = 1; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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; + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(MetricOrderBy::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessOrderBy_MetricOrderBy::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/AccessQuota.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessQuota.php new file mode 100644 index 000000000..81f6a52ba --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessQuota.php @@ -0,0 +1,255 @@ +google.analytics.admin.v1beta.AccessQuota + */ +class AccessQuota extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $tokens_per_day = null; + /** + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from all of the hourly, + * daily, and per project hourly quotas. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_hour = 2; + */ + private $tokens_per_hour = null; + /** + * Properties can use up to 50 concurrent requests. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; + */ + private $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; + */ + private $server_errors_per_project_per_hour = null; + /** + * Properties can use up to 25% of their tokens per project per hour. This + * amounts to Analytics 360 Properties can use 12,500 tokens per project per + * hour. An API request consumes a single number of tokens, and that number is + * deducted from all of the hourly, daily, and per project hourly quotas. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessQuotaStatus::class); + $this->tokens_per_project_per_hour = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/AccessQuotaStatus.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessQuotaStatus.php new file mode 100644 index 000000000..70ec480d9 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessQuotaStatus.php @@ -0,0 +1,92 @@ +google.analytics.admin.v1beta.AccessQuotaStatus + */ +class AccessQuotaStatus extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Quota consumed by this request. + * + * Generated from protobuf field int32 consumed = 1; + */ + private $consumed = 0; + /** + * Quota remaining after this request. + * + * Generated from protobuf field int32 remaining = 2; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessRow.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessRow.php new file mode 100644 index 000000000..75ab079d1 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessRow.php @@ -0,0 +1,100 @@ +google.analytics.admin.v1beta.AccessRow + */ +class AccessRow extends \Matomo\Dependencies\GoogleAnalyticsImporter\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 array<\Google\Analytics\Admin\V1beta\AccessDimensionValue>|\Google\Protobuf\Internal\RepeatedField $dimension_values + * List of dimension values. These values are in the same order as specified + * in the request. + * @type array<\Google\Analytics\Admin\V1beta\AccessMetricValue>|\Google\Protobuf\Internal\RepeatedField $metric_values + * List of metric values. These values are in the same order as specified + * in the request. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1beta\AccessDimensionValue>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensionValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1beta\AccessMetricValue>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setMetricValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessMetricValue::class); + $this->metric_values = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/AccessStringFilter.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessStringFilter.php new file mode 100644 index 000000000..16bc8de43 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessStringFilter.php @@ -0,0 +1,123 @@ +google.analytics.admin.v1beta.AccessStringFilter + */ +class AccessStringFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The match type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessStringFilter.MatchType match_type = 1; + */ + private $match_type = 0; + /** + * The string value used for the matching. + * + * Generated from protobuf field string value = 2; + */ + private $value = ''; + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 3; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/AccessStringFilter/MatchType.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessStringFilter/MatchType.php new file mode 100644 index 000000000..a82563efa --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AccessStringFilter/MatchType.php @@ -0,0 +1,75 @@ +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); + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(MatchType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessStringFilter_MatchType::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/AcknowledgeUserDataCollectionRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/AcknowledgeUserDataCollectionRequest.php index 065eeae7d..49b7b28a8 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/AcknowledgeUserDataCollectionRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/AcknowledgeUserDataCollectionRequest.php @@ -21,8 +21,8 @@ class AcknowledgeUserDataCollectionRequest extends \Matomo\Dependencies\GoogleAn */ private $property = ''; /** - * Required. An acknowledgement that the caller of this method understands the terms - * of user data collection. + * Required. An acknowledgement that the caller of this method understands the + * terms of user data collection. * This field must contain the exact value: * "I acknowledge that I have the necessary privacy disclosures and rights * from my end users for the collection and processing of their data, @@ -41,8 +41,8 @@ class AcknowledgeUserDataCollectionRequest extends \Matomo\Dependencies\GoogleAn * @type string $property * Required. The property for which to acknowledge user data collection. * @type string $acknowledgement - * Required. An acknowledgement that the caller of this method understands the terms - * of user data collection. + * Required. An acknowledgement that the caller of this method understands the + * terms of user data collection. * This field must contain the exact value: * "I acknowledge that I have the necessary privacy disclosures and rights * from my end users for the collection and processing of their data, @@ -79,8 +79,8 @@ public function setProperty($var) return $this; } /** - * Required. An acknowledgement that the caller of this method understands the terms - * of user data collection. + * Required. An acknowledgement that the caller of this method understands the + * terms of user data collection. * This field must contain the exact value: * "I acknowledge that I have the necessary privacy disclosures and rights * from my end users for the collection and processing of their data, @@ -95,8 +95,8 @@ public function getAcknowledgement() return $this->acknowledgement; } /** - * Required. An acknowledgement that the caller of this method understands the terms - * of user data collection. + * Required. An acknowledgement that the caller of this method understands the + * terms of user data collection. * This field must contain the exact value: * "I acknowledge that I have the necessary privacy disclosures and rights * from my end users for the collection and processing of their data, diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/ArchiveCustomDimensionRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/ArchiveCustomDimensionRequest.php index d5bcfd799..212a6a1d1 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/ArchiveCustomDimensionRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/ArchiveCustomDimensionRequest.php @@ -21,6 +21,19 @@ class ArchiveCustomDimensionRequest extends \Matomo\Dependencies\GoogleAnalytics * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/ArchiveCustomMetricRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/ArchiveCustomMetricRequest.php index d4485cd04..7d21ce110 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/ArchiveCustomMetricRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/ArchiveCustomMetricRequest.php @@ -21,6 +21,19 @@ class ArchiveCustomMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImp * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/Client/AnalyticsAdminServiceClient.php b/vendor/prefixed/google/analytics-admin/src/V1beta/Client/AnalyticsAdminServiceClient.php new file mode 100644 index 000000000..87da3123f --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/Client/AnalyticsAdminServiceClient.php @@ -0,0 +1,1854 @@ + 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 + * 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 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} + * - measurementProtocolSecret: properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret} + * - 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 $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 string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials + * The credentials to be used by the client to authorize API calls. This option + * accepts either a path to a credentials file, or a decoded credentials file as a + * PHP array. + * *Advanced usage*: In addition, this option can also accept a pre-constructed + * {@see \Google\Auth\FetchAuthTokenInterface} object or + * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these + * objects are provided, any settings in $credentialsConfig will be ignored. + * @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. + * } + * + * @throws ValidationException + * + * @experimental + */ + public function __construct(array $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(); + } + /** + * 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 + */ + 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 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 an "GA4" 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, + * UserLinks) 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(); + } + /** + * 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 + */ + 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 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, UserLinks) + * will be permanently purged. + * https://support.google.com/analytics/answer/6154772 + * + * Returns an error if the target is not found, or is not a GA4 Property. + * + * 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(); + } + /** + * 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 + */ + 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(); + } + /** + * Lookup for a single "GA4" 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 "GA4" 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 GA4 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); + } + /** + * 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 + */ + 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 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. + * + * Only "GA4" properties will be returned. + * 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. The property must be + * in Google Analytics 360. This method is only available to Administrators. + * + * These data access records include GA4 UI Reporting, GA4 UI Explorations, + * GA4 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). + * + * 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. + * + * 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(); + } + /** + * 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 + */ + 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 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/vendor/prefixed/google/analytics-admin/src/V1beta/ConversionEvent.php b/vendor/prefixed/google/analytics-admin/src/V1beta/ConversionEvent.php index 55dba9313..8c038fd80 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/ConversionEvent.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/ConversionEvent.php @@ -35,22 +35,31 @@ class ConversionEvent extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl */ private $create_time = null; /** - * Output only. If set, this event can currently be deleted via DeleteConversionEvent. + * Output only. If set, this event can currently be deleted with + * DeleteConversionEvent. * * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $deletable = \false; /** - * Output only. If set to true, this conversion event refers to a custom event. If set to - * false, this conversion event refers to a default event in GA. Default - * events typically have special meaning in GA. Default events are usually - * created for you by the GA system, but in some cases can be created by - * property admins. Custom events count towards the maximum number of + * Output only. If set to true, this conversion event refers to a custom + * event. If set to false, this conversion event refers to a default event in + * GA. Default events typically have special meaning in GA. Default events are + * usually created for you by the GA system, but in some cases can be created + * by property admins. Custom events count towards the maximum number of * custom conversion events that may be created per property. * * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $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]; + */ + private $counting_method = 0; /** * Constructor. * @@ -66,14 +75,19 @@ class ConversionEvent extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl * @type \Google\Protobuf\Timestamp $create_time * Output only. Time when this conversion event was created in the property. * @type bool $deletable - * Output only. If set, this event can currently be deleted via DeleteConversionEvent. + * Output only. If set, this event can currently be deleted 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 + * 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`. * } */ public function __construct($data = NULL) @@ -163,7 +177,8 @@ public function setCreateTime($var) return $this; } /** - * Output only. If set, this event can currently be deleted via DeleteConversionEvent. + * 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 @@ -173,7 +188,8 @@ public function getDeletable() return $this->deletable; } /** - * Output only. If set, this event can currently be deleted via DeleteConversionEvent. + * 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 @@ -186,11 +202,11 @@ public function setDeletable($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 + * 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]; @@ -201,11 +217,11 @@ 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 + * Output only. If set to true, this conversion event refers to a custom + * event. If set to false, this conversion event refers to a default event in + * GA. Default events typically have special meaning in GA. Default events are + * usually created for you by the GA system, but in some cases can be created + * by property admins. Custom events count towards the maximum number of * custom conversion events that may be created per property. * * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -218,4 +234,31 @@ public function setCustom($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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\ConversionEvent\ConversionCountingMethod::class); + $this->counting_method = $var; + return $this; + } } diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/ConversionEvent/ConversionCountingMethod.php b/vendor/prefixed/google/analytics-admin/src/V1beta/ConversionEvent/ConversionCountingMethod.php new file mode 100644 index 000000000..a571b63cd --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/ConversionEvent/ConversionCountingMethod.php @@ -0,0 +1,53 @@ +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); + } +} +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ConversionCountingMethod::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\ConversionEvent_ConversionCountingMethod::class); diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateConversionEventRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateConversionEventRequest.php index ac085b15f..39ef823ba 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateConversionEventRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateConversionEventRequest.php @@ -21,12 +21,26 @@ class CreateConversionEventRequest extends \Matomo\Dependencies\GoogleAnalyticsI */ private $conversion_event = null; /** - * Required. The resource name of the parent property where this conversion event will - * be created. Format: properties/123 + * Required. The resource name of the parent property where this conversion + * event will be created. Format: properties/123 * * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\ConversionEvent $conversionEvent) : self + { + return (new self())->setParent($parent)->setConversionEvent($conversionEvent); + } /** * Constructor. * @@ -36,8 +50,8 @@ class CreateConversionEventRequest extends \Matomo\Dependencies\GoogleAnalyticsI * @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 + * Required. The resource name of the parent property where this conversion + * event will be created. Format: properties/123 * } */ public function __construct($data = NULL) @@ -77,8 +91,8 @@ public function setConversionEvent($var) return $this; } /** - * Required. The resource name of the parent property where this conversion event will - * be created. Format: properties/123 + * Required. The resource name of the parent property where this conversion + * event will be created. Format: properties/123 * * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -88,8 +102,8 @@ public function getParent() return $this->parent; } /** - * Required. The resource name of the parent property where this conversion event will - * be created. Format: properties/123 + * Required. The resource name of the parent property where this conversion + * event will be created. Format: properties/123 * * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateCustomDimensionRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateCustomDimensionRequest.php index f8a99009e..1e53d9b97 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateCustomDimensionRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateCustomDimensionRequest.php @@ -26,6 +26,19 @@ class CreateCustomDimensionRequest extends \Matomo\Dependencies\GoogleAnalyticsI * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\CustomDimension $customDimension) : self + { + return (new self())->setParent($parent)->setCustomDimension($customDimension); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateCustomMetricRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateCustomMetricRequest.php index a9a5eeb40..77f3d3723 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateCustomMetricRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateCustomMetricRequest.php @@ -26,6 +26,19 @@ class CreateCustomMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\CustomMetric $customMetric) : self + { + return (new self())->setParent($parent)->setCustomMetric($customMetric); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateDataStreamRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateDataStreamRequest.php index 4d3df6dcc..eb82b4f45 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateDataStreamRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateDataStreamRequest.php @@ -26,6 +26,19 @@ class CreateDataStreamRequest extends \Matomo\Dependencies\GoogleAnalyticsImport * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\DataStream $dataStream) : self + { + return (new self())->setParent($parent)->setDataStream($dataStream); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateFirebaseLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateFirebaseLinkRequest.php index 1ec06c969..a6b3fc54f 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateFirebaseLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateFirebaseLinkRequest.php @@ -27,6 +27,20 @@ class CreateFirebaseLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\FirebaseLink $firebaseLink) : self + { + return (new self())->setParent($parent)->setFirebaseLink($firebaseLink); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateGoogleAdsLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateGoogleAdsLinkRequest.php index 581b73e28..8c3a81548 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateGoogleAdsLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateGoogleAdsLinkRequest.php @@ -26,6 +26,19 @@ class CreateGoogleAdsLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImp * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\GoogleAdsLink $googleAdsLink) : self + { + return (new self())->setParent($parent)->setGoogleAdsLink($googleAdsLink); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateMeasurementProtocolSecretRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateMeasurementProtocolSecretRequest.php index 7c7fd4fbc..fb08aee2b 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/CreateMeasurementProtocolSecretRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/CreateMeasurementProtocolSecretRequest.php @@ -27,6 +27,20 @@ class CreateMeasurementProtocolSecretRequest extends \Matomo\Dependencies\Google * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurementProtocolSecret) : self + { + return (new self())->setParent($parent)->setMeasurementProtocolSecret($measurementProtocolSecret); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/CreatePropertyRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/CreatePropertyRequest.php index c53bfaaea..5fc50ea31 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/CreatePropertyRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/CreatePropertyRequest.php @@ -21,6 +21,18 @@ class CreatePropertyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\Property $property) : self + { + return (new self())->setProperty($property); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/CustomDimension.php b/vendor/prefixed/google/analytics-admin/src/V1beta/CustomDimension.php index c3d1b70da..969cfe43f 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/CustomDimension.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/CustomDimension.php @@ -26,6 +26,8 @@ class CustomDimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl * 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. @@ -34,8 +36,8 @@ class CustomDimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl */ private $parameter_name = ''; /** - * Required. Display name for this custom dimension as shown in the Analytics UI. - * Max length of 82 characters, alphanumeric plus space and underscore + * Required. Display name for this custom dimension as shown in the Analytics + * UI. Max length of 82 characters, alphanumeric plus space and underscore * starting with a letter. Legacy system-generated display names may contain * square brackets, but updates to this field will never permit square * brackets. @@ -44,7 +46,8 @@ class CustomDimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl */ private $display_name = ''; /** - * Optional. Description for this custom dimension. Max length of 150 characters. + * Optional. Description for this custom dimension. Max length of 150 + * characters. * * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -56,8 +59,8 @@ class CustomDimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl */ private $scope = 0; /** - * Optional. If set to true, sets this dimension as NPA and excludes it from ads - * personalization. + * Optional. If set to true, sets this dimension as NPA and excludes it from + * ads personalization. * This is currently only supported by user-scoped custom dimensions. * * Generated from protobuf field bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -77,22 +80,25 @@ class CustomDimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl * 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 + * Required. Display name for this custom dimension as shown in the Analytics + * UI. Max length of 82 characters, alphanumeric plus space and underscore * starting with a letter. Legacy system-generated display names may contain * square brackets, but updates to this field will never permit square * brackets. * @type string $description - * Optional. Description for this custom dimension. Max length of 150 characters. + * Optional. Description for this custom dimension. Max length of 150 + * characters. * @type int $scope * Required. Immutable. The scope of this dimension. * @type bool $disallow_ads_personalization - * Optional. If set to true, sets this dimension as NPA and excludes it from ads - * personalization. + * Optional. If set to true, sets this dimension as NPA and excludes it from + * ads personalization. * This is currently only supported by user-scoped custom dimensions. * } */ @@ -131,6 +137,8 @@ public function setName($var) * 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. @@ -147,6 +155,8 @@ public function getParameterName() * 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. @@ -162,8 +172,8 @@ public function setParameterName($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 + * 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. @@ -176,8 +186,8 @@ 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 + * 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. @@ -193,7 +203,8 @@ public function setDisplayName($var) return $this; } /** - * Optional. Description for this custom dimension. Max length of 150 characters. + * Optional. Description for this custom dimension. Max length of 150 + * characters. * * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return string @@ -203,7 +214,8 @@ public function getDescription() return $this->description; } /** - * Optional. Description for this custom dimension. Max length of 150 characters. + * Optional. Description for this custom dimension. Max length of 150 + * characters. * * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var @@ -239,8 +251,8 @@ public function setScope($var) return $this; } /** - * Optional. If set to true, sets this dimension as NPA and excludes it from ads - * personalization. + * Optional. If set to true, sets this dimension as NPA and excludes it from + * ads personalization. * This is currently only supported by user-scoped custom dimensions. * * Generated from protobuf field bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -251,8 +263,8 @@ public function getDisallowAdsPersonalization() return $this->disallow_ads_personalization; } /** - * Optional. If set to true, sets this dimension as NPA and excludes it from ads - * personalization. + * Optional. If set to true, sets this dimension as NPA and excludes it from + * ads personalization. * This is currently only supported by user-scoped custom dimensions. * * Generated from protobuf field bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/CustomDimension/DimensionScope.php b/vendor/prefixed/google/analytics-admin/src/V1beta/CustomDimension/DimensionScope.php index bbd974983..8d0ffe0cd 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/CustomDimension/DimensionScope.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/CustomDimension/DimensionScope.php @@ -30,7 +30,13 @@ class DimensionScope * Generated from protobuf enum USER = 2; */ const USER = 2; - private static $valueToName = [self::DIMENSION_SCOPE_UNSPECIFIED => 'DIMENSION_SCOPE_UNSPECIFIED', self::EVENT => 'EVENT', self::USER => 'USER']; + /** + * 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])) { diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/CustomMetric.php b/vendor/prefixed/google/analytics-admin/src/V1beta/CustomMetric.php index 589232fe3..97169c1bc 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/CustomMetric.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/CustomMetric.php @@ -61,9 +61,9 @@ class CustomMetric extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P */ private $scope = 0; /** - * Optional. Types of restricted data that this metric may contain. Required for metrics - * with CURRENCY measurement unit. Must be empty for metrics with a - * non-CURRENCY measurement unit. + * Optional. Types of restricted data that this metric may contain. Required + * for metrics with CURRENCY measurement unit. Must be empty for metrics with + * a non-CURRENCY measurement unit. * * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -97,9 +97,9 @@ class CustomMetric extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * @type int $scope * Required. Immutable. The scope of this custom metric. * @type array|\Google\Protobuf\Internal\RepeatedField $restricted_metric_type - * Optional. Types of restricted data that this metric may contain. Required for metrics - * with CURRENCY measurement unit. Must be empty for metrics with a - * non-CURRENCY measurement unit. + * Optional. Types of restricted data that this metric may contain. Required + * for metrics with CURRENCY measurement unit. Must be empty for metrics with + * a non-CURRENCY measurement unit. * } */ public function __construct($data = NULL) @@ -266,9 +266,9 @@ public function setScope($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. + * 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 \Google\Protobuf\Internal\RepeatedField @@ -278,9 +278,9 @@ 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. + * 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 array|\Google\Protobuf\Internal\RepeatedField $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/DataStream/WebStreamData.php b/vendor/prefixed/google/analytics-admin/src/V1beta/DataStream/WebStreamData.php index 3fce96a8e..52b2eece7 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/DataStream/WebStreamData.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/DataStream/WebStreamData.php @@ -15,8 +15,8 @@ class WebStreamData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * Output only. Analytics "Measurement ID", without the "G-" prefix. - * Example: "G-1A2BCD345E" would just be "1A2BCD345E" + * Output only. Analytics Measurement ID. + * Example: "G-1A2BCD345E" * * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -29,10 +29,10 @@ class WebStreamData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ */ private $firebase_app_id = ''; /** - * Immutable. Domain name of the web app being measured, or empty. + * 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 [(.google.api.field_behavior) = IMMUTABLE]; + * Generated from protobuf field string default_uri = 3; */ private $default_uri = ''; /** @@ -42,13 +42,13 @@ class WebStreamData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ * Optional. Data for populating the Message object. * * @type string $measurement_id - * Output only. Analytics "Measurement ID", without the "G-" prefix. - * Example: "G-1A2BCD345E" would just be "1A2BCD345E" + * 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 - * Immutable. Domain name of the web app being measured, or empty. + * Domain name of the web app being measured, or empty. * Example: "http://www.google.com", "https://www.google.com" * } */ @@ -58,8 +58,8 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * Output only. Analytics "Measurement ID", without the "G-" prefix. - * Example: "G-1A2BCD345E" would just be "1A2BCD345E" + * Output only. Analytics Measurement ID. + * Example: "G-1A2BCD345E" * * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -69,8 +69,8 @@ public function getMeasurementId() return $this->measurement_id; } /** - * Output only. Analytics "Measurement ID", without the "G-" prefix. - * Example: "G-1A2BCD345E" would just be "1A2BCD345E" + * 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 @@ -108,10 +108,10 @@ public function setFirebaseAppId($var) return $this; } /** - * Immutable. Domain name of the web app being measured, or empty. + * 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 [(.google.api.field_behavior) = IMMUTABLE]; + * Generated from protobuf field string default_uri = 3; * @return string */ public function getDefaultUri() @@ -119,10 +119,10 @@ public function getDefaultUri() return $this->default_uri; } /** - * Immutable. Domain name of the web app being measured, or empty. + * 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 [(.google.api.field_behavior) = IMMUTABLE]; + * Generated from protobuf field string default_uri = 3; * @param string $var * @return $this */ diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteAccountRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteAccountRequest.php index eddf7ff56..2ffbdbf9c 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteAccountRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteAccountRequest.php @@ -22,6 +22,20 @@ class DeleteAccountRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteConversionEventRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteConversionEventRequest.php index 5b9dc1653..73ba20e4a 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteConversionEventRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteConversionEventRequest.php @@ -22,6 +22,20 @@ class DeleteConversionEventRequest extends \Matomo\Dependencies\GoogleAnalyticsI * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteDataStreamRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteDataStreamRequest.php index 0dfacaf19..7e11ad5a3 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteDataStreamRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteDataStreamRequest.php @@ -21,6 +21,19 @@ class DeleteDataStreamRequest extends \Matomo\Dependencies\GoogleAnalyticsImport * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteFirebaseLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteFirebaseLinkRequest.php index 333b9200c..29065cbf8 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteFirebaseLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteFirebaseLinkRequest.php @@ -21,6 +21,19 @@ class DeleteFirebaseLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteGoogleAdsLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteGoogleAdsLinkRequest.php index fa400b8a6..68a8969f8 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteGoogleAdsLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteGoogleAdsLinkRequest.php @@ -20,6 +20,18 @@ class DeleteGoogleAdsLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImp * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteMeasurementProtocolSecretRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteMeasurementProtocolSecretRequest.php index ec9f762bb..059c7354d 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteMeasurementProtocolSecretRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/DeleteMeasurementProtocolSecretRequest.php @@ -22,6 +22,20 @@ class DeleteMeasurementProtocolSecretRequest extends \Matomo\Dependencies\Google * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/DeletePropertyRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/DeletePropertyRequest.php index acc2a4836..3a4928610 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/DeletePropertyRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/DeletePropertyRequest.php @@ -22,6 +22,20 @@ class DeletePropertyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/FirebaseLink.php b/vendor/prefixed/google/analytics-admin/src/V1beta/FirebaseLink.php index 13990be06..6510dd101 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/FirebaseLink.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/FirebaseLink.php @@ -21,9 +21,9 @@ class FirebaseLink extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P */ private $name = ''; /** - * Immutable. Firebase project resource name. When creating a FirebaseLink, you may - * provide this resource name using either a project number or project ID. - * Once this resource has been created, returned FirebaseLinks will always + * Immutable. Firebase project resource name. When creating a FirebaseLink, + * you may provide this resource name using either a project number or project + * ID. Once this resource has been created, returned FirebaseLinks will always * have a project_name that contains a project number. * Format: 'projects/{project number}' * Example: 'projects/1234' @@ -46,9 +46,9 @@ class FirebaseLink extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * @type string $name * Output only. Example format: properties/1234/firebaseLinks/5678 * @type string $project - * Immutable. Firebase project resource name. When creating a FirebaseLink, you may - * provide this resource name using either a project number or project ID. - * Once this resource has been created, returned FirebaseLinks will always + * Immutable. Firebase project resource name. When creating a FirebaseLink, + * you may provide this resource name using either a project number or project + * ID. Once this resource has been created, returned FirebaseLinks will always * have a project_name that contains a project number. * Format: 'projects/{project number}' * Example: 'projects/1234' @@ -85,9 +85,9 @@ public function setName($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 + * 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' @@ -100,9 +100,9 @@ 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 + * Immutable. Firebase project resource name. When creating a FirebaseLink, + * you may provide this resource name using either a project number or project + * ID. Once this resource has been created, returned FirebaseLinks will always * have a project_name that contains a project number. * Format: 'projects/{project number}' * Example: 'projects/1234' diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/Gapic/AnalyticsAdminServiceGapicClient.php b/vendor/prefixed/google/analytics-admin/src/V1beta/Gapic/AnalyticsAdminServiceGapicClient.php index 869fc7631..dc605dea3 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/Gapic/AnalyticsAdminServiceGapicClient.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/Gapic/AnalyticsAdminServiceGapicClient.php @@ -25,6 +25,11 @@ */ namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\Gapic; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessDateRange; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessDimension; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessFilterExpression; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessMetric; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessOrderBy; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\Account; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AcknowledgeUserDataCollectionRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AcknowledgeUserDataCollectionResponse; @@ -86,9 +91,12 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\Property; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\ProvisionAccountTicketRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\ProvisionAccountTicketResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\RunAccessReportRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\RunAccessReportResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\SearchChangeHistoryEventsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\SearchChangeHistoryEventsResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\UpdateAccountRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\UpdateConversionEventRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\UpdateCustomDimensionRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\UpdateCustomMetricRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\UpdateDataRetentionSettingsRequest; @@ -131,14 +139,22 @@ * contained within formatted names that are returned by the API. * * @experimental + * + * @deprecated Please use the new service client {@see \Google\Analytics\Admin\V1beta\Client\AnalyticsAdminServiceClient}. */ class AnalyticsAdminServiceGapicClient { use GapicClientTrait; /** The name of the service. */ const SERVICE_NAME = 'google.analytics.admin.v1beta.AnalyticsAdminService'; - /** The default address of the service. */ + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ 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. */ const DEFAULT_SERVICE_PORT = 443; /** The name of the code generator, to be included in the agent header. */ @@ -521,7 +537,8 @@ public function __construct(array $options = []) * Acknowledges the terms of user data collection for the specified property. * * This acknowledgement must be completed (either in the Google Analytics UI - * or via this API) before MeasurementProtocolSecret resources may be created. + * or through this API) before MeasurementProtocolSecret resources may be + * created. * * Sample code: * ``` @@ -536,8 +553,8 @@ public function __construct(array $options = []) * ``` * * @param string $property Required. The property for which to acknowledge user data collection. - * @param string $acknowledgement Required. An acknowledgement that the caller of this method understands the terms - * of user data collection. + * @param string $acknowledgement Required. An acknowledgement that the caller of this method understands the + * terms of user data collection. * * This field must contain the exact value: * "I acknowledge that I have the necessary privacy disclosures and rights @@ -664,8 +681,8 @@ public function archiveCustomMetric($name, array $optionalArgs = []) * ``` * * @param ConversionEvent $conversionEvent Required. The conversion event to create. - * @param string $parent Required. The resource name of the parent property where this conversion event will - * be created. Format: properties/123 + * @param string $parent Required. The resource name of the parent property where this conversion + * event will be created. Format: properties/123 * @param array $optionalArgs { * Optional. * @@ -1248,7 +1265,7 @@ public function deleteMeasurementProtocolSecret($name, array $optionalArgs = []) * will be permanently purged. * https://support.google.com/analytics/answer/6154772 * - * Returns an error if the target is not found, or is not an GA4 Property. + * Returns an error if the target is not found, or is not a GA4 Property. * * Sample code: * ``` @@ -2384,7 +2401,7 @@ public function listProperties($filter, array $optionalArgs = []) * The account to create. * @type string $redirectUri * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Developers Console as a Redirect URI + * Must be configured in Cloud Console as a Redirect URI. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on @@ -2408,6 +2425,154 @@ public function provisionAccountTicket(array $optionalArgs = []) } return $this->startCall('ProvisionAccountTicket', ProvisionAccountTicketResponse::class, $optionalArgs, $request)->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. The property must be + * in Google Analytics 360. This method is only available to Administrators. + * + * These data access records include GA4 UI Reporting, GA4 UI Explorations, + * GA4 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). + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $response = $analyticsAdminServiceClient->runAccessReport(); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param array $optionalArgs { + * Optional. + * + * @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 GA4 property ID. To request at the + * account level, entity should be for example 'accounts/1234' if "1234" is + * your GA4 Account ID. + * @type AccessDimension[] $dimensions + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + * @type AccessMetric[] $metrics + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + * @type AccessDateRange[] $dateRanges + * 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 AccessFilterExpression $dimensionFilter + * 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 AccessFilterExpression $metricFilter + * 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 $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 $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 $timeZone + * 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 AccessOrderBy[] $orderBys + * Specifies how rows are ordered in the response. + * @type bool $returnEntityQuota + * 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 RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1beta\RunAccessReportResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function runAccessReport(array $optionalArgs = []) + { + $request = new RunAccessReportRequest(); + $requestParamHeaders = []; + if (isset($optionalArgs['entity'])) { + $request->setEntity($optionalArgs['entity']); + $requestParamHeaders['entity'] = $optionalArgs['entity']; + } + if (isset($optionalArgs['dimensions'])) { + $request->setDimensions($optionalArgs['dimensions']); + } + if (isset($optionalArgs['metrics'])) { + $request->setMetrics($optionalArgs['metrics']); + } + if (isset($optionalArgs['dateRanges'])) { + $request->setDateRanges($optionalArgs['dateRanges']); + } + if (isset($optionalArgs['dimensionFilter'])) { + $request->setDimensionFilter($optionalArgs['dimensionFilter']); + } + if (isset($optionalArgs['metricFilter'])) { + $request->setMetricFilter($optionalArgs['metricFilter']); + } + if (isset($optionalArgs['offset'])) { + $request->setOffset($optionalArgs['offset']); + } + if (isset($optionalArgs['limit'])) { + $request->setLimit($optionalArgs['limit']); + } + if (isset($optionalArgs['timeZone'])) { + $request->setTimeZone($optionalArgs['timeZone']); + } + if (isset($optionalArgs['orderBys'])) { + $request->setOrderBys($optionalArgs['orderBys']); + } + if (isset($optionalArgs['returnEntityQuota'])) { + $request->setReturnEntityQuota($optionalArgs['returnEntityQuota']); + } + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('RunAccessReport', RunAccessReportResponse::class, $optionalArgs, $request)->wait(); + } /** * Searches through all changes to an account or its children given the * specified set of filters. @@ -2435,7 +2600,8 @@ public function provisionAccountTicket(array $optionalArgs = []) * } * ``` * - * @param string $account Required. The account resource for which to return change history resources. + * @param string $account Required. The account resource for which to return change history + * resources. * @param array $optionalArgs { * Optional. * @@ -2443,15 +2609,16 @@ public function provisionAccountTicket(array $optionalArgs = []) * Optional. Resource name for a child property. If set, only return changes * made to this property or its child resources. * @type int[] $resourceType - * Optional. If set, only return changes if they are for a resource that matches at - * least one of these types. + * Optional. If set, only return changes if they are for a resource that + * matches at least one of these types. * For allowed values, use constants defined on {@see \Google\Analytics\Admin\V1beta\ChangeHistoryResourceType} * @type int[] $action - * Optional. If set, only return changes that match one or more of these types of - * actions. + * Optional. If set, only return changes that match one or more of these types + * of actions. * For allowed values, use constants defined on {@see \Google\Analytics\Admin\V1beta\ActionType} * @type string[] $actorEmail - * Optional. If set, only return changes if they are made by a user in this list. + * Optional. If set, only return changes if they are made by a user in this + * list. * @type Timestamp $earliestChangeTime * Optional. If set, only return changes made after this time (inclusive). * @type Timestamp $latestChangeTime @@ -2528,9 +2695,10 @@ public function searchChangeHistoryEvents($account, array $optionalArgs = []) * * @param Account $account Required. The account to update. * The account's `name` field is used to identify the account. - * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace - * the entire entity, use one path with the string "*" to match all fields. + * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake + * case (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. * @param array $optionalArgs { * Optional. * @@ -2557,6 +2725,53 @@ public function updateAccount($account, $updateMask, array $optionalArgs = []) $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); return $this->startCall('UpdateAccount', Account::class, $optionalArgs, $request)->wait(); } + /** + * Updates a conversion event with the specified attributes. + * + * Sample code: + * ``` + * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); + * try { + * $conversionEvent = new ConversionEvent(); + * $updateMask = new FieldMask(); + * $response = $analyticsAdminServiceClient->updateConversionEvent($conversionEvent, $updateMask); + * } finally { + * $analyticsAdminServiceClient->close(); + * } + * ``` + * + * @param ConversionEvent $conversionEvent Required. The conversion event to update. + * The `name` field is used to identify the settings to be updated. + * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Admin\V1beta\ConversionEvent + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function updateConversionEvent($conversionEvent, $updateMask, array $optionalArgs = []) + { + $request = new UpdateConversionEventRequest(); + $requestParamHeaders = []; + $request->setConversionEvent($conversionEvent); + $request->setUpdateMask($updateMask); + $requestParamHeaders['conversion_event.name'] = $conversionEvent->getName(); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('UpdateConversionEvent', ConversionEvent::class, $optionalArgs, $request)->wait(); + } /** * Updates a CustomDimension on a property. * @@ -2571,9 +2786,9 @@ public function updateAccount($account, $updateMask, array $optionalArgs = []) * } * ``` * - * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be updated. - * To replace the entire entity, use one path with the string "*" to match - * all fields. + * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be + * updated. To replace the entire entity, use one path with the string "*" to + * match all fields. * @param array $optionalArgs { * Optional. * @@ -2617,9 +2832,9 @@ public function updateCustomDimension($updateMask, array $optionalArgs = []) * } * ``` * - * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be updated. - * To replace the entire entity, use one path with the string "*" to match - * all fields. + * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be + * updated. To replace the entire entity, use one path with the string "*" to + * match all fields. * @param array $optionalArgs { * Optional. * @@ -2666,9 +2881,10 @@ public function updateCustomMetric($updateMask, array $optionalArgs = []) * * @param DataRetentionSettings $dataRetentionSettings Required. The settings to update. * The `name` field is used to identify the settings to be updated. - * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace - * the entire entity, use one path with the string "*" to match all fields. + * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * @param array $optionalArgs { * Optional. * @@ -2709,9 +2925,9 @@ public function updateDataRetentionSettings($dataRetentionSettings, $updateMask, * } * ``` * - * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be updated. - * To replace the entire entity, use one path with the string "*" to match - * all fields. + * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be + * updated. To replace the entire entity, use one path with the string "*" to + * match all fields. * @param array $optionalArgs { * Optional. * @@ -2755,9 +2971,10 @@ public function updateDataStream($updateMask, array $optionalArgs = []) * } * ``` * - * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace - * the entire entity, use one path with the string "*" to match all fields. + * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * @param array $optionalArgs { * Optional. * @@ -2795,18 +3012,19 @@ public function updateGoogleAdsLink($updateMask, array $optionalArgs = []) * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); * try { * $measurementProtocolSecret = new MeasurementProtocolSecret(); - * $response = $analyticsAdminServiceClient->updateMeasurementProtocolSecret($measurementProtocolSecret); + * $updateMask = new FieldMask(); + * $response = $analyticsAdminServiceClient->updateMeasurementProtocolSecret($measurementProtocolSecret, $updateMask); * } finally { * $analyticsAdminServiceClient->close(); * } * ``` * * @param MeasurementProtocolSecret $measurementProtocolSecret Required. The measurement protocol secret to update. + * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be + * updated. * @param array $optionalArgs { * Optional. * - * @type FieldMask $updateMask - * The list of fields to be updated. Omitted fields will not be updated. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an * associative array of retry settings parameters. See the documentation on @@ -2819,15 +3037,13 @@ public function updateGoogleAdsLink($updateMask, array $optionalArgs = []) * * @experimental */ - public function updateMeasurementProtocolSecret($measurementProtocolSecret, array $optionalArgs = []) + public function updateMeasurementProtocolSecret($measurementProtocolSecret, $updateMask, array $optionalArgs = []) { $request = new UpdateMeasurementProtocolSecretRequest(); $requestParamHeaders = []; $request->setMeasurementProtocolSecret($measurementProtocolSecret); + $request->setUpdateMask($updateMask); $requestParamHeaders['measurement_protocol_secret.name'] = $measurementProtocolSecret->getName(); - if (isset($optionalArgs['updateMask'])) { - $request->setUpdateMask($optionalArgs['updateMask']); - } $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); return $this->startCall('UpdateMeasurementProtocolSecret', MeasurementProtocolSecret::class, $optionalArgs, $request)->wait(); @@ -2850,9 +3066,10 @@ public function updateMeasurementProtocolSecret($measurementProtocolSecret, arra * @param Property $property Required. The property to update. * The property's `name` field is used to identify the property to be * updated. - * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace - * the entire entity, use one path with the string "*" to match all fields. + * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * @param array $optionalArgs { * Optional. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/GetAccountRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/GetAccountRequest.php index 22748f1e2..33b512eb8 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/GetAccountRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/GetAccountRequest.php @@ -22,6 +22,20 @@ class GetAccountRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goo * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/GetConversionEventRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/GetConversionEventRequest.php index ac57ee867..a9210033c 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/GetConversionEventRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/GetConversionEventRequest.php @@ -22,6 +22,20 @@ class GetConversionEventRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/GetCustomDimensionRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/GetCustomDimensionRequest.php index 989243829..08c73859a 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/GetCustomDimensionRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/GetCustomDimensionRequest.php @@ -21,6 +21,19 @@ class GetCustomDimensionRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/GetCustomMetricRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/GetCustomMetricRequest.php index 5d36fbe57..5d8dbf19e 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/GetCustomMetricRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/GetCustomMetricRequest.php @@ -21,6 +21,19 @@ class GetCustomMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImporte * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/GetDataRetentionSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/GetDataRetentionSettingsRequest.php index e3bb9db8a..f0fb47c97 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/GetDataRetentionSettingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/GetDataRetentionSettingsRequest.php @@ -23,6 +23,21 @@ class GetDataRetentionSettingsRequest extends \Matomo\Dependencies\GoogleAnalyti * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/GetDataSharingSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/GetDataSharingSettingsRequest.php index 14036ee63..7243efdb2 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/GetDataSharingSettingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/GetDataSharingSettingsRequest.php @@ -22,6 +22,20 @@ class GetDataSharingSettingsRequest extends \Matomo\Dependencies\GoogleAnalytics * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/GetDataStreamRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/GetDataStreamRequest.php index 9f6eb3345..3a5aded0f 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/GetDataStreamRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/GetDataStreamRequest.php @@ -21,6 +21,19 @@ class GetDataStreamRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/GetMeasurementProtocolSecretRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/GetMeasurementProtocolSecretRequest.php index ab9d41e1d..0a035c923 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/GetMeasurementProtocolSecretRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/GetMeasurementProtocolSecretRequest.php @@ -22,6 +22,20 @@ class GetMeasurementProtocolSecretRequest extends \Matomo\Dependencies\GoogleAna * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/GetPropertyRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/GetPropertyRequest.php index 45c5b17b8..33b0fde6c 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/GetPropertyRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/GetPropertyRequest.php @@ -22,6 +22,20 @@ class GetPropertyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/GoogleAdsLink.php b/vendor/prefixed/google/analytics-admin/src/V1beta/GoogleAdsLink.php index cad005eeb..484fd0231 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/GoogleAdsLink.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/GoogleAdsLink.php @@ -15,7 +15,8 @@ class GoogleAdsLink extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} + * Output only. Format: + * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} * Note: googleAdsLinkId is not the Google Ads customer ID. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -68,7 +69,8 @@ class GoogleAdsLink extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ * Optional. Data for populating the Message object. * * @type string $name - * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} + * Output only. Format: + * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} * Note: googleAdsLinkId is not the Google Ads customer ID. * @type string $customer_id * Immutable. Google Ads customer ID. @@ -94,7 +96,8 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} + * Output only. Format: + * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} * Note: googleAdsLinkId is not the Google Ads customer ID. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -105,7 +108,8 @@ public function getName() return $this->name; } /** - * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} + * Output only. Format: + * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} * Note: googleAdsLinkId is not the Google Ads customer ID. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/ListConversionEventsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/ListConversionEventsRequest.php index 082568e15..9786faac8 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/ListConversionEventsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/ListConversionEventsRequest.php @@ -38,6 +38,19 @@ class ListConversionEventsRequest extends \Matomo\Dependencies\GoogleAnalyticsIm * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/ListCustomDimensionsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/ListCustomDimensionsRequest.php index 6bb2acbc1..04f912807 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/ListCustomDimensionsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/ListCustomDimensionsRequest.php @@ -37,6 +37,18 @@ class ListCustomDimensionsRequest extends \Matomo\Dependencies\GoogleAnalyticsIm * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/ListCustomMetricsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/ListCustomMetricsRequest.php index 411efed5c..586c53ca0 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/ListCustomMetricsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/ListCustomMetricsRequest.php @@ -37,6 +37,18 @@ class ListCustomMetricsRequest extends \Matomo\Dependencies\GoogleAnalyticsImpor * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/ListDataStreamsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/ListDataStreamsRequest.php index dfca6aac4..536d41e8c 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/ListDataStreamsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/ListDataStreamsRequest.php @@ -37,6 +37,18 @@ class ListDataStreamsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporte * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/ListFirebaseLinksRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/ListFirebaseLinksRequest.php index 8135fd6b3..5722067bd 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/ListFirebaseLinksRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/ListFirebaseLinksRequest.php @@ -33,12 +33,25 @@ class ListFirebaseLinksRequest extends \Matomo\Dependencies\GoogleAnalyticsImpor /** * A page token, received from a previous `ListFirebaseLinks` call. * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListProperties` must + * When paginating, all other parameters provided to `ListFirebaseLinks` must * match the call that provided the page token. * * Generated from protobuf field string page_token = 3; */ private $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. * @@ -56,7 +69,7 @@ class ListFirebaseLinksRequest extends \Matomo\Dependencies\GoogleAnalyticsImpor * @type string $page_token * A page token, received from a previous `ListFirebaseLinks` call. * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListProperties` must + * When paginating, all other parameters provided to `ListFirebaseLinks` must * match the call that provided the page token. * } */ @@ -122,7 +135,7 @@ public function setPageSize($var) /** * A page token, received from a previous `ListFirebaseLinks` call. * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListProperties` must + * When paginating, all other parameters provided to `ListFirebaseLinks` must * match the call that provided the page token. * * Generated from protobuf field string page_token = 3; @@ -135,7 +148,7 @@ public function getPageToken() /** * A page token, received from a previous `ListFirebaseLinks` call. * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListProperties` must + * When paginating, all other parameters provided to `ListFirebaseLinks` must * match the call that provided the page token. * * Generated from protobuf field string page_token = 3; diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/ListGoogleAdsLinksRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/ListGoogleAdsLinksRequest.php index c64c44985..c7fa307e9 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/ListGoogleAdsLinksRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/ListGoogleAdsLinksRequest.php @@ -37,6 +37,18 @@ class ListGoogleAdsLinksRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/ListMeasurementProtocolSecretsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/ListMeasurementProtocolSecretsRequest.php index d0a448fae..4a7e92da0 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/ListMeasurementProtocolSecretsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/ListMeasurementProtocolSecretsRequest.php @@ -39,6 +39,20 @@ class ListMeasurementProtocolSecretsRequest extends \Matomo\Dependencies\GoogleA * Generated from protobuf field string page_token = 3; */ private $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. * diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/MeasurementProtocolSecret.php b/vendor/prefixed/google/analytics-admin/src/V1beta/MeasurementProtocolSecret.php index 4c1ccec30..ca85aba29 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/MeasurementProtocolSecret.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/MeasurementProtocolSecret.php @@ -15,9 +15,8 @@ class MeasurementProtocolSecret extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * Output only. Resource name of this secret. This secret may be a child of any type of - * stream. - * Format: + * Output only. Resource name of this secret. This secret may be a child of + * any type of stream. Format: * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -30,8 +29,8 @@ class MeasurementProtocolSecret extends \Matomo\Dependencies\GoogleAnalyticsImpo */ private $display_name = ''; /** - * Output only. The measurement protocol secret value. Pass this value to the api_secret - * field of the Measurement Protocol API when sending hits to this + * Output only. The measurement protocol secret value. Pass this value to the + * api_secret field of the Measurement Protocol API when sending hits to this * secret's parent property. * * Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -44,15 +43,14 @@ class MeasurementProtocolSecret extends \Matomo\Dependencies\GoogleAnalyticsImpo * Optional. Data for populating the Message object. * * @type string $name - * Output only. Resource name of this secret. This secret may be a child of any type of - * stream. - * Format: + * Output only. Resource name of this secret. This secret may be a child of + * any type of stream. Format: * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} * @type string $display_name * Required. Human-readable display name for this secret. * @type string $secret_value - * Output only. The measurement protocol secret value. Pass this value to the api_secret - * field of the Measurement Protocol API when sending hits to this + * Output only. The measurement protocol secret value. Pass this value to the + * api_secret field of the Measurement Protocol API when sending hits to this * secret's parent property. * } */ @@ -62,9 +60,8 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * Output only. Resource name of this secret. This secret may be a child of any type of - * stream. - * Format: + * Output only. Resource name of this secret. This secret may be a child of + * any type of stream. Format: * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -75,9 +72,8 @@ 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: + * 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]; @@ -114,8 +110,8 @@ public function setDisplayName($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 + * 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]; @@ -126,8 +122,8 @@ 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 + * Output only. The measurement protocol secret value. Pass this value to the + * api_secret field of the Measurement Protocol API when sending hits to this * secret's parent property. * * Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/NumericValue.php b/vendor/prefixed/google/analytics-admin/src/V1beta/NumericValue.php new file mode 100644 index 000000000..408615f61 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/NumericValue.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1beta.NumericValue + */ +class NumericValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-admin/src/V1beta/Property.php b/vendor/prefixed/google/analytics-admin/src/V1beta/Property.php index 1b3107624..e9d683eed 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/Property.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/Property.php @@ -23,10 +23,10 @@ class Property extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto */ private $name = ''; /** - * Immutable. The property type for this Property resource. When creating a property, if - * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be - * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created - * via Google Analytics Admin API. + * Immutable. The property type for this Property resource. When creating a + * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then + * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" + * types cannot yet be created with the Google Analytics Admin API. * * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; */ @@ -67,9 +67,9 @@ class Property extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto */ private $industry_category = 0; /** - * Required. Reporting Time Zone, used as the day boundary for reports, regardless of - * where the data originates. If the time zone honors DST, Analytics will - * automatically adjust for the changes. + * Required. Reporting Time Zone, used as the day boundary for reports, + * regardless of where the data originates. If the time zone honors DST, + * Analytics will automatically adjust for the changes. * NOTE: Changing the time zone only affects data going forward, and is not * applied retroactively. * Format: https://www.iana.org/time-zones @@ -87,22 +87,23 @@ class Property extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto */ private $currency_code = ''; /** - * Output only. The Google Analytics service level that applies to this property. + * Output only. The Google Analytics service level that applies to this + * property. * * Generated from protobuf field .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $service_level = 0; /** - * Output only. If set, the time at which this property was trashed. If not set, then this - * property is not currently in the trash can. + * Output only. If set, the time at which this property was trashed. If not + * set, then this property is not currently in the trash can. * * Generated from protobuf field .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $delete_time = null; /** - * Output only. If set, the time at which this trashed property will be permanently - * deleted. If not set, then this property is not currently in the trash can - * and is not slated to be deleted. + * Output only. If set, the time at which this trashed property will be + * permanently deleted. If not set, then this property is not currently in the + * trash can and is not slated to be deleted. * * Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -126,10 +127,10 @@ class Property extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto * Format: properties/{property_id} * Example: "properties/1000" * @type int $property_type - * Immutable. The property type for this Property resource. When creating a property, if - * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be - * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created - * via Google Analytics Admin API. + * Immutable. The property type for this Property resource. When creating a + * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then + * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" + * types cannot yet be created with the Google Analytics Admin API. * @type \Google\Protobuf\Timestamp $create_time * Output only. Time when the entity was originally created. * @type \Google\Protobuf\Timestamp $update_time @@ -146,9 +147,9 @@ class Property extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto * Industry associated with this property * Example: AUTOMOTIVE, FOOD_AND_DRINK * @type string $time_zone - * Required. Reporting Time Zone, used as the day boundary for reports, regardless of - * where the data originates. If the time zone honors DST, Analytics will - * automatically adjust for the changes. + * Required. Reporting Time Zone, used as the day boundary for reports, + * regardless of where the data originates. If the time zone honors DST, + * Analytics will automatically adjust for the changes. * NOTE: Changing the time zone only affects data going forward, and is not * applied retroactively. * Format: https://www.iana.org/time-zones @@ -158,14 +159,15 @@ class Property extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto * Format: https://en.wikipedia.org/wiki/ISO_4217 * Examples: "USD", "EUR", "JPY" * @type int $service_level - * Output only. The Google Analytics service level that applies to this property. + * Output only. The Google Analytics service level that applies to this + * property. * @type \Google\Protobuf\Timestamp $delete_time - * Output only. If set, the time at which this property was trashed. If not set, then this - * property is not currently in the trash can. + * Output only. If set, the time at which this property was trashed. If not + * set, then this property is not currently in the trash can. * @type \Google\Protobuf\Timestamp $expire_time - * Output only. If set, the time at which this trashed property will be permanently - * deleted. If not set, then this property is not currently in the trash can - * and is not slated to be deleted. + * Output only. If set, the time at which this trashed property will be + * permanently deleted. If not set, then this property is not currently in the + * trash can and is not slated to be deleted. * @type string $account * Immutable. The resource name of the parent account * Format: accounts/{account_id} @@ -205,10 +207,10 @@ public function setName($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. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created - * via Google Analytics Admin API. + * Immutable. The property type for this Property resource. When creating a + * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then + * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" + * types cannot yet be created with the Google Analytics Admin API. * * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return int @@ -218,10 +220,10 @@ 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. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created - * via Google Analytics Admin API. + * Immutable. The property type for this Property resource. When creating a + * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then + * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" + * types cannot yet be created with the Google Analytics Admin API. * * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @param int $var @@ -375,9 +377,9 @@ public function setIndustryCategory($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. + * 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 @@ -391,9 +393,9 @@ 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. + * 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 @@ -437,7 +439,8 @@ public function setCurrencyCode($var) return $this; } /** - * Output only. The Google Analytics service level that applies to this property. + * Output only. The Google Analytics service level that applies to this + * property. * * Generated from protobuf field .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int @@ -447,7 +450,8 @@ public function getServiceLevel() return $this->service_level; } /** - * Output only. The Google Analytics service level that applies to this property. + * Output only. The Google Analytics service level that applies to this + * property. * * Generated from protobuf field .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var @@ -460,8 +464,8 @@ public function setServiceLevel($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. + * 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 @@ -479,8 +483,8 @@ 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. + * 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 @@ -493,9 +497,9 @@ public function setDeleteTime($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. + * 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 @@ -513,9 +517,9 @@ 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. + * Output only. If set, the time at which this trashed property will be + * permanently deleted. If not set, then this property is not currently in the + * trash can and is not slated to be deleted. * * Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/ProvisionAccountTicketRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/ProvisionAccountTicketRequest.php index cee8fb42e..2cf41ca6a 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/ProvisionAccountTicketRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/ProvisionAccountTicketRequest.php @@ -22,7 +22,7 @@ class ProvisionAccountTicketRequest extends \Matomo\Dependencies\GoogleAnalytics private $account = null; /** * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Developers Console as a Redirect URI + * Must be configured in Cloud Console as a Redirect URI. * * Generated from protobuf field string redirect_uri = 2; */ @@ -37,7 +37,7 @@ class ProvisionAccountTicketRequest extends \Matomo\Dependencies\GoogleAnalytics * 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 Developers Console as a Redirect URI + * Must be configured in Cloud Console as a Redirect URI. * } */ public function __construct($data = NULL) @@ -78,7 +78,7 @@ public function setAccount($var) } /** * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Developers Console as a Redirect URI + * Must be configured in Cloud Console as a Redirect URI. * * Generated from protobuf field string redirect_uri = 2; * @return string @@ -89,7 +89,7 @@ public function getRedirectUri() } /** * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Developers Console as a Redirect URI + * Must be configured in Cloud Console as a Redirect URI. * * Generated from protobuf field string redirect_uri = 2; * @param string $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/RunAccessReportRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/RunAccessReportRequest.php new file mode 100644 index 000000000..1508606d2 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/RunAccessReportRequest.php @@ -0,0 +1,543 @@ +google.analytics.admin.v1beta.RunAccessReportRequest + */ +class RunAccessReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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 GA4 property ID. To request at the + * account level, entity should be for example 'accounts/1234' if "1234" is + * your GA4 Account ID. + * + * Generated from protobuf field string entity = 1; + */ + private $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; + */ + private $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; + */ + private $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; + */ + private $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; + */ + private $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; + */ + private $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; + */ + private $return_entity_quota = \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 GA4 property ID. To request at the + * account level, entity should be for example 'accounts/1234' if "1234" is + * your GA4 Account ID. + * @type array<\Google\Analytics\Admin\V1beta\AccessDimension>|\Google\Protobuf\Internal\RepeatedField $dimensions + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + * @type array<\Google\Analytics\Admin\V1beta\AccessMetric>|\Google\Protobuf\Internal\RepeatedField $metrics + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + * @type array<\Google\Analytics\Admin\V1beta\AccessDateRange>|\Google\Protobuf\Internal\RepeatedField $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 array<\Google\Analytics\Admin\V1beta\AccessOrderBy>|\Google\Protobuf\Internal\RepeatedField $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. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 GA4 property ID. To request at the + * account level, entity should be for example 'accounts/1234' if "1234" is + * your GA4 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 GA4 property ID. To request at the + * account level, entity should be for example 'accounts/1234' if "1234" is + * your GA4 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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1beta\AccessDimension>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1beta\AccessMetric>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setMetrics($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1beta\AccessDateRange>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDateRanges($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1beta\AccessOrderBy>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setOrderBys($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/RunAccessReportResponse.php b/vendor/prefixed/google/analytics-admin/src/V1beta/RunAccessReportResponse.php new file mode 100644 index 000000000..e1056cfaa --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/RunAccessReportResponse.php @@ -0,0 +1,237 @@ +google.analytics.admin.v1beta.RunAccessReportResponse + */ +class RunAccessReportResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $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; + */ + private $quota = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Admin\V1beta\AccessDimensionHeader>|\Google\Protobuf\Internal\RepeatedField $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 array<\Google\Analytics\Admin\V1beta\AccessMetricHeader>|\Google\Protobuf\Internal\RepeatedField $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 array<\Google\Analytics\Admin\V1beta\AccessRow>|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1beta\AccessDimensionHeader>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensionHeaders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1beta\AccessMetricHeader>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setMetricHeaders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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 \Google\Protobuf\Internal\RepeatedField + */ + 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 array<\Google\Analytics\Admin\V1beta\AccessRow>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setRows($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\AccessQuota::class); + $this->quota = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/SearchChangeHistoryEventsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/SearchChangeHistoryEventsRequest.php index 43c55b628..34769fc58 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/SearchChangeHistoryEventsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/SearchChangeHistoryEventsRequest.php @@ -15,7 +15,8 @@ class SearchChangeHistoryEventsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * Required. The account resource for which to return change history resources. + * Required. The account resource for which to return change history + * resources. * * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -28,21 +29,22 @@ class SearchChangeHistoryEventsRequest extends \Matomo\Dependencies\GoogleAnalyt */ private $property = ''; /** - * Optional. If set, only return changes if they are for a resource that matches at - * least one of these types. + * Optional. If set, only return changes if they are for a resource that + * matches at least one of these types. * * Generated from protobuf field repeated .google.analytics.admin.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. + * 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. + * 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]; */ @@ -69,10 +71,11 @@ class SearchChangeHistoryEventsRequest extends \Matomo\Dependencies\GoogleAnalyt */ private $page_size = 0; /** - * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call. - * Provide this to retrieve the subsequent page. When paginating, all other - * parameters provided to `SearchChangeHistoryEvents` must match the call that - * provided the page token. + * Optional. A page token, received from a previous + * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters provided to + * `SearchChangeHistoryEvents` must match the call that provided the page + * token. * * Generated from protobuf field string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -84,18 +87,20 @@ class SearchChangeHistoryEventsRequest extends \Matomo\Dependencies\GoogleAnalyt * Optional. Data for populating the Message object. * * @type string $account - * Required. The account resource for which to return change history resources. + * Required. The account resource for which to return change history + * resources. * @type string $property * Optional. Resource name for a child property. If set, only return changes * made to this property or its child resources. * @type array|\Google\Protobuf\Internal\RepeatedField $resource_type - * Optional. If set, only return changes if they are for a resource that matches at - * least one of these types. + * Optional. If set, only return changes if they are for a resource that + * matches at least one of these types. * @type array|\Google\Protobuf\Internal\RepeatedField $action - * Optional. If set, only return changes that match one or more of these types of - * actions. + * Optional. If set, only return changes that match one or more of these types + * of actions. * @type array|\Google\Protobuf\Internal\RepeatedField $actor_email - * Optional. If set, only return changes if they are made by a user in this list. + * Optional. If set, only return changes if they are made by a user in this + * list. * @type \Google\Protobuf\Timestamp $earliest_change_time * Optional. If set, only return changes made after this time (inclusive). * @type \Google\Protobuf\Timestamp $latest_change_time @@ -106,10 +111,11 @@ class SearchChangeHistoryEventsRequest extends \Matomo\Dependencies\GoogleAnalyt * pages. If unspecified, at most 50 items will be returned. * The maximum value is 200 (higher values will be coerced to the maximum). * @type string $page_token - * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call. - * Provide this to retrieve the subsequent page. When paginating, all other - * parameters provided to `SearchChangeHistoryEvents` must match the call that - * provided the page token. + * Optional. A page token, received from a previous + * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters provided to + * `SearchChangeHistoryEvents` must match the call that provided the page + * token. * } */ public function __construct($data = NULL) @@ -118,7 +124,8 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * Required. The account resource for which to return change history resources. + * Required. The account resource for which to return change history + * resources. * * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -128,7 +135,8 @@ public function getAccount() return $this->account; } /** - * Required. The account resource for which to return change history resources. + * Required. The account resource for which to return change history + * resources. * * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -166,8 +174,8 @@ public function setProperty($var) return $this; } /** - * Optional. If set, only return changes if they are for a resource that matches at - * least one of these types. + * Optional. If set, only return changes if they are for a resource that + * matches at least one of these types. * * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\Internal\RepeatedField @@ -177,8 +185,8 @@ 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. + * 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 array|\Google\Protobuf\Internal\RepeatedField $var @@ -191,8 +199,8 @@ public function setResourceType($var) return $this; } /** - * Optional. If set, only return changes that match one or more of these types of - * actions. + * Optional. If set, only return changes that match one or more of these types + * of actions. * * Generated from protobuf field repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\Internal\RepeatedField @@ -202,8 +210,8 @@ public function getAction() return $this->action; } /** - * Optional. If set, only return changes that match one or more of these types of - * actions. + * Optional. If set, only return changes that match one or more of these types + * of actions. * * Generated from protobuf field repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param array|\Google\Protobuf\Internal\RepeatedField $var @@ -216,7 +224,8 @@ public function setAction($var) return $this; } /** - * Optional. If set, only return changes if they are made by a user in this list. + * Optional. If set, only return changes if they are made by a user in this + * list. * * Generated from protobuf field repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\Internal\RepeatedField @@ -226,7 +235,8 @@ public function getActorEmail() return $this->actor_email; } /** - * Optional. If set, only return changes if they are made by a user in this list. + * Optional. If set, only return changes if they are made by a user in this + * list. * * Generated from protobuf field repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param array|\Google\Protobuf\Internal\RepeatedField $var @@ -330,10 +340,11 @@ public function setPageSize($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. + * 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 @@ -343,10 +354,11 @@ 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. + * Optional. A page token, received from a previous + * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters provided to + * `SearchChangeHistoryEvents` must match the call that provided the page + * token. * * Generated from protobuf field string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateAccountRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateAccountRequest.php index 14a412563..6cec66f78 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateAccountRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateAccountRequest.php @@ -22,13 +22,30 @@ class UpdateAccountRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\ */ private $account = null; /** - * Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace - * the entire entity, use one path with the string "*" to match all fields. + * Required. The list of fields to be updated. Field names must be in snake + * case (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]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\Account $account, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setAccount($account)->setUpdateMask($updateMask); + } /** * Constructor. * @@ -39,9 +56,10 @@ class UpdateAccountRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\ * Required. The account to update. * The account's `name` field is used to identify the account. * @type \Google\Protobuf\FieldMask $update_mask - * Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace - * the entire entity, use one path with the string "*" to match all fields. + * Required. The list of fields to be updated. Field names must be in snake + * case (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) @@ -83,9 +101,10 @@ public function setAccount($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. + * 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 @@ -103,9 +122,10 @@ 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. + * 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 diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateConversionEventRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateConversionEventRequest.php new file mode 100644 index 000000000..913bbcf51 --- /dev/null +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateConversionEventRequest.php @@ -0,0 +1,140 @@ +google.analytics.admin.v1beta.UpdateConversionEventRequest + */ +class UpdateConversionEventRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\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]; + */ + private $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]; + */ + private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\ConversionEvent $conversionEvent, \Matomo\Dependencies\GoogleAnalyticsImporter\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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\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, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateCustomDimensionRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateCustomDimensionRequest.php index d45afe1f5..9a0474772 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateCustomDimensionRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateCustomDimensionRequest.php @@ -21,13 +21,27 @@ class UpdateCustomDimensionRequest extends \Matomo\Dependencies\GoogleAnalyticsI */ private $custom_dimension = null; /** - * Required. The list of fields to be updated. Omitted fields will not be updated. - * To replace the entire entity, use one path with the string "*" to match - * all fields. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. To replace the entire entity, use one path with the string "*" to + * match all fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\CustomDimension $customDimension, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setCustomDimension($customDimension)->setUpdateMask($updateMask); + } /** * Constructor. * @@ -37,9 +51,9 @@ class UpdateCustomDimensionRequest extends \Matomo\Dependencies\GoogleAnalyticsI * @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. + * 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) @@ -79,9 +93,9 @@ public function setCustomDimension($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. + * 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 @@ -99,9 +113,9 @@ 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. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. To replace the entire entity, use one path with the string "*" to + * match all fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateCustomMetricRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateCustomMetricRequest.php index 2e92b30e1..f4534c1ff 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateCustomMetricRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateCustomMetricRequest.php @@ -21,13 +21,27 @@ class UpdateCustomMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo */ private $custom_metric = null; /** - * Required. The list of fields to be updated. Omitted fields will not be updated. - * To replace the entire entity, use one path with the string "*" to match - * all fields. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. To replace the entire entity, use one path with the string "*" to + * match all fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\CustomMetric $customMetric, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setCustomMetric($customMetric)->setUpdateMask($updateMask); + } /** * Constructor. * @@ -37,9 +51,9 @@ class UpdateCustomMetricRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * @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. + * 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) @@ -79,9 +93,9 @@ public function setCustomMetric($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. + * 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 @@ -99,9 +113,9 @@ 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. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. To replace the entire entity, use one path with the string "*" to + * match all fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateDataRetentionSettingsRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateDataRetentionSettingsRequest.php index 284610304..d6da7b1e5 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateDataRetentionSettingsRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateDataRetentionSettingsRequest.php @@ -22,13 +22,30 @@ class UpdateDataRetentionSettingsRequest extends \Matomo\Dependencies\GoogleAnal */ private $data_retention_settings = null; /** - * Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace - * the entire entity, use one path with the string "*" to match all fields. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\DataRetentionSettings $dataRetentionSettings, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setDataRetentionSettings($dataRetentionSettings)->setUpdateMask($updateMask); + } /** * Constructor. * @@ -39,9 +56,10 @@ class UpdateDataRetentionSettingsRequest extends \Matomo\Dependencies\GoogleAnal * Required. The settings to update. * The `name` field is used to identify the settings to be updated. * @type \Google\Protobuf\FieldMask $update_mask - * Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace - * the entire entity, use one path with the string "*" to match all fields. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * } */ public function __construct($data = NULL) @@ -83,9 +101,10 @@ public function setDataRetentionSettings($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. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "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 @@ -103,9 +122,10 @@ 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. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateDataStreamRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateDataStreamRequest.php index 3822dfa6d..a0d3d8636 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateDataStreamRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateDataStreamRequest.php @@ -21,13 +21,27 @@ class UpdateDataStreamRequest extends \Matomo\Dependencies\GoogleAnalyticsImport */ private $data_stream = null; /** - * Required. The list of fields to be updated. Omitted fields will not be updated. - * To replace the entire entity, use one path with the string "*" to match - * all fields. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. To replace the entire entity, use one path with the string "*" to + * match all fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\DataStream $dataStream, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setDataStream($dataStream)->setUpdateMask($updateMask); + } /** * Constructor. * @@ -37,9 +51,9 @@ class UpdateDataStreamRequest extends \Matomo\Dependencies\GoogleAnalyticsImport * @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. + * 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) @@ -79,9 +93,9 @@ public function setDataStream($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. + * 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 @@ -99,9 +113,9 @@ 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. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. To replace the entire entity, use one path with the string "*" to + * match all fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateGoogleAdsLinkRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateGoogleAdsLinkRequest.php index 0b2f09169..6d94f5cca 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateGoogleAdsLinkRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateGoogleAdsLinkRequest.php @@ -21,13 +21,29 @@ class UpdateGoogleAdsLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImp */ private $google_ads_link = null; /** - * Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace - * the entire entity, use one path with the string "*" to match all fields. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\GoogleAdsLink $googleAdsLink, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setGoogleAdsLink($googleAdsLink)->setUpdateMask($updateMask); + } /** * Constructor. * @@ -37,9 +53,10 @@ class UpdateGoogleAdsLinkRequest extends \Matomo\Dependencies\GoogleAnalyticsImp * @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. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "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) @@ -79,9 +96,10 @@ public function setGoogleAdsLink($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. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "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 @@ -99,9 +117,10 @@ 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. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateMeasurementProtocolSecretRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateMeasurementProtocolSecretRequest.php index 7fc28104c..fdf3d6ab9 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateMeasurementProtocolSecretRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdateMeasurementProtocolSecretRequest.php @@ -21,11 +21,25 @@ class UpdateMeasurementProtocolSecretRequest extends \Matomo\Dependencies\Google */ private $measurement_protocol_secret = null; /** - * The list of fields to be updated. Omitted fields will not be updated. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurementProtocolSecret, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setMeasurementProtocolSecret($measurementProtocolSecret)->setUpdateMask($updateMask); + } /** * Constructor. * @@ -35,7 +49,8 @@ class UpdateMeasurementProtocolSecretRequest extends \Matomo\Dependencies\Google * @type \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurement_protocol_secret * Required. The measurement protocol secret to update. * @type \Google\Protobuf\FieldMask $update_mask - * The list of fields to be updated. Omitted fields will not be updated. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. * } */ public function __construct($data = NULL) @@ -75,9 +90,10 @@ public function setMeasurementProtocolSecret($var) return $this; } /** - * The list of fields to be updated. Omitted fields will not be updated. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Protobuf\FieldMask|null */ public function getUpdateMask() @@ -93,9 +109,10 @@ public function clearUpdateMask() unset($this->update_mask); } /** - * The list of fields to be updated. Omitted fields will not be updated. + * Required. The list of fields to be updated. Omitted fields will not be + * updated. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var * @return $this */ diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdatePropertyRequest.php b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdatePropertyRequest.php index 8c2cc4dc7..c5d708ce7 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/UpdatePropertyRequest.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/UpdatePropertyRequest.php @@ -23,13 +23,31 @@ class UpdatePropertyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter */ private $property = null; /** - * Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace - * the entire entity, use one path with the string "*" to match all fields. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $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(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta\Property $property, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask $updateMask) : self + { + return (new self())->setProperty($property)->setUpdateMask($updateMask); + } /** * Constructor. * @@ -41,9 +59,10 @@ class UpdatePropertyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter * The property's `name` field is used to identify the property to be * updated. * @type \Google\Protobuf\FieldMask $update_mask - * Required. The list of fields to be updated. Field names must be in snake case - * (e.g., "field_to_update"). Omitted fields will not be updated. To replace - * the entire entity, use one path with the string "*" to match all fields. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * } */ public function __construct($data = NULL) @@ -87,9 +106,10 @@ public function setProperty($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. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "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 @@ -107,9 +127,10 @@ 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. + * Required. The list of fields to be updated. Field names must be in snake + * case (e.g., "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/resources/analytics_admin_service_client_config.json b/vendor/prefixed/google/analytics-admin/src/V1beta/resources/analytics_admin_service_client_config.json index 41861db0e..0ddd065ab 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/resources/analytics_admin_service_client_config.json +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/resources/analytics_admin_service_client_config.json @@ -6,8 +6,7 @@ "retry_policy_1_codes": [ "UNAVAILABLE", "UNKNOWN" - ], - "no_retry_1_codes": [] + ] }, "retry_params": { "no_retry_params": { @@ -27,15 +26,6 @@ "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": { @@ -76,13 +66,13 @@ }, "CreateFirebaseLink": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "CreateGoogleAdsLink": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "CreateMeasurementProtocolSecret": { "timeout_millis": 60000, @@ -91,13 +81,13 @@ }, "CreateProperty": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "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" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "DeleteConversionEvent": { "timeout_millis": 60000, @@ -111,13 +101,13 @@ }, "DeleteFirebaseLink": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "DeleteGoogleAdsLink": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "DeleteMeasurementProtocolSecret": { "timeout_millis": 60000, @@ -126,13 +116,13 @@ }, "DeleteProperty": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "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" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "GetConversionEvent": { "timeout_millis": 60000, @@ -171,8 +161,8 @@ }, "GetProperty": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "ListAccountSummaries": { "timeout_millis": 60000, @@ -181,8 +171,8 @@ }, "ListAccounts": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "ListConversionEvents": { "timeout_millis": 60000, @@ -206,13 +196,13 @@ }, "ListFirebaseLinks": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "ListGoogleAdsLinks": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "ListMeasurementProtocolSecrets": { "timeout_millis": 60000, @@ -221,13 +211,18 @@ }, "ListProperties": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "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" + "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, @@ -236,8 +231,13 @@ }, "UpdateAccount": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "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, @@ -261,8 +261,8 @@ }, "UpdateGoogleAdsLink": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, "UpdateMeasurementProtocolSecret": { "timeout_millis": 60000, @@ -271,8 +271,8 @@ }, "UpdateProperty": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" } } } diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/resources/analytics_admin_service_descriptor_config.php b/vendor/prefixed/google/analytics-admin/src/V1beta/resources/analytics_admin_service_descriptor_config.php index dab9bea2e..d79053bfe 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/resources/analytics_admin_service_descriptor_config.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/resources/analytics_admin_service_descriptor_config.php @@ -2,4 +2,23 @@ namespace Matomo\Dependencies\GoogleAnalyticsImporter; -return ['interfaces' => ['google.analytics.admin.v1beta.AnalyticsAdminService' => ['ListAccountSummaries' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getAccountSummaries']], 'ListAccounts' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getAccounts']], 'ListConversionEvents' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getConversionEvents']], 'ListCustomDimensions' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getCustomDimensions']], 'ListCustomMetrics' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getCustomMetrics']], 'ListDataStreams' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getDataStreams']], 'ListFirebaseLinks' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getFirebaseLinks']], 'ListGoogleAdsLinks' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getGoogleAdsLinks']], 'ListMeasurementProtocolSecrets' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getMeasurementProtocolSecrets']], 'ListProperties' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getProperties']], 'SearchChangeHistoryEvents' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getChangeHistoryEvents']]]]]; +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* + * GENERATED CODE WARNING + * This file was automatically generated - do not edit! + */ +return ['interfaces' => ['google.analytics.admin.v1beta.AnalyticsAdminService' => ['AcknowledgeUserDataCollection' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AcknowledgeUserDataCollectionResponse', 'headerParams' => [['keyName' => 'property', 'fieldAccessors' => ['getProperty']]]], 'ArchiveCustomDimension' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'ArchiveCustomMetric' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'CreateConversionEvent' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ConversionEvent', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateCustomDimension' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\CustomDimension', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateCustomMetric' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\CustomMetric', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateDataStream' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\DataStream', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateFirebaseLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\FirebaseLink', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateGoogleAdsLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\GoogleAdsLink', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateMeasurementProtocolSecret' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\MeasurementProtocolSecret', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateProperty' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\Property'], 'DeleteAccount' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteConversionEvent' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteDataStream' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteFirebaseLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteGoogleAdsLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteMeasurementProtocolSecret' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteProperty' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\Property', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetAccount' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\Account', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetConversionEvent' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ConversionEvent', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetCustomDimension' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\CustomDimension', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetCustomMetric' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\CustomMetric', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetDataRetentionSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\DataRetentionSettings', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetDataSharingSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\DataSharingSettings', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetDataStream' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\DataStream', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetMeasurementProtocolSecret' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\MeasurementProtocolSecret', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetProperty' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ListAccountSummariesResponse'], 'ListAccounts' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getAccounts'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ListAccountsResponse'], 'ListConversionEvents' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getConversionEvents'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ListGoogleAdsLinksResponse', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'ListMeasurementProtocolSecrets' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getMeasurementProtocolSecrets'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ListPropertiesResponse'], 'ProvisionAccountTicket' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ProvisionAccountTicketResponse'], 'RunAccessReport' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\SearchChangeHistoryEventsResponse', 'headerParams' => [['keyName' => 'account', 'fieldAccessors' => ['getAccount']]]], 'UpdateAccount' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\Account', 'headerParams' => [['keyName' => 'account.name', 'fieldAccessors' => ['getAccount', 'getName']]]], 'UpdateConversionEvent' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ConversionEvent', 'headerParams' => [['keyName' => 'conversion_event.name', 'fieldAccessors' => ['getConversionEvent', 'getName']]]], 'UpdateCustomDimension' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\CustomDimension', 'headerParams' => [['keyName' => 'custom_dimension.name', 'fieldAccessors' => ['getCustomDimension', 'getName']]]], 'UpdateCustomMetric' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\CustomMetric', 'headerParams' => [['keyName' => 'custom_metric.name', 'fieldAccessors' => ['getCustomMetric', 'getName']]]], 'UpdateDataRetentionSettings' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\DataRetentionSettings', 'headerParams' => [['keyName' => 'data_retention_settings.name', 'fieldAccessors' => ['getDataRetentionSettings', 'getName']]]], 'UpdateDataStream' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\DataStream', 'headerParams' => [['keyName' => 'data_stream.name', 'fieldAccessors' => ['getDataStream', 'getName']]]], 'UpdateGoogleAdsLink' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\GoogleAdsLink', 'headerParams' => [['keyName' => 'google_ads_link.name', 'fieldAccessors' => ['getGoogleAdsLink', 'getName']]]], 'UpdateMeasurementProtocolSecret' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\MeasurementProtocolSecret', 'headerParams' => [['keyName' => 'measurement_protocol_secret.name', 'fieldAccessors' => ['getMeasurementProtocolSecret', 'getName']]]], 'UpdateProperty' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\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}', 'measurementProtocolSecret' => 'properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}', 'property' => 'properties/{property}']]]]; diff --git a/vendor/prefixed/google/analytics-admin/src/V1beta/resources/analytics_admin_service_rest_client_config.php b/vendor/prefixed/google/analytics-admin/src/V1beta/resources/analytics_admin_service_rest_client_config.php index e4f0f65cf..c3bdc6af0 100644 --- a/vendor/prefixed/google/analytics-admin/src/V1beta/resources/analytics_admin_service_rest_client_config.php +++ b/vendor/prefixed/google/analytics-admin/src/V1beta/resources/analytics_admin_service_rest_client_config.php @@ -2,4 +2,23 @@ namespace Matomo\Dependencies\GoogleAnalyticsImporter; -return ['interfaces' => ['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']]]], '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']]]], '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']]]], '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']]]], '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' => '*'], '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']], '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']], 'UpdateMeasurementProtocolSecret' => ['method' => 'patch', 'uriTemplate' => '/v1beta/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', 'body' => 'measurement_protocol_secret', 'placeholders' => ['measurement_protocol_secret.name' => ['getters' => ['getMeasurementProtocolSecret', 'getName']]]], 'UpdateProperty' => ['method' => 'patch', 'uriTemplate' => '/v1beta/{property.name=properties/*}', 'body' => 'property', 'placeholders' => ['property.name' => ['getters' => ['getProperty', 'getName']]], 'queryParams' => ['update_mask']]]], 'numericEnums' => \true]; +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* + * GENERATED CODE WARNING + * This file was automatically generated - do not edit! + */ +return ['interfaces' => ['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']]]], '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']]]], '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']]]], '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']]]], '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']], '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/vendor/prefixed/google/analytics-data/VERSION b/vendor/prefixed/google/analytics-data/VERSION index a602fc9e2..7cca7711a 100644 --- a/vendor/prefixed/google/analytics-data/VERSION +++ b/vendor/prefixed/google/analytics-data/VERSION @@ -1 +1 @@ -0.9.4 +0.17.1 diff --git a/vendor/prefixed/google/analytics-data/metadata/V1Alpha/AnalyticsDataApi.php b/vendor/prefixed/google/analytics-data/metadata/V1Alpha/AnalyticsDataApi.php index b3d119e7f..cf496607e 100644 Binary files a/vendor/prefixed/google/analytics-data/metadata/V1Alpha/AnalyticsDataApi.php and b/vendor/prefixed/google/analytics-data/metadata/V1Alpha/AnalyticsDataApi.php differ diff --git a/vendor/prefixed/google/analytics-data/metadata/V1Alpha/Data.php b/vendor/prefixed/google/analytics-data/metadata/V1Alpha/Data.php index ca3187f91..37c84832a 100644 Binary files a/vendor/prefixed/google/analytics-data/metadata/V1Alpha/Data.php and b/vendor/prefixed/google/analytics-data/metadata/V1Alpha/Data.php differ diff --git a/vendor/prefixed/google/analytics-data/metadata/V1Beta/AnalyticsDataApi.php b/vendor/prefixed/google/analytics-data/metadata/V1Beta/AnalyticsDataApi.php index d5a62273e..32a14ee3b 100644 Binary files a/vendor/prefixed/google/analytics-data/metadata/V1Beta/AnalyticsDataApi.php and b/vendor/prefixed/google/analytics-data/metadata/V1Beta/AnalyticsDataApi.php differ diff --git a/vendor/prefixed/google/analytics-data/metadata/V1Beta/Data.php b/vendor/prefixed/google/analytics-data/metadata/V1Beta/Data.php index 313099237..a8155e1d6 100644 Binary files a/vendor/prefixed/google/analytics-data/metadata/V1Beta/Data.php and b/vendor/prefixed/google/analytics-data/metadata/V1Beta/Data.php differ diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/AlphaAnalyticsDataClient.php b/vendor/prefixed/google/analytics-data/src/V1alpha/AlphaAnalyticsDataClient.php index 87ca1ffb1..48a513303 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/AlphaAnalyticsDataClient.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/AlphaAnalyticsDataClient.php @@ -18,7 +18,7 @@ /* * GENERATED CODE WARNING * Generated by gapic-generator-php from the file - * https://github.com/google/googleapis/blob/master/google/analytics/data/v1alpha/analytics_data_api.proto + * https://github.com/googleapis/googleapis/blob/master/google/analytics/data/v1alpha/analytics_data_api.proto * Updates to the above are reflected here through a refresh process. * * @experimental diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceDimension.php b/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceDimension.php new file mode 100644 index 000000000..255c2e919 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceDimension.php @@ -0,0 +1,70 @@ +google.analytics.data.v1alpha.AudienceDimension + */ +class AudienceDimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Optional. The API name of the dimension. See the [API + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) + * for the list of dimension names. + * + * Generated from protobuf field string dimension_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $dimension_name = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $dimension_name + * Optional. The API name of the dimension. See the [API + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) + * for the list of dimension names. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Optional. The API name of the dimension. See the [API + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) + * for the list of dimension names. + * + * Generated from protobuf field string dimension_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDimensionName() + { + return $this->dimension_name; + } + /** + * Optional. The API name of the dimension. See the [API + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) + * for the list of dimension names. + * + * Generated from protobuf field string dimension_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDimensionName($var) + { + GPBUtil::checkString($var, True); + $this->dimension_name = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceDimensionValue.php b/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceDimensionValue.php new file mode 100644 index 000000000..31e11f6b3 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceDimensionValue.php @@ -0,0 +1,67 @@ +google.analytics.data.v1alpha.AudienceDimensionValue + */ +class AudienceDimensionValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + protected $one_value; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $value + * Value as a string if the dimension type is a string. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Value as a string if the dimension type is a string. + * + * Generated from protobuf field string value = 1; + * @return string + */ + public function getValue() + { + return $this->readOneof(1); + } + public function hasValue() + { + return $this->hasOneof(1); + } + /** + * Value as a string if the dimension type is a string. + * + * Generated from protobuf field string value = 1; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(1, $var); + return $this; + } + /** + * @return string + */ + public function getOneValue() + { + return $this->whichOneof("one_value"); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceList.php b/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceList.php new file mode 100644 index 000000000..ab6effcfd --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceList.php @@ -0,0 +1,568 @@ +google.analytics.data.v1alpha.AudienceList + */ +class AudienceList extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Output only. Identifier. The audience list resource name assigned during + * creation. This resource name identifies this `AudienceList`. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $name = ''; + /** + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin + * APIs. + * Format: `properties/{property}/audiences/{audience}` + * + * Generated from protobuf field string audience = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $audience = ''; + /** + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + * + * Generated from protobuf field string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $audience_display_name = ''; + /** + * Required. The dimensions requested and displayed in the query response. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + private $dimensions; + /** + * Output only. The current state for this AudienceList. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.AudienceList.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $state = null; + /** + * Output only. The time when CreateAudienceList was called and the + * AudienceList began the `CREATING` state. + * + * Generated from protobuf field optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $begin_creating_time = null; + /** + * Output only. The total quota tokens charged during creation of the + * AudienceList. Because this token count is based on activity from the + * `CREATING` state, this tokens charged will be fixed once an AudienceList + * enters the `ACTIVE` or `FAILED` states. + * + * Generated from protobuf field int32 creation_quota_tokens_charged = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $creation_quota_tokens_charged = 0; + /** + * Output only. The total number of rows in the AudienceList result. + * + * Generated from protobuf field optional int32 row_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $row_count = null; + /** + * Output only. Error message is populated when an audience list fails during + * creation. A common reason for such a failure is quota exhaustion. + * + * Generated from protobuf field optional string error_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $error_message = null; + /** + * Output only. The percentage completed for this audience export ranging + * between 0 to 100. + * + * Generated from protobuf field optional double percentage_completed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $percentage_completed = null; + /** + * Output only. The recurring audience list that created this audience list. + * Recurring audience lists create audience lists daily. + * If audience lists are created directly, they will have no associated + * recurring audience list, and this field will be blank. + * + * Generated from protobuf field optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $recurring_audience_list = null; + /** + * Optional. Configures webhook notifications to be sent from the Google + * Analytics Data API to your webhook server. Use of webhooks is optional. If + * unused, you'll need to poll this API to determine when an audience list is + * ready to be used. Webhooks allow a notification to be sent to your servers + * & avoid the need for polling. + * Either one or two POST requests will be sent to the webhook. The first POST + * request will be sent immediately showing the newly created audience list in + * its CREATING state. The second POST request will be sent after the audience + * list completes creation (either the ACTIVE or FAILED state). + * If identical audience lists are requested in quick succession, the second & + * subsequent audience lists can be served from cache. In that case, the + * audience list create method can return an audience list is already ACTIVE. + * In this scenario, only one POST request will be sent to the webhook. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.WebhookNotification webhook_notification = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $webhook_notification = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Identifier. The audience list resource name assigned during + * creation. This resource name identifies this `AudienceList`. + * Format: `properties/{property}/audienceLists/{audience_list}` + * @type string $audience + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin + * APIs. + * Format: `properties/{property}/audiences/{audience}` + * @type string $audience_display_name + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + * @type array<\Google\Analytics\Data\V1alpha\AudienceDimension>|\Google\Protobuf\Internal\RepeatedField $dimensions + * Required. The dimensions requested and displayed in the query response. + * @type int $state + * Output only. The current state for this AudienceList. + * @type \Google\Protobuf\Timestamp $begin_creating_time + * Output only. The time when CreateAudienceList was called and the + * AudienceList began the `CREATING` state. + * @type int $creation_quota_tokens_charged + * Output only. The total quota tokens charged during creation of the + * AudienceList. Because this token count is based on activity from the + * `CREATING` state, this tokens charged will be fixed once an AudienceList + * enters the `ACTIVE` or `FAILED` states. + * @type int $row_count + * Output only. The total number of rows in the AudienceList result. + * @type string $error_message + * Output only. Error message is populated when an audience list fails during + * creation. A common reason for such a failure is quota exhaustion. + * @type float $percentage_completed + * Output only. The percentage completed for this audience export ranging + * between 0 to 100. + * @type string $recurring_audience_list + * Output only. The recurring audience list that created this audience list. + * Recurring audience lists create audience lists daily. + * If audience lists are created directly, they will have no associated + * recurring audience list, and this field will be blank. + * @type \Google\Analytics\Data\V1alpha\WebhookNotification $webhook_notification + * Optional. Configures webhook notifications to be sent from the Google + * Analytics Data API to your webhook server. Use of webhooks is optional. If + * unused, you'll need to poll this API to determine when an audience list is + * ready to be used. Webhooks allow a notification to be sent to your servers + * & avoid the need for polling. + * Either one or two POST requests will be sent to the webhook. The first POST + * request will be sent immediately showing the newly created audience list in + * its CREATING state. The second POST request will be sent after the audience + * list completes creation (either the ACTIVE or FAILED state). + * If identical audience lists are requested in quick succession, the second & + * subsequent audience lists can be served from cache. In that case, the + * audience list create method can return an audience list is already ACTIVE. + * In this scenario, only one POST request will be sent to the webhook. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Output only. Identifier. The audience list resource name assigned during + * creation. This resource name identifies this `AudienceList`. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * 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. The audience list resource name assigned during + * creation. This resource name identifies this `AudienceList`. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * 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; + } + /** + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin + * APIs. + * Format: `properties/{property}/audiences/{audience}` + * + * Generated from protobuf field string audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getAudience() + { + return $this->audience; + } + /** + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin + * APIs. + * Format: `properties/{property}/audiences/{audience}` + * + * Generated from protobuf field string audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setAudience($var) + { + GPBUtil::checkString($var, True); + $this->audience = $var; + return $this; + } + /** + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + * + * Generated from protobuf field string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getAudienceDisplayName() + { + return $this->audience_display_name; + } + /** + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + * + * Generated from protobuf field string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setAudienceDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->audience_display_name = $var; + return $this; + } + /** + * Required. The dimensions requested and displayed in the query response. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDimensions() + { + return $this->dimensions; + } + /** + * Required. The dimensions requested and displayed in the query response. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param array<\Google\Analytics\Data\V1alpha\AudienceDimension>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\AudienceDimension::class); + $this->dimensions = $arr; + return $this; + } + /** + * Output only. The current state for this AudienceList. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.AudienceList.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getState() + { + return isset($this->state) ? $this->state : 0; + } + public function hasState() + { + return isset($this->state); + } + public function clearState() + { + unset($this->state); + } + /** + * Output only. The current state for this AudienceList. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.AudienceList.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setState($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\AudienceList\State::class); + $this->state = $var; + return $this; + } + /** + * Output only. The time when CreateAudienceList was called and the + * AudienceList began the `CREATING` state. + * + * Generated from protobuf field optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getBeginCreatingTime() + { + return $this->begin_creating_time; + } + public function hasBeginCreatingTime() + { + return isset($this->begin_creating_time); + } + public function clearBeginCreatingTime() + { + unset($this->begin_creating_time); + } + /** + * Output only. The time when CreateAudienceList was called and the + * AudienceList began the `CREATING` state. + * + * Generated from protobuf field optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setBeginCreatingTime($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Timestamp::class); + $this->begin_creating_time = $var; + return $this; + } + /** + * Output only. The total quota tokens charged during creation of the + * AudienceList. Because this token count is based on activity from the + * `CREATING` state, this tokens charged will be fixed once an AudienceList + * enters the `ACTIVE` or `FAILED` states. + * + * Generated from protobuf field int32 creation_quota_tokens_charged = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getCreationQuotaTokensCharged() + { + return $this->creation_quota_tokens_charged; + } + /** + * Output only. The total quota tokens charged during creation of the + * AudienceList. Because this token count is based on activity from the + * `CREATING` state, this tokens charged will be fixed once an AudienceList + * enters the `ACTIVE` or `FAILED` states. + * + * Generated from protobuf field int32 creation_quota_tokens_charged = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setCreationQuotaTokensCharged($var) + { + GPBUtil::checkInt32($var); + $this->creation_quota_tokens_charged = $var; + return $this; + } + /** + * Output only. The total number of rows in the AudienceList result. + * + * Generated from protobuf field optional int32 row_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getRowCount() + { + return isset($this->row_count) ? $this->row_count : 0; + } + public function hasRowCount() + { + return isset($this->row_count); + } + public function clearRowCount() + { + unset($this->row_count); + } + /** + * Output only. The total number of rows in the AudienceList result. + * + * Generated from protobuf field optional int32 row_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setRowCount($var) + { + GPBUtil::checkInt32($var); + $this->row_count = $var; + return $this; + } + /** + * Output only. Error message is populated when an audience list fails during + * creation. A common reason for such a failure is quota exhaustion. + * + * Generated from protobuf field optional string error_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getErrorMessage() + { + return isset($this->error_message) ? $this->error_message : ''; + } + public function hasErrorMessage() + { + return isset($this->error_message); + } + public function clearErrorMessage() + { + unset($this->error_message); + } + /** + * Output only. Error message is populated when an audience list fails during + * creation. A common reason for such a failure is quota exhaustion. + * + * Generated from protobuf field optional string error_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setErrorMessage($var) + { + GPBUtil::checkString($var, True); + $this->error_message = $var; + return $this; + } + /** + * Output only. The percentage completed for this audience export ranging + * between 0 to 100. + * + * Generated from protobuf field optional double percentage_completed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getPercentageCompleted() + { + return isset($this->percentage_completed) ? $this->percentage_completed : 0.0; + } + public function hasPercentageCompleted() + { + return isset($this->percentage_completed); + } + public function clearPercentageCompleted() + { + unset($this->percentage_completed); + } + /** + * Output only. The percentage completed for this audience export ranging + * between 0 to 100. + * + * Generated from protobuf field optional double percentage_completed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setPercentageCompleted($var) + { + GPBUtil::checkDouble($var); + $this->percentage_completed = $var; + return $this; + } + /** + * Output only. The recurring audience list that created this audience list. + * Recurring audience lists create audience lists daily. + * If audience lists are created directly, they will have no associated + * recurring audience list, and this field will be blank. + * + * Generated from protobuf field optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getRecurringAudienceList() + { + return isset($this->recurring_audience_list) ? $this->recurring_audience_list : ''; + } + public function hasRecurringAudienceList() + { + return isset($this->recurring_audience_list); + } + public function clearRecurringAudienceList() + { + unset($this->recurring_audience_list); + } + /** + * Output only. The recurring audience list that created this audience list. + * Recurring audience lists create audience lists daily. + * If audience lists are created directly, they will have no associated + * recurring audience list, and this field will be blank. + * + * Generated from protobuf field optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setRecurringAudienceList($var) + { + GPBUtil::checkString($var, True); + $this->recurring_audience_list = $var; + return $this; + } + /** + * Optional. Configures webhook notifications to be sent from the Google + * Analytics Data API to your webhook server. Use of webhooks is optional. If + * unused, you'll need to poll this API to determine when an audience list is + * ready to be used. Webhooks allow a notification to be sent to your servers + * & avoid the need for polling. + * Either one or two POST requests will be sent to the webhook. The first POST + * request will be sent immediately showing the newly created audience list in + * its CREATING state. The second POST request will be sent after the audience + * list completes creation (either the ACTIVE or FAILED state). + * If identical audience lists are requested in quick succession, the second & + * subsequent audience lists can be served from cache. In that case, the + * audience list create method can return an audience list is already ACTIVE. + * In this scenario, only one POST request will be sent to the webhook. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.WebhookNotification webhook_notification = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Data\V1alpha\WebhookNotification|null + */ + public function getWebhookNotification() + { + return $this->webhook_notification; + } + public function hasWebhookNotification() + { + return isset($this->webhook_notification); + } + public function clearWebhookNotification() + { + unset($this->webhook_notification); + } + /** + * Optional. Configures webhook notifications to be sent from the Google + * Analytics Data API to your webhook server. Use of webhooks is optional. If + * unused, you'll need to poll this API to determine when an audience list is + * ready to be used. Webhooks allow a notification to be sent to your servers + * & avoid the need for polling. + * Either one or two POST requests will be sent to the webhook. The first POST + * request will be sent immediately showing the newly created audience list in + * its CREATING state. The second POST request will be sent after the audience + * list completes creation (either the ACTIVE or FAILED state). + * If identical audience lists are requested in quick succession, the second & + * subsequent audience lists can be served from cache. In that case, the + * audience list create method can return an audience list is already ACTIVE. + * In this scenario, only one POST request will be sent to the webhook. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.WebhookNotification webhook_notification = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Data\V1alpha\WebhookNotification $var + * @return $this + */ + public function setWebhookNotification($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\WebhookNotification::class); + $this->webhook_notification = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceList/State.php b/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceList/State.php new file mode 100644 index 000000000..86edb9f72 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceList/State.php @@ -0,0 +1,59 @@ +google.analytics.data.v1alpha.AudienceList.State + */ +class State +{ + /** + * Unspecified state will never be used. + * + * Generated from protobuf enum STATE_UNSPECIFIED = 0; + */ + const STATE_UNSPECIFIED = 0; + /** + * The AudienceList is currently creating and will be available in the + * future. Creating occurs immediately after the CreateAudienceList call. + * + * Generated from protobuf enum CREATING = 1; + */ + const CREATING = 1; + /** + * The AudienceList is fully created and ready for querying. An AudienceList + * is updated to active asynchronously from a request; this occurs some + * time (for example 15 minutes) after the initial create call. + * + * Generated from protobuf enum ACTIVE = 2; + */ + const ACTIVE = 2; + /** + * The AudienceList failed to be created. It is possible that re-requesting + * this audience list will succeed. + * + * Generated from protobuf enum FAILED = 3; + */ + const FAILED = 3; + private static $valueToName = [self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED', self::CREATING => 'CREATING', self::ACTIVE => 'ACTIVE', self::FAILED => 'FAILED']; + 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/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceListMetadata.php b/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceListMetadata.php new file mode 100644 index 000000000..a877f04e8 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceListMetadata.php @@ -0,0 +1,30 @@ +google.analytics.data.v1alpha.AudienceListMetadata + */ +class AudienceListMetadata extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceRow.php b/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceRow.php new file mode 100644 index 000000000..4e73e7435 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/AudienceRow.php @@ -0,0 +1,65 @@ +google.analytics.data.v1alpha.AudienceRow + */ +class AudienceRow extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Each dimension value attribute for an audience user. One dimension value + * will be added for each dimension column requested. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceDimensionValue dimension_values = 1; + */ + private $dimension_values; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\AudienceDimensionValue>|\Google\Protobuf\Internal\RepeatedField $dimension_values + * Each dimension value attribute for an audience user. One dimension value + * will be added for each dimension column requested. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Each dimension value attribute for an audience user. One dimension value + * will be added for each dimension column requested. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceDimensionValue dimension_values = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDimensionValues() + { + return $this->dimension_values; + } + /** + * Each dimension value attribute for an audience user. One dimension value + * will be added for each dimension column requested. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceDimensionValue dimension_values = 1; + * @param array<\Google\Analytics\Data\V1alpha\AudienceDimensionValue>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensionValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\AudienceDimensionValue::class); + $this->dimension_values = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/BetweenFilter.php b/vendor/prefixed/google/analytics-data/src/V1alpha/BetweenFilter.php new file mode 100644 index 000000000..1c3f0375b --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/BetweenFilter.php @@ -0,0 +1,108 @@ +google.analytics.data.v1alpha.BetweenFilter + */ +class BetweenFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Begins with this number. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericValue from_value = 1; + */ + private $from_value = null; + /** + * Ends with this number. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericValue to_value = 2; + */ + private $to_value = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1alpha\NumericValue $from_value + * Begins with this number. + * @type \Google\Analytics\Data\V1alpha\NumericValue $to_value + * Ends with this number. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * Begins with this number. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericValue from_value = 1; + * @return \Google\Analytics\Data\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.data.v1alpha.NumericValue from_value = 1; + * @param \Google\Analytics\Data\V1alpha\NumericValue $var + * @return $this + */ + public function setFromValue($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\NumericValue::class); + $this->from_value = $var; + return $this; + } + /** + * Ends with this number. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericValue to_value = 2; + * @return \Google\Analytics\Data\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.data.v1alpha.NumericValue to_value = 2; + * @param \Google\Analytics\Data\V1alpha\NumericValue $var + * @return $this + */ + public function setToValue($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\NumericValue::class); + $this->to_value = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/Client/AlphaAnalyticsDataClient.php b/vendor/prefixed/google/analytics-data/src/V1alpha/Client/AlphaAnalyticsDataClient.php new file mode 100644 index 000000000..068c90874 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/Client/AlphaAnalyticsDataClient.php @@ -0,0 +1,803 @@ + self::SERVICE_NAME, 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, 'clientConfig' => __DIR__ . '/../resources/alpha_analytics_data_client_config.json', 'descriptorsConfigPath' => __DIR__ . '/../resources/alpha_analytics_data_descriptor_config.php', 'gcpApiConfigPath' => __DIR__ . '/../resources/alpha_analytics_data_grpc_config.json', 'credentialsConfig' => ['defaultScopes' => self::$serviceScopes], 'transportConfig' => ['rest' => ['restClientConfigPath' => __DIR__ . '/../resources/alpha_analytics_data_rest_client_config.php']]]; + } + /** + * Return an OperationsClient object with the same endpoint as $this. + * + * @return OperationsClient + * + * @experimental + */ + public function getOperationsClient() + { + return $this->operationsClient; + } + /** + * Resume an existing long running operation that was previously started by a long + * running API method. If $methodName is not provided, or does not match a long + * running API method, then the operation can still be resumed, but the + * OperationResponse object will not deserialize the final response. + * + * @param string $operationName The name of the long running operation + * @param string $methodName The name of the method used to start the operation + * + * @return OperationResponse + * + * @experimental + */ + public function resumeOperation($operationName, $methodName = null) + { + $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : []; + $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); + $operation->reload(); + return $operation; + } + /** + * Formats a string containing the fully-qualified path to represent a + * audience_list resource. + * + * @param string $property + * @param string $audienceList + * + * @return string The formatted audience_list resource. + * + * @experimental + */ + public static function audienceListName(string $property, string $audienceList) : string + { + return self::getPathTemplate('audienceList')->render(['property' => $property, 'audience_list' => $audienceList]); + } + /** + * 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 + * recurring_audience_list resource. + * + * @param string $property + * @param string $recurringAudienceList + * + * @return string The formatted recurring_audience_list resource. + * + * @experimental + */ + public static function recurringAudienceListName(string $property, string $recurringAudienceList) : string + { + return self::getPathTemplate('recurringAudienceList')->render(['property' => $property, 'recurring_audience_list' => $recurringAudienceList]); + } + /** + * Formats a string containing the fully-qualified path to represent a report_task + * resource. + * + * @param string $property + * @param string $reportTask + * + * @return string The formatted report_task resource. + * + * @experimental + */ + public static function reportTaskName(string $property, string $reportTask) : string + { + return self::getPathTemplate('reportTask')->render(['property' => $property, 'report_task' => $reportTask]); + } + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - audienceList: properties/{property}/audienceLists/{audience_list} + * - property: properties/{property} + * - recurringAudienceList: properties/{property}/recurringAudienceLists/{recurring_audience_list} + * - reportTask: properties/{property}/reportTasks/{report_task} + * + * 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 $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 'analyticsdata.googleapis.com:443'. + * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials + * The credentials to be used by the client to authorize API calls. This option + * accepts either a path to a credentials file, or a decoded credentials file as a + * PHP array. + * *Advanced usage*: In addition, this option can also accept a pre-constructed + * {@see \Google\Auth\FetchAuthTokenInterface} object or + * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these + * objects are provided, any settings in $credentialsConfig will be ignored. + * @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. + * } + * + * @throws ValidationException + * + * @experimental + */ + public function __construct(array $options = []) + { + $clientOptions = $this->buildClientOptions($options); + $this->setClientOptions($clientOptions); + $this->operationsClient = $this->createOperationsClient($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); + } + /** + * Creates an audience list for later retrieval. This method quickly returns + * the audience list's resource name and initiates a long running asynchronous + * request to form an audience list. To list the users in an audience list, + * first create the audience list through this method and then send the + * audience resource name to the `QueryAudienceList` method. + * + * See [Creating an Audience + * List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Lists with examples. + * + * An audience list is a snapshot of the users currently in the audience at + * the time of audience list creation. Creating audience lists for one + * audience on different days will return different results as users enter and + * exit the audience. + * + * Audiences in Google Analytics 4 allow you to segment your users in the ways + * that are important to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. Audience lists contain + * the users in each audience. + * + * This method is available at beta stability at + * [audienceExports.create](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/create). + * To give your feedback on this API, complete the [Google Analytics Audience + * Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * The async variant is {@see AlphaAnalyticsDataClient::createAudienceListAsync()} + * . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/create_audience_list.php + * + * @param CreateAudienceListRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return OperationResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createAudienceList(CreateAudienceListRequest $request, array $callOptions = []) : OperationResponse + { + return $this->startApiCall('CreateAudienceList', $request, $callOptions)->wait(); + } + /** + * Creates a recurring audience list. Recurring audience lists produces new + * audience lists each day. Audience lists are users in an audience at the + * time of the list's creation. + * + * A recurring audience list ensures that you have audience list based on the + * most recent data available for use each day. If you manually create + * audience list, you don't know when an audience list based on an additional + * day's data is available. This recurring audience list automates the + * creation of an audience list when an additional day's data is available. + * You will consume fewer quota tokens by using recurring audience list versus + * manually creating audience list at various times of day trying to guess + * when an additional day's data is ready. + * + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * The async variant is + * {@see AlphaAnalyticsDataClient::createRecurringAudienceListAsync()} . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/create_recurring_audience_list.php + * + * @param CreateRecurringAudienceListRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return RecurringAudienceList + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createRecurringAudienceList(CreateRecurringAudienceListRequest $request, array $callOptions = []) : RecurringAudienceList + { + return $this->startApiCall('CreateRecurringAudienceList', $request, $callOptions)->wait(); + } + /** + * Initiates the creation of a report task. This method quickly + * returns a report task and initiates a long running + * asynchronous request to form a customized report of your Google Analytics + * event data. + * + * The async variant is {@see AlphaAnalyticsDataClient::createReportTaskAsync()} . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/create_report_task.php + * + * @param CreateReportTaskRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return OperationResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createReportTask(CreateReportTaskRequest $request, array $callOptions = []) : OperationResponse + { + return $this->startApiCall('CreateReportTask', $request, $callOptions)->wait(); + } + /** + * Gets configuration metadata about a specific audience list. This method + * can be used to understand an audience list after it has been created. + * + * See [Creating an Audience + * List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Lists with examples. + * + * This method is available at beta stability at + * [audienceExports.get](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/get). + * To give your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * The async variant is {@see AlphaAnalyticsDataClient::getAudienceListAsync()} . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/get_audience_list.php + * + * @param GetAudienceListRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return AudienceList + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getAudienceList(GetAudienceListRequest $request, array $callOptions = []) : AudienceList + { + return $this->startApiCall('GetAudienceList', $request, $callOptions)->wait(); + } + /** + * Gets configuration metadata about a specific recurring audience list. This + * method can be used to understand a recurring audience list's state after it + * has been created. For example, a recurring audience list resource will + * generate audience list instances for each day, and this method can be used + * to get the resource name of the most recent audience list instance. + * + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * The async variant is + * {@see AlphaAnalyticsDataClient::getRecurringAudienceListAsync()} . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/get_recurring_audience_list.php + * + * @param GetRecurringAudienceListRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return RecurringAudienceList + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getRecurringAudienceList(GetRecurringAudienceListRequest $request, array $callOptions = []) : RecurringAudienceList + { + return $this->startApiCall('GetRecurringAudienceList', $request, $callOptions)->wait(); + } + /** + * Gets report metadata about a specific report task. After creating a report + * task, use this method to check its processing state or inspect its + * report definition. + * + * The async variant is {@see AlphaAnalyticsDataClient::getReportTaskAsync()} . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/get_report_task.php + * + * @param GetReportTaskRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return ReportTask + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getReportTask(GetReportTaskRequest $request, array $callOptions = []) : ReportTask + { + return $this->startApiCall('GetReportTask', $request, $callOptions)->wait(); + } + /** + * Lists all audience lists for a property. This method can be used for you to + * find and reuse existing audience lists rather than creating unnecessary new + * audience lists. The same audience can have multiple audience lists that + * represent the list of users that were in an audience on different days. + * + * See [Creating an Audience + * List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Lists with examples. + * + * This method is available at beta stability at + * [audienceExports.list](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/list). + * To give your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * The async variant is {@see AlphaAnalyticsDataClient::listAudienceListsAsync()} . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/list_audience_lists.php + * + * @param ListAudienceListsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. 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 listAudienceLists(ListAudienceListsRequest $request, array $callOptions = []) : PagedListResponse + { + return $this->startApiCall('ListAudienceLists', $request, $callOptions); + } + /** + * Lists all recurring audience lists for a property. This method can be used + * for you to find and reuse existing recurring audience lists rather than + * creating unnecessary new recurring audience lists. The same audience can + * have multiple recurring audience lists that represent different dimension + * combinations; for example, just the dimension `deviceId` or both the + * dimensions `deviceId` and `userId`. + * + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * The async variant is + * {@see AlphaAnalyticsDataClient::listRecurringAudienceListsAsync()} . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/list_recurring_audience_lists.php + * + * @param ListRecurringAudienceListsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. 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 listRecurringAudienceLists(ListRecurringAudienceListsRequest $request, array $callOptions = []) : PagedListResponse + { + return $this->startApiCall('ListRecurringAudienceLists', $request, $callOptions); + } + /** + * Lists all report tasks for a property. + * + * The async variant is {@see AlphaAnalyticsDataClient::listReportTasksAsync()} . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/list_report_tasks.php + * + * @param ListReportTasksRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. 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 listReportTasks(ListReportTasksRequest $request, array $callOptions = []) : PagedListResponse + { + return $this->startApiCall('ListReportTasks', $request, $callOptions); + } + /** + * Retrieves an audience list of users. After creating an audience, the users + * are not immediately available for listing. First, a request to + * `CreateAudienceList` is necessary to create an audience list of users, and + * then second, this method is used to retrieve the users in the audience + * list. + * + * See [Creating an Audience + * List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Lists with examples. + * + * Audiences in Google Analytics 4 allow you to segment your users in the ways + * that are important to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. + * + * This method is available at beta stability at + * [audienceExports.query](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/query). + * To give your feedback on this API, complete the [Google Analytics Audience + * Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * The async variant is {@see AlphaAnalyticsDataClient::queryAudienceListAsync()} . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/query_audience_list.php + * + * @param QueryAudienceListRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return QueryAudienceListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function queryAudienceList(QueryAudienceListRequest $request, array $callOptions = []) : QueryAudienceListResponse + { + return $this->startApiCall('QueryAudienceList', $request, $callOptions)->wait(); + } + /** + * Retrieves a report task's content. After requesting the `CreateReportTask`, + * you are able to retrieve the report content once the report is + * ACTIVE. This method will return an error if the report task's state is not + * `ACTIVE`. A query response will return the tabular row & column values of + * the report. + * + * The async variant is {@see AlphaAnalyticsDataClient::queryReportTaskAsync()} . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/query_report_task.php + * + * @param QueryReportTaskRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return QueryReportTaskResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function queryReportTask(QueryReportTaskRequest $request, array $callOptions = []) : QueryReportTaskResponse + { + return $this->startApiCall('QueryReportTask', $request, $callOptions)->wait(); + } + /** + * Returns a customized funnel report of your Google Analytics event data. The + * data returned from the API is as a table with columns for the requested + * dimensions and metrics. + * + * Funnel exploration lets you visualize the steps your users take to complete + * a task and quickly see how well they are succeeding or failing at each + * step. For example, how do prospects become shoppers and then become buyers? + * How do one time buyers become repeat buyers? With this information, you can + * improve inefficient or abandoned customer journeys. To learn more, see [GA4 + * Funnel Explorations](https://support.google.com/analytics/answer/9327974). + * + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the [Google Analytics Data API Funnel + * Reporting + * Feedback](https://docs.google.com/forms/d/e/1FAIpQLSdwOlQDJAUoBiIgUZZ3S_Lwi8gr7Bb0k1jhvc-DEg7Rol3UjA/viewform). + * + * The async variant is {@see AlphaAnalyticsDataClient::runFunnelReportAsync()} . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/run_funnel_report.php + * + * @param RunFunnelReportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return RunFunnelReportResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function runFunnelReport(RunFunnelReportRequest $request, array $callOptions = []) : RunFunnelReportResponse + { + return $this->startApiCall('RunFunnelReport', $request, $callOptions)->wait(); + } + /** + * Exports an audience list of users to a Google Sheet. After creating an + * audience, the users are not immediately available for listing. First, a + * request to `CreateAudienceList` is necessary to create an audience list of + * users, and then second, this method is used to export those users in the + * audience list to a Google Sheet. + * + * See [Creating an Audience + * List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Lists with examples. + * + * Audiences in Google Analytics 4 allow you to segment your users in the ways + * that are important to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. + * + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * The async variant is + * {@see AlphaAnalyticsDataClient::sheetExportAudienceListAsync()} . + * + * @example samples/V1alpha/AlphaAnalyticsDataClient/sheet_export_audience_list.php + * + * @param SheetExportAudienceListRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return SheetExportAudienceListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function sheetExportAudienceList(SheetExportAudienceListRequest $request, array $callOptions = []) : SheetExportAudienceListResponse + { + return $this->startApiCall('SheetExportAudienceList', $request, $callOptions)->wait(); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/Cohort.php b/vendor/prefixed/google/analytics-data/src/V1alpha/Cohort.php index e033e30da..c408b21dc 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/Cohort.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/Cohort.php @@ -9,7 +9,7 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** * Defines a cohort selection criteria. A cohort is a group of users who share - * a common characteristic. For example, users with the same `firstTouchDate` + * a common characteristic. For example, users with the same `firstSessionDate` * belong to the same cohort. * * Generated from protobuf message google.analytics.data.v1alpha.Cohort @@ -26,7 +26,8 @@ class Cohort extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu */ private $name = ''; /** - * Dimension used by the cohort. Required and only supports `firstTouchDate`. + * Dimension used by the cohort. Required and only supports + * `firstSessionDate`. * * Generated from protobuf field string dimension = 2; */ @@ -62,7 +63,8 @@ class Cohort extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu * `RESERVED_`. If not set, cohorts are named by their zero based index * `cohort_0`, `cohort_1`, etc. * @type string $dimension - * Dimension used by the cohort. Required and only supports `firstTouchDate`. + * Dimension used by the cohort. Required and only supports + * `firstSessionDate`. * @type \Google\Analytics\Data\V1alpha\DateRange $date_range * The cohort selects users whose first touch date is between start date and * end date defined in the `dateRange`. This `dateRange` does not specify the @@ -115,7 +117,8 @@ public function setName($var) return $this; } /** - * Dimension used by the cohort. Required and only supports `firstTouchDate`. + * Dimension used by the cohort. Required and only supports + * `firstSessionDate`. * * Generated from protobuf field string dimension = 2; * @return string @@ -125,7 +128,8 @@ public function getDimension() return $this->dimension; } /** - * Dimension used by the cohort. Required and only supports `firstTouchDate`. + * Dimension used by the cohort. Required and only supports + * `firstSessionDate`. * * Generated from protobuf field string dimension = 2; * @param string $var @@ -158,7 +162,7 @@ public function setDimension($var) */ public function getDateRange() { - return isset($this->date_range) ? $this->date_range : null; + return $this->date_range; } public function hasDateRange() { diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/CohortSpec.php b/vendor/prefixed/google/analytics-data/src/V1alpha/CohortSpec.php index 0466cc86a..59171c36e 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/CohortSpec.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/CohortSpec.php @@ -8,13 +8,15 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** - * Specification of cohorts for a cohort report. - * Cohort reports can be used for example to create a time series of user - * retention for the cohort. For example, you could select the cohort of users - * that were acquired in the first week of September and follow that cohort for - * the next six weeks. Selecting the users acquired in the first week of - * September cohort is specified in the `cohort` object. Following that - * cohort for the next six weeks is specified in the `cohortsRange` object. + * The specification of cohorts for a cohort report. + * Cohort reports create a time series of user retention for the cohort. For + * example, you could select the cohort of users that were acquired in the first + * week of September and follow that cohort for the next six weeks. Selecting + * the users acquired in the first week of September cohort is specified in the + * `cohort` object. Following that cohort for the next six weeks is specified in + * the `cohortsRange` object. + * For examples, see [Cohort Report + * Examples](https://developers.google.com/analytics/devguides/reporting/data/v1/advanced#cohort_report_examples). * The report response could show a weekly time series where say your app has * retained 60% of this cohort after three weeks and 25% of this cohort after * six weeks. These two percentages can be calculated by the metric @@ -51,7 +53,7 @@ class CohortSpec extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro * @param array $data { * Optional. Data for populating the Message object. * - * @type \Google\Analytics\Data\V1alpha\Cohort[]|\Google\Protobuf\Internal\RepeatedField $cohorts + * @type array<\Google\Analytics\Data\V1alpha\Cohort>|\Google\Protobuf\Internal\RepeatedField $cohorts * Defines the selection criteria to group users into cohorts. * Most cohort reports define only a single cohort. If multiple cohorts are * specified, each cohort can be recognized in the report by their name. @@ -85,7 +87,7 @@ public function getCohorts() * specified, each cohort can be recognized in the report by their name. * * Generated from protobuf field repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - * @param \Google\Analytics\Data\V1alpha\Cohort[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Analytics\Data\V1alpha\Cohort>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setCohorts($var) @@ -103,7 +105,7 @@ public function setCohorts($var) */ public function getCohortsRange() { - return isset($this->cohorts_range) ? $this->cohorts_range : null; + return $this->cohorts_range; } public function hasCohortsRange() { @@ -135,7 +137,7 @@ public function setCohortsRange($var) */ public function getCohortReportSettings() { - return isset($this->cohort_report_settings) ? $this->cohort_report_settings : null; + return $this->cohort_report_settings; } public function hasCohortReportSettings() { diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/CohortsRange.php b/vendor/prefixed/google/analytics-data/src/V1alpha/CohortsRange.php index 7c667f9ab..4910f19e7 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/CohortsRange.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/CohortsRange.php @@ -16,8 +16,8 @@ class CohortsRange extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * The granularity used to interpret the `startOffset` and `endOffset` for the - * extended reporting date range for a cohort report. + * Required. The granularity used to interpret the `startOffset` and + * `endOffset` for the extended reporting date range for a cohort report. * * Generated from protobuf field .google.analytics.data.v1alpha.CohortsRange.Granularity granularity = 1; */ @@ -37,8 +37,8 @@ class CohortsRange extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P */ private $start_offset = 0; /** - * `endOffset` specifies the end date of the extended reporting date range - * for a cohort report. `endOffset` can be any positive integer but is + * Required. `endOffset` specifies the end date of the extended reporting date + * range for a cohort report. `endOffset` can be any positive integer but is * commonly set to 5 to 10 so that reports contain data on the cohort for the * next several granularity time periods. * If `granularity` is `DAILY`, the `endDate` of the extended reporting date @@ -58,8 +58,8 @@ class CohortsRange extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * Optional. Data for populating the Message object. * * @type int $granularity - * The granularity used to interpret the `startOffset` and `endOffset` for the - * extended reporting date range for a cohort report. + * Required. The granularity used to interpret the `startOffset` and + * `endOffset` for the extended reporting date range for a cohort report. * @type int $start_offset * `startOffset` specifies the start date of the extended reporting date range * for a cohort report. `startOffset` is commonly set to 0 so that reports @@ -71,8 +71,8 @@ class CohortsRange extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * If `granularity` is `MONTHLY`, the `startDate` of the extended reporting * date range is `startDate` of the cohort plus `startOffset * 30` days. * @type int $end_offset - * `endOffset` specifies the end date of the extended reporting date range - * for a cohort report. `endOffset` can be any positive integer but is + * Required. `endOffset` specifies the end date of the extended reporting date + * range for a cohort report. `endOffset` can be any positive integer but is * commonly set to 5 to 10 so that reports contain data on the cohort for the * next several granularity time periods. * If `granularity` is `DAILY`, the `endDate` of the extended reporting date @@ -89,8 +89,8 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * The granularity used to interpret the `startOffset` and `endOffset` for the - * extended reporting date range for a cohort report. + * Required. The granularity used to interpret the `startOffset` and + * `endOffset` for the extended reporting date range for a cohort report. * * Generated from protobuf field .google.analytics.data.v1alpha.CohortsRange.Granularity granularity = 1; * @return int @@ -100,8 +100,8 @@ public function getGranularity() return $this->granularity; } /** - * The granularity used to interpret the `startOffset` and `endOffset` for the - * extended reporting date range for a cohort report. + * Required. The granularity used to interpret the `startOffset` and + * `endOffset` for the extended reporting date range for a cohort report. * * Generated from protobuf field .google.analytics.data.v1alpha.CohortsRange.Granularity granularity = 1; * @param int $var @@ -153,8 +153,8 @@ public function setStartOffset($var) return $this; } /** - * `endOffset` specifies the end date of the extended reporting date range - * for a cohort report. `endOffset` can be any positive integer but is + * Required. `endOffset` specifies the end date of the extended reporting date + * range for a cohort report. `endOffset` can be any positive integer but is * commonly set to 5 to 10 so that reports contain data on the cohort for the * next several granularity time periods. * If `granularity` is `DAILY`, the `endDate` of the extended reporting date @@ -172,8 +172,8 @@ public function getEndOffset() return $this->end_offset; } /** - * `endOffset` specifies the end date of the extended reporting date range - * for a cohort report. `endOffset` can be any positive integer but is + * Required. `endOffset` specifies the end date of the extended reporting date + * range for a cohort report. `endOffset` can be any positive integer but is * commonly set to 5 to 10 so that reports contain data on the cohort for the * next several granularity time periods. * If `granularity` is `DAILY`, the `endDate` of the extended reporting date diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/CreateAudienceListRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/CreateAudienceListRequest.php new file mode 100644 index 000000000..47003eefb --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/CreateAudienceListRequest.php @@ -0,0 +1,118 @@ +google.analytics.data.v1alpha.CreateAudienceListRequest + */ +class CreateAudienceListRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this audience list will be created. + * Format: `properties/{property}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $parent = ''; + /** + * Required. The audience list to create. + * + * Generated from protobuf field .google.analytics.data.v1alpha.AudienceList audience_list = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $audience_list = null; + /** + * @param string $parent Required. The parent resource where this audience list will be created. + * Format: `properties/{property}` + * Please see {@see AlphaAnalyticsDataClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Data\V1alpha\AudienceList $audienceList Required. The audience list to create. + * + * @return \Google\Analytics\Data\V1alpha\CreateAudienceListRequest + * + * @experimental + */ + public static function build(string $parent, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\AudienceList $audienceList) : self + { + return (new self())->setParent($parent)->setAudienceList($audienceList); + } + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this audience list will be created. + * Format: `properties/{property}` + * @type \Google\Analytics\Data\V1alpha\AudienceList $audience_list + * Required. The audience list to create. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. The parent resource where this audience list will be created. + * Format: `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 parent resource where this audience list will be created. + * Format: `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 audience list to create. + * + * Generated from protobuf field .google.analytics.data.v1alpha.AudienceList audience_list = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Data\V1alpha\AudienceList|null + */ + public function getAudienceList() + { + return $this->audience_list; + } + public function hasAudienceList() + { + return isset($this->audience_list); + } + public function clearAudienceList() + { + unset($this->audience_list); + } + /** + * Required. The audience list to create. + * + * Generated from protobuf field .google.analytics.data.v1alpha.AudienceList audience_list = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Data\V1alpha\AudienceList $var + * @return $this + */ + public function setAudienceList($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\AudienceList::class); + $this->audience_list = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/CreateRecurringAudienceListRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/CreateRecurringAudienceListRequest.php new file mode 100644 index 000000000..eca099845 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/CreateRecurringAudienceListRequest.php @@ -0,0 +1,118 @@ +google.analytics.data.v1alpha.CreateRecurringAudienceListRequest + */ +class CreateRecurringAudienceListRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this recurring audience list will be + * created. Format: `properties/{property}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $parent = ''; + /** + * Required. The recurring audience list to create. + * + * Generated from protobuf field .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $recurring_audience_list = null; + /** + * @param string $parent Required. The parent resource where this recurring audience list will be + * created. Format: `properties/{property}` + * Please see {@see AlphaAnalyticsDataClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Data\V1alpha\RecurringAudienceList $recurringAudienceList Required. The recurring audience list to create. + * + * @return \Google\Analytics\Data\V1alpha\CreateRecurringAudienceListRequest + * + * @experimental + */ + public static function build(string $parent, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RecurringAudienceList $recurringAudienceList) : self + { + return (new self())->setParent($parent)->setRecurringAudienceList($recurringAudienceList); + } + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this recurring audience list will be + * created. Format: `properties/{property}` + * @type \Google\Analytics\Data\V1alpha\RecurringAudienceList $recurring_audience_list + * Required. The recurring audience list to create. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. The parent resource where this recurring audience list will be + * created. Format: `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 parent resource where this recurring audience list will be + * created. Format: `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 recurring audience list to create. + * + * Generated from protobuf field .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Data\V1alpha\RecurringAudienceList|null + */ + public function getRecurringAudienceList() + { + return $this->recurring_audience_list; + } + public function hasRecurringAudienceList() + { + return isset($this->recurring_audience_list); + } + public function clearRecurringAudienceList() + { + unset($this->recurring_audience_list); + } + /** + * Required. The recurring audience list to create. + * + * Generated from protobuf field .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Data\V1alpha\RecurringAudienceList $var + * @return $this + */ + public function setRecurringAudienceList($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RecurringAudienceList::class); + $this->recurring_audience_list = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/CreateReportTaskRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/CreateReportTaskRequest.php new file mode 100644 index 000000000..cd7542bed --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/CreateReportTaskRequest.php @@ -0,0 +1,118 @@ +google.analytics.data.v1alpha.CreateReportTaskRequest + */ +class CreateReportTaskRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this report task will be created. + * Format: `properties/{propertyId}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $parent = ''; + /** + * Required. The report task configuration to create. + * + * Generated from protobuf field .google.analytics.data.v1alpha.ReportTask report_task = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $report_task = null; + /** + * @param string $parent Required. The parent resource where this report task will be created. + * Format: `properties/{propertyId}` + * Please see {@see AlphaAnalyticsDataClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Data\V1alpha\ReportTask $reportTask Required. The report task configuration to create. + * + * @return \Google\Analytics\Data\V1alpha\CreateReportTaskRequest + * + * @experimental + */ + public static function build(string $parent, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ReportTask $reportTask) : self + { + return (new self())->setParent($parent)->setReportTask($reportTask); + } + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this report task will be created. + * Format: `properties/{propertyId}` + * @type \Google\Analytics\Data\V1alpha\ReportTask $report_task + * Required. The report task configuration to create. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. The parent resource where this report task will be created. + * Format: `properties/{propertyId}` + * + * 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 report task will be created. + * Format: `properties/{propertyId}` + * + * 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 report task configuration to create. + * + * Generated from protobuf field .google.analytics.data.v1alpha.ReportTask report_task = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Data\V1alpha\ReportTask|null + */ + public function getReportTask() + { + return $this->report_task; + } + public function hasReportTask() + { + return isset($this->report_task); + } + public function clearReportTask() + { + unset($this->report_task); + } + /** + * Required. The report task configuration to create. + * + * Generated from protobuf field .google.analytics.data.v1alpha.ReportTask report_task = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Data\V1alpha\ReportTask $var + * @return $this + */ + public function setReportTask($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ReportTask::class); + $this->report_task = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/DateRange.php b/vendor/prefixed/google/analytics-data/src/V1alpha/DateRange.php index 7c71335b7..111507c57 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/DateRange.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/DateRange.php @@ -8,8 +8,8 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** - * A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests - * are allowed up to 4 date ranges. + * A contiguous set of days: `startDate`, `startDate + 1`, ..., `endDate`. + * Requests are allowed up to 4 date ranges. * * Generated from protobuf message google.analytics.data.v1alpha.DateRange */ diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/Dimension.php b/vendor/prefixed/google/analytics-data/src/V1alpha/Dimension.php index b52c2c30d..df4ae86e4 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/Dimension.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/Dimension.php @@ -10,8 +10,7 @@ /** * Dimensions are attributes of your data. For example, the dimension city * indicates the city from which an event originates. Dimension values in report - * responses are strings; for example, city could be "Paris" or "New York". - * Requests are allowed up to 8 dimensions. + * responses are strings; for example, the city could be "Paris" or "New York". * * Generated from protobuf message google.analytics.data.v1alpha.Dimension */ @@ -20,10 +19,21 @@ class Dimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot /** * The name of the dimension. See the [API * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) - * for the list of dimension names. + * for the list of dimension names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions) + * for the list of dimension names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions) + * for the list of dimension names supported by the `runFunnelReport` + * method. * If `dimensionExpression` is specified, `name` can be any string that you - * would like. For example if a `dimensionExpression` concatenates `country` - * and `city`, you could call that dimension `countryAndCity`. + * would like within the allowed character set. For example if a + * `dimensionExpression` concatenates `country` and `city`, you could call + * that dimension `countryAndCity`. Dimension names that you choose must match + * the regular expression `^[a-zA-Z0-9_]$`. * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, * `dimensionExpression`, and `pivots`. * @@ -46,10 +56,21 @@ class Dimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot * @type string $name * The name of the dimension. See the [API * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) - * for the list of dimension names. + * for the list of dimension names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions) + * for the list of dimension names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions) + * for the list of dimension names supported by the `runFunnelReport` + * method. * If `dimensionExpression` is specified, `name` can be any string that you - * would like. For example if a `dimensionExpression` concatenates `country` - * and `city`, you could call that dimension `countryAndCity`. + * would like within the allowed character set. For example if a + * `dimensionExpression` concatenates `country` and `city`, you could call + * that dimension `countryAndCity`. Dimension names that you choose must match + * the regular expression `^[a-zA-Z0-9_]$`. * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, * `dimensionExpression`, and `pivots`. * @type \Google\Analytics\Data\V1alpha\DimensionExpression $dimension_expression @@ -65,10 +86,21 @@ public function __construct($data = NULL) /** * The name of the dimension. See the [API * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) - * for the list of dimension names. + * for the list of dimension names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions) + * for the list of dimension names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions) + * for the list of dimension names supported by the `runFunnelReport` + * method. * If `dimensionExpression` is specified, `name` can be any string that you - * would like. For example if a `dimensionExpression` concatenates `country` - * and `city`, you could call that dimension `countryAndCity`. + * would like within the allowed character set. For example if a + * `dimensionExpression` concatenates `country` and `city`, you could call + * that dimension `countryAndCity`. Dimension names that you choose must match + * the regular expression `^[a-zA-Z0-9_]$`. * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, * `dimensionExpression`, and `pivots`. * @@ -82,10 +114,21 @@ public function getName() /** * The name of the dimension. See the [API * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) - * for the list of dimension names. + * for the list of dimension names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions) + * for the list of dimension names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions) + * for the list of dimension names supported by the `runFunnelReport` + * method. * If `dimensionExpression` is specified, `name` can be any string that you - * would like. For example if a `dimensionExpression` concatenates `country` - * and `city`, you could call that dimension `countryAndCity`. + * would like within the allowed character set. For example if a + * `dimensionExpression` concatenates `country` and `city`, you could call + * that dimension `countryAndCity`. Dimension names that you choose must match + * the regular expression `^[a-zA-Z0-9_]$`. * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, * `dimensionExpression`, and `pivots`. * @@ -108,7 +151,7 @@ public function setName($var) */ public function getDimensionExpression() { - return isset($this->dimension_expression) ? $this->dimension_expression : null; + return $this->dimension_expression; } public function hasDimensionExpression() { diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/DimensionExpression/ConcatenateExpression.php b/vendor/prefixed/google/analytics-data/src/V1alpha/DimensionExpression/ConcatenateExpression.php index f23808c90..18db3e3a6 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/DimensionExpression/ConcatenateExpression.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/DimensionExpression/ConcatenateExpression.php @@ -38,7 +38,7 @@ class ConcatenateExpression extends \Matomo\Dependencies\GoogleAnalyticsImporter * @param array $data { * Optional. Data for populating the Message object. * - * @type string[]|\Google\Protobuf\Internal\RepeatedField $dimension_names + * @type array|\Google\Protobuf\Internal\RepeatedField $dimension_names * Names of dimensions. The names must refer back to names in the dimensions * field of the request. * @type string $delimiter @@ -71,7 +71,7 @@ public function getDimensionNames() * field of the request. * * Generated from protobuf field repeated string dimension_names = 1; - * @param string[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setDimensionNames($var) diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/EventCriteriaScoping.php b/vendor/prefixed/google/analytics-data/src/V1alpha/EventCriteriaScoping.php new file mode 100644 index 000000000..bb2a3d15e --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/EventCriteriaScoping.php @@ -0,0 +1,45 @@ +google.analytics.data.v1alpha.EventCriteriaScoping + */ +class EventCriteriaScoping +{ + /** + * Unspecified criteria scoping. Do not specify. + * + * Generated from protobuf enum EVENT_CRITERIA_SCOPING_UNSPECIFIED = 0; + */ + const EVENT_CRITERIA_SCOPING_UNSPECIFIED = 0; + /** + * If the criteria is satisfied within one event, the event matches the + * criteria. + * + * Generated from protobuf enum EVENT_CRITERIA_WITHIN_SAME_EVENT = 1; + */ + const EVENT_CRITERIA_WITHIN_SAME_EVENT = 1; + private static $valueToName = [self::EVENT_CRITERIA_SCOPING_UNSPECIFIED => 'EVENT_CRITERIA_SCOPING_UNSPECIFIED', self::EVENT_CRITERIA_WITHIN_SAME_EVENT => 'EVENT_CRITERIA_WITHIN_SAME_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/vendor/prefixed/google/analytics-data/src/V1alpha/EventExclusionDuration.php b/vendor/prefixed/google/analytics-data/src/V1alpha/EventExclusionDuration.php new file mode 100644 index 000000000..7449983a8 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/EventExclusionDuration.php @@ -0,0 +1,45 @@ +google.analytics.data.v1alpha.EventExclusionDuration + */ +class EventExclusionDuration +{ + /** + * Unspecified exclusion duration. Do not specify. + * + * Generated from protobuf enum EVENT_EXCLUSION_DURATION_UNSPECIFIED = 0; + */ + const EVENT_EXCLUSION_DURATION_UNSPECIFIED = 0; + /** + * Permanently exclude events from the segment if the event ever meets + * the `eventExclusionCriteria` condition. + * + * Generated from protobuf enum EVENT_EXCLUSION_PERMANENT = 1; + */ + const EVENT_EXCLUSION_PERMANENT = 1; + private static $valueToName = [self::EVENT_EXCLUSION_DURATION_UNSPECIFIED => 'EVENT_EXCLUSION_DURATION_UNSPECIFIED', self::EVENT_EXCLUSION_PERMANENT => 'EVENT_EXCLUSION_PERMANENT']; + 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/vendor/prefixed/google/analytics-data/src/V1alpha/EventSegment.php b/vendor/prefixed/google/analytics-data/src/V1alpha/EventSegment.php new file mode 100644 index 000000000..0039f14d7 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/EventSegment.php @@ -0,0 +1,110 @@ +google.analytics.data.v1alpha.EventSegment + */ +class EventSegment extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Defines which events are included in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1; + */ + private $event_inclusion_criteria = null; + /** + * Defines which events are excluded in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2; + */ + private $exclusion = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1alpha\EventSegmentCriteria $event_inclusion_criteria + * Defines which events are included in this segment. Optional. + * @type \Google\Analytics\Data\V1alpha\EventSegmentExclusion $exclusion + * Defines which events are excluded in this segment. Optional. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * Defines which events are included in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1; + * @return \Google\Analytics\Data\V1alpha\EventSegmentCriteria|null + */ + public function getEventInclusionCriteria() + { + return $this->event_inclusion_criteria; + } + public function hasEventInclusionCriteria() + { + return isset($this->event_inclusion_criteria); + } + public function clearEventInclusionCriteria() + { + unset($this->event_inclusion_criteria); + } + /** + * Defines which events are included in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1; + * @param \Google\Analytics\Data\V1alpha\EventSegmentCriteria $var + * @return $this + */ + public function setEventInclusionCriteria($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\EventSegmentCriteria::class); + $this->event_inclusion_criteria = $var; + return $this; + } + /** + * Defines which events are excluded in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2; + * @return \Google\Analytics\Data\V1alpha\EventSegmentExclusion|null + */ + public function getExclusion() + { + return $this->exclusion; + } + public function hasExclusion() + { + return isset($this->exclusion); + } + public function clearExclusion() + { + unset($this->exclusion); + } + /** + * Defines which events are excluded in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2; + * @param \Google\Analytics\Data\V1alpha\EventSegmentExclusion $var + * @return $this + */ + public function setExclusion($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\EventSegmentExclusion::class); + $this->exclusion = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/EventSegmentConditionGroup.php b/vendor/prefixed/google/analytics-data/src/V1alpha/EventSegmentConditionGroup.php new file mode 100644 index 000000000..274d56d25 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/EventSegmentConditionGroup.php @@ -0,0 +1,117 @@ +google.analytics.data.v1alpha.EventSegmentConditionGroup + */ +class EventSegmentConditionGroup extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * `conditionScoping` should always be `EVENT_CRITERIA_WITHIN_SAME_EVENT`. + * Optional. If unspecified, a `conditionScoping` of + * `EVENT_CRITERIA_WITHIN_SAME_EVENT` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventCriteriaScoping condition_scoping = 1; + */ + private $condition_scoping = 0; + /** + * Data is included or excluded from the segment based on if it matches + * this expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2; + */ + private $segment_filter_expression = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $condition_scoping + * `conditionScoping` should always be `EVENT_CRITERIA_WITHIN_SAME_EVENT`. + * Optional. If unspecified, a `conditionScoping` of + * `EVENT_CRITERIA_WITHIN_SAME_EVENT` is used. + * @type \Google\Analytics\Data\V1alpha\SegmentFilterExpression $segment_filter_expression + * Data is included or excluded from the segment based on if it matches + * this expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * `conditionScoping` should always be `EVENT_CRITERIA_WITHIN_SAME_EVENT`. + * Optional. If unspecified, a `conditionScoping` of + * `EVENT_CRITERIA_WITHIN_SAME_EVENT` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventCriteriaScoping condition_scoping = 1; + * @return int + */ + public function getConditionScoping() + { + return $this->condition_scoping; + } + /** + * `conditionScoping` should always be `EVENT_CRITERIA_WITHIN_SAME_EVENT`. + * Optional. If unspecified, a `conditionScoping` of + * `EVENT_CRITERIA_WITHIN_SAME_EVENT` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventCriteriaScoping condition_scoping = 1; + * @param int $var + * @return $this + */ + public function setConditionScoping($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\EventCriteriaScoping::class); + $this->condition_scoping = $var; + return $this; + } + /** + * Data is included or excluded from the segment based on if it matches + * this expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2; + * @return \Google\Analytics\Data\V1alpha\SegmentFilterExpression|null + */ + public function getSegmentFilterExpression() + { + return $this->segment_filter_expression; + } + public function hasSegmentFilterExpression() + { + return isset($this->segment_filter_expression); + } + public function clearSegmentFilterExpression() + { + unset($this->segment_filter_expression); + } + /** + * Data is included or excluded from the segment based on if it matches + * this expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2; + * @param \Google\Analytics\Data\V1alpha\SegmentFilterExpression $var + * @return $this + */ + public function setSegmentFilterExpression($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentFilterExpression::class); + $this->segment_filter_expression = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/EventSegmentCriteria.php b/vendor/prefixed/google/analytics-data/src/V1alpha/EventSegmentCriteria.php new file mode 100644 index 000000000..a754a7825 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/EventSegmentCriteria.php @@ -0,0 +1,66 @@ +google.analytics.data.v1alpha.EventSegmentCriteria + */ +class EventSegmentCriteria extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * An event matches this criteria if the event matches each of these + * `andConditionGroups`. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1; + */ + private $and_condition_groups; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\EventSegmentConditionGroup>|\Google\Protobuf\Internal\RepeatedField $and_condition_groups + * An event matches this criteria if the event matches each of these + * `andConditionGroups`. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * An event matches this criteria if the event matches each of these + * `andConditionGroups`. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAndConditionGroups() + { + return $this->and_condition_groups; + } + /** + * An event matches this criteria if the event matches each of these + * `andConditionGroups`. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1; + * @param array<\Google\Analytics\Data\V1alpha\EventSegmentConditionGroup>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAndConditionGroups($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\EventSegmentConditionGroup::class); + $this->and_condition_groups = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/EventSegmentExclusion.php b/vendor/prefixed/google/analytics-data/src/V1alpha/EventSegmentExclusion.php new file mode 100644 index 000000000..7941be3a1 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/EventSegmentExclusion.php @@ -0,0 +1,112 @@ +google.analytics.data.v1alpha.EventSegmentExclusion + */ +class EventSegmentExclusion extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * `eventExclusionDuration` should always be `PERMANENTLY_EXCLUDE`. + * Optional. If unspecified, an `eventExclusionDuration` of + * `EVENT_EXCLUSION_PERMANENT` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventExclusionDuration event_exclusion_duration = 1; + */ + private $event_exclusion_duration = 0; + /** + * If an event meets this condition, the event is excluded from membership + * in the segment for the `eventExclusionDuration`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventSegmentCriteria event_exclusion_criteria = 2; + */ + private $event_exclusion_criteria = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $event_exclusion_duration + * `eventExclusionDuration` should always be `PERMANENTLY_EXCLUDE`. + * Optional. If unspecified, an `eventExclusionDuration` of + * `EVENT_EXCLUSION_PERMANENT` is used. + * @type \Google\Analytics\Data\V1alpha\EventSegmentCriteria $event_exclusion_criteria + * If an event meets this condition, the event is excluded from membership + * in the segment for the `eventExclusionDuration`. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * `eventExclusionDuration` should always be `PERMANENTLY_EXCLUDE`. + * Optional. If unspecified, an `eventExclusionDuration` of + * `EVENT_EXCLUSION_PERMANENT` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventExclusionDuration event_exclusion_duration = 1; + * @return int + */ + public function getEventExclusionDuration() + { + return $this->event_exclusion_duration; + } + /** + * `eventExclusionDuration` should always be `PERMANENTLY_EXCLUDE`. + * Optional. If unspecified, an `eventExclusionDuration` of + * `EVENT_EXCLUSION_PERMANENT` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventExclusionDuration event_exclusion_duration = 1; + * @param int $var + * @return $this + */ + public function setEventExclusionDuration($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\EventExclusionDuration::class); + $this->event_exclusion_duration = $var; + return $this; + } + /** + * If an event meets this condition, the event is excluded from membership + * in the segment for the `eventExclusionDuration`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventSegmentCriteria event_exclusion_criteria = 2; + * @return \Google\Analytics\Data\V1alpha\EventSegmentCriteria|null + */ + public function getEventExclusionCriteria() + { + return $this->event_exclusion_criteria; + } + public function hasEventExclusionCriteria() + { + return isset($this->event_exclusion_criteria); + } + public function clearEventExclusionCriteria() + { + unset($this->event_exclusion_criteria); + } + /** + * If an event meets this condition, the event is excluded from membership + * in the segment for the `eventExclusionDuration`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventSegmentCriteria event_exclusion_criteria = 2; + * @param \Google\Analytics\Data\V1alpha\EventSegmentCriteria $var + * @return $this + */ + public function setEventExclusionCriteria($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\EventSegmentCriteria::class); + $this->event_exclusion_criteria = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/Filter.php b/vendor/prefixed/google/analytics-data/src/V1alpha/Filter.php index 7416fe121..b2c4e5d00 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/Filter.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/Filter.php @@ -31,19 +31,14 @@ class Filter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu * @type string $field_name * The dimension name or metric name. Must be a name defined in dimensions * or metrics. - * @type bool $null_filter - * A filter for null values. If True, a null dimension value is matched by - * this filter. Null filter is commonly used inside a NOT filter - * expression. For example, a NOT expression of a null filter removes rows - * when a dimension is null. - * @type \Google\Analytics\Data\V1alpha\Filter\StringFilter $string_filter + * @type \Google\Analytics\Data\V1alpha\StringFilter $string_filter * Strings related filter. - * @type \Google\Analytics\Data\V1alpha\Filter\InListFilter $in_list_filter + * @type \Google\Analytics\Data\V1alpha\InListFilter $in_list_filter * A filter for in list values. - * @type \Google\Analytics\Data\V1alpha\Filter\NumericFilter $numeric_filter + * @type \Google\Analytics\Data\V1alpha\NumericFilter $numeric_filter * A filter for numeric or date values. - * @type \Google\Analytics\Data\V1alpha\Filter\BetweenFilter $between_filter - * A filter for two values. + * @type \Google\Analytics\Data\V1alpha\BetweenFilter $between_filter + * A filter for between two values. * } */ public function __construct($data = NULL) @@ -76,145 +71,112 @@ public function setFieldName($var) $this->field_name = $var; return $this; } - /** - * A filter for null values. If True, a null dimension value is matched by - * this filter. Null filter is commonly used inside a NOT filter - * expression. For example, a NOT expression of a null filter removes rows - * when a dimension is null. - * - * 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. If True, a null dimension value is matched by - * this filter. Null filter is commonly used inside a NOT filter - * expression. For example, a NOT expression of a null filter removes rows - * when a dimension is null. - * - * 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; - } /** * Strings related filter. * - * Generated from protobuf field .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - * @return \Google\Analytics\Data\V1alpha\Filter\StringFilter|null + * Generated from protobuf field .google.analytics.data.v1alpha.StringFilter string_filter = 2; + * @return \Google\Analytics\Data\V1alpha\StringFilter|null */ public function getStringFilter() { - return $this->readOneof(3); + return $this->readOneof(2); } public function hasStringFilter() { - return $this->hasOneof(3); + return $this->hasOneof(2); } /** * Strings related filter. * - * Generated from protobuf field .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - * @param \Google\Analytics\Data\V1alpha\Filter\StringFilter $var + * Generated from protobuf field .google.analytics.data.v1alpha.StringFilter string_filter = 2; + * @param \Google\Analytics\Data\V1alpha\StringFilter $var * @return $this */ public function setStringFilter($var) { - GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Filter\StringFilter::class); - $this->writeOneof(3, $var); + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\StringFilter::class); + $this->writeOneof(2, $var); return $this; } /** * A filter for in list values. * - * Generated from protobuf field .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - * @return \Google\Analytics\Data\V1alpha\Filter\InListFilter|null + * Generated from protobuf field .google.analytics.data.v1alpha.InListFilter in_list_filter = 3; + * @return \Google\Analytics\Data\V1alpha\InListFilter|null */ public function getInListFilter() { - return $this->readOneof(4); + return $this->readOneof(3); } public function hasInListFilter() { - return $this->hasOneof(4); + return $this->hasOneof(3); } /** * A filter for in list values. * - * Generated from protobuf field .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - * @param \Google\Analytics\Data\V1alpha\Filter\InListFilter $var + * Generated from protobuf field .google.analytics.data.v1alpha.InListFilter in_list_filter = 3; + * @param \Google\Analytics\Data\V1alpha\InListFilter $var * @return $this */ public function setInListFilter($var) { - GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Filter\InListFilter::class); - $this->writeOneof(4, $var); + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\InListFilter::class); + $this->writeOneof(3, $var); return $this; } /** * A filter for numeric or date values. * - * Generated from protobuf field .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - * @return \Google\Analytics\Data\V1alpha\Filter\NumericFilter|null + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter numeric_filter = 4; + * @return \Google\Analytics\Data\V1alpha\NumericFilter|null */ public function getNumericFilter() { - return $this->readOneof(5); + return $this->readOneof(4); } public function hasNumericFilter() { - return $this->hasOneof(5); + return $this->hasOneof(4); } /** * A filter for numeric or date values. * - * Generated from protobuf field .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - * @param \Google\Analytics\Data\V1alpha\Filter\NumericFilter $var + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter numeric_filter = 4; + * @param \Google\Analytics\Data\V1alpha\NumericFilter $var * @return $this */ public function setNumericFilter($var) { - GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Filter\NumericFilter::class); - $this->writeOneof(5, $var); + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\NumericFilter::class); + $this->writeOneof(4, $var); return $this; } /** - * A filter for two values. + * A filter for between two values. * - * Generated from protobuf field .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - * @return \Google\Analytics\Data\V1alpha\Filter\BetweenFilter|null + * Generated from protobuf field .google.analytics.data.v1alpha.BetweenFilter between_filter = 5; + * @return \Google\Analytics\Data\V1alpha\BetweenFilter|null */ public function getBetweenFilter() { - return $this->readOneof(6); + return $this->readOneof(5); } public function hasBetweenFilter() { - return $this->hasOneof(6); + return $this->hasOneof(5); } /** - * A filter for two values. + * A filter for between two values. * - * Generated from protobuf field .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - * @param \Google\Analytics\Data\V1alpha\Filter\BetweenFilter $var + * Generated from protobuf field .google.analytics.data.v1alpha.BetweenFilter between_filter = 5; + * @param \Google\Analytics\Data\V1alpha\BetweenFilter $var * @return $this */ public function setBetweenFilter($var) { - GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Filter\BetweenFilter::class); - $this->writeOneof(6, $var); + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\BetweenFilter::class); + $this->writeOneof(5, $var); return $this; } /** diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FilterExpression.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FilterExpression.php index 697639d4b..f30975c5d 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/FilterExpression.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FilterExpression.php @@ -8,9 +8,8 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** - * To express dimension or metric filters. - * The fields in the same FilterExpression need to be either all dimensions or - * all metrics. + * To express dimension or metric filters. The fields in the same + * FilterExpression need to be either all dimensions or all metrics. * * Generated from protobuf message google.analytics.data.v1alpha.FilterExpression */ @@ -30,9 +29,8 @@ class FilterExpression extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog * @type \Google\Analytics\Data\V1alpha\FilterExpression $not_expression * The FilterExpression is NOT of not_expression. * @type \Google\Analytics\Data\V1alpha\Filter $filter - * A primitive filter. - * All fields in filter in same FilterExpression needs to be either all - * dimensions or metrics. + * 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) @@ -122,9 +120,8 @@ public function setNotExpression($var) return $this; } /** - * A primitive filter. - * All fields in filter in same FilterExpression needs to be either all - * dimensions or metrics. + * 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.data.v1alpha.Filter filter = 4; * @return \Google\Analytics\Data\V1alpha\Filter|null @@ -138,9 +135,8 @@ public function hasFilter() return $this->hasOneof(4); } /** - * A primitive filter. - * All fields in filter in same FilterExpression needs to be either all - * dimensions or metrics. + * 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.data.v1alpha.Filter filter = 4; * @param \Google\Analytics\Data\V1alpha\Filter $var diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FilterExpressionList.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FilterExpressionList.php index e6add452f..6f9a30141 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/FilterExpressionList.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FilterExpressionList.php @@ -26,7 +26,7 @@ class FilterExpressionList extends \Matomo\Dependencies\GoogleAnalyticsImporter\ * @param array $data { * Optional. Data for populating the Message object. * - * @type \Google\Analytics\Data\V1alpha\FilterExpression[]|\Google\Protobuf\Internal\RepeatedField $expressions + * @type array<\Google\Analytics\Data\V1alpha\FilterExpression>|\Google\Protobuf\Internal\RepeatedField $expressions * A list of filter expressions. * } */ @@ -49,7 +49,7 @@ public function getExpressions() * A list of filter expressions. * * Generated from protobuf field repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - * @param \Google\Analytics\Data\V1alpha\FilterExpression[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Analytics\Data\V1alpha\FilterExpression>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setExpressions($var) diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/Funnel.php b/vendor/prefixed/google/analytics-data/src/V1alpha/Funnel.php new file mode 100644 index 000000000..af23dd194 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/Funnel.php @@ -0,0 +1,106 @@ +google.analytics.data.v1alpha.Funnel + */ +class Funnel extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * In an open funnel, users can enter the funnel in any step, and in a closed + * funnel, users must enter the funnel in the first step. Optional. If + * unspecified, a closed funnel is used. + * + * Generated from protobuf field bool is_open_funnel = 1; + */ + private $is_open_funnel = \false; + /** + * The sequential steps of this funnel. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.FunnelStep steps = 2; + */ + private $steps; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $is_open_funnel + * In an open funnel, users can enter the funnel in any step, and in a closed + * funnel, users must enter the funnel in the first step. Optional. If + * unspecified, a closed funnel is used. + * @type array<\Google\Analytics\Data\V1alpha\FunnelStep>|\Google\Protobuf\Internal\RepeatedField $steps + * The sequential steps of this funnel. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * In an open funnel, users can enter the funnel in any step, and in a closed + * funnel, users must enter the funnel in the first step. Optional. If + * unspecified, a closed funnel is used. + * + * Generated from protobuf field bool is_open_funnel = 1; + * @return bool + */ + public function getIsOpenFunnel() + { + return $this->is_open_funnel; + } + /** + * In an open funnel, users can enter the funnel in any step, and in a closed + * funnel, users must enter the funnel in the first step. Optional. If + * unspecified, a closed funnel is used. + * + * Generated from protobuf field bool is_open_funnel = 1; + * @param bool $var + * @return $this + */ + public function setIsOpenFunnel($var) + { + GPBUtil::checkBool($var); + $this->is_open_funnel = $var; + return $this; + } + /** + * The sequential steps of this funnel. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.FunnelStep steps = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getSteps() + { + return $this->steps; + } + /** + * The sequential steps of this funnel. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.FunnelStep steps = 2; + * @param array<\Google\Analytics\Data\V1alpha\FunnelStep>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setSteps($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelStep::class); + $this->steps = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelBreakdown.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelBreakdown.php new file mode 100644 index 000000000..3d8906812 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelBreakdown.php @@ -0,0 +1,124 @@ +google.analytics.data.v1alpha.FunnelBreakdown + */ +class FunnelBreakdown extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The dimension column added to the funnel table sub report response. The + * breakdown dimension breaks down each funnel step. A valid + * `breakdownDimension` is required if `funnelBreakdown` is specified. + * + * Generated from protobuf field .google.analytics.data.v1alpha.Dimension breakdown_dimension = 1; + */ + private $breakdown_dimension = null; + /** + * The maximum number of distinct values of the breakdown dimension to return + * in the response. A `limit` of `5` is used if limit is not specified. Limit + * must exceed zero and cannot exceed 15. + * + * Generated from protobuf field optional int64 limit = 2; + */ + private $limit = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1alpha\Dimension $breakdown_dimension + * The dimension column added to the funnel table sub report response. The + * breakdown dimension breaks down each funnel step. A valid + * `breakdownDimension` is required if `funnelBreakdown` is specified. + * @type int|string $limit + * The maximum number of distinct values of the breakdown dimension to return + * in the response. A `limit` of `5` is used if limit is not specified. Limit + * must exceed zero and cannot exceed 15. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The dimension column added to the funnel table sub report response. The + * breakdown dimension breaks down each funnel step. A valid + * `breakdownDimension` is required if `funnelBreakdown` is specified. + * + * Generated from protobuf field .google.analytics.data.v1alpha.Dimension breakdown_dimension = 1; + * @return \Google\Analytics\Data\V1alpha\Dimension|null + */ + public function getBreakdownDimension() + { + return $this->breakdown_dimension; + } + public function hasBreakdownDimension() + { + return isset($this->breakdown_dimension); + } + public function clearBreakdownDimension() + { + unset($this->breakdown_dimension); + } + /** + * The dimension column added to the funnel table sub report response. The + * breakdown dimension breaks down each funnel step. A valid + * `breakdownDimension` is required if `funnelBreakdown` is specified. + * + * Generated from protobuf field .google.analytics.data.v1alpha.Dimension breakdown_dimension = 1; + * @param \Google\Analytics\Data\V1alpha\Dimension $var + * @return $this + */ + public function setBreakdownDimension($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Dimension::class); + $this->breakdown_dimension = $var; + return $this; + } + /** + * The maximum number of distinct values of the breakdown dimension to return + * in the response. A `limit` of `5` is used if limit is not specified. Limit + * must exceed zero and cannot exceed 15. + * + * Generated from protobuf field optional int64 limit = 2; + * @return int|string + */ + public function getLimit() + { + return isset($this->limit) ? $this->limit : 0; + } + public function hasLimit() + { + return isset($this->limit); + } + public function clearLimit() + { + unset($this->limit); + } + /** + * The maximum number of distinct values of the breakdown dimension to return + * in the response. A `limit` of `5` is used if limit is not specified. Limit + * must exceed zero and cannot exceed 15. + * + * Generated from protobuf field optional int64 limit = 2; + * @param int|string $var + * @return $this + */ + public function setLimit($var) + { + GPBUtil::checkInt64($var); + $this->limit = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelEventFilter.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelEventFilter.php new file mode 100644 index 000000000..9873dac8c --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelEventFilter.php @@ -0,0 +1,127 @@ +google.analytics.data.v1alpha.FunnelEventFilter + */ +class FunnelEventFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * This filter matches events of this single event name. Event name is + * required. + * + * Generated from protobuf field optional string event_name = 1; + */ + private $event_name = null; + /** + * If specified, this filter matches events that match both the single event + * name and the parameter filter expressions. + * Inside the parameter filter expression, only parameter filters are + * available. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.FunnelParameterFilterExpression funnel_parameter_filter_expression = 2; + */ + private $funnel_parameter_filter_expression = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $event_name + * This filter matches events of this single event name. Event name is + * required. + * @type \Google\Analytics\Data\V1alpha\FunnelParameterFilterExpression $funnel_parameter_filter_expression + * If specified, this filter matches events that match both the single event + * name and the parameter filter expressions. + * Inside the parameter filter expression, only parameter filters are + * available. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * This filter matches events of this single event name. Event name is + * required. + * + * Generated from protobuf field optional string event_name = 1; + * @return string + */ + public function getEventName() + { + return isset($this->event_name) ? $this->event_name : ''; + } + public function hasEventName() + { + return isset($this->event_name); + } + public function clearEventName() + { + unset($this->event_name); + } + /** + * This filter matches events of this single event name. Event name is + * required. + * + * Generated from protobuf field optional string event_name = 1; + * @param string $var + * @return $this + */ + public function setEventName($var) + { + GPBUtil::checkString($var, True); + $this->event_name = $var; + return $this; + } + /** + * If specified, this filter matches events that match both the single event + * name and the parameter filter expressions. + * Inside the parameter filter expression, only parameter filters are + * available. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.FunnelParameterFilterExpression funnel_parameter_filter_expression = 2; + * @return \Google\Analytics\Data\V1alpha\FunnelParameterFilterExpression|null + */ + public function getFunnelParameterFilterExpression() + { + return $this->funnel_parameter_filter_expression; + } + public function hasFunnelParameterFilterExpression() + { + return isset($this->funnel_parameter_filter_expression); + } + public function clearFunnelParameterFilterExpression() + { + unset($this->funnel_parameter_filter_expression); + } + /** + * If specified, this filter matches events that match both the single event + * name and the parameter filter expressions. + * Inside the parameter filter expression, only parameter filters are + * available. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.FunnelParameterFilterExpression funnel_parameter_filter_expression = 2; + * @param \Google\Analytics\Data\V1alpha\FunnelParameterFilterExpression $var + * @return $this + */ + public function setFunnelParameterFilterExpression($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelParameterFilterExpression::class); + $this->funnel_parameter_filter_expression = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelFieldFilter.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelFieldFilter.php new file mode 100644 index 000000000..1b8962517 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelFieldFilter.php @@ -0,0 +1,185 @@ +google.analytics.data.v1alpha.FunnelFieldFilter + */ +class FunnelFieldFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The dimension name or metric name. + * + * Generated from protobuf field string field_name = 1; + */ + private $field_name = ''; + protected $one_filter; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $field_name + * The dimension name or metric name. + * @type \Google\Analytics\Data\V1alpha\StringFilter $string_filter + * Strings related filter. + * @type \Google\Analytics\Data\V1alpha\InListFilter $in_list_filter + * A filter for in list values. + * @type \Google\Analytics\Data\V1alpha\NumericFilter $numeric_filter + * A filter for numeric or date values. + * @type \Google\Analytics\Data\V1alpha\BetweenFilter $between_filter + * A filter for between two values. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * 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; + } + /** + * Strings related filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.StringFilter string_filter = 4; + * @return \Google\Analytics\Data\V1alpha\StringFilter|null + */ + public function getStringFilter() + { + return $this->readOneof(4); + } + public function hasStringFilter() + { + return $this->hasOneof(4); + } + /** + * Strings related filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.StringFilter string_filter = 4; + * @param \Google\Analytics\Data\V1alpha\StringFilter $var + * @return $this + */ + public function setStringFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\StringFilter::class); + $this->writeOneof(4, $var); + return $this; + } + /** + * A filter for in list values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.InListFilter in_list_filter = 5; + * @return \Google\Analytics\Data\V1alpha\InListFilter|null + */ + public function getInListFilter() + { + return $this->readOneof(5); + } + public function hasInListFilter() + { + return $this->hasOneof(5); + } + /** + * A filter for in list values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.InListFilter in_list_filter = 5; + * @param \Google\Analytics\Data\V1alpha\InListFilter $var + * @return $this + */ + public function setInListFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\InListFilter::class); + $this->writeOneof(5, $var); + return $this; + } + /** + * A filter for numeric or date values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter numeric_filter = 6; + * @return \Google\Analytics\Data\V1alpha\NumericFilter|null + */ + public function getNumericFilter() + { + return $this->readOneof(6); + } + public function hasNumericFilter() + { + return $this->hasOneof(6); + } + /** + * A filter for numeric or date values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter numeric_filter = 6; + * @param \Google\Analytics\Data\V1alpha\NumericFilter $var + * @return $this + */ + public function setNumericFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\NumericFilter::class); + $this->writeOneof(6, $var); + return $this; + } + /** + * A filter for between two values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.BetweenFilter between_filter = 7; + * @return \Google\Analytics\Data\V1alpha\BetweenFilter|null + */ + public function getBetweenFilter() + { + return $this->readOneof(7); + } + public function hasBetweenFilter() + { + return $this->hasOneof(7); + } + /** + * A filter for between two values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.BetweenFilter between_filter = 7; + * @param \Google\Analytics\Data\V1alpha\BetweenFilter $var + * @return $this + */ + public function setBetweenFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\BetweenFilter::class); + $this->writeOneof(7, $var); + return $this; + } + /** + * @return string + */ + public function getOneFilter() + { + return $this->whichOneof("one_filter"); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelFilterExpression.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelFilterExpression.php new file mode 100644 index 000000000..483ee8e1b --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelFilterExpression.php @@ -0,0 +1,192 @@ +google.analytics.data.v1alpha.FunnelFilterExpression + */ +class FunnelFilterExpression extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + protected $expr; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1alpha\FunnelFilterExpressionList $and_group + * The FunnelFilterExpression in `andGroup` have an AND relationship. + * @type \Google\Analytics\Data\V1alpha\FunnelFilterExpressionList $or_group + * The FunnelFilterExpression in `orGroup` have an OR relationship. + * @type \Google\Analytics\Data\V1alpha\FunnelFilterExpression $not_expression + * The FunnelFilterExpression is NOT of `notExpression`. + * @type \Google\Analytics\Data\V1alpha\FunnelFieldFilter $funnel_field_filter + * A funnel filter for a dimension or metric. + * @type \Google\Analytics\Data\V1alpha\FunnelEventFilter $funnel_event_filter + * Creates a filter that matches events of a single event name. If a + * parameter filter expression is specified, only the subset of events that + * match both the single event name and the parameter filter expressions + * match this event filter. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The FunnelFilterExpression in `andGroup` have an AND relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelFilterExpressionList and_group = 1; + * @return \Google\Analytics\Data\V1alpha\FunnelFilterExpressionList|null + */ + public function getAndGroup() + { + return $this->readOneof(1); + } + public function hasAndGroup() + { + return $this->hasOneof(1); + } + /** + * The FunnelFilterExpression in `andGroup` have an AND relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelFilterExpressionList and_group = 1; + * @param \Google\Analytics\Data\V1alpha\FunnelFilterExpressionList $var + * @return $this + */ + public function setAndGroup($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelFilterExpressionList::class); + $this->writeOneof(1, $var); + return $this; + } + /** + * The FunnelFilterExpression in `orGroup` have an OR relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelFilterExpressionList or_group = 2; + * @return \Google\Analytics\Data\V1alpha\FunnelFilterExpressionList|null + */ + public function getOrGroup() + { + return $this->readOneof(2); + } + public function hasOrGroup() + { + return $this->hasOneof(2); + } + /** + * The FunnelFilterExpression in `orGroup` have an OR relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelFilterExpressionList or_group = 2; + * @param \Google\Analytics\Data\V1alpha\FunnelFilterExpressionList $var + * @return $this + */ + public function setOrGroup($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelFilterExpressionList::class); + $this->writeOneof(2, $var); + return $this; + } + /** + * The FunnelFilterExpression is NOT of `notExpression`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelFilterExpression not_expression = 3; + * @return \Google\Analytics\Data\V1alpha\FunnelFilterExpression|null + */ + public function getNotExpression() + { + return $this->readOneof(3); + } + public function hasNotExpression() + { + return $this->hasOneof(3); + } + /** + * The FunnelFilterExpression is NOT of `notExpression`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelFilterExpression not_expression = 3; + * @param \Google\Analytics\Data\V1alpha\FunnelFilterExpression $var + * @return $this + */ + public function setNotExpression($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelFilterExpression::class); + $this->writeOneof(3, $var); + return $this; + } + /** + * A funnel filter for a dimension or metric. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelFieldFilter funnel_field_filter = 4; + * @return \Google\Analytics\Data\V1alpha\FunnelFieldFilter|null + */ + public function getFunnelFieldFilter() + { + return $this->readOneof(4); + } + public function hasFunnelFieldFilter() + { + return $this->hasOneof(4); + } + /** + * A funnel filter for a dimension or metric. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelFieldFilter funnel_field_filter = 4; + * @param \Google\Analytics\Data\V1alpha\FunnelFieldFilter $var + * @return $this + */ + public function setFunnelFieldFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelFieldFilter::class); + $this->writeOneof(4, $var); + return $this; + } + /** + * Creates a filter that matches events of a single event name. If a + * parameter filter expression is specified, only the subset of events that + * match both the single event name and the parameter filter expressions + * match this event filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelEventFilter funnel_event_filter = 5; + * @return \Google\Analytics\Data\V1alpha\FunnelEventFilter|null + */ + public function getFunnelEventFilter() + { + return $this->readOneof(5); + } + public function hasFunnelEventFilter() + { + return $this->hasOneof(5); + } + /** + * Creates a filter that matches events of a single event name. If a + * parameter filter expression is specified, only the subset of events that + * match both the single event name and the parameter filter expressions + * match this event filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelEventFilter funnel_event_filter = 5; + * @param \Google\Analytics\Data\V1alpha\FunnelEventFilter $var + * @return $this + */ + public function setFunnelEventFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelEventFilter::class); + $this->writeOneof(5, $var); + return $this; + } + /** + * @return string + */ + public function getExpr() + { + return $this->whichOneof("expr"); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelFilterExpressionList.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelFilterExpressionList.php new file mode 100644 index 000000000..f20bb9c20 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelFilterExpressionList.php @@ -0,0 +1,61 @@ +google.analytics.data.v1alpha.FunnelFilterExpressionList + */ +class FunnelFilterExpressionList extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The list of funnel filter expressions. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.FunnelFilterExpression expressions = 1; + */ + private $expressions; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\FunnelFilterExpression>|\Google\Protobuf\Internal\RepeatedField $expressions + * The list of funnel filter expressions. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The list of funnel filter expressions. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.FunnelFilterExpression expressions = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getExpressions() + { + return $this->expressions; + } + /** + * The list of funnel filter expressions. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.FunnelFilterExpression expressions = 1; + * @param array<\Google\Analytics\Data\V1alpha\FunnelFilterExpression>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setExpressions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelFilterExpression::class); + $this->expressions = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelNextAction.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelNextAction.php new file mode 100644 index 000000000..fef45b808 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelNextAction.php @@ -0,0 +1,141 @@ +google.analytics.data.v1alpha.FunnelNextAction + */ +class FunnelNextAction extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The dimension column added to the funnel visualization sub report response. + * The next action dimension returns the next dimension value of this + * dimension after the user has attained the `i`th funnel step. + * `nextActionDimension` currently only supports `eventName` and most Page / + * Screen dimensions like `pageTitle` and `pagePath`. `nextActionDimension` + * cannot be a dimension expression. + * + * Generated from protobuf field .google.analytics.data.v1alpha.Dimension next_action_dimension = 1; + */ + private $next_action_dimension = null; + /** + * The maximum number of distinct values of the breakdown dimension to return + * in the response. A `limit` of `5` is used if limit is not specified. Limit + * must exceed zero and cannot exceed 5. + * + * Generated from protobuf field optional int64 limit = 2; + */ + private $limit = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1alpha\Dimension $next_action_dimension + * The dimension column added to the funnel visualization sub report response. + * The next action dimension returns the next dimension value of this + * dimension after the user has attained the `i`th funnel step. + * `nextActionDimension` currently only supports `eventName` and most Page / + * Screen dimensions like `pageTitle` and `pagePath`. `nextActionDimension` + * cannot be a dimension expression. + * @type int|string $limit + * The maximum number of distinct values of the breakdown dimension to return + * in the response. A `limit` of `5` is used if limit is not specified. Limit + * must exceed zero and cannot exceed 5. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The dimension column added to the funnel visualization sub report response. + * The next action dimension returns the next dimension value of this + * dimension after the user has attained the `i`th funnel step. + * `nextActionDimension` currently only supports `eventName` and most Page / + * Screen dimensions like `pageTitle` and `pagePath`. `nextActionDimension` + * cannot be a dimension expression. + * + * Generated from protobuf field .google.analytics.data.v1alpha.Dimension next_action_dimension = 1; + * @return \Google\Analytics\Data\V1alpha\Dimension|null + */ + public function getNextActionDimension() + { + return $this->next_action_dimension; + } + public function hasNextActionDimension() + { + return isset($this->next_action_dimension); + } + public function clearNextActionDimension() + { + unset($this->next_action_dimension); + } + /** + * The dimension column added to the funnel visualization sub report response. + * The next action dimension returns the next dimension value of this + * dimension after the user has attained the `i`th funnel step. + * `nextActionDimension` currently only supports `eventName` and most Page / + * Screen dimensions like `pageTitle` and `pagePath`. `nextActionDimension` + * cannot be a dimension expression. + * + * Generated from protobuf field .google.analytics.data.v1alpha.Dimension next_action_dimension = 1; + * @param \Google\Analytics\Data\V1alpha\Dimension $var + * @return $this + */ + public function setNextActionDimension($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Dimension::class); + $this->next_action_dimension = $var; + return $this; + } + /** + * The maximum number of distinct values of the breakdown dimension to return + * in the response. A `limit` of `5` is used if limit is not specified. Limit + * must exceed zero and cannot exceed 5. + * + * Generated from protobuf field optional int64 limit = 2; + * @return int|string + */ + public function getLimit() + { + return isset($this->limit) ? $this->limit : 0; + } + public function hasLimit() + { + return isset($this->limit); + } + public function clearLimit() + { + unset($this->limit); + } + /** + * The maximum number of distinct values of the breakdown dimension to return + * in the response. A `limit` of `5` is used if limit is not specified. Limit + * must exceed zero and cannot exceed 5. + * + * Generated from protobuf field optional int64 limit = 2; + * @param int|string $var + * @return $this + */ + public function setLimit($var) + { + GPBUtil::checkInt64($var); + $this->limit = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelParameterFilter.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelParameterFilter.php new file mode 100644 index 000000000..fc98e597a --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelParameterFilter.php @@ -0,0 +1,262 @@ +google.analytics.data.v1alpha.FunnelParameterFilter + */ +class FunnelParameterFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + protected $one_parameter; + protected $one_filter; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $event_parameter_name + * This filter will be evaluated on the specified event parameter. Event + * parameters are logged as parameters of the event. Event parameters + * include fields like "firebase_screen" & "currency". + * Event parameters can only be used in segments & funnels and can only be + * used in a descendent filter from an EventFilter. In a descendent filter + * from an EventFilter either event or item parameters should be used. + * @type string $item_parameter_name + * This filter will be evaluated on the specified item parameter. Item + * parameters are logged as parameters in the item array. Item parameters + * include fields like "item_name" & "item_category". + * Item parameters can only be used in segments & funnels and can only be + * used in a descendent filter from an EventFilter. In a descendent filter + * from an EventFilter either event or item parameters should be used. + * Item parameters are only available in ecommerce events. To learn more + * about ecommerce events, see the [Measure ecommerce] + * (https://developers.google.com/analytics/devguides/collection/ga4/ecommerce) + * guide. + * @type \Google\Analytics\Data\V1alpha\StringFilter $string_filter + * Strings related filter. + * @type \Google\Analytics\Data\V1alpha\InListFilter $in_list_filter + * A filter for in list values. + * @type \Google\Analytics\Data\V1alpha\NumericFilter $numeric_filter + * A filter for numeric or date values. + * @type \Google\Analytics\Data\V1alpha\BetweenFilter $between_filter + * A filter for between two values. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * This filter will be evaluated on the specified event parameter. Event + * parameters are logged as parameters of the event. Event parameters + * include fields like "firebase_screen" & "currency". + * Event parameters can only be used in segments & funnels and can only be + * used in a descendent filter from an EventFilter. In a descendent filter + * from an EventFilter either event or item parameters should be used. + * + * Generated from protobuf field string event_parameter_name = 1; + * @return string + */ + public function getEventParameterName() + { + return $this->readOneof(1); + } + public function hasEventParameterName() + { + return $this->hasOneof(1); + } + /** + * This filter will be evaluated on the specified event parameter. Event + * parameters are logged as parameters of the event. Event parameters + * include fields like "firebase_screen" & "currency". + * Event parameters can only be used in segments & funnels and can only be + * used in a descendent filter from an EventFilter. In a descendent filter + * from an EventFilter either event or item parameters should be used. + * + * Generated from protobuf field string event_parameter_name = 1; + * @param string $var + * @return $this + */ + public function setEventParameterName($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(1, $var); + return $this; + } + /** + * This filter will be evaluated on the specified item parameter. Item + * parameters are logged as parameters in the item array. Item parameters + * include fields like "item_name" & "item_category". + * Item parameters can only be used in segments & funnels and can only be + * used in a descendent filter from an EventFilter. In a descendent filter + * from an EventFilter either event or item parameters should be used. + * Item parameters are only available in ecommerce events. To learn more + * about ecommerce events, see the [Measure ecommerce] + * (https://developers.google.com/analytics/devguides/collection/ga4/ecommerce) + * guide. + * + * Generated from protobuf field string item_parameter_name = 2; + * @return string + */ + public function getItemParameterName() + { + return $this->readOneof(2); + } + public function hasItemParameterName() + { + return $this->hasOneof(2); + } + /** + * This filter will be evaluated on the specified item parameter. Item + * parameters are logged as parameters in the item array. Item parameters + * include fields like "item_name" & "item_category". + * Item parameters can only be used in segments & funnels and can only be + * used in a descendent filter from an EventFilter. In a descendent filter + * from an EventFilter either event or item parameters should be used. + * Item parameters are only available in ecommerce events. To learn more + * about ecommerce events, see the [Measure ecommerce] + * (https://developers.google.com/analytics/devguides/collection/ga4/ecommerce) + * guide. + * + * Generated from protobuf field string item_parameter_name = 2; + * @param string $var + * @return $this + */ + public function setItemParameterName($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(2, $var); + return $this; + } + /** + * Strings related filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.StringFilter string_filter = 4; + * @return \Google\Analytics\Data\V1alpha\StringFilter|null + */ + public function getStringFilter() + { + return $this->readOneof(4); + } + public function hasStringFilter() + { + return $this->hasOneof(4); + } + /** + * Strings related filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.StringFilter string_filter = 4; + * @param \Google\Analytics\Data\V1alpha\StringFilter $var + * @return $this + */ + public function setStringFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\StringFilter::class); + $this->writeOneof(4, $var); + return $this; + } + /** + * A filter for in list values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.InListFilter in_list_filter = 5; + * @return \Google\Analytics\Data\V1alpha\InListFilter|null + */ + public function getInListFilter() + { + return $this->readOneof(5); + } + public function hasInListFilter() + { + return $this->hasOneof(5); + } + /** + * A filter for in list values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.InListFilter in_list_filter = 5; + * @param \Google\Analytics\Data\V1alpha\InListFilter $var + * @return $this + */ + public function setInListFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\InListFilter::class); + $this->writeOneof(5, $var); + return $this; + } + /** + * A filter for numeric or date values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter numeric_filter = 6; + * @return \Google\Analytics\Data\V1alpha\NumericFilter|null + */ + public function getNumericFilter() + { + return $this->readOneof(6); + } + public function hasNumericFilter() + { + return $this->hasOneof(6); + } + /** + * A filter for numeric or date values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter numeric_filter = 6; + * @param \Google\Analytics\Data\V1alpha\NumericFilter $var + * @return $this + */ + public function setNumericFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\NumericFilter::class); + $this->writeOneof(6, $var); + return $this; + } + /** + * A filter for between two values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.BetweenFilter between_filter = 7; + * @return \Google\Analytics\Data\V1alpha\BetweenFilter|null + */ + public function getBetweenFilter() + { + return $this->readOneof(7); + } + public function hasBetweenFilter() + { + return $this->hasOneof(7); + } + /** + * A filter for between two values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.BetweenFilter between_filter = 7; + * @param \Google\Analytics\Data\V1alpha\BetweenFilter $var + * @return $this + */ + public function setBetweenFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\BetweenFilter::class); + $this->writeOneof(7, $var); + return $this; + } + /** + * @return string + */ + public function getOneParameter() + { + return $this->whichOneof("one_parameter"); + } + /** + * @return string + */ + public function getOneFilter() + { + return $this->whichOneof("one_filter"); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelParameterFilterExpression.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelParameterFilterExpression.php new file mode 100644 index 000000000..9d9695431 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelParameterFilterExpression.php @@ -0,0 +1,160 @@ +google.analytics.data.v1alpha.FunnelParameterFilterExpression + */ +class FunnelParameterFilterExpression extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + protected $expr; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1alpha\FunnelParameterFilterExpressionList $and_group + * The FunnelParameterFilterExpression in `andGroup` have an AND + * relationship. + * @type \Google\Analytics\Data\V1alpha\FunnelParameterFilterExpressionList $or_group + * The FunnelParameterFilterExpression in `orGroup` have an OR + * relationship. + * @type \Google\Analytics\Data\V1alpha\FunnelParameterFilterExpression $not_expression + * The FunnelParameterFilterExpression is NOT of `notExpression`. + * @type \Google\Analytics\Data\V1alpha\FunnelParameterFilter $funnel_parameter_filter + * A primitive funnel parameter filter. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The FunnelParameterFilterExpression in `andGroup` have an AND + * relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelParameterFilterExpressionList and_group = 1; + * @return \Google\Analytics\Data\V1alpha\FunnelParameterFilterExpressionList|null + */ + public function getAndGroup() + { + return $this->readOneof(1); + } + public function hasAndGroup() + { + return $this->hasOneof(1); + } + /** + * The FunnelParameterFilterExpression in `andGroup` have an AND + * relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelParameterFilterExpressionList and_group = 1; + * @param \Google\Analytics\Data\V1alpha\FunnelParameterFilterExpressionList $var + * @return $this + */ + public function setAndGroup($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelParameterFilterExpressionList::class); + $this->writeOneof(1, $var); + return $this; + } + /** + * The FunnelParameterFilterExpression in `orGroup` have an OR + * relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelParameterFilterExpressionList or_group = 2; + * @return \Google\Analytics\Data\V1alpha\FunnelParameterFilterExpressionList|null + */ + public function getOrGroup() + { + return $this->readOneof(2); + } + public function hasOrGroup() + { + return $this->hasOneof(2); + } + /** + * The FunnelParameterFilterExpression in `orGroup` have an OR + * relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelParameterFilterExpressionList or_group = 2; + * @param \Google\Analytics\Data\V1alpha\FunnelParameterFilterExpressionList $var + * @return $this + */ + public function setOrGroup($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelParameterFilterExpressionList::class); + $this->writeOneof(2, $var); + return $this; + } + /** + * The FunnelParameterFilterExpression is NOT of `notExpression`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelParameterFilterExpression not_expression = 3; + * @return \Google\Analytics\Data\V1alpha\FunnelParameterFilterExpression|null + */ + public function getNotExpression() + { + return $this->readOneof(3); + } + public function hasNotExpression() + { + return $this->hasOneof(3); + } + /** + * The FunnelParameterFilterExpression is NOT of `notExpression`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelParameterFilterExpression not_expression = 3; + * @param \Google\Analytics\Data\V1alpha\FunnelParameterFilterExpression $var + * @return $this + */ + public function setNotExpression($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelParameterFilterExpression::class); + $this->writeOneof(3, $var); + return $this; + } + /** + * A primitive funnel parameter filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelParameterFilter funnel_parameter_filter = 4; + * @return \Google\Analytics\Data\V1alpha\FunnelParameterFilter|null + */ + public function getFunnelParameterFilter() + { + return $this->readOneof(4); + } + public function hasFunnelParameterFilter() + { + return $this->hasOneof(4); + } + /** + * A primitive funnel parameter filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelParameterFilter funnel_parameter_filter = 4; + * @param \Google\Analytics\Data\V1alpha\FunnelParameterFilter $var + * @return $this + */ + public function setFunnelParameterFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelParameterFilter::class); + $this->writeOneof(4, $var); + return $this; + } + /** + * @return string + */ + public function getExpr() + { + return $this->whichOneof("expr"); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelParameterFilterExpressionList.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelParameterFilterExpressionList.php new file mode 100644 index 000000000..1b261efbc --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelParameterFilterExpressionList.php @@ -0,0 +1,61 @@ +google.analytics.data.v1alpha.FunnelParameterFilterExpressionList + */ +class FunnelParameterFilterExpressionList extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The list of funnel parameter filter expressions. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.FunnelParameterFilterExpression expressions = 1; + */ + private $expressions; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\FunnelParameterFilterExpression>|\Google\Protobuf\Internal\RepeatedField $expressions + * The list of funnel parameter filter expressions. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The list of funnel parameter filter expressions. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.FunnelParameterFilterExpression expressions = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getExpressions() + { + return $this->expressions; + } + /** + * The list of funnel parameter filter expressions. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.FunnelParameterFilterExpression expressions = 1; + * @param array<\Google\Analytics\Data\V1alpha\FunnelParameterFilterExpression>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setExpressions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelParameterFilterExpression::class); + $this->expressions = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelResponseMetadata.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelResponseMetadata.php new file mode 100644 index 000000000..6b8a7f6cb --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelResponseMetadata.php @@ -0,0 +1,86 @@ +google.analytics.data.v1alpha.FunnelResponseMetadata + */ +class FunnelResponseMetadata extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * If funnel report results are + * [sampled](https://support.google.com/analytics/answer/13331292), this + * describes what percentage of events were used in this funnel report. One + * `samplingMetadatas` is populated for each date range. Each + * `samplingMetadatas` corresponds to a date range in order that date ranges + * were specified in the request. + * However if the results are not sampled, this field will not be defined. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1; + */ + private $sampling_metadatas; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\SamplingMetadata>|\Google\Protobuf\Internal\RepeatedField $sampling_metadatas + * If funnel report results are + * [sampled](https://support.google.com/analytics/answer/13331292), this + * describes what percentage of events were used in this funnel report. One + * `samplingMetadatas` is populated for each date range. Each + * `samplingMetadatas` corresponds to a date range in order that date ranges + * were specified in the request. + * However if the results are not sampled, this field will not be defined. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * If funnel report results are + * [sampled](https://support.google.com/analytics/answer/13331292), this + * describes what percentage of events were used in this funnel report. One + * `samplingMetadatas` is populated for each date range. Each + * `samplingMetadatas` corresponds to a date range in order that date ranges + * were specified in the request. + * However if the results are not sampled, this field will not be defined. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getSamplingMetadatas() + { + return $this->sampling_metadatas; + } + /** + * If funnel report results are + * [sampled](https://support.google.com/analytics/answer/13331292), this + * describes what percentage of events were used in this funnel report. One + * `samplingMetadatas` is populated for each date range. Each + * `samplingMetadatas` corresponds to a date range in order that date ranges + * were specified in the request. + * However if the results are not sampled, this field will not be defined. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 1; + * @param array<\Google\Analytics\Data\V1alpha\SamplingMetadata>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setSamplingMetadatas($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SamplingMetadata::class); + $this->sampling_metadatas = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelStep.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelStep.php new file mode 100644 index 000000000..d1bef3d73 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelStep.php @@ -0,0 +1,224 @@ +google.analytics.data.v1alpha.FunnelStep + */ +class FunnelStep extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The distinctive name for this step. If unspecified, steps will be named + * by a 1 based indexed name (for example "0. ", "1. ", etc.). This name + * defines string value returned by the `funnelStepName` dimension. For + * example, specifying `name = Purchase` in the request's third funnel step + * will produce `3. Purchase` in the funnel report response. + * + * Generated from protobuf field string name = 1; + */ + private $name = ''; + /** + * If true, this step must directly follow the previous step. If false, + * there can be events between the previous step and this step. If + * unspecified, `isDirectlyFollowedBy` is treated as false. + * + * Generated from protobuf field bool is_directly_followed_by = 2; + */ + private $is_directly_followed_by = \false; + /** + * If specified, this step must complete within this duration of the + * completion of the prior step. `withinDurationFromPriorStep` is inclusive + * of the endpoint at the microsecond granularity. For example a duration of + * 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 + * microsecond. + * `withinDurationFromPriorStep` is optional, and if unspecified, steps may + * be separated by any time duration. + * + * Generated from protobuf field optional .google.protobuf.Duration within_duration_from_prior_step = 3; + */ + private $within_duration_from_prior_step = null; + /** + * The condition that your users must meet to be included in this step of + * the funnel journey. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelFilterExpression filter_expression = 4; + */ + private $filter_expression = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * The distinctive name for this step. If unspecified, steps will be named + * by a 1 based indexed name (for example "0. ", "1. ", etc.). This name + * defines string value returned by the `funnelStepName` dimension. For + * example, specifying `name = Purchase` in the request's third funnel step + * will produce `3. Purchase` in the funnel report response. + * @type bool $is_directly_followed_by + * If true, this step must directly follow the previous step. If false, + * there can be events between the previous step and this step. If + * unspecified, `isDirectlyFollowedBy` is treated as false. + * @type \Google\Protobuf\Duration $within_duration_from_prior_step + * If specified, this step must complete within this duration of the + * completion of the prior step. `withinDurationFromPriorStep` is inclusive + * of the endpoint at the microsecond granularity. For example a duration of + * 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 + * microsecond. + * `withinDurationFromPriorStep` is optional, and if unspecified, steps may + * be separated by any time duration. + * @type \Google\Analytics\Data\V1alpha\FunnelFilterExpression $filter_expression + * The condition that your users must meet to be included in this step of + * the funnel journey. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The distinctive name for this step. If unspecified, steps will be named + * by a 1 based indexed name (for example "0. ", "1. ", etc.). This name + * defines string value returned by the `funnelStepName` dimension. For + * example, specifying `name = Purchase` in the request's third funnel step + * will produce `3. Purchase` in the funnel report response. + * + * Generated from protobuf field string name = 1; + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * The distinctive name for this step. If unspecified, steps will be named + * by a 1 based indexed name (for example "0. ", "1. ", etc.). This name + * defines string value returned by the `funnelStepName` dimension. For + * example, specifying `name = Purchase` in the request's third funnel step + * will produce `3. Purchase` in the funnel report response. + * + * 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; + } + /** + * If true, this step must directly follow the previous step. If false, + * there can be events between the previous step and this step. If + * unspecified, `isDirectlyFollowedBy` is treated as false. + * + * Generated from protobuf field bool is_directly_followed_by = 2; + * @return bool + */ + public function getIsDirectlyFollowedBy() + { + return $this->is_directly_followed_by; + } + /** + * If true, this step must directly follow the previous step. If false, + * there can be events between the previous step and this step. If + * unspecified, `isDirectlyFollowedBy` is treated as false. + * + * Generated from protobuf field bool is_directly_followed_by = 2; + * @param bool $var + * @return $this + */ + public function setIsDirectlyFollowedBy($var) + { + GPBUtil::checkBool($var); + $this->is_directly_followed_by = $var; + return $this; + } + /** + * If specified, this step must complete within this duration of the + * completion of the prior step. `withinDurationFromPriorStep` is inclusive + * of the endpoint at the microsecond granularity. For example a duration of + * 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 + * microsecond. + * `withinDurationFromPriorStep` is optional, and if unspecified, steps may + * be separated by any time duration. + * + * Generated from protobuf field optional .google.protobuf.Duration within_duration_from_prior_step = 3; + * @return \Google\Protobuf\Duration|null + */ + public function getWithinDurationFromPriorStep() + { + return $this->within_duration_from_prior_step; + } + public function hasWithinDurationFromPriorStep() + { + return isset($this->within_duration_from_prior_step); + } + public function clearWithinDurationFromPriorStep() + { + unset($this->within_duration_from_prior_step); + } + /** + * If specified, this step must complete within this duration of the + * completion of the prior step. `withinDurationFromPriorStep` is inclusive + * of the endpoint at the microsecond granularity. For example a duration of + * 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 + * microsecond. + * `withinDurationFromPriorStep` is optional, and if unspecified, steps may + * be separated by any time duration. + * + * Generated from protobuf field optional .google.protobuf.Duration within_duration_from_prior_step = 3; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setWithinDurationFromPriorStep($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Duration::class); + $this->within_duration_from_prior_step = $var; + return $this; + } + /** + * The condition that your users must meet to be included in this step of + * the funnel journey. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelFilterExpression filter_expression = 4; + * @return \Google\Analytics\Data\V1alpha\FunnelFilterExpression|null + */ + public function getFilterExpression() + { + return $this->filter_expression; + } + public function hasFilterExpression() + { + return isset($this->filter_expression); + } + public function clearFilterExpression() + { + unset($this->filter_expression); + } + /** + * The condition that your users must meet to be included in this step of + * the funnel journey. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelFilterExpression filter_expression = 4; + * @param \Google\Analytics\Data\V1alpha\FunnelFilterExpression $var + * @return $this + */ + public function setFilterExpression($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelFilterExpression::class); + $this->filter_expression = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelSubReport.php b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelSubReport.php new file mode 100644 index 000000000..221057334 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/FunnelSubReport.php @@ -0,0 +1,179 @@ +google.analytics.data.v1alpha.FunnelSubReport + */ +class FunnelSubReport extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Describes dimension columns. Funnel reports always include the funnel step + * dimension in sub report responses. Additional dimensions like breakdowns, + * dates, and next actions may be present in the response if requested. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; + */ + private $dimension_headers; + /** + * Describes metric columns. Funnel reports always include active users in sub + * report responses. The funnel table includes additional metrics like + * completion rate, abandonments, and abandonments rate. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; + */ + private $metric_headers; + /** + * Rows of dimension value combinations and metric values in the report. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row rows = 3; + */ + private $rows; + /** + * Metadata for the funnel report. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelResponseMetadata metadata = 4; + */ + private $metadata = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\DimensionHeader>|\Google\Protobuf\Internal\RepeatedField $dimension_headers + * Describes dimension columns. Funnel reports always include the funnel step + * dimension in sub report responses. Additional dimensions like breakdowns, + * dates, and next actions may be present in the response if requested. + * @type array<\Google\Analytics\Data\V1alpha\MetricHeader>|\Google\Protobuf\Internal\RepeatedField $metric_headers + * Describes metric columns. Funnel reports always include active users in sub + * report responses. The funnel table includes additional metrics like + * completion rate, abandonments, and abandonments rate. + * @type array<\Google\Analytics\Data\V1alpha\Row>|\Google\Protobuf\Internal\RepeatedField $rows + * Rows of dimension value combinations and metric values in the report. + * @type \Google\Analytics\Data\V1alpha\FunnelResponseMetadata $metadata + * Metadata for the funnel report. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * Describes dimension columns. Funnel reports always include the funnel step + * dimension in sub report responses. Additional dimensions like breakdowns, + * dates, and next actions may be present in the response if requested. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDimensionHeaders() + { + return $this->dimension_headers; + } + /** + * Describes dimension columns. Funnel reports always include the funnel step + * dimension in sub report responses. Additional dimensions like breakdowns, + * dates, and next actions may be present in the response if requested. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; + * @param array<\Google\Analytics\Data\V1alpha\DimensionHeader>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensionHeaders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\DimensionHeader::class); + $this->dimension_headers = $arr; + return $this; + } + /** + * Describes metric columns. Funnel reports always include active users in sub + * report responses. The funnel table includes additional metrics like + * completion rate, abandonments, and abandonments rate. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getMetricHeaders() + { + return $this->metric_headers; + } + /** + * Describes metric columns. Funnel reports always include active users in sub + * report responses. The funnel table includes additional metrics like + * completion rate, abandonments, and abandonments rate. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; + * @param array<\Google\Analytics\Data\V1alpha\MetricHeader>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setMetricHeaders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\MetricHeader::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.data.v1alpha.Row rows = 3; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getRows() + { + return $this->rows; + } + /** + * Rows of dimension value combinations and metric values in the report. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row rows = 3; + * @param array<\Google\Analytics\Data\V1alpha\Row>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setRows($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Row::class); + $this->rows = $arr; + return $this; + } + /** + * Metadata for the funnel report. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelResponseMetadata metadata = 4; + * @return \Google\Analytics\Data\V1alpha\FunnelResponseMetadata|null + */ + public function getMetadata() + { + return $this->metadata; + } + public function hasMetadata() + { + return isset($this->metadata); + } + public function clearMetadata() + { + unset($this->metadata); + } + /** + * Metadata for the funnel report. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelResponseMetadata metadata = 4; + * @param \Google\Analytics\Data\V1alpha\FunnelResponseMetadata $var + * @return $this + */ + public function setMetadata($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelResponseMetadata::class); + $this->metadata = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/Gapic/AlphaAnalyticsDataGapicClient.php b/vendor/prefixed/google/analytics-data/src/V1alpha/Gapic/AlphaAnalyticsDataGapicClient.php index 3bd661288..9112da186 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/Gapic/AlphaAnalyticsDataGapicClient.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/Gapic/AlphaAnalyticsDataGapicClient.php @@ -18,43 +18,54 @@ /* * GENERATED CODE WARNING * Generated by gapic-generator-php from the file - * https://github.com/google/googleapis/blob/master/google/analytics/data/v1alpha/analytics_data_api.proto + * https://github.com/googleapis/googleapis/blob/master/google/analytics/data/v1alpha/analytics_data_api.proto * Updates to the above are reflected here through a refresh process. * * @experimental */ namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Gapic; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\BatchRunPivotReportsRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\BatchRunPivotReportsResponse; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\BatchRunReportsRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\BatchRunReportsResponse; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\CohortSpec; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\AudienceList; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\CreateAudienceListRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\CreateRecurringAudienceListRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\CreateReportTaskRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\DateRange; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Dimension; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Entity; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FilterExpression; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\GetMetadataRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Metadata; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Metric; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\MetricAggregation; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\OrderBy; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Pivot; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RunPivotReportRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RunPivotReportResponse; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RunRealtimeReportRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RunRealtimeReportResponse; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RunReportRequest; -use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RunReportResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Funnel; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelBreakdown; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelNextAction; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\GetAudienceListRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\GetRecurringAudienceListRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\GetReportTaskRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ListAudienceListsRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ListAudienceListsResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ListRecurringAudienceListsRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ListRecurringAudienceListsResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ListReportTasksRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ListReportTasksResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\QueryAudienceListRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\QueryAudienceListResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\QueryReportTaskRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\QueryReportTaskResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RecurringAudienceList; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ReportTask; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RunFunnelReportRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RunFunnelReportResponse; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Segment; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SheetExportAudienceListRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SheetExportAudienceListResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\ApiException; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\CredentialsWrapper; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\GapicClientTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\LongRunning\OperationsClient; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\OperationResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\PathTemplate; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\RequestParamsHeaderDescriptor; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\RetrySettings; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Transport\TransportInterface; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\ValidationException; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\FetchAuthTokenInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\Operation; /** * Service Description: Google Analytics reporting data service. * @@ -64,7 +75,34 @@ * ``` * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); * try { - * $response = $alphaAnalyticsDataClient->batchRunPivotReports(); + * $formattedParent = $alphaAnalyticsDataClient->propertyName('[PROPERTY]'); + * $audienceList = new AudienceList(); + * $operationResponse = $alphaAnalyticsDataClient->createAudienceList($formattedParent, $audienceList); + * $operationResponse->pollUntilComplete(); + * if ($operationResponse->operationSucceeded()) { + * $result = $operationResponse->getResult(); + * // doSomethingWith($result) + * } else { + * $error = $operationResponse->getError(); + * // handleError($error) + * } + * // Alternatively: + * // start the operation, keep the operation name, and resume later + * $operationResponse = $alphaAnalyticsDataClient->createAudienceList($formattedParent, $audienceList); + * $operationName = $operationResponse->getName(); + * // ... do other work + * $newOperationResponse = $alphaAnalyticsDataClient->resumeOperation($operationName, 'createAudienceList'); + * while (!$newOperationResponse->isDone()) { + * // ... do other work + * $newOperationResponse->reload(); + * } + * if ($newOperationResponse->operationSucceeded()) { + * $result = $newOperationResponse->getResult(); + * // doSomethingWith($result) + * } else { + * $error = $newOperationResponse->getError(); + * // handleError($error) + * } * } finally { * $alphaAnalyticsDataClient->close(); * } @@ -76,69 +114,140 @@ * contained within formatted names that are returned by the API. * * @experimental + * + * @deprecated Please use the new service client {@see \Google\Analytics\Data\V1alpha\Client\AlphaAnalyticsDataClient}. */ class AlphaAnalyticsDataGapicClient { use GapicClientTrait; - /** - * The name of the service. - */ + /** The name of the service. */ const SERVICE_NAME = 'google.analytics.data.v1alpha.AlphaAnalyticsData'; /** * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. */ const SERVICE_ADDRESS = 'analyticsdata.googleapis.com'; - /** - * The default port of the service. - */ + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'analyticsdata.UNIVERSE_DOMAIN'; + /** The default port of the service. */ const DEFAULT_SERVICE_PORT = 443; - /** - * The name of the code generator, to be included in the agent header. - */ + /** The name of the code generator, to be included in the agent header. */ const CODEGEN_NAME = 'gapic'; - /** - * The default scopes required by the service. - */ - public static $serviceScopes = ['https://www.googleapis.com/auth/analytics', 'https://www.googleapis.com/auth/analytics.readonly']; - private static $metadataNameTemplate; + /** The default scopes required by the service. */ + public static $serviceScopes = ['https://www.googleapis.com/auth/analytics', 'https://www.googleapis.com/auth/analytics.readonly', 'https://www.googleapis.com/auth/drive', 'https://www.googleapis.com/auth/drive.file', 'https://www.googleapis.com/auth/spreadsheets']; + private static $audienceListNameTemplate; + private static $propertyNameTemplate; + private static $recurringAudienceListNameTemplate; + private static $reportTaskNameTemplate; private static $pathTemplateMap; + private $operationsClient; private static function getClientDefaults() { return ['serviceName' => self::SERVICE_NAME, 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, 'clientConfig' => __DIR__ . '/../resources/alpha_analytics_data_client_config.json', 'descriptorsConfigPath' => __DIR__ . '/../resources/alpha_analytics_data_descriptor_config.php', 'gcpApiConfigPath' => __DIR__ . '/../resources/alpha_analytics_data_grpc_config.json', 'credentialsConfig' => ['defaultScopes' => self::$serviceScopes], 'transportConfig' => ['rest' => ['restClientConfigPath' => __DIR__ . '/../resources/alpha_analytics_data_rest_client_config.php']]]; } - private static function getMetadataNameTemplate() + private static function getAudienceListNameTemplate() + { + if (self::$audienceListNameTemplate == null) { + self::$audienceListNameTemplate = new PathTemplate('properties/{property}/audienceLists/{audience_list}'); + } + return self::$audienceListNameTemplate; + } + private static function getPropertyNameTemplate() + { + if (self::$propertyNameTemplate == null) { + self::$propertyNameTemplate = new PathTemplate('properties/{property}'); + } + return self::$propertyNameTemplate; + } + private static function getRecurringAudienceListNameTemplate() + { + if (self::$recurringAudienceListNameTemplate == null) { + self::$recurringAudienceListNameTemplate = new PathTemplate('properties/{property}/recurringAudienceLists/{recurring_audience_list}'); + } + return self::$recurringAudienceListNameTemplate; + } + private static function getReportTaskNameTemplate() { - if (self::$metadataNameTemplate == null) { - self::$metadataNameTemplate = new PathTemplate('properties/{property}/metadata'); + if (self::$reportTaskNameTemplate == null) { + self::$reportTaskNameTemplate = new PathTemplate('properties/{property}/reportTasks/{report_task}'); } - return self::$metadataNameTemplate; + return self::$reportTaskNameTemplate; } private static function getPathTemplateMap() { if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = ['metadata' => self::getMetadataNameTemplate()]; + self::$pathTemplateMap = ['audienceList' => self::getAudienceListNameTemplate(), 'property' => self::getPropertyNameTemplate(), 'recurringAudienceList' => self::getRecurringAudienceListNameTemplate(), 'reportTask' => self::getReportTaskNameTemplate()]; } return self::$pathTemplateMap; } /** - * Formats a string containing the fully-qualified path to represent a metadata + * Formats a string containing the fully-qualified path to represent a + * audience_list resource. + * + * @param string $property + * @param string $audienceList + * + * @return string The formatted audience_list resource. + * + * @experimental + */ + public static function audienceListName($property, $audienceList) + { + return self::getAudienceListNameTemplate()->render(['property' => $property, 'audience_list' => $audienceList]); + } + /** + * 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($property) + { + return self::getPropertyNameTemplate()->render(['property' => $property]); + } + /** + * Formats a string containing the fully-qualified path to represent a + * recurring_audience_list resource. + * + * @param string $property + * @param string $recurringAudienceList + * + * @return string The formatted recurring_audience_list resource. + * + * @experimental + */ + public static function recurringAudienceListName($property, $recurringAudienceList) + { + return self::getRecurringAudienceListNameTemplate()->render(['property' => $property, 'recurring_audience_list' => $recurringAudienceList]); + } + /** + * Formats a string containing the fully-qualified path to represent a report_task * resource. * * @param string $property + * @param string $reportTask * - * @return string The formatted metadata resource. + * @return string The formatted report_task resource. * * @experimental */ - public static function metadataName($property) + public static function reportTaskName($property, $reportTask) { - return self::getMetadataNameTemplate()->render(['property' => $property]); + return self::getReportTaskNameTemplate()->render(['property' => $property, 'report_task' => $reportTask]); } /** * Parses a formatted name string and returns an associative array of the components in the name. * The following name formats are supported: * Template: Pattern - * - metadata: properties/{property}/metadata + * - audienceList: properties/{property}/audienceLists/{audience_list} + * - property: properties/{property} + * - recurringAudienceList: properties/{property}/recurringAudienceLists/{recurring_audience_list} + * - reportTask: properties/{property}/reportTasks/{report_task} * * 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 @@ -173,15 +282,43 @@ public static function parseName($formattedName, $template = null) } throw new ValidationException("Input did not match any known format. Input: {$formattedName}"); } + /** + * Return an OperationsClient object with the same endpoint as $this. + * + * @return OperationsClient + * + * @experimental + */ + public function getOperationsClient() + { + return $this->operationsClient; + } + /** + * Resume an existing long running operation that was previously started by a long + * running API method. If $methodName is not provided, or does not match a long + * running API method, then the operation can still be resumed, but the + * OperationResponse object will not deserialize the final response. + * + * @param string $operationName The name of the long running operation + * @param string $methodName The name of the method used to start the operation + * + * @return OperationResponse + * + * @experimental + */ + public function resumeOperation($operationName, $methodName = null) + { + $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : []; + $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); + $operation->reload(); + return $operation; + } /** * Constructor. * * @param array $options { * Optional. Options for configuring the service API wrapper. * - * @type string $serviceAddress - * **Deprecated**. This option will be removed in a future major release. Please - * utilize the `$apiEndpoint` option instead. * @type string $apiEndpoint * The address of the API remote host. May optionally include the port, formatted * as ":". Default 'analyticsdata.googleapis.com:443'. @@ -211,7 +348,7 @@ public static function parseName($formattedName, $template = null) * *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 - * $serviceAddress setting, will be ignored. + * $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 @@ -236,285 +373,793 @@ public function __construct(array $options = []) { $clientOptions = $this->buildClientOptions($options); $this->setClientOptions($clientOptions); + $this->operationsClient = $this->createOperationsClient($clientOptions); } /** - * Returns multiple pivot reports in a batch. All reports must be for the same - * Entity. + * Creates an audience list for later retrieval. This method quickly returns + * the audience list's resource name and initiates a long running asynchronous + * request to form an audience list. To list the users in an audience list, + * first create the audience list through this method and then send the + * audience resource name to the `QueryAudienceList` method. + * + * See [Creating an Audience + * List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Lists with examples. + * + * An audience list is a snapshot of the users currently in the audience at + * the time of audience list creation. Creating audience lists for one + * audience on different days will return different results as users enter and + * exit the audience. + * + * Audiences in Google Analytics 4 allow you to segment your users in the ways + * that are important to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. Audience lists contain + * the users in each audience. + * + * This method is available at beta stability at + * [audienceExports.create](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/create). + * To give your feedback on this API, complete the [Google Analytics Audience + * Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. * * Sample code: * ``` * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); * try { - * $response = $alphaAnalyticsDataClient->batchRunPivotReports(); + * $formattedParent = $alphaAnalyticsDataClient->propertyName('[PROPERTY]'); + * $audienceList = new AudienceList(); + * $operationResponse = $alphaAnalyticsDataClient->createAudienceList($formattedParent, $audienceList); + * $operationResponse->pollUntilComplete(); + * if ($operationResponse->operationSucceeded()) { + * $result = $operationResponse->getResult(); + * // doSomethingWith($result) + * } else { + * $error = $operationResponse->getError(); + * // handleError($error) + * } + * // Alternatively: + * // start the operation, keep the operation name, and resume later + * $operationResponse = $alphaAnalyticsDataClient->createAudienceList($formattedParent, $audienceList); + * $operationName = $operationResponse->getName(); + * // ... do other work + * $newOperationResponse = $alphaAnalyticsDataClient->resumeOperation($operationName, 'createAudienceList'); + * while (!$newOperationResponse->isDone()) { + * // ... do other work + * $newOperationResponse->reload(); + * } + * if ($newOperationResponse->operationSucceeded()) { + * $result = $newOperationResponse->getResult(); + * // doSomethingWith($result) + * } else { + * $error = $newOperationResponse->getError(); + * // handleError($error) + * } * } finally { * $alphaAnalyticsDataClient->close(); * } * ``` * - * @param array $optionalArgs { + * @param string $parent Required. The parent resource where this audience list will be created. + * Format: `properties/{property}` + * @param AudienceList $audienceList Required. The audience list to create. + * @param array $optionalArgs { * Optional. * - * @type Entity $entity - * A property whose events are tracked. This entity must be specified for the - * batch. The entity within RunPivotReportRequest may either be unspecified or - * consistent with this entity. - * @type RunPivotReportRequest[] $requests - * Individual requests. Each request has a separate pivot report response. - * Each batch request is allowed up to 5 requests. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Data\V1alpha\BatchRunPivotReportsResponse + * @return \Google\ApiCore\OperationResponse * * @throws ApiException if the remote call fails * * @experimental */ - public function batchRunPivotReports(array $optionalArgs = []) + public function createAudienceList($parent, $audienceList, array $optionalArgs = []) { - $request = new BatchRunPivotReportsRequest(); - if (isset($optionalArgs['entity'])) { - $request->setEntity($optionalArgs['entity']); - } - if (isset($optionalArgs['requests'])) { - $request->setRequests($optionalArgs['requests']); - } - return $this->startCall('BatchRunPivotReports', BatchRunPivotReportsResponse::class, $optionalArgs, $request)->wait(); + $request = new CreateAudienceListRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $request->setAudienceList($audienceList); + $requestParamHeaders['parent'] = $parent; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startOperationsCall('CreateAudienceList', $optionalArgs, $request, $this->getOperationsClient())->wait(); } /** - * Returns multiple reports in a batch. All reports must be for the same - * Entity. + * Creates a recurring audience list. Recurring audience lists produces new + * audience lists each day. Audience lists are users in an audience at the + * time of the list's creation. + * + * A recurring audience list ensures that you have audience list based on the + * most recent data available for use each day. If you manually create + * audience list, you don't know when an audience list based on an additional + * day's data is available. This recurring audience list automates the + * creation of an audience list when an additional day's data is available. + * You will consume fewer quota tokens by using recurring audience list versus + * manually creating audience list at various times of day trying to guess + * when an additional day's data is ready. + * + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. * * Sample code: * ``` * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); * try { - * $response = $alphaAnalyticsDataClient->batchRunReports(); + * $formattedParent = $alphaAnalyticsDataClient->propertyName('[PROPERTY]'); + * $recurringAudienceList = new RecurringAudienceList(); + * $response = $alphaAnalyticsDataClient->createRecurringAudienceList($formattedParent, $recurringAudienceList); * } finally { * $alphaAnalyticsDataClient->close(); * } * ``` * - * @param array $optionalArgs { + * @param string $parent Required. The parent resource where this recurring audience list will be + * created. Format: `properties/{property}` + * @param RecurringAudienceList $recurringAudienceList Required. The recurring audience list to create. + * @param array $optionalArgs { * Optional. * - * @type Entity $entity - * A property whose events are tracked. This entity must be specified for the - * batch. The entity within RunReportRequest may either be unspecified or - * consistent with this entity. - * @type RunReportRequest[] $requests - * Individual requests. Each request has a separate report response. Each - * batch request is allowed up to 5 requests. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Data\V1alpha\BatchRunReportsResponse + * @return \Google\Analytics\Data\V1alpha\RecurringAudienceList * * @throws ApiException if the remote call fails * * @experimental */ - public function batchRunReports(array $optionalArgs = []) + public function createRecurringAudienceList($parent, $recurringAudienceList, array $optionalArgs = []) { - $request = new BatchRunReportsRequest(); - if (isset($optionalArgs['entity'])) { - $request->setEntity($optionalArgs['entity']); - } - if (isset($optionalArgs['requests'])) { - $request->setRequests($optionalArgs['requests']); - } - return $this->startCall('BatchRunReports', BatchRunReportsResponse::class, $optionalArgs, $request)->wait(); + $request = new CreateRecurringAudienceListRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $request->setRecurringAudienceList($recurringAudienceList); + $requestParamHeaders['parent'] = $parent; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('CreateRecurringAudienceList', RecurringAudienceList::class, $optionalArgs, $request)->wait(); } /** - * Returns metadata for dimensions and metrics available in reporting methods. - * Used to explore the dimensions and metrics. In this method, a Google - * Analytics GA4 Property Identifier is specified in the request, and - * the metadata response includes Custom dimensions and metrics as well as - * Universal metadata. + * Initiates the creation of a report task. This method quickly + * returns a report task and initiates a long running + * asynchronous request to form a customized report of your Google Analytics + * event data. + * + * Sample code: + * ``` + * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); + * try { + * $formattedParent = $alphaAnalyticsDataClient->propertyName('[PROPERTY]'); + * $reportTask = new ReportTask(); + * $operationResponse = $alphaAnalyticsDataClient->createReportTask($formattedParent, $reportTask); + * $operationResponse->pollUntilComplete(); + * if ($operationResponse->operationSucceeded()) { + * $result = $operationResponse->getResult(); + * // doSomethingWith($result) + * } else { + * $error = $operationResponse->getError(); + * // handleError($error) + * } + * // Alternatively: + * // start the operation, keep the operation name, and resume later + * $operationResponse = $alphaAnalyticsDataClient->createReportTask($formattedParent, $reportTask); + * $operationName = $operationResponse->getName(); + * // ... do other work + * $newOperationResponse = $alphaAnalyticsDataClient->resumeOperation($operationName, 'createReportTask'); + * while (!$newOperationResponse->isDone()) { + * // ... do other work + * $newOperationResponse->reload(); + * } + * if ($newOperationResponse->operationSucceeded()) { + * $result = $newOperationResponse->getResult(); + * // doSomethingWith($result) + * } else { + * $error = $newOperationResponse->getError(); + * // handleError($error) + * } + * } finally { + * $alphaAnalyticsDataClient->close(); + * } + * ``` + * + * @param string $parent Required. The parent resource where this report task will be created. + * Format: `properties/{propertyId}` + * @param ReportTask $reportTask Required. The report task configuration to create. + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } * - * For example if a custom metric with parameter name `levels_unlocked` is - * registered to a property, the Metadata response will contain - * `customEvent:levels_unlocked`. Universal metadata are dimensions and - * metrics applicable to any property such as `country` and `totalUsers`. + * @return \Google\ApiCore\OperationResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function createReportTask($parent, $reportTask, array $optionalArgs = []) + { + $request = new CreateReportTaskRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $request->setReportTask($reportTask); + $requestParamHeaders['parent'] = $parent; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startOperationsCall('CreateReportTask', $optionalArgs, $request, $this->getOperationsClient())->wait(); + } + /** + * Gets configuration metadata about a specific audience list. This method + * can be used to understand an audience list after it has been created. + * + * See [Creating an Audience + * List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Lists with examples. + * + * This method is available at beta stability at + * [audienceExports.get](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/get). + * To give your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. * * Sample code: * ``` * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); * try { - * $formattedName = $alphaAnalyticsDataClient->metadataName('[PROPERTY]'); - * $response = $alphaAnalyticsDataClient->getMetadata($formattedName); + * $formattedName = $alphaAnalyticsDataClient->audienceListName('[PROPERTY]', '[AUDIENCE_LIST]'); + * $response = $alphaAnalyticsDataClient->getAudienceList($formattedName); * } finally { * $alphaAnalyticsDataClient->close(); * } * ``` * - * @param string $name Required. The resource name of the metadata to retrieve. This name field is - * specified in the URL path and not URL parameters. Property is a numeric - * Google Analytics GA4 Property identifier. To learn more, see [where to find - * your Property - * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). + * @param string $name Required. The audience list resource name. + * Format: `properties/{property}/audienceLists/{audience_list}` + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Data\V1alpha\AudienceList * - * Example: properties/1234/metadata + * @throws ApiException if the remote call fails * - * Set the Property ID to 0 for dimensions and metrics common to all - * properties. In this special mode, this method will not return custom - * dimensions and metrics. + * @experimental + */ + public function getAudienceList($name, array $optionalArgs = []) + { + $request = new GetAudienceListRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetAudienceList', AudienceList::class, $optionalArgs, $request)->wait(); + } + /** + * Gets configuration metadata about a specific recurring audience list. This + * method can be used to understand a recurring audience list's state after it + * has been created. For example, a recurring audience list resource will + * generate audience list instances for each day, and this method can be used + * to get the resource name of the most recent audience list instance. + * + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * Sample code: + * ``` + * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); + * try { + * $formattedName = $alphaAnalyticsDataClient->recurringAudienceListName('[PROPERTY]', '[RECURRING_AUDIENCE_LIST]'); + * $response = $alphaAnalyticsDataClient->getRecurringAudienceList($formattedName); + * } finally { + * $alphaAnalyticsDataClient->close(); + * } + * ``` + * + * @param string $name Required. The recurring audience list resource name. + * Format: + * `properties/{property}/recurringAudienceLists/{recurring_audience_list}` * @param array $optionalArgs { * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Data\V1alpha\Metadata + * @return \Google\Analytics\Data\V1alpha\RecurringAudienceList * * @throws ApiException if the remote call fails * * @experimental */ - public function getMetadata($name, array $optionalArgs = []) + public function getRecurringAudienceList($name, array $optionalArgs = []) { - $request = new GetMetadataRequest(); + $request = new GetRecurringAudienceListRequest(); $requestParamHeaders = []; $request->setName($name); $requestParamHeaders['name'] = $name; $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetMetadata', Metadata::class, $optionalArgs, $request)->wait(); + return $this->startCall('GetRecurringAudienceList', RecurringAudienceList::class, $optionalArgs, $request)->wait(); } /** - * Returns a customized pivot report of your Google Analytics event data. - * Pivot reports are more advanced and expressive formats than regular - * reports. In a pivot report, dimensions are only visible if they are - * included in a pivot. Multiple pivots can be specified to further dissect - * your data. + * Gets report metadata about a specific report task. After creating a report + * task, use this method to check its processing state or inspect its + * report definition. * * Sample code: * ``` * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); * try { - * $response = $alphaAnalyticsDataClient->runPivotReport(); + * $formattedName = $alphaAnalyticsDataClient->reportTaskName('[PROPERTY]', '[REPORT_TASK]'); + * $response = $alphaAnalyticsDataClient->getReportTask($formattedName); * } finally { * $alphaAnalyticsDataClient->close(); * } * ``` * - * @param array $optionalArgs { + * @param string $name Required. The report task resource name. + * Format: `properties/{property}/reportTasks/{report_task}` + * @param array $optionalArgs { * Optional. * - * @type Entity $entity - * A property whose events are tracked. Within a batch request, this entity - * should either be unspecified or consistent with the batch-level entity. - * @type Dimension[] $dimensions - * The dimensions requested. All defined dimensions must be used by one of the - * following: dimension_expression, dimension_filter, pivots, order_bys. - * @type Metric[] $metrics - * The metrics requested, at least one metric needs to be specified. All - * defined metrics must be used by one of the following: metric_expression, - * metric_filter, order_bys. - * @type FilterExpression $dimensionFilter - * The filter clause of dimensions. Dimensions must be requested to be used in - * this filter. Metrics cannot be used in this filter. - * @type FilterExpression $metricFilter - * The filter clause of metrics. Applied at post aggregation phase, similar to - * SQL having-clause. Metrics must be requested to be used in this filter. - * Dimensions cannot be used in this filter. - * @type Pivot[] $pivots - * Describes the visual format of the report's dimensions in columns or rows. - * The union of the fieldNames (dimension names) in all pivots must be a - * subset of dimension names defined in Dimensions. No two pivots can share a - * dimension. A dimension is only visible if it appears in a pivot. - * @type DateRange[] $dateRanges - * The date range to retrieve event data for the report. If multiple date - * ranges are specified, event data from each date range is used in the - * report. A special dimension with field name "dateRange" can be included in - * a Pivot's field names; if included, the report compares between date - * ranges. In a cohort request, this `dateRanges` must be unspecified. - * @type string $currencyCode - * A currency code in ISO4217 format, such as "AED", "USD", "JPY". - * If the field is empty, the report uses the entity's default currency. - * @type CohortSpec $cohortSpec - * Cohort group associated with this request. If there is a cohort group - * in the request the 'cohort' dimension must be present. - * @type bool $keepEmptyRows - * If false or unspecified, each row with all metrics equal to 0 will not be - * returned. If true, these rows will be returned if they are not separately - * removed by a filter. - * @type bool $returnPropertyQuota - * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [PropertyQuota](#PropertyQuota). * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Data\V1alpha\RunPivotReportResponse + * @return \Google\Analytics\Data\V1alpha\ReportTask * * @throws ApiException if the remote call fails * * @experimental */ - public function runPivotReport(array $optionalArgs = []) + public function getReportTask($name, array $optionalArgs = []) { - $request = new RunPivotReportRequest(); - if (isset($optionalArgs['entity'])) { - $request->setEntity($optionalArgs['entity']); - } - if (isset($optionalArgs['dimensions'])) { - $request->setDimensions($optionalArgs['dimensions']); + $request = new GetReportTaskRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetReportTask', ReportTask::class, $optionalArgs, $request)->wait(); + } + /** + * Lists all audience lists for a property. This method can be used for you to + * find and reuse existing audience lists rather than creating unnecessary new + * audience lists. The same audience can have multiple audience lists that + * represent the list of users that were in an audience on different days. + * + * See [Creating an Audience + * List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Lists with examples. + * + * This method is available at beta stability at + * [audienceExports.list](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/list). + * To give your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * Sample code: + * ``` + * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); + * try { + * $formattedParent = $alphaAnalyticsDataClient->propertyName('[PROPERTY]'); + * // Iterate over pages of elements + * $pagedResponse = $alphaAnalyticsDataClient->listAudienceLists($formattedParent); + * foreach ($pagedResponse->iteratePages() as $page) { + * foreach ($page as $element) { + * // doSomethingWith($element); + * } + * } + * // Alternatively: + * // Iterate through all elements + * $pagedResponse = $alphaAnalyticsDataClient->listAudienceLists($formattedParent); + * foreach ($pagedResponse->iterateAllElements() as $element) { + * // doSomethingWith($element); + * } + * } finally { + * $alphaAnalyticsDataClient->close(); + * } + * ``` + * + * @param string $parent Required. All audience lists for this property will be listed in the + * response. Format: `properties/{property}` + * @param array $optionalArgs { + * Optional. + * + * @type int $pageSize + * The maximum number of resources contained in the underlying API + * response. The API may return fewer values in a page, even if + * there are additional values to be retrieved. + * @type string $pageToken + * A page token is used to specify a page of values to be returned. + * If no page token is specified (the default), the first page + * of values will be returned. Any page token used here must have + * been generated by a previous call to the API. + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\ApiCore\PagedListResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function listAudienceLists($parent, array $optionalArgs = []) + { + $request = new ListAudienceListsRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $requestParamHeaders['parent'] = $parent; + if (isset($optionalArgs['pageSize'])) { + $request->setPageSize($optionalArgs['pageSize']); } - if (isset($optionalArgs['metrics'])) { - $request->setMetrics($optionalArgs['metrics']); + if (isset($optionalArgs['pageToken'])) { + $request->setPageToken($optionalArgs['pageToken']); } - if (isset($optionalArgs['dimensionFilter'])) { - $request->setDimensionFilter($optionalArgs['dimensionFilter']); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->getPagedListResponse('ListAudienceLists', $optionalArgs, ListAudienceListsResponse::class, $request); + } + /** + * Lists all recurring audience lists for a property. This method can be used + * for you to find and reuse existing recurring audience lists rather than + * creating unnecessary new recurring audience lists. The same audience can + * have multiple recurring audience lists that represent different dimension + * combinations; for example, just the dimension `deviceId` or both the + * dimensions `deviceId` and `userId`. + * + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * Sample code: + * ``` + * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); + * try { + * $formattedParent = $alphaAnalyticsDataClient->propertyName('[PROPERTY]'); + * // Iterate over pages of elements + * $pagedResponse = $alphaAnalyticsDataClient->listRecurringAudienceLists($formattedParent); + * foreach ($pagedResponse->iteratePages() as $page) { + * foreach ($page as $element) { + * // doSomethingWith($element); + * } + * } + * // Alternatively: + * // Iterate through all elements + * $pagedResponse = $alphaAnalyticsDataClient->listRecurringAudienceLists($formattedParent); + * foreach ($pagedResponse->iterateAllElements() as $element) { + * // doSomethingWith($element); + * } + * } finally { + * $alphaAnalyticsDataClient->close(); + * } + * ``` + * + * @param string $parent Required. All recurring audience lists for this property will be listed in + * the response. Format: `properties/{property}` + * @param array $optionalArgs { + * Optional. + * + * @type int $pageSize + * The maximum number of resources contained in the underlying API + * response. The API may return fewer values in a page, even if + * there are additional values to be retrieved. + * @type string $pageToken + * A page token is used to specify a page of values to be returned. + * If no page token is specified (the default), the first page + * of values will be returned. Any page token used here must have + * been generated by a previous call to the API. + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\ApiCore\PagedListResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function listRecurringAudienceLists($parent, array $optionalArgs = []) + { + $request = new ListRecurringAudienceListsRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $requestParamHeaders['parent'] = $parent; + if (isset($optionalArgs['pageSize'])) { + $request->setPageSize($optionalArgs['pageSize']); } - if (isset($optionalArgs['metricFilter'])) { - $request->setMetricFilter($optionalArgs['metricFilter']); + if (isset($optionalArgs['pageToken'])) { + $request->setPageToken($optionalArgs['pageToken']); } - if (isset($optionalArgs['pivots'])) { - $request->setPivots($optionalArgs['pivots']); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->getPagedListResponse('ListRecurringAudienceLists', $optionalArgs, ListRecurringAudienceListsResponse::class, $request); + } + /** + * Lists all report tasks for a property. + * + * Sample code: + * ``` + * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); + * try { + * $formattedParent = $alphaAnalyticsDataClient->propertyName('[PROPERTY]'); + * // Iterate over pages of elements + * $pagedResponse = $alphaAnalyticsDataClient->listReportTasks($formattedParent); + * foreach ($pagedResponse->iteratePages() as $page) { + * foreach ($page as $element) { + * // doSomethingWith($element); + * } + * } + * // Alternatively: + * // Iterate through all elements + * $pagedResponse = $alphaAnalyticsDataClient->listReportTasks($formattedParent); + * foreach ($pagedResponse->iterateAllElements() as $element) { + * // doSomethingWith($element); + * } + * } finally { + * $alphaAnalyticsDataClient->close(); + * } + * ``` + * + * @param string $parent Required. All report tasks for this property will be listed in the + * response. Format: `properties/{property}` + * @param array $optionalArgs { + * Optional. + * + * @type int $pageSize + * The maximum number of resources contained in the underlying API + * response. The API may return fewer values in a page, even if + * there are additional values to be retrieved. + * @type string $pageToken + * A page token is used to specify a page of values to be returned. + * If no page token is specified (the default), the first page + * of values will be returned. Any page token used here must have + * been generated by a previous call to the API. + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\ApiCore\PagedListResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function listReportTasks($parent, array $optionalArgs = []) + { + $request = new ListReportTasksRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $requestParamHeaders['parent'] = $parent; + if (isset($optionalArgs['pageSize'])) { + $request->setPageSize($optionalArgs['pageSize']); } - if (isset($optionalArgs['dateRanges'])) { - $request->setDateRanges($optionalArgs['dateRanges']); + if (isset($optionalArgs['pageToken'])) { + $request->setPageToken($optionalArgs['pageToken']); } - if (isset($optionalArgs['currencyCode'])) { - $request->setCurrencyCode($optionalArgs['currencyCode']); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->getPagedListResponse('ListReportTasks', $optionalArgs, ListReportTasksResponse::class, $request); + } + /** + * Retrieves an audience list of users. After creating an audience, the users + * are not immediately available for listing. First, a request to + * `CreateAudienceList` is necessary to create an audience list of users, and + * then second, this method is used to retrieve the users in the audience + * list. + * + * See [Creating an Audience + * List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Lists with examples. + * + * Audiences in Google Analytics 4 allow you to segment your users in the ways + * that are important to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. + * + * This method is available at beta stability at + * [audienceExports.query](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/query). + * To give your feedback on this API, complete the [Google Analytics Audience + * Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * Sample code: + * ``` + * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); + * try { + * $name = 'name'; + * $response = $alphaAnalyticsDataClient->queryAudienceList($name); + * } finally { + * $alphaAnalyticsDataClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the audience list to retrieve users from. + * Format: `properties/{property}/audienceLists/{audience_list}` + * @param array $optionalArgs { + * Optional. + * + * @type int $offset + * Optional. The row count of the start row. The first row is counted as row + * 0. + * + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of rows. + * + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type int $limit + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Data\V1alpha\QueryAudienceListResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function queryAudienceList($name, array $optionalArgs = []) + { + $request = new QueryAudienceListRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + if (isset($optionalArgs['offset'])) { + $request->setOffset($optionalArgs['offset']); } - if (isset($optionalArgs['cohortSpec'])) { - $request->setCohortSpec($optionalArgs['cohortSpec']); + if (isset($optionalArgs['limit'])) { + $request->setLimit($optionalArgs['limit']); } - if (isset($optionalArgs['keepEmptyRows'])) { - $request->setKeepEmptyRows($optionalArgs['keepEmptyRows']); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('QueryAudienceList', QueryAudienceListResponse::class, $optionalArgs, $request)->wait(); + } + /** + * Retrieves a report task's content. After requesting the `CreateReportTask`, + * you are able to retrieve the report content once the report is + * ACTIVE. This method will return an error if the report task's state is not + * `ACTIVE`. A query response will return the tabular row & column values of + * the report. + * + * Sample code: + * ``` + * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); + * try { + * $name = 'name'; + * $response = $alphaAnalyticsDataClient->queryReportTask($name); + * } finally { + * $alphaAnalyticsDataClient->close(); + * } + * ``` + * + * @param string $name Required. The report source name. + * Format: `properties/{property}/reportTasks/{report}` + * @param array $optionalArgs { + * Optional. + * + * @type int $offset + * Optional. The row count of the start row in the report. The first row is + * counted as row 0. + * + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of rows. + * + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type int $limit + * Optional. The number of rows to return from the report. If unspecified, + * 10,000 rows are returned. The API returns a maximum of 250,000 rows per + * request, no matter how many you ask for. `limit` must be positive. + * + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. The number of rows + * available to a QueryReportTaskRequest is further limited by the limit of + * the associated ReportTask. A query can retrieve at most ReportTask.limit + * rows. For example, if the ReportTask has a limit of 1,000, then a + * QueryReportTask request with offset=900 and limit=500 will return at most + * 100 rows. + * + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Data\V1alpha\QueryReportTaskResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function queryReportTask($name, array $optionalArgs = []) + { + $request = new QueryReportTaskRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + if (isset($optionalArgs['offset'])) { + $request->setOffset($optionalArgs['offset']); } - if (isset($optionalArgs['returnPropertyQuota'])) { - $request->setReturnPropertyQuota($optionalArgs['returnPropertyQuota']); + if (isset($optionalArgs['limit'])) { + $request->setLimit($optionalArgs['limit']); } - return $this->startCall('RunPivotReport', RunPivotReportResponse::class, $optionalArgs, $request)->wait(); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('QueryReportTask', QueryReportTaskResponse::class, $optionalArgs, $request)->wait(); } /** - * The Google Analytics Realtime API returns a customized report of realtime - * event data for your property. These reports show events and usage from the - * last 30 minutes. + * Returns a customized funnel report of your Google Analytics event data. The + * data returned from the API is as a table with columns for the requested + * dimensions and metrics. + * + * Funnel exploration lets you visualize the steps your users take to complete + * a task and quickly see how well they are succeeding or failing at each + * step. For example, how do prospects become shoppers and then become buyers? + * How do one time buyers become repeat buyers? With this information, you can + * improve inefficient or abandoned customer journeys. To learn more, see [GA4 + * Funnel Explorations](https://support.google.com/analytics/answer/9327974). + * + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the [Google Analytics Data API Funnel + * Reporting + * Feedback](https://docs.google.com/forms/d/e/1FAIpQLSdwOlQDJAUoBiIgUZZ3S_Lwi8gr7Bb0k1jhvc-DEg7Rol3UjA/viewform). * * Sample code: * ``` * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); * try { - * $response = $alphaAnalyticsDataClient->runRealtimeReport(); + * $response = $alphaAnalyticsDataClient->runFunnelReport(); * } finally { * $alphaAnalyticsDataClient->close(); * } @@ -524,61 +1169,104 @@ public function runPivotReport(array $optionalArgs = []) * Optional. * * @type string $property - * A Google Analytics GA4 property identifier whose events are tracked. - * Specified in the URL path and not the body. To learn more, see [where to - * find your Property + * Optional. A Google Analytics GA4 property identifier whose events are + * tracked. Specified in the URL path and not the body. To learn more, see + * [where to find your Property * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). + * Within a batch request, this property should either be unspecified or + * consistent with the batch-level property. * * Example: properties/1234 - * @type Dimension[] $dimensions - * The dimensions requested and displayed. - * @type Metric[] $metrics - * The metrics requested and displayed. + * @type DateRange[] $dateRanges + * Optional. Date ranges of data 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 event data for the overlapping days is + * included in the response rows for both date ranges. + * @type Funnel $funnel + * Optional. The configuration of this request's funnel. This funnel + * configuration is required. + * @type FunnelBreakdown $funnelBreakdown + * Optional. If specified, this breakdown adds a dimension to the funnel table + * sub report response. This breakdown dimension expands each funnel step to + * the unique values of the breakdown dimension. For example, a breakdown by + * the `deviceCategory` dimension will create rows for `mobile`, `tablet`, + * `desktop`, and the total. + * @type FunnelNextAction $funnelNextAction + * Optional. If specified, next action adds a dimension to the funnel + * visualization sub report response. This next action dimension expands each + * funnel step to the unique values of the next action. For example a next + * action of the `eventName` dimension will create rows for several events + * (for example `session_start` & `click`) and the total. + * + * Next action only supports `eventName` and most Page / Screen dimensions + * like `pageTitle` and `pagePath`. + * @type int $funnelVisualizationType + * Optional. The funnel visualization type controls the dimensions present in + * the funnel visualization sub report response. If not specified, + * `STANDARD_FUNNEL` is used. + * For allowed values, use constants defined on {@see \Google\Analytics\Data\V1alpha\RunFunnelReportRequest\FunnelVisualizationType} + * @type Segment[] $segments + * Optional. The configurations of segments. Segments are subsets of a + * property's data. In a funnel report with segments, the funnel is evaluated + * in each segment. + * + * Each segment specified in this request + * produces a separate row in the response; in the response, each segment + * identified by its name. + * + * The segments parameter is optional. Requests are limited to 4 segments. * @type int $limit - * The number of rows to return. If unspecified, 10 rows are returned. If - * -1, all rows are returned. + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. * @type FilterExpression $dimensionFilter - * The filter clause of dimensions. Dimensions must be requested to be used in - * this filter. Metrics cannot be used in this filter. - * @type FilterExpression $metricFilter - * The filter clause of metrics. Applied at post aggregation phase, similar to - * SQL having-clause. Metrics must be requested to be used in this filter. - * Dimensions cannot be used in this filter. - * @type int[] $metricAggregations - * Aggregation of metrics. Aggregated metric values will be shown in rows - * where the dimension_values are set to "RESERVED_(MetricAggregation)". - * For allowed values, use constants defined on {@see \Google\Analytics\Data\V1alpha\MetricAggregation} - * @type OrderBy[] $orderBys - * Specifies how rows are ordered in the response. + * Optional. Dimension filters allow you to ask for only specific dimension + * values in the report. To learn more, see [Creating a Report: Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. * @type bool $returnPropertyQuota - * Toggles whether to return the current state of this Analytics Property's - * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota). + * Optional. Toggles whether to return the current state of this Analytics + * Property's quota. Quota is returned in [PropertyQuota](#PropertyQuota). * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Data\V1alpha\RunRealtimeReportResponse + * @return \Google\Analytics\Data\V1alpha\RunFunnelReportResponse * * @throws ApiException if the remote call fails * * @experimental */ - public function runRealtimeReport(array $optionalArgs = []) + public function runFunnelReport(array $optionalArgs = []) { - $request = new RunRealtimeReportRequest(); + $request = new RunFunnelReportRequest(); $requestParamHeaders = []; if (isset($optionalArgs['property'])) { $request->setProperty($optionalArgs['property']); $requestParamHeaders['property'] = $optionalArgs['property']; } - if (isset($optionalArgs['dimensions'])) { - $request->setDimensions($optionalArgs['dimensions']); + if (isset($optionalArgs['dateRanges'])) { + $request->setDateRanges($optionalArgs['dateRanges']); + } + if (isset($optionalArgs['funnel'])) { + $request->setFunnel($optionalArgs['funnel']); + } + if (isset($optionalArgs['funnelBreakdown'])) { + $request->setFunnelBreakdown($optionalArgs['funnelBreakdown']); + } + if (isset($optionalArgs['funnelNextAction'])) { + $request->setFunnelNextAction($optionalArgs['funnelNextAction']); } - if (isset($optionalArgs['metrics'])) { - $request->setMetrics($optionalArgs['metrics']); + if (isset($optionalArgs['funnelVisualizationType'])) { + $request->setFunnelVisualizationType($optionalArgs['funnelVisualizationType']); + } + if (isset($optionalArgs['segments'])) { + $request->setSegments($optionalArgs['segments']); } if (isset($optionalArgs['limit'])) { $request->setLimit($optionalArgs['limit']); @@ -586,152 +1274,97 @@ public function runRealtimeReport(array $optionalArgs = []) if (isset($optionalArgs['dimensionFilter'])) { $request->setDimensionFilter($optionalArgs['dimensionFilter']); } - if (isset($optionalArgs['metricFilter'])) { - $request->setMetricFilter($optionalArgs['metricFilter']); - } - if (isset($optionalArgs['metricAggregations'])) { - $request->setMetricAggregations($optionalArgs['metricAggregations']); - } - if (isset($optionalArgs['orderBys'])) { - $request->setOrderBys($optionalArgs['orderBys']); - } if (isset($optionalArgs['returnPropertyQuota'])) { $request->setReturnPropertyQuota($optionalArgs['returnPropertyQuota']); } $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('RunRealtimeReport', RunRealtimeReportResponse::class, $optionalArgs, $request)->wait(); + return $this->startCall('RunFunnelReport', RunFunnelReportResponse::class, $optionalArgs, $request)->wait(); } /** - * Returns a customized report of your Google Analytics event data. Reports - * contain statistics derived from data collected by the Google Analytics - * tracking code. The data returned from the API is as a table with columns - * for the requested dimensions and metrics. Metrics are individual - * measurements of user activity on your property, such as active users or - * event count. Dimensions break down metrics across some common criteria, - * such as country or event name. + * Exports an audience list of users to a Google Sheet. After creating an + * audience, the users are not immediately available for listing. First, a + * request to `CreateAudienceList` is necessary to create an audience list of + * users, and then second, this method is used to export those users in the + * audience list to a Google Sheet. + * + * See [Creating an Audience + * List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Lists with examples. + * + * Audiences in Google Analytics 4 allow you to segment your users in the ways + * that are important to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. + * + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. * * Sample code: * ``` * $alphaAnalyticsDataClient = new AlphaAnalyticsDataClient(); * try { - * $response = $alphaAnalyticsDataClient->runReport(); + * $formattedName = $alphaAnalyticsDataClient->audienceListName('[PROPERTY]', '[AUDIENCE_LIST]'); + * $response = $alphaAnalyticsDataClient->sheetExportAudienceList($formattedName); * } finally { * $alphaAnalyticsDataClient->close(); * } * ``` * - * @param array $optionalArgs { + * @param string $name Required. The name of the audience list to retrieve users from. + * Format: `properties/{property}/audienceLists/{audience_list}` + * @param array $optionalArgs { * Optional. * - * @type Entity $entity - * A property whose events are tracked. Within a batch request, this entity - * should either be unspecified or consistent with the batch-level entity. - * @type Dimension[] $dimensions - * The dimensions requested and displayed. - * @type Metric[] $metrics - * The metrics requested and displayed. - * @type DateRange[] $dateRanges - * Date ranges of data 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 event data for the overlapping days is included in the - * response rows for both date ranges. In a cohort request, this `dateRanges` - * must be unspecified. * @type int $offset - * The row count of the start row. The first row is counted as row 0. + * Optional. The row count of the start row. The first row is counted as row + * 0. + * + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of rows. * * To learn more about this pagination parameter, see * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). * @type int $limit - * The number of rows to return. If unspecified, 10 rows are returned. If - * -1, all rows are returned. + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. * * To learn more about this pagination parameter, see * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * @type int[] $metricAggregations - * Aggregation of metrics. Aggregated metric values will be shown in rows - * where the dimension_values are set to "RESERVED_(MetricAggregation)". - * For allowed values, use constants defined on {@see \Google\Analytics\Data\V1alpha\MetricAggregation} - * @type FilterExpression $dimensionFilter - * The filter clause of dimensions. Dimensions must be requested to be used in - * this filter. Metrics cannot be used in this filter. - * @type FilterExpression $metricFilter - * The filter clause of metrics. Applied at post aggregation phase, similar to - * SQL having-clause. Metrics must be requested to be used in this filter. - * Dimensions cannot be used in this filter. - * @type OrderBy[] $orderBys - * Specifies how rows are ordered in the response. - * @type string $currencyCode - * A currency code in ISO4217 format, such as "AED", "USD", "JPY". - * If the field is empty, the report uses the entity's default currency. - * @type CohortSpec $cohortSpec - * Cohort group associated with this request. If there is a cohort group - * in the request the 'cohort' dimension must be present. - * @type bool $keepEmptyRows - * If false or unspecified, each row with all metrics equal to 0 will not be - * returned. If true, these rows will be returned if they are not separately - * removed by a filter. - * @type bool $returnPropertyQuota - * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [PropertyQuota](#PropertyQuota). * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * - * @return \Google\Analytics\Data\V1alpha\RunReportResponse + * @return \Google\Analytics\Data\V1alpha\SheetExportAudienceListResponse * * @throws ApiException if the remote call fails * * @experimental */ - public function runReport(array $optionalArgs = []) + public function sheetExportAudienceList($name, array $optionalArgs = []) { - $request = new RunReportRequest(); - if (isset($optionalArgs['entity'])) { - $request->setEntity($optionalArgs['entity']); - } - if (isset($optionalArgs['dimensions'])) { - $request->setDimensions($optionalArgs['dimensions']); - } - if (isset($optionalArgs['metrics'])) { - $request->setMetrics($optionalArgs['metrics']); - } - if (isset($optionalArgs['dateRanges'])) { - $request->setDateRanges($optionalArgs['dateRanges']); - } + $request = new SheetExportAudienceListRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; if (isset($optionalArgs['offset'])) { $request->setOffset($optionalArgs['offset']); } if (isset($optionalArgs['limit'])) { $request->setLimit($optionalArgs['limit']); } - if (isset($optionalArgs['metricAggregations'])) { - $request->setMetricAggregations($optionalArgs['metricAggregations']); - } - if (isset($optionalArgs['dimensionFilter'])) { - $request->setDimensionFilter($optionalArgs['dimensionFilter']); - } - if (isset($optionalArgs['metricFilter'])) { - $request->setMetricFilter($optionalArgs['metricFilter']); - } - if (isset($optionalArgs['orderBys'])) { - $request->setOrderBys($optionalArgs['orderBys']); - } - if (isset($optionalArgs['currencyCode'])) { - $request->setCurrencyCode($optionalArgs['currencyCode']); - } - if (isset($optionalArgs['cohortSpec'])) { - $request->setCohortSpec($optionalArgs['cohortSpec']); - } - if (isset($optionalArgs['keepEmptyRows'])) { - $request->setKeepEmptyRows($optionalArgs['keepEmptyRows']); - } - if (isset($optionalArgs['returnPropertyQuota'])) { - $request->setReturnPropertyQuota($optionalArgs['returnPropertyQuota']); - } - return $this->startCall('RunReport', RunReportResponse::class, $optionalArgs, $request)->wait(); + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('SheetExportAudienceList', SheetExportAudienceListResponse::class, $optionalArgs, $request)->wait(); } } diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/GetAudienceListRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/GetAudienceListRequest.php new file mode 100644 index 000000000..32cd9f9d5 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/GetAudienceListRequest.php @@ -0,0 +1,78 @@ +google.analytics.data.v1alpha.GetAudienceListRequest + */ +class GetAudienceListRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The audience list resource name. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $name = ''; + /** + * @param string $name Required. The audience list resource name. + * Format: `properties/{property}/audienceLists/{audience_list}` + * Please see {@see AlphaAnalyticsDataClient::audienceListName()} for help formatting this field. + * + * @return \Google\Analytics\Data\V1alpha\GetAudienceListRequest + * + * @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 audience list resource name. + * Format: `properties/{property}/audienceLists/{audience_list}` + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. The audience list resource name. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * 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 audience list resource name. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * 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/vendor/prefixed/google/analytics-data/src/V1alpha/GetRecurringAudienceListRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/GetRecurringAudienceListRequest.php new file mode 100644 index 000000000..6053fe7c8 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/GetRecurringAudienceListRequest.php @@ -0,0 +1,84 @@ +google.analytics.data.v1alpha.GetRecurringAudienceListRequest + */ +class GetRecurringAudienceListRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The recurring audience list resource name. + * Format: + * `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $name = ''; + /** + * @param string $name Required. The recurring audience list resource name. + * Format: + * `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + * Please see {@see AlphaAnalyticsDataClient::recurringAudienceListName()} for help formatting this field. + * + * @return \Google\Analytics\Data\V1alpha\GetRecurringAudienceListRequest + * + * @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 recurring audience list resource name. + * Format: + * `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. The recurring audience list resource name. + * Format: + * `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + * + * 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 recurring audience list resource name. + * Format: + * `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + * + * 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/vendor/prefixed/google/analytics-data/src/V1alpha/GetReportTaskRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/GetReportTaskRequest.php new file mode 100644 index 000000000..201f7b6ef --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/GetReportTaskRequest.php @@ -0,0 +1,78 @@ +google.analytics.data.v1alpha.GetReportTaskRequest + */ +class GetReportTaskRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The report task resource name. + * Format: `properties/{property}/reportTasks/{report_task}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $name = ''; + /** + * @param string $name Required. The report task resource name. + * Format: `properties/{property}/reportTasks/{report_task}` + * Please see {@see AlphaAnalyticsDataClient::reportTaskName()} for help formatting this field. + * + * @return \Google\Analytics\Data\V1alpha\GetReportTaskRequest + * + * @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 report task resource name. + * Format: `properties/{property}/reportTasks/{report_task}` + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. The report task resource name. + * Format: `properties/{property}/reportTasks/{report_task}` + * + * 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 report task resource name. + * Format: `properties/{property}/reportTasks/{report_task}` + * + * 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/vendor/prefixed/google/analytics-data/src/V1alpha/InListFilter.php b/vendor/prefixed/google/analytics-data/src/V1alpha/InListFilter.php new file mode 100644 index 000000000..8ee51a5d3 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/InListFilter.php @@ -0,0 +1,96 @@ +google.analytics.data.v1alpha.InListFilter + */ +class InListFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\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; + */ + private $case_sensitive = \false; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array|\Google\Protobuf\Internal\RepeatedField $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The list of string values. + * Must be non-empty. + * + * Generated from protobuf field repeated string values = 1; + * @return \Google\Protobuf\Internal\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 array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\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/vendor/prefixed/google/analytics-data/src/V1alpha/ListAudienceListsRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ListAudienceListsRequest.php new file mode 100644 index 000000000..33b76cd52 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ListAudienceListsRequest.php @@ -0,0 +1,164 @@ +google.analytics.data.v1alpha.ListAudienceListsRequest + */ +class ListAudienceListsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. All audience lists for this property will be listed in the + * response. Format: `properties/{property}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $parent = ''; + /** + * Optional. The maximum number of audience lists to return. The service may + * return fewer than this value. If unspecified, at most 200 audience lists + * will be returned. The maximum value is 1000 (higher values will be coerced + * to the maximum). + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $page_size = 0; + /** + * Optional. A page token, received from a previous `ListAudienceLists` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudienceLists` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $page_token = ''; + /** + * @param string $parent Required. All audience lists for this property will be listed in the + * response. Format: `properties/{property}` + * Please see {@see AlphaAnalyticsDataClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Data\V1alpha\ListAudienceListsRequest + * + * @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. All audience lists for this property will be listed in the + * response. Format: `properties/{property}` + * @type int $page_size + * Optional. The maximum number of audience lists to return. The service may + * return fewer than this value. If unspecified, at most 200 audience lists + * will be returned. The maximum value is 1000 (higher values will be coerced + * to the maximum). + * @type string $page_token + * Optional. A page token, received from a previous `ListAudienceLists` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudienceLists` must + * match the call that provided the page token. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. All audience lists for this property will be listed in the + * response. Format: `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. All audience lists for this property will be listed in the + * response. Format: `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; + } + /** + * Optional. The maximum number of audience lists to return. The service may + * return fewer than this value. If unspecified, at most 200 audience lists + * will be returned. The maximum value is 1000 (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 audience lists to return. The service may + * return fewer than this value. If unspecified, at most 200 audience lists + * will be returned. The maximum value is 1000 (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 `ListAudienceLists` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudienceLists` 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 `ListAudienceLists` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudienceLists` 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/vendor/prefixed/google/analytics-data/src/V1alpha/ListAudienceListsResponse.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ListAudienceListsResponse.php new file mode 100644 index 000000000..2907cd042 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ListAudienceListsResponse.php @@ -0,0 +1,104 @@ +google.analytics.data.v1alpha.ListAudienceListsResponse + */ +class ListAudienceListsResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Each audience list for a property. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1; + */ + private $audience_lists; + /** + * 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 optional string next_page_token = 2; + */ + private $next_page_token = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\AudienceList>|\Google\Protobuf\Internal\RepeatedField $audience_lists + * Each audience list for a property. + * @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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Each audience list for a property. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAudienceLists() + { + return $this->audience_lists; + } + /** + * Each audience list for a property. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1; + * @param array<\Google\Analytics\Data\V1alpha\AudienceList>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAudienceLists($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\AudienceList::class); + $this->audience_lists = $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 optional string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return isset($this->next_page_token) ? $this->next_page_token : ''; + } + public function hasNextPageToken() + { + return isset($this->next_page_token); + } + public function clearNextPageToken() + { + unset($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 optional 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/vendor/prefixed/google/analytics-data/src/V1alpha/ListRecurringAudienceListsRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ListRecurringAudienceListsRequest.php new file mode 100644 index 000000000..622b0a5d1 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ListRecurringAudienceListsRequest.php @@ -0,0 +1,172 @@ +google.analytics.data.v1alpha.ListRecurringAudienceListsRequest + */ +class ListRecurringAudienceListsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. All recurring audience lists for this property will be listed in + * the response. Format: `properties/{property}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $parent = ''; + /** + * Optional. The maximum number of recurring audience lists to return. The + * service may return fewer than this value. If unspecified, at most 200 + * recurring audience lists will be returned. The maximum value is 1000 + * (higher values will be coerced to the maximum). + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $page_size = 0; + /** + * Optional. A page token, received from a previous + * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListRecurringAudienceLists` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $page_token = ''; + /** + * @param string $parent Required. All recurring audience lists for this property will be listed in + * the response. Format: `properties/{property}` + * Please see {@see AlphaAnalyticsDataClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Data\V1alpha\ListRecurringAudienceListsRequest + * + * @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. All recurring audience lists for this property will be listed in + * the response. Format: `properties/{property}` + * @type int $page_size + * Optional. The maximum number of recurring audience lists to return. The + * service may return fewer than this value. If unspecified, at most 200 + * recurring audience lists will be returned. The maximum value is 1000 + * (higher values will be coerced to the maximum). + * @type string $page_token + * Optional. A page token, received from a previous + * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListRecurringAudienceLists` must match the call that provided the page + * token. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. All recurring audience lists for this property will be listed in + * the response. Format: `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. All recurring audience lists for this property will be listed in + * the response. Format: `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; + } + /** + * Optional. The maximum number of recurring audience lists to return. The + * service may return fewer than this value. If unspecified, at most 200 + * recurring audience lists will be returned. The maximum value is 1000 + * (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 recurring audience lists to return. The + * service may return fewer than this value. If unspecified, at most 200 + * recurring audience lists will be returned. The maximum value is 1000 + * (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 + * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListRecurringAudienceLists` 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 + * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListRecurringAudienceLists` 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/vendor/prefixed/google/analytics-data/src/V1alpha/ListRecurringAudienceListsResponse.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ListRecurringAudienceListsResponse.php new file mode 100644 index 000000000..cdeae930d --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ListRecurringAudienceListsResponse.php @@ -0,0 +1,104 @@ +google.analytics.data.v1alpha.ListRecurringAudienceListsResponse + */ +class ListRecurringAudienceListsResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Each recurring audience list for a property. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1; + */ + private $recurring_audience_lists; + /** + * 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 optional string next_page_token = 2; + */ + private $next_page_token = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\RecurringAudienceList>|\Google\Protobuf\Internal\RepeatedField $recurring_audience_lists + * Each recurring audience list for a property. + * @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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Each recurring audience list for a property. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getRecurringAudienceLists() + { + return $this->recurring_audience_lists; + } + /** + * Each recurring audience list for a property. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1; + * @param array<\Google\Analytics\Data\V1alpha\RecurringAudienceList>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setRecurringAudienceLists($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RecurringAudienceList::class); + $this->recurring_audience_lists = $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 optional string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return isset($this->next_page_token) ? $this->next_page_token : ''; + } + public function hasNextPageToken() + { + return isset($this->next_page_token); + } + public function clearNextPageToken() + { + unset($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 optional 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/vendor/prefixed/google/analytics-data/src/V1alpha/ListReportTasksRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ListReportTasksRequest.php new file mode 100644 index 000000000..b12228e20 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ListReportTasksRequest.php @@ -0,0 +1,144 @@ +google.analytics.data.v1alpha.ListReportTasksRequest + */ +class ListReportTasksRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. All report tasks for this property will be listed in the + * response. Format: `properties/{property}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $parent = ''; + /** + * Optional. The maximum number of report tasks to return. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $page_size = 0; + /** + * Optional. A page token, received from a previous `ListReportTasks` call. + * Provide this to retrieve the subsequent page. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $page_token = ''; + /** + * @param string $parent Required. All report tasks for this property will be listed in the + * response. Format: `properties/{property}` + * Please see {@see AlphaAnalyticsDataClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Data\V1alpha\ListReportTasksRequest + * + * @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. All report tasks for this property will be listed in the + * response. Format: `properties/{property}` + * @type int $page_size + * Optional. The maximum number of report tasks to return. + * @type string $page_token + * Optional. A page token, received from a previous `ListReportTasks` call. + * Provide this to retrieve the subsequent page. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. All report tasks for this property will be listed in the + * response. Format: `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. All report tasks for this property will be listed in the + * response. Format: `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; + } + /** + * Optional. The maximum number of report tasks to return. + * + * 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 report tasks to return. + * + * 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 `ListReportTasks` call. + * Provide this to retrieve the subsequent page. + * + * 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 `ListReportTasks` call. + * Provide this to retrieve the subsequent page. + * + * 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/vendor/prefixed/google/analytics-data/src/V1alpha/ListReportTasksResponse.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ListReportTasksResponse.php new file mode 100644 index 000000000..69dfb6207 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ListReportTasksResponse.php @@ -0,0 +1,104 @@ +google.analytics.data.v1alpha.ListReportTasksResponse + */ +class ListReportTasksResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Each report task for a property. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1; + */ + private $report_tasks; + /** + * 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 optional string next_page_token = 2; + */ + private $next_page_token = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\ReportTask>|\Google\Protobuf\Internal\RepeatedField $report_tasks + * Each report task for a property. + * @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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Each report task for a property. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getReportTasks() + { + return $this->report_tasks; + } + /** + * Each report task for a property. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1; + * @param array<\Google\Analytics\Data\V1alpha\ReportTask>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setReportTasks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ReportTask::class); + $this->report_tasks = $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 optional string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return isset($this->next_page_token) ? $this->next_page_token : ''; + } + public function hasNextPageToken() + { + return isset($this->next_page_token); + } + public function clearNextPageToken() + { + unset($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 optional 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/vendor/prefixed/google/analytics-data/src/V1alpha/Metric.php b/vendor/prefixed/google/analytics-data/src/V1alpha/Metric.php index 7bb816cab..59fe9ef47 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/Metric.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/Metric.php @@ -19,10 +19,21 @@ class Metric extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu /** * The name of the metric. See the [API * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) - * for the list of metric names. - * If `expression` is specified, `name` can be any string that you would like. - * For example if `expression` is `screenPageViews/sessions`, you could call - * that metric's name = `viewsPerSession`. + * for the list of metric names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics) + * for the list of metric names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics) + * for the list of metric names supported by the `runFunnelReport` + * method. + * If `expression` is specified, `name` can be any string that you would like + * within the allowed character set. For example if `expression` is + * `screenPageViews/sessions`, you could call that metric's name = + * `viewsPerSession`. Metric names that you choose must match the regular + * expression `^[a-zA-Z0-9_]$`. * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric * `expression`. * @@ -53,10 +64,21 @@ class Metric extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu * @type string $name * The name of the metric. See the [API * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) - * for the list of metric names. - * If `expression` is specified, `name` can be any string that you would like. - * For example if `expression` is `screenPageViews/sessions`, you could call - * that metric's name = `viewsPerSession`. + * for the list of metric names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics) + * for the list of metric names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics) + * for the list of metric names supported by the `runFunnelReport` + * method. + * If `expression` is specified, `name` can be any string that you would like + * within the allowed character set. For example if `expression` is + * `screenPageViews/sessions`, you could call that metric's name = + * `viewsPerSession`. Metric names that you choose must match the regular + * expression `^[a-zA-Z0-9_]$`. * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric * `expression`. * @type string $expression @@ -76,10 +98,21 @@ public function __construct($data = NULL) /** * The name of the metric. See the [API * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) - * for the list of metric names. - * If `expression` is specified, `name` can be any string that you would like. - * For example if `expression` is `screenPageViews/sessions`, you could call - * that metric's name = `viewsPerSession`. + * for the list of metric names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics) + * for the list of metric names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics) + * for the list of metric names supported by the `runFunnelReport` + * method. + * If `expression` is specified, `name` can be any string that you would like + * within the allowed character set. For example if `expression` is + * `screenPageViews/sessions`, you could call that metric's name = + * `viewsPerSession`. Metric names that you choose must match the regular + * expression `^[a-zA-Z0-9_]$`. * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric * `expression`. * @@ -93,10 +126,21 @@ public function getName() /** * The name of the metric. See the [API * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) - * for the list of metric names. - * If `expression` is specified, `name` can be any string that you would like. - * For example if `expression` is `screenPageViews/sessions`, you could call - * that metric's name = `viewsPerSession`. + * for the list of metric names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics) + * for the list of metric names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics) + * for the list of metric names supported by the `runFunnelReport` + * method. + * If `expression` is specified, `name` can be any string that you would like + * within the allowed character set. For example if `expression` is + * `screenPageViews/sessions`, you could call that metric's name = + * `viewsPerSession`. Metric names that you choose must match the regular + * expression `^[a-zA-Z0-9_]$`. * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric * `expression`. * diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/NumericFilter.php b/vendor/prefixed/google/analytics-data/src/V1alpha/NumericFilter.php new file mode 100644 index 000000000..ed5195cbc --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/NumericFilter.php @@ -0,0 +1,100 @@ +google.analytics.data.v1alpha.NumericFilter + */ +class NumericFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The operation type for this filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter.Operation operation = 1; + */ + private $operation = 0; + /** + * A numeric value or a date value. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericValue value = 2; + */ + private $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\Data\V1alpha\NumericValue $value + * A numeric value or a date value. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The operation type for this filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter.Operation operation = 1; + * @return int + */ + public function getOperation() + { + return $this->operation; + } + /** + * The operation type for this filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter.Operation operation = 1; + * @param int $var + * @return $this + */ + public function setOperation($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\NumericFilter\Operation::class); + $this->operation = $var; + return $this; + } + /** + * A numeric value or a date value. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericValue value = 2; + * @return \Google\Analytics\Data\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.data.v1alpha.NumericValue value = 2; + * @param \Google\Analytics\Data\V1alpha\NumericValue $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\NumericValue::class); + $this->value = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/NumericFilter/Operation.php b/vendor/prefixed/google/analytics-data/src/V1alpha/NumericFilter/Operation.php new file mode 100644 index 000000000..a943f57e2 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/NumericFilter/Operation.php @@ -0,0 +1,67 @@ +google.analytics.data.v1alpha.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; + /** + * 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/vendor/prefixed/google/analytics-data/src/V1alpha/OrderBy.php b/vendor/prefixed/google/analytics-data/src/V1alpha/OrderBy.php index 229f51962..486788fc3 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/OrderBy.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/OrderBy.php @@ -8,7 +8,9 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** - * The sort options. + * Order bys define how rows will be sorted in the response. For example, + * ordering rows by descending event count is one ordering, and ordering rows by + * the event name string is a different ordering. * * Generated from protobuf message google.analytics.data.v1alpha.OrderBy */ @@ -31,8 +33,6 @@ class OrderBy extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob * Sorts results by a metric's values. * @type \Google\Analytics\Data\V1alpha\OrderBy\DimensionOrderBy $dimension * Sorts results by a dimension's values. - * @type \Google\Analytics\Data\V1alpha\OrderBy\PivotOrderBy $pivot - * Sorts results by a metric's values within a pivot column group. * @type bool $desc * If true, sorts by descending order. * } @@ -96,33 +96,6 @@ public function setDimension($var) $this->writeOneof(2, $var); return $this; } - /** - * Sorts results by a metric's values within a pivot column group. - * - * Generated from protobuf field .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - * @return \Google\Analytics\Data\V1alpha\OrderBy\PivotOrderBy|null - */ - public function getPivot() - { - return $this->readOneof(3); - } - public function hasPivot() - { - return $this->hasOneof(3); - } - /** - * Sorts results by a metric's values within a pivot column group. - * - * Generated from protobuf field .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - * @param \Google\Analytics\Data\V1alpha\OrderBy\PivotOrderBy $var - * @return $this - */ - public function setPivot($var) - { - GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\OrderBy\PivotOrderBy::class); - $this->writeOneof(3, $var); - return $this; - } /** * If true, sorts by descending order. * diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/PropertyQuota.php b/vendor/prefixed/google/analytics-data/src/V1alpha/PropertyQuota.php index a21474366..464988aa3 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/PropertyQuota.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/PropertyQuota.php @@ -17,18 +17,18 @@ class PropertyQuota extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * Standard Analytics Properties can use up to 25,000 tokens per day; - * Analytics 360 Properties can use 250,000 tokens per day. Most requests + * Standard Analytics Properties can use up to 200,000 tokens per day; + * Analytics 360 Properties can use 2,000,000 tokens per day. Most requests * consume fewer than 10 tokens. * * Generated from protobuf field .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; */ private $tokens_per_day = null; /** - * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics - * 360 Properties can use 50,000 tokens per day. An API request consumes a - * single number of tokens, and that number is deducted from both the hourly - * and daily quotas. + * Standard Analytics Properties can use up to 40,000 tokens per hour; + * Analytics 360 Properties can use 400,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.data.v1alpha.QuotaStatus tokens_per_hour = 2; */ @@ -48,6 +48,26 @@ class PropertyQuota extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ * Generated from protobuf field .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; */ private $server_errors_per_project_per_hour = null; + /** + * Analytics Properties can send up to 120 requests with potentially + * thresholded dimensions per hour. In a batch request, each report request + * is individually counted for this quota if the request contains potentially + * thresholded dimensions. + * + * Generated from protobuf field .google.analytics.data.v1alpha.QuotaStatus potentially_thresholded_requests_per_hour = 5; + */ + private $potentially_thresholded_requests_per_hour = null; + /** + * Analytics Properties can use up to 35% of their tokens per project per + * hour. This amounts to standard Analytics Properties can use up to 14,000 + * tokens per project per hour, and Analytics 360 Properties can use 140,000 + * 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.data.v1alpha.QuotaStatus tokens_per_project_per_hour = 6; + */ + private $tokens_per_project_per_hour = null; /** * Constructor. * @@ -55,14 +75,14 @@ class PropertyQuota extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ * Optional. Data for populating the Message object. * * @type \Google\Analytics\Data\V1alpha\QuotaStatus $tokens_per_day - * Standard Analytics Properties can use up to 25,000 tokens per day; - * Analytics 360 Properties can use 250,000 tokens per day. Most requests + * Standard Analytics Properties can use up to 200,000 tokens per day; + * Analytics 360 Properties can use 2,000,000 tokens per day. Most requests * consume fewer than 10 tokens. * @type \Google\Analytics\Data\V1alpha\QuotaStatus $tokens_per_hour - * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics - * 360 Properties can use 50,000 tokens per day. An API request consumes a - * single number of tokens, and that number is deducted from both the hourly - * and daily quotas. + * Standard Analytics Properties can use up to 40,000 tokens per hour; + * Analytics 360 Properties can use 400,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\Data\V1alpha\QuotaStatus $concurrent_requests * Standard Analytics Properties can send up to 10 concurrent requests; * Analytics 360 Properties can use up to 50 concurrent requests. @@ -70,6 +90,18 @@ class PropertyQuota extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ * Standard Analytics Properties and cloud project pairs can have up to 10 * server errors per hour; Analytics 360 Properties and cloud project pairs * can have up to 50 server errors per hour. + * @type \Google\Analytics\Data\V1alpha\QuotaStatus $potentially_thresholded_requests_per_hour + * Analytics Properties can send up to 120 requests with potentially + * thresholded dimensions per hour. In a batch request, each report request + * is individually counted for this quota if the request contains potentially + * thresholded dimensions. + * @type \Google\Analytics\Data\V1alpha\QuotaStatus $tokens_per_project_per_hour + * Analytics Properties can use up to 35% of their tokens per project per + * hour. This amounts to standard Analytics Properties can use up to 14,000 + * tokens per project per hour, and Analytics 360 Properties can use 140,000 + * 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) @@ -78,8 +110,8 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * Standard Analytics Properties can use up to 25,000 tokens per day; - * Analytics 360 Properties can use 250,000 tokens per day. Most requests + * Standard Analytics Properties can use up to 200,000 tokens per day; + * Analytics 360 Properties can use 2,000,000 tokens per day. Most requests * consume fewer than 10 tokens. * * Generated from protobuf field .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; @@ -87,7 +119,7 @@ public function __construct($data = NULL) */ public function getTokensPerDay() { - return isset($this->tokens_per_day) ? $this->tokens_per_day : null; + return $this->tokens_per_day; } public function hasTokensPerDay() { @@ -98,8 +130,8 @@ public function clearTokensPerDay() unset($this->tokens_per_day); } /** - * Standard Analytics Properties can use up to 25,000 tokens per day; - * Analytics 360 Properties can use 250,000 tokens per day. Most requests + * Standard Analytics Properties can use up to 200,000 tokens per day; + * Analytics 360 Properties can use 2,000,000 tokens per day. Most requests * consume fewer than 10 tokens. * * Generated from protobuf field .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; @@ -113,17 +145,17 @@ public function setTokensPerDay($var) return $this; } /** - * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics - * 360 Properties can use 50,000 tokens per day. An API request consumes a - * single number of tokens, and that number is deducted from both the hourly - * and daily quotas. + * Standard Analytics Properties can use up to 40,000 tokens per hour; + * Analytics 360 Properties can use 400,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.data.v1alpha.QuotaStatus tokens_per_hour = 2; * @return \Google\Analytics\Data\V1alpha\QuotaStatus|null */ public function getTokensPerHour() { - return isset($this->tokens_per_hour) ? $this->tokens_per_hour : null; + return $this->tokens_per_hour; } public function hasTokensPerHour() { @@ -134,10 +166,10 @@ public function clearTokensPerHour() unset($this->tokens_per_hour); } /** - * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics - * 360 Properties can use 50,000 tokens per day. An API request consumes a - * single number of tokens, and that number is deducted from both the hourly - * and daily quotas. + * Standard Analytics Properties can use up to 40,000 tokens per hour; + * Analytics 360 Properties can use 400,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.data.v1alpha.QuotaStatus tokens_per_hour = 2; * @param \Google\Analytics\Data\V1alpha\QuotaStatus $var @@ -158,7 +190,7 @@ public function setTokensPerHour($var) */ public function getConcurrentRequests() { - return isset($this->concurrent_requests) ? $this->concurrent_requests : null; + return $this->concurrent_requests; } public function hasConcurrentRequests() { @@ -192,7 +224,7 @@ public function setConcurrentRequests($var) */ public function getServerErrorsPerProjectPerHour() { - return isset($this->server_errors_per_project_per_hour) ? $this->server_errors_per_project_per_hour : null; + return $this->server_errors_per_project_per_hour; } public function hasServerErrorsPerProjectPerHour() { @@ -217,4 +249,82 @@ public function setServerErrorsPerProjectPerHour($var) $this->server_errors_per_project_per_hour = $var; return $this; } + /** + * Analytics Properties can send up to 120 requests with potentially + * thresholded dimensions per hour. In a batch request, each report request + * is individually counted for this quota if the request contains potentially + * thresholded dimensions. + * + * Generated from protobuf field .google.analytics.data.v1alpha.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * @return \Google\Analytics\Data\V1alpha\QuotaStatus|null + */ + public function getPotentiallyThresholdedRequestsPerHour() + { + return $this->potentially_thresholded_requests_per_hour; + } + public function hasPotentiallyThresholdedRequestsPerHour() + { + return isset($this->potentially_thresholded_requests_per_hour); + } + public function clearPotentiallyThresholdedRequestsPerHour() + { + unset($this->potentially_thresholded_requests_per_hour); + } + /** + * Analytics Properties can send up to 120 requests with potentially + * thresholded dimensions per hour. In a batch request, each report request + * is individually counted for this quota if the request contains potentially + * thresholded dimensions. + * + * Generated from protobuf field .google.analytics.data.v1alpha.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * @param \Google\Analytics\Data\V1alpha\QuotaStatus $var + * @return $this + */ + public function setPotentiallyThresholdedRequestsPerHour($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\QuotaStatus::class); + $this->potentially_thresholded_requests_per_hour = $var; + return $this; + } + /** + * Analytics Properties can use up to 35% of their tokens per project per + * hour. This amounts to standard Analytics Properties can use up to 14,000 + * tokens per project per hour, and Analytics 360 Properties can use 140,000 + * 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.data.v1alpha.QuotaStatus tokens_per_project_per_hour = 6; + * @return \Google\Analytics\Data\V1alpha\QuotaStatus|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); + } + /** + * Analytics Properties can use up to 35% of their tokens per project per + * hour. This amounts to standard Analytics Properties can use up to 14,000 + * tokens per project per hour, and Analytics 360 Properties can use 140,000 + * 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.data.v1alpha.QuotaStatus tokens_per_project_per_hour = 6; + * @param \Google\Analytics\Data\V1alpha\QuotaStatus $var + * @return $this + */ + public function setTokensPerProjectPerHour($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\QuotaStatus::class); + $this->tokens_per_project_per_hour = $var; + return $this; + } } diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/QueryAudienceListRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/QueryAudienceListRequest.php new file mode 100644 index 000000000..4af307352 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/QueryAudienceListRequest.php @@ -0,0 +1,191 @@ +google.analytics.data.v1alpha.QueryAudienceListRequest + */ +class QueryAudienceListRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the audience list to retrieve users from. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $name = ''; + /** + * Optional. The row count of the start row. The first row is counted as row + * 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of 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 int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $offset = 0; + /** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $limit = 0; + /** + * @param string $name Required. The name of the audience list to retrieve users from. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * @return \Google\Analytics\Data\V1alpha\QueryAudienceListRequest + * + * @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 list to retrieve users from. + * Format: `properties/{property}/audienceLists/{audience_list}` + * @type int|string $offset + * Optional. The row count of the start row. The first row is counted as row + * 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type int|string $limit + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. The name of the audience list to retrieve users from. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * Required. The name of the audience list to retrieve users from. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + return $this; + } + /** + * Optional. The row count of the start row. The first row is counted as row + * 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of 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 int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getOffset() + { + return $this->offset; + } + /** + * Optional. The row count of the start row. The first row is counted as row + * 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of 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 int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setOffset($var) + { + GPBUtil::checkInt64($var); + $this->offset = $var; + return $this; + } + /** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getLimit() + { + return $this->limit; + } + /** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setLimit($var) + { + GPBUtil::checkInt64($var); + $this->limit = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/QueryAudienceListResponse.php b/vendor/prefixed/google/analytics-data/src/V1alpha/QueryAudienceListResponse.php new file mode 100644 index 000000000..e2c9762fc --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/QueryAudienceListResponse.php @@ -0,0 +1,175 @@ +google.analytics.data.v1alpha.QueryAudienceListResponse + */ +class QueryAudienceListResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Configuration data about AudienceList being queried. Returned to help + * interpret the audience rows in this response. For example, the dimensions + * in this AudienceList correspond to the columns in the AudienceRows. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.AudienceList audience_list = 1; + */ + private $audience_list = null; + /** + * Rows for each user in an audience list. The number of rows in this + * response will be less than or equal to request's page size. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2; + */ + private $audience_rows; + /** + * The total number of rows in the AudienceList 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 optional int32 row_count = 3; + */ + private $row_count = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1alpha\AudienceList $audience_list + * Configuration data about AudienceList being queried. Returned to help + * interpret the audience rows in this response. For example, the dimensions + * in this AudienceList correspond to the columns in the AudienceRows. + * @type array<\Google\Analytics\Data\V1alpha\AudienceRow>|\Google\Protobuf\Internal\RepeatedField $audience_rows + * Rows for each user in an audience list. The number of rows in this + * response will be less than or equal to request's page size. + * @type int $row_count + * The total number of rows in the AudienceList 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). + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Configuration data about AudienceList being queried. Returned to help + * interpret the audience rows in this response. For example, the dimensions + * in this AudienceList correspond to the columns in the AudienceRows. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.AudienceList audience_list = 1; + * @return \Google\Analytics\Data\V1alpha\AudienceList|null + */ + public function getAudienceList() + { + return $this->audience_list; + } + public function hasAudienceList() + { + return isset($this->audience_list); + } + public function clearAudienceList() + { + unset($this->audience_list); + } + /** + * Configuration data about AudienceList being queried. Returned to help + * interpret the audience rows in this response. For example, the dimensions + * in this AudienceList correspond to the columns in the AudienceRows. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.AudienceList audience_list = 1; + * @param \Google\Analytics\Data\V1alpha\AudienceList $var + * @return $this + */ + public function setAudienceList($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\AudienceList::class); + $this->audience_list = $var; + return $this; + } + /** + * Rows for each user in an audience list. The number of rows in this + * response will be less than or equal to request's page size. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAudienceRows() + { + return $this->audience_rows; + } + /** + * Rows for each user in an audience list. The number of rows in this + * response will be less than or equal to request's page size. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2; + * @param array<\Google\Analytics\Data\V1alpha\AudienceRow>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAudienceRows($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\AudienceRow::class); + $this->audience_rows = $arr; + return $this; + } + /** + * The total number of rows in the AudienceList 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 optional int32 row_count = 3; + * @return int + */ + public function getRowCount() + { + return isset($this->row_count) ? $this->row_count : 0; + } + public function hasRowCount() + { + return isset($this->row_count); + } + public function clearRowCount() + { + unset($this->row_count); + } + /** + * The total number of rows in the AudienceList 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 optional int32 row_count = 3; + * @param int $var + * @return $this + */ + public function setRowCount($var) + { + GPBUtil::checkInt32($var); + $this->row_count = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/QueryReportTaskRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/QueryReportTaskRequest.php new file mode 100644 index 000000000..1007e087d --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/QueryReportTaskRequest.php @@ -0,0 +1,211 @@ +google.analytics.data.v1alpha.QueryReportTaskRequest + */ +class QueryReportTaskRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The report source name. + * Format: `properties/{property}/reportTasks/{report}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $name = ''; + /** + * Optional. The row count of the start row in the report. The first row is + * counted as row 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of 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 int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $offset = 0; + /** + * Optional. The number of rows to return from the report. If unspecified, + * 10,000 rows are returned. The API returns a maximum of 250,000 rows per + * request, no matter how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. The number of rows + * available to a QueryReportTaskRequest is further limited by the limit of + * the associated ReportTask. A query can retrieve at most ReportTask.limit + * rows. For example, if the ReportTask has a limit of 1,000, then a + * QueryReportTask request with offset=900 and limit=500 will return at most + * 100 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 int64 limit = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $limit = 0; + /** + * @param string $name Required. The report source name. + * Format: `properties/{property}/reportTasks/{report}` + * + * @return \Google\Analytics\Data\V1alpha\QueryReportTaskRequest + * + * @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 report source name. + * Format: `properties/{property}/reportTasks/{report}` + * @type int|string $offset + * Optional. The row count of the start row in the report. The first row is + * counted as row 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type int|string $limit + * Optional. The number of rows to return from the report. If unspecified, + * 10,000 rows are returned. The API returns a maximum of 250,000 rows per + * request, no matter how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. The number of rows + * available to a QueryReportTaskRequest is further limited by the limit of + * the associated ReportTask. A query can retrieve at most ReportTask.limit + * rows. For example, if the ReportTask has a limit of 1,000, then a + * QueryReportTask request with offset=900 and limit=500 will return at most + * 100 rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. The report source name. + * Format: `properties/{property}/reportTasks/{report}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * Required. The report source name. + * Format: `properties/{property}/reportTasks/{report}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + return $this; + } + /** + * Optional. The row count of the start row in the report. The first row is + * counted as row 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of 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 int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getOffset() + { + return $this->offset; + } + /** + * Optional. The row count of the start row in the report. The first row is + * counted as row 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of 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 int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setOffset($var) + { + GPBUtil::checkInt64($var); + $this->offset = $var; + return $this; + } + /** + * Optional. The number of rows to return from the report. If unspecified, + * 10,000 rows are returned. The API returns a maximum of 250,000 rows per + * request, no matter how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. The number of rows + * available to a QueryReportTaskRequest is further limited by the limit of + * the associated ReportTask. A query can retrieve at most ReportTask.limit + * rows. For example, if the ReportTask has a limit of 1,000, then a + * QueryReportTask request with offset=900 and limit=500 will return at most + * 100 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 int64 limit = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getLimit() + { + return $this->limit; + } + /** + * Optional. The number of rows to return from the report. If unspecified, + * 10,000 rows are returned. The API returns a maximum of 250,000 rows per + * request, no matter how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. The number of rows + * available to a QueryReportTaskRequest is further limited by the limit of + * the associated ReportTask. A query can retrieve at most ReportTask.limit + * rows. For example, if the ReportTask has a limit of 1,000, then a + * QueryReportTask request with offset=900 and limit=500 will return at most + * 100 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 int64 limit = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setLimit($var) + { + GPBUtil::checkInt64($var); + $this->limit = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/QueryReportTaskResponse.php b/vendor/prefixed/google/analytics-data/src/V1alpha/QueryReportTaskResponse.php new file mode 100644 index 000000000..23e54d7a2 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/QueryReportTaskResponse.php @@ -0,0 +1,294 @@ +google.analytics.data.v1alpha.QueryReportTaskResponse + */ +class QueryReportTaskResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Describes dimension columns. The number of DimensionHeaders and ordering of + * DimensionHeaders matches the dimensions present in rows. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; + */ + private $dimension_headers; + /** + * Describes metric columns. The number of MetricHeaders and ordering of + * MetricHeaders matches the metrics present in rows. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; + */ + private $metric_headers; + /** + * Rows of dimension value combinations and metric values in the report. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row rows = 3; + */ + private $rows; + /** + * If requested, the totaled values of metrics. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row totals = 4; + */ + private $totals; + /** + * If requested, the maximum values of metrics. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row maximums = 5; + */ + private $maximums; + /** + * If requested, the minimum values of metrics. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row minimums = 6; + */ + private $minimums; + /** + * The total number of rows in the query result. + * + * Generated from protobuf field int32 row_count = 7; + */ + private $row_count = 0; + /** + * Metadata for the report. + * + * Generated from protobuf field .google.analytics.data.v1alpha.ResponseMetaData metadata = 8; + */ + private $metadata = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\DimensionHeader>|\Google\Protobuf\Internal\RepeatedField $dimension_headers + * Describes dimension columns. The number of DimensionHeaders and ordering of + * DimensionHeaders matches the dimensions present in rows. + * @type array<\Google\Analytics\Data\V1alpha\MetricHeader>|\Google\Protobuf\Internal\RepeatedField $metric_headers + * Describes metric columns. The number of MetricHeaders and ordering of + * MetricHeaders matches the metrics present in rows. + * @type array<\Google\Analytics\Data\V1alpha\Row>|\Google\Protobuf\Internal\RepeatedField $rows + * Rows of dimension value combinations and metric values in the report. + * @type array<\Google\Analytics\Data\V1alpha\Row>|\Google\Protobuf\Internal\RepeatedField $totals + * If requested, the totaled values of metrics. + * @type array<\Google\Analytics\Data\V1alpha\Row>|\Google\Protobuf\Internal\RepeatedField $maximums + * If requested, the maximum values of metrics. + * @type array<\Google\Analytics\Data\V1alpha\Row>|\Google\Protobuf\Internal\RepeatedField $minimums + * If requested, the minimum values of metrics. + * @type int $row_count + * The total number of rows in the query result. + * @type \Google\Analytics\Data\V1alpha\ResponseMetaData $metadata + * Metadata for the report. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Describes dimension columns. The number of DimensionHeaders and ordering of + * DimensionHeaders matches the dimensions present in rows. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDimensionHeaders() + { + return $this->dimension_headers; + } + /** + * Describes dimension columns. The number of DimensionHeaders and ordering of + * DimensionHeaders matches the dimensions present in rows. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; + * @param array<\Google\Analytics\Data\V1alpha\DimensionHeader>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensionHeaders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\DimensionHeader::class); + $this->dimension_headers = $arr; + return $this; + } + /** + * Describes metric columns. The number of MetricHeaders and ordering of + * MetricHeaders matches the metrics present in rows. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getMetricHeaders() + { + return $this->metric_headers; + } + /** + * Describes metric columns. The number of MetricHeaders and ordering of + * MetricHeaders matches the metrics present in rows. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; + * @param array<\Google\Analytics\Data\V1alpha\MetricHeader>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setMetricHeaders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\MetricHeader::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.data.v1alpha.Row rows = 3; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getRows() + { + return $this->rows; + } + /** + * Rows of dimension value combinations and metric values in the report. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row rows = 3; + * @param array<\Google\Analytics\Data\V1alpha\Row>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setRows($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Row::class); + $this->rows = $arr; + return $this; + } + /** + * If requested, the totaled values of metrics. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row totals = 4; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getTotals() + { + return $this->totals; + } + /** + * If requested, the totaled values of metrics. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row totals = 4; + * @param array<\Google\Analytics\Data\V1alpha\Row>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setTotals($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Row::class); + $this->totals = $arr; + return $this; + } + /** + * If requested, the maximum values of metrics. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row maximums = 5; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getMaximums() + { + return $this->maximums; + } + /** + * If requested, the maximum values of metrics. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row maximums = 5; + * @param array<\Google\Analytics\Data\V1alpha\Row>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setMaximums($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Row::class); + $this->maximums = $arr; + return $this; + } + /** + * If requested, the minimum values of metrics. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row minimums = 6; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getMinimums() + { + return $this->minimums; + } + /** + * If requested, the minimum values of metrics. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Row minimums = 6; + * @param array<\Google\Analytics\Data\V1alpha\Row>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setMinimums($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Row::class); + $this->minimums = $arr; + return $this; + } + /** + * The total number of rows in the query result. + * + * Generated from protobuf field int32 row_count = 7; + * @return int + */ + public function getRowCount() + { + return $this->row_count; + } + /** + * The total number of rows in the query result. + * + * Generated from protobuf field int32 row_count = 7; + * @param int $var + * @return $this + */ + public function setRowCount($var) + { + GPBUtil::checkInt32($var); + $this->row_count = $var; + return $this; + } + /** + * Metadata for the report. + * + * Generated from protobuf field .google.analytics.data.v1alpha.ResponseMetaData metadata = 8; + * @return \Google\Analytics\Data\V1alpha\ResponseMetaData|null + */ + public function getMetadata() + { + return $this->metadata; + } + public function hasMetadata() + { + return isset($this->metadata); + } + public function clearMetadata() + { + unset($this->metadata); + } + /** + * Metadata for the report. + * + * Generated from protobuf field .google.analytics.data.v1alpha.ResponseMetaData metadata = 8; + * @param \Google\Analytics\Data\V1alpha\ResponseMetaData $var + * @return $this + */ + public function setMetadata($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ResponseMetaData::class); + $this->metadata = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/RecurringAudienceList.php b/vendor/prefixed/google/analytics-data/src/V1alpha/RecurringAudienceList.php new file mode 100644 index 000000000..4e7d6dc62 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/RecurringAudienceList.php @@ -0,0 +1,382 @@ +google.analytics.data.v1alpha.RecurringAudienceList + */ +class RecurringAudienceList extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Output only. Identifier. The recurring audience list resource name assigned + * during creation. This resource name identifies this + * `RecurringAudienceList`. + * Format: + * `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $name = ''; + /** + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin + * APIs. + * Format: `properties/{property}/audiences/{audience}` + * + * Generated from protobuf field string audience = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $audience = ''; + /** + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + * + * Generated from protobuf field string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $audience_display_name = ''; + /** + * Required. The dimensions requested and displayed in the audience list + * response. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + private $dimensions; + /** + * Optional. The number of remaining days that a recurring audience export + * will produce an audience list instance. This counter decreases by one each + * day, and when it reaches zero, no new audience lists will be created. + * Recurring audience list request for Analytics 360 properties default to 180 + * days and have a maximum of 365 days. Requests for standard Analytics + * properties default to 14 days and have a maximum of 30 days. + * The minimum value allowed during creation is 1. Requests above their + * respective maximum will be coerced to their maximum. + * + * Generated from protobuf field optional int32 active_days_remaining = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $active_days_remaining = null; + /** + * Output only. Audience list resource names for audience list instances + * created for this recurring audience list. One audience list is created for + * each day, and the audience list will be listed here. + * This list is ordered with the most recently created audience list first. + * + * Generated from protobuf field repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $audience_lists; + /** + * Optional. Configures webhook notifications to be sent from the Google + * Analytics Data API to your webhook server. Use of webhooks is optional. If + * unused, you'll need to poll this API to determine when a recurring audience + * list creates new audience lists. Webhooks allow a notification to be sent + * to your servers & avoid the need for polling. + * Two POST requests will be sent each time a recurring audience list creates + * an audience list. This happens once per day until a recurring audience list + * reaches 0 active days remaining. The first request will be sent showing a + * newly created audience list in its CREATING state. The second request will + * be sent after the audience list completes creation (either the ACTIVE or + * FAILED state). + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.WebhookNotification webhook_notification = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $webhook_notification = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Identifier. The recurring audience list resource name assigned + * during creation. This resource name identifies this + * `RecurringAudienceList`. + * Format: + * `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + * @type string $audience + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin + * APIs. + * Format: `properties/{property}/audiences/{audience}` + * @type string $audience_display_name + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + * @type array<\Google\Analytics\Data\V1alpha\AudienceDimension>|\Google\Protobuf\Internal\RepeatedField $dimensions + * Required. The dimensions requested and displayed in the audience list + * response. + * @type int $active_days_remaining + * Optional. The number of remaining days that a recurring audience export + * will produce an audience list instance. This counter decreases by one each + * day, and when it reaches zero, no new audience lists will be created. + * Recurring audience list request for Analytics 360 properties default to 180 + * days and have a maximum of 365 days. Requests for standard Analytics + * properties default to 14 days and have a maximum of 30 days. + * The minimum value allowed during creation is 1. Requests above their + * respective maximum will be coerced to their maximum. + * @type array|\Google\Protobuf\Internal\RepeatedField $audience_lists + * Output only. Audience list resource names for audience list instances + * created for this recurring audience list. One audience list is created for + * each day, and the audience list will be listed here. + * This list is ordered with the most recently created audience list first. + * @type \Google\Analytics\Data\V1alpha\WebhookNotification $webhook_notification + * Optional. Configures webhook notifications to be sent from the Google + * Analytics Data API to your webhook server. Use of webhooks is optional. If + * unused, you'll need to poll this API to determine when a recurring audience + * list creates new audience lists. Webhooks allow a notification to be sent + * to your servers & avoid the need for polling. + * Two POST requests will be sent each time a recurring audience list creates + * an audience list. This happens once per day until a recurring audience list + * reaches 0 active days remaining. The first request will be sent showing a + * newly created audience list in its CREATING state. The second request will + * be sent after the audience list completes creation (either the ACTIVE or + * FAILED state). + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Output only. Identifier. The recurring audience list resource name assigned + * during creation. This resource name identifies this + * `RecurringAudienceList`. + * Format: + * `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + * + * 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. The recurring audience list resource name assigned + * during creation. This resource name identifies this + * `RecurringAudienceList`. + * Format: + * `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + * + * 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; + } + /** + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin + * APIs. + * Format: `properties/{property}/audiences/{audience}` + * + * Generated from protobuf field string audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getAudience() + { + return $this->audience; + } + /** + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin + * APIs. + * Format: `properties/{property}/audiences/{audience}` + * + * Generated from protobuf field string audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setAudience($var) + { + GPBUtil::checkString($var, True); + $this->audience = $var; + return $this; + } + /** + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + * + * Generated from protobuf field string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getAudienceDisplayName() + { + return $this->audience_display_name; + } + /** + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + * + * Generated from protobuf field string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setAudienceDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->audience_display_name = $var; + return $this; + } + /** + * Required. The dimensions requested and displayed in the audience list + * response. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDimensions() + { + return $this->dimensions; + } + /** + * Required. The dimensions requested and displayed in the audience list + * response. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param array<\Google\Analytics\Data\V1alpha\AudienceDimension>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\AudienceDimension::class); + $this->dimensions = $arr; + return $this; + } + /** + * Optional. The number of remaining days that a recurring audience export + * will produce an audience list instance. This counter decreases by one each + * day, and when it reaches zero, no new audience lists will be created. + * Recurring audience list request for Analytics 360 properties default to 180 + * days and have a maximum of 365 days. Requests for standard Analytics + * properties default to 14 days and have a maximum of 30 days. + * The minimum value allowed during creation is 1. Requests above their + * respective maximum will be coerced to their maximum. + * + * Generated from protobuf field optional int32 active_days_remaining = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getActiveDaysRemaining() + { + return isset($this->active_days_remaining) ? $this->active_days_remaining : 0; + } + public function hasActiveDaysRemaining() + { + return isset($this->active_days_remaining); + } + public function clearActiveDaysRemaining() + { + unset($this->active_days_remaining); + } + /** + * Optional. The number of remaining days that a recurring audience export + * will produce an audience list instance. This counter decreases by one each + * day, and when it reaches zero, no new audience lists will be created. + * Recurring audience list request for Analytics 360 properties default to 180 + * days and have a maximum of 365 days. Requests for standard Analytics + * properties default to 14 days and have a maximum of 30 days. + * The minimum value allowed during creation is 1. Requests above their + * respective maximum will be coerced to their maximum. + * + * Generated from protobuf field optional int32 active_days_remaining = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setActiveDaysRemaining($var) + { + GPBUtil::checkInt32($var); + $this->active_days_remaining = $var; + return $this; + } + /** + * Output only. Audience list resource names for audience list instances + * created for this recurring audience list. One audience list is created for + * each day, and the audience list will be listed here. + * This list is ordered with the most recently created audience list first. + * + * Generated from protobuf field repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAudienceLists() + { + return $this->audience_lists; + } + /** + * Output only. Audience list resource names for audience list instances + * created for this recurring audience list. One audience list is created for + * each day, and the audience list will be listed here. + * This list is ordered with the most recently created audience list first. + * + * Generated from protobuf field repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAudienceLists($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING); + $this->audience_lists = $arr; + return $this; + } + /** + * Optional. Configures webhook notifications to be sent from the Google + * Analytics Data API to your webhook server. Use of webhooks is optional. If + * unused, you'll need to poll this API to determine when a recurring audience + * list creates new audience lists. Webhooks allow a notification to be sent + * to your servers & avoid the need for polling. + * Two POST requests will be sent each time a recurring audience list creates + * an audience list. This happens once per day until a recurring audience list + * reaches 0 active days remaining. The first request will be sent showing a + * newly created audience list in its CREATING state. The second request will + * be sent after the audience list completes creation (either the ACTIVE or + * FAILED state). + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.WebhookNotification webhook_notification = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Data\V1alpha\WebhookNotification|null + */ + public function getWebhookNotification() + { + return $this->webhook_notification; + } + public function hasWebhookNotification() + { + return isset($this->webhook_notification); + } + public function clearWebhookNotification() + { + unset($this->webhook_notification); + } + /** + * Optional. Configures webhook notifications to be sent from the Google + * Analytics Data API to your webhook server. Use of webhooks is optional. If + * unused, you'll need to poll this API to determine when a recurring audience + * list creates new audience lists. Webhooks allow a notification to be sent + * to your servers & avoid the need for polling. + * Two POST requests will be sent each time a recurring audience list creates + * an audience list. This happens once per day until a recurring audience list + * reaches 0 active days remaining. The first request will be sent showing a + * newly created audience list in its CREATING state. The second request will + * be sent after the audience list completes creation (either the ACTIVE or + * FAILED state). + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.WebhookNotification webhook_notification = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Data\V1alpha\WebhookNotification $var + * @return $this + */ + public function setWebhookNotification($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\WebhookNotification::class); + $this->webhook_notification = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTask.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTask.php new file mode 100644 index 000000000..f2bbe086c --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTask.php @@ -0,0 +1,167 @@ +google.analytics.data.v1alpha.ReportTask + */ +class ReportTask extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Output only. Identifier. The report task resource name assigned during + * creation. Format: `properties/{property}/reportTasks/{report_task}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $name = ''; + /** + * Optional. A report definition to fetch report data, which describes the + * structure of a report. It typically includes the fields that will be + * included in the report and the criteria that will be used to filter the + * data. + * + * Generated from protobuf field .google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $report_definition = null; + /** + * Output only. The report metadata for a specific report task, which provides + * information about a report. It typically includes the following + * information: the resource name of the report, the state of the report, the + * timestamp the report was created, etc, + * + * Generated from protobuf field .google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $report_metadata = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Identifier. The report task resource name assigned during + * creation. Format: `properties/{property}/reportTasks/{report_task}` + * @type \Google\Analytics\Data\V1alpha\ReportTask\ReportDefinition $report_definition + * Optional. A report definition to fetch report data, which describes the + * structure of a report. It typically includes the fields that will be + * included in the report and the criteria that will be used to filter the + * data. + * @type \Google\Analytics\Data\V1alpha\ReportTask\ReportMetadata $report_metadata + * Output only. The report metadata for a specific report task, which provides + * information about a report. It typically includes the following + * information: the resource name of the report, the state of the report, the + * timestamp the report was created, etc, + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Output only. Identifier. The report task resource name assigned during + * creation. Format: `properties/{property}/reportTasks/{report_task}` + * + * 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. The report task resource name assigned during + * creation. Format: `properties/{property}/reportTasks/{report_task}` + * + * 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; + } + /** + * Optional. A report definition to fetch report data, which describes the + * structure of a report. It typically includes the fields that will be + * included in the report and the criteria that will be used to filter the + * data. + * + * Generated from protobuf field .google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Data\V1alpha\ReportTask\ReportDefinition|null + */ + public function getReportDefinition() + { + return $this->report_definition; + } + public function hasReportDefinition() + { + return isset($this->report_definition); + } + public function clearReportDefinition() + { + unset($this->report_definition); + } + /** + * Optional. A report definition to fetch report data, which describes the + * structure of a report. It typically includes the fields that will be + * included in the report and the criteria that will be used to filter the + * data. + * + * Generated from protobuf field .google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Data\V1alpha\ReportTask\ReportDefinition $var + * @return $this + */ + public function setReportDefinition($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ReportTask\ReportDefinition::class); + $this->report_definition = $var; + return $this; + } + /** + * Output only. The report metadata for a specific report task, which provides + * information about a report. It typically includes the following + * information: the resource name of the report, the state of the report, the + * timestamp the report was created, etc, + * + * Generated from protobuf field .google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Analytics\Data\V1alpha\ReportTask\ReportMetadata|null + */ + public function getReportMetadata() + { + return $this->report_metadata; + } + public function hasReportMetadata() + { + return isset($this->report_metadata); + } + public function clearReportMetadata() + { + unset($this->report_metadata); + } + /** + * Output only. The report metadata for a specific report task, which provides + * information about a report. It typically includes the following + * information: the resource name of the report, the state of the report, the + * timestamp the report was created, etc, + * + * Generated from protobuf field .google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Analytics\Data\V1alpha\ReportTask\ReportMetadata $var + * @return $this + */ + public function setReportMetadata($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ReportTask\ReportMetadata::class); + $this->report_metadata = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTask/ReportDefinition.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTask/ReportDefinition.php new file mode 100644 index 000000000..f9f192cd1 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTask/ReportDefinition.php @@ -0,0 +1,566 @@ +google.analytics.data.v1alpha.ReportTask.ReportDefinition + */ +class ReportDefinition extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Optional. The dimensions requested and displayed. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $dimensions; + /** + * Optional. The metrics requested and displayed. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $metrics; + /** + * Optional. Date ranges of data 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 event data for the overlapping days is + * included in the response rows for both date ranges. In a cohort request, + * this `dateRanges` must be unspecified. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $date_ranges; + /** + * Optional. Dimension filters let you ask for only specific dimension + * values in the report. 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.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $dimension_filter = null; + /** + * Optional. The filter clause of metrics. 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.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $metric_filter = null; + /** + * Optional. The row count of the start row from Google Analytics Storage. + * The first row is counted as row 0. + * When creating a report task, the `offset` and `limit` parameters define + * the subset of data rows from Google Analytics storage to be included in + * the generated report. For example, if there are a total of 300,000 rows + * in Google Analytics storage, the initial report task may have the + * first 10,000 rows with a limit of 10,000 and an offset of 0. + * Subsequently, another report task could cover the next 10,000 rows with a + * limit of 10,000 and an offset of 10,000. + * + * Generated from protobuf field int64 offset = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $offset = 0; + /** + * Optional. The number of rows to return in the Report. If unspecified, + * 10,000 rows are returned. The API returns a maximum of 250,000 rows per + * request, no matter how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values 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. + * + * Generated from protobuf field int64 limit = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $limit = 0; + /** + * Optional. Aggregation of metrics. Aggregated metric values will be shown + * in rows where the dimension_values are set to + * "RESERVED_(MetricAggregation)". + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $metric_aggregations; + /** + * Optional. Specifies how rows are ordered in the response. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $order_bys; + /** + * Optional. A currency code in ISO4217 format, such as "AED", "USD", "JPY". + * If the field is empty, the report uses the property's default currency. + * + * Generated from protobuf field string currency_code = 11 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $currency_code = ''; + /** + * Optional. Cohort group associated with this request. If there is a cohort + * group in the request the 'cohort' dimension must be present. + * + * Generated from protobuf field .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $cohort_spec = null; + /** + * Optional. If false or unspecified, each row with all metrics equal to 0 + * will not be returned. If true, these rows will be returned if they are + * not separately removed by a filter. + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * containing eventName: "purchase" and eventCount: 0. + * + * Generated from protobuf field bool keep_empty_rows = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $keep_empty_rows = \false; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\Dimension>|\Google\Protobuf\Internal\RepeatedField $dimensions + * Optional. The dimensions requested and displayed. + * @type array<\Google\Analytics\Data\V1alpha\Metric>|\Google\Protobuf\Internal\RepeatedField $metrics + * Optional. The metrics requested and displayed. + * @type array<\Google\Analytics\Data\V1alpha\DateRange>|\Google\Protobuf\Internal\RepeatedField $date_ranges + * Optional. Date ranges of data 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 event data for the overlapping days is + * included in the response rows for both date ranges. In a cohort request, + * this `dateRanges` must be unspecified. + * @type \Google\Analytics\Data\V1alpha\FilterExpression $dimension_filter + * Optional. Dimension filters let you ask for only specific dimension + * values in the report. 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\Data\V1alpha\FilterExpression $metric_filter + * Optional. The filter clause of metrics. Applied after aggregating the + * report's rows, similar to SQL having-clause. Dimensions cannot be used in + * this filter. + * @type int|string $offset + * Optional. The row count of the start row from Google Analytics Storage. + * The first row is counted as row 0. + * When creating a report task, the `offset` and `limit` parameters define + * the subset of data rows from Google Analytics storage to be included in + * the generated report. For example, if there are a total of 300,000 rows + * in Google Analytics storage, the initial report task may have the + * first 10,000 rows with a limit of 10,000 and an offset of 0. + * Subsequently, another report task could cover the next 10,000 rows with a + * limit of 10,000 and an offset of 10,000. + * @type int|string $limit + * Optional. The number of rows to return in the Report. If unspecified, + * 10,000 rows are returned. The API returns a maximum of 250,000 rows per + * request, no matter how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values 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. + * @type array|\Google\Protobuf\Internal\RepeatedField $metric_aggregations + * Optional. Aggregation of metrics. Aggregated metric values will be shown + * in rows where the dimension_values are set to + * "RESERVED_(MetricAggregation)". + * @type array<\Google\Analytics\Data\V1alpha\OrderBy>|\Google\Protobuf\Internal\RepeatedField $order_bys + * Optional. Specifies how rows are ordered in the response. + * @type string $currency_code + * Optional. A currency code in ISO4217 format, such as "AED", "USD", "JPY". + * If the field is empty, the report uses the property's default currency. + * @type \Google\Analytics\Data\V1alpha\CohortSpec $cohort_spec + * Optional. Cohort group associated with this request. If there is a cohort + * group in the request the 'cohort' dimension must be present. + * @type bool $keep_empty_rows + * Optional. If false or unspecified, each row with all metrics equal to 0 + * will not be returned. If true, these rows will be returned if they are + * not separately removed by a filter. + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * containing eventName: "purchase" and eventCount: 0. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Optional. The dimensions requested and displayed. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDimensions() + { + return $this->dimensions; + } + /** + * Optional. The dimensions requested and displayed. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param array<\Google\Analytics\Data\V1alpha\Dimension>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Dimension::class); + $this->dimensions = $arr; + return $this; + } + /** + * Optional. The metrics requested and displayed. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getMetrics() + { + return $this->metrics; + } + /** + * Optional. The metrics requested and displayed. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param array<\Google\Analytics\Data\V1alpha\Metric>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setMetrics($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Metric::class); + $this->metrics = $arr; + return $this; + } + /** + * Optional. Date ranges of data 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 event data for the overlapping days is + * included in the response rows for both date ranges. In a cohort request, + * this `dateRanges` must be unspecified. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDateRanges() + { + return $this->date_ranges; + } + /** + * Optional. Date ranges of data 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 event data for the overlapping days is + * included in the response rows for both date ranges. In a cohort request, + * this `dateRanges` must be unspecified. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param array<\Google\Analytics\Data\V1alpha\DateRange>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDateRanges($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\DateRange::class); + $this->date_ranges = $arr; + return $this; + } + /** + * Optional. Dimension filters let you ask for only specific dimension + * values in the report. 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.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Data\V1alpha\FilterExpression|null + */ + public function getDimensionFilter() + { + return $this->dimension_filter; + } + public function hasDimensionFilter() + { + return isset($this->dimension_filter); + } + public function clearDimensionFilter() + { + unset($this->dimension_filter); + } + /** + * Optional. Dimension filters let you ask for only specific dimension + * values in the report. 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.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Data\V1alpha\FilterExpression $var + * @return $this + */ + public function setDimensionFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FilterExpression::class); + $this->dimension_filter = $var; + return $this; + } + /** + * Optional. The filter clause of metrics. 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.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Data\V1alpha\FilterExpression|null + */ + public function getMetricFilter() + { + return $this->metric_filter; + } + public function hasMetricFilter() + { + return isset($this->metric_filter); + } + public function clearMetricFilter() + { + unset($this->metric_filter); + } + /** + * Optional. The filter clause of metrics. 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.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Data\V1alpha\FilterExpression $var + * @return $this + */ + public function setMetricFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FilterExpression::class); + $this->metric_filter = $var; + return $this; + } + /** + * Optional. The row count of the start row from Google Analytics Storage. + * The first row is counted as row 0. + * When creating a report task, the `offset` and `limit` parameters define + * the subset of data rows from Google Analytics storage to be included in + * the generated report. For example, if there are a total of 300,000 rows + * in Google Analytics storage, the initial report task may have the + * first 10,000 rows with a limit of 10,000 and an offset of 0. + * Subsequently, another report task could cover the next 10,000 rows with a + * limit of 10,000 and an offset of 10,000. + * + * Generated from protobuf field int64 offset = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getOffset() + { + return $this->offset; + } + /** + * Optional. The row count of the start row from Google Analytics Storage. + * The first row is counted as row 0. + * When creating a report task, the `offset` and `limit` parameters define + * the subset of data rows from Google Analytics storage to be included in + * the generated report. For example, if there are a total of 300,000 rows + * in Google Analytics storage, the initial report task may have the + * first 10,000 rows with a limit of 10,000 and an offset of 0. + * Subsequently, another report task could cover the next 10,000 rows with a + * limit of 10,000 and an offset of 10,000. + * + * Generated from protobuf field int64 offset = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setOffset($var) + { + GPBUtil::checkInt64($var); + $this->offset = $var; + return $this; + } + /** + * Optional. The number of rows to return in the Report. If unspecified, + * 10,000 rows are returned. The API returns a maximum of 250,000 rows per + * request, no matter how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values 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. + * + * Generated from protobuf field int64 limit = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getLimit() + { + return $this->limit; + } + /** + * Optional. The number of rows to return in the Report. If unspecified, + * 10,000 rows are returned. The API returns a maximum of 250,000 rows per + * request, no matter how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values 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. + * + * Generated from protobuf field int64 limit = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setLimit($var) + { + GPBUtil::checkInt64($var); + $this->limit = $var; + return $this; + } + /** + * Optional. Aggregation of metrics. Aggregated metric values will be shown + * in rows where the dimension_values are set to + * "RESERVED_(MetricAggregation)". + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getMetricAggregations() + { + return $this->metric_aggregations; + } + /** + * Optional. Aggregation of metrics. Aggregated metric values will be shown + * in rows where the dimension_values are set to + * "RESERVED_(MetricAggregation)". + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setMetricAggregations($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\MetricAggregation::class); + $this->metric_aggregations = $arr; + return $this; + } + /** + * Optional. Specifies how rows are ordered in the response. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getOrderBys() + { + return $this->order_bys; + } + /** + * Optional. Specifies how rows are ordered in the response. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param array<\Google\Analytics\Data\V1alpha\OrderBy>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setOrderBys($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\OrderBy::class); + $this->order_bys = $arr; + return $this; + } + /** + * Optional. A currency code in ISO4217 format, such as "AED", "USD", "JPY". + * If the field is empty, the report uses the property's default currency. + * + * Generated from protobuf field string currency_code = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getCurrencyCode() + { + return $this->currency_code; + } + /** + * Optional. A currency code in ISO4217 format, such as "AED", "USD", "JPY". + * If the field is empty, the report uses the property's default currency. + * + * Generated from protobuf field string currency_code = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setCurrencyCode($var) + { + GPBUtil::checkString($var, True); + $this->currency_code = $var; + return $this; + } + /** + * Optional. Cohort group associated with this request. If there is a cohort + * group in the request the 'cohort' dimension must be present. + * + * Generated from protobuf field .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Data\V1alpha\CohortSpec|null + */ + public function getCohortSpec() + { + return $this->cohort_spec; + } + public function hasCohortSpec() + { + return isset($this->cohort_spec); + } + public function clearCohortSpec() + { + unset($this->cohort_spec); + } + /** + * Optional. Cohort group associated with this request. If there is a cohort + * group in the request the 'cohort' dimension must be present. + * + * Generated from protobuf field .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Data\V1alpha\CohortSpec $var + * @return $this + */ + public function setCohortSpec($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\CohortSpec::class); + $this->cohort_spec = $var; + return $this; + } + /** + * Optional. If false or unspecified, each row with all metrics equal to 0 + * will not be returned. If true, these rows will be returned if they are + * not separately removed by a filter. + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * containing eventName: "purchase" and eventCount: 0. + * + * Generated from protobuf field bool keep_empty_rows = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getKeepEmptyRows() + { + return $this->keep_empty_rows; + } + /** + * Optional. If false or unspecified, each row with all metrics equal to 0 + * will not be returned. If true, these rows will be returned if they are + * not separately removed by a filter. + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * containing eventName: "purchase" and eventCount: 0. + * + * Generated from protobuf field bool keep_empty_rows = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setKeepEmptyRows($var) + { + GPBUtil::checkBool($var); + $this->keep_empty_rows = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTask/ReportMetadata.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTask/ReportMetadata.php new file mode 100644 index 000000000..57066a041 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTask/ReportMetadata.php @@ -0,0 +1,340 @@ +google.analytics.data.v1alpha.ReportTask.ReportMetadata + */ +class ReportMetadata extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Output only. The current state for this report task. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.ReportTask.ReportMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $state = null; + /** + * Output only. The time when `CreateReportTask` was called and the report + * began the `CREATING` state. + * + * Generated from protobuf field optional .google.protobuf.Timestamp begin_creating_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $begin_creating_time = null; + /** + * Output only. The total quota tokens charged during creation of the + * report. Because this token count is based on activity from the `CREATING` + * state, this tokens charge will be fixed once a report task enters the + * `ACTIVE` or `FAILED` state. + * + * Generated from protobuf field int32 creation_quota_tokens_charged = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $creation_quota_tokens_charged = 0; + /** + * Output only. The total number of rows in the report result. This field + * will be populated when the state is active. You can utilize + * `task_row_count` for pagination within the confines of their existing + * report. + * + * Generated from protobuf field optional int32 task_row_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $task_row_count = null; + /** + * Output only. Error message is populated if a report task fails during + * creation. + * + * Generated from protobuf field optional string error_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $error_message = null; + /** + * Output only. The total number of rows in Google Analytics storage. If you + * want to query additional data rows beyond the current report, they can + * initiate a new report task based on the `total_row_count`. + * The `task_row_count` represents the number of rows specifically + * pertaining to the current report, whereas `total_row_count` encompasses + * the total count of rows across all data retrieved from Google + * Analytics storage. + * For example, suppose the current report's `task_row_count` is 20, + * displaying the data from the first 20 rows. Simultaneously, the + * `total_row_count` is 30, indicating the presence of data for all 30 rows. + * The `task_row_count` can be utilizated to paginate through the initial 20 + * rows. To expand the report and include data from all 30 rows, a new + * report task can be created using the total_row_count to access the full + * set of 30 rows' worth of data. + * + * Generated from protobuf field optional int32 total_row_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $total_row_count = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $state + * Output only. The current state for this report task. + * @type \Google\Protobuf\Timestamp $begin_creating_time + * Output only. The time when `CreateReportTask` was called and the report + * began the `CREATING` state. + * @type int $creation_quota_tokens_charged + * Output only. The total quota tokens charged during creation of the + * report. Because this token count is based on activity from the `CREATING` + * state, this tokens charge will be fixed once a report task enters the + * `ACTIVE` or `FAILED` state. + * @type int $task_row_count + * Output only. The total number of rows in the report result. This field + * will be populated when the state is active. You can utilize + * `task_row_count` for pagination within the confines of their existing + * report. + * @type string $error_message + * Output only. Error message is populated if a report task fails during + * creation. + * @type int $total_row_count + * Output only. The total number of rows in Google Analytics storage. If you + * want to query additional data rows beyond the current report, they can + * initiate a new report task based on the `total_row_count`. + * The `task_row_count` represents the number of rows specifically + * pertaining to the current report, whereas `total_row_count` encompasses + * the total count of rows across all data retrieved from Google + * Analytics storage. + * For example, suppose the current report's `task_row_count` is 20, + * displaying the data from the first 20 rows. Simultaneously, the + * `total_row_count` is 30, indicating the presence of data for all 30 rows. + * The `task_row_count` can be utilizated to paginate through the initial 20 + * rows. To expand the report and include data from all 30 rows, a new + * report task can be created using the total_row_count to access the full + * set of 30 rows' worth of data. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Output only. The current state for this report task. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.ReportTask.ReportMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getState() + { + return isset($this->state) ? $this->state : 0; + } + public function hasState() + { + return isset($this->state); + } + public function clearState() + { + unset($this->state); + } + /** + * Output only. The current state for this report task. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.ReportTask.ReportMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setState($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ReportTask\ReportMetadata\State::class); + $this->state = $var; + return $this; + } + /** + * Output only. The time when `CreateReportTask` was called and the report + * began the `CREATING` state. + * + * Generated from protobuf field optional .google.protobuf.Timestamp begin_creating_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getBeginCreatingTime() + { + return $this->begin_creating_time; + } + public function hasBeginCreatingTime() + { + return isset($this->begin_creating_time); + } + public function clearBeginCreatingTime() + { + unset($this->begin_creating_time); + } + /** + * Output only. The time when `CreateReportTask` was called and the report + * began the `CREATING` state. + * + * Generated from protobuf field optional .google.protobuf.Timestamp begin_creating_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setBeginCreatingTime($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Timestamp::class); + $this->begin_creating_time = $var; + return $this; + } + /** + * Output only. The total quota tokens charged during creation of the + * report. Because this token count is based on activity from the `CREATING` + * state, this tokens charge will be fixed once a report task enters the + * `ACTIVE` or `FAILED` state. + * + * Generated from protobuf field int32 creation_quota_tokens_charged = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getCreationQuotaTokensCharged() + { + return $this->creation_quota_tokens_charged; + } + /** + * Output only. The total quota tokens charged during creation of the + * report. Because this token count is based on activity from the `CREATING` + * state, this tokens charge will be fixed once a report task enters the + * `ACTIVE` or `FAILED` state. + * + * Generated from protobuf field int32 creation_quota_tokens_charged = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setCreationQuotaTokensCharged($var) + { + GPBUtil::checkInt32($var); + $this->creation_quota_tokens_charged = $var; + return $this; + } + /** + * Output only. The total number of rows in the report result. This field + * will be populated when the state is active. You can utilize + * `task_row_count` for pagination within the confines of their existing + * report. + * + * Generated from protobuf field optional int32 task_row_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getTaskRowCount() + { + return isset($this->task_row_count) ? $this->task_row_count : 0; + } + public function hasTaskRowCount() + { + return isset($this->task_row_count); + } + public function clearTaskRowCount() + { + unset($this->task_row_count); + } + /** + * Output only. The total number of rows in the report result. This field + * will be populated when the state is active. You can utilize + * `task_row_count` for pagination within the confines of their existing + * report. + * + * Generated from protobuf field optional int32 task_row_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setTaskRowCount($var) + { + GPBUtil::checkInt32($var); + $this->task_row_count = $var; + return $this; + } + /** + * Output only. Error message is populated if a report task fails during + * creation. + * + * Generated from protobuf field optional string error_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getErrorMessage() + { + return isset($this->error_message) ? $this->error_message : ''; + } + public function hasErrorMessage() + { + return isset($this->error_message); + } + public function clearErrorMessage() + { + unset($this->error_message); + } + /** + * Output only. Error message is populated if a report task fails during + * creation. + * + * Generated from protobuf field optional string error_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setErrorMessage($var) + { + GPBUtil::checkString($var, True); + $this->error_message = $var; + return $this; + } + /** + * Output only. The total number of rows in Google Analytics storage. If you + * want to query additional data rows beyond the current report, they can + * initiate a new report task based on the `total_row_count`. + * The `task_row_count` represents the number of rows specifically + * pertaining to the current report, whereas `total_row_count` encompasses + * the total count of rows across all data retrieved from Google + * Analytics storage. + * For example, suppose the current report's `task_row_count` is 20, + * displaying the data from the first 20 rows. Simultaneously, the + * `total_row_count` is 30, indicating the presence of data for all 30 rows. + * The `task_row_count` can be utilizated to paginate through the initial 20 + * rows. To expand the report and include data from all 30 rows, a new + * report task can be created using the total_row_count to access the full + * set of 30 rows' worth of data. + * + * Generated from protobuf field optional int32 total_row_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getTotalRowCount() + { + return isset($this->total_row_count) ? $this->total_row_count : 0; + } + public function hasTotalRowCount() + { + return isset($this->total_row_count); + } + public function clearTotalRowCount() + { + unset($this->total_row_count); + } + /** + * Output only. The total number of rows in Google Analytics storage. If you + * want to query additional data rows beyond the current report, they can + * initiate a new report task based on the `total_row_count`. + * The `task_row_count` represents the number of rows specifically + * pertaining to the current report, whereas `total_row_count` encompasses + * the total count of rows across all data retrieved from Google + * Analytics storage. + * For example, suppose the current report's `task_row_count` is 20, + * displaying the data from the first 20 rows. Simultaneously, the + * `total_row_count` is 30, indicating the presence of data for all 30 rows. + * The `task_row_count` can be utilizated to paginate through the initial 20 + * rows. To expand the report and include data from all 30 rows, a new + * report task can be created using the total_row_count to access the full + * set of 30 rows' worth of data. + * + * Generated from protobuf field optional int32 total_row_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setTotalRowCount($var) + { + GPBUtil::checkInt32($var); + $this->total_row_count = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTask/ReportMetadata/State.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTask/ReportMetadata/State.php new file mode 100644 index 000000000..c385cfece --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTask/ReportMetadata/State.php @@ -0,0 +1,56 @@ +google.analytics.data.v1alpha.ReportTask.ReportMetadata.State + */ +class State +{ + /** + * Unspecified state will never be used. + * + * Generated from protobuf enum STATE_UNSPECIFIED = 0; + */ + const STATE_UNSPECIFIED = 0; + /** + * The report is currently creating and will be available in the + * future. Creating occurs immediately after the CreateReport call. + * + * Generated from protobuf enum CREATING = 1; + */ + const CREATING = 1; + /** + * The report is fully created and ready for querying. + * + * Generated from protobuf enum ACTIVE = 2; + */ + const ACTIVE = 2; + /** + * The report failed to be created. + * + * Generated from protobuf enum FAILED = 3; + */ + const FAILED = 3; + private static $valueToName = [self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED', self::CREATING => 'CREATING', self::ACTIVE => 'ACTIVE', self::FAILED => 'FAILED']; + 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/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTaskMetadata.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTaskMetadata.php new file mode 100644 index 000000000..e4258d18c --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ReportTaskMetadata.php @@ -0,0 +1,31 @@ +google.analytics.data.v1alpha.ReportTaskMetadata + */ +class ReportTaskMetadata extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/ResponseMetaData.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ResponseMetaData.php index 3ee7431b5..5778aa721 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/ResponseMetaData.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ResponseMetaData.php @@ -17,10 +17,69 @@ class ResponseMetaData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog /** * If true, indicates some buckets of dimension combinations are rolled into * "(other)" row. This can happen for high cardinality reports. + * The metadata parameter dataLossFromOtherRow is populated based on the + * aggregated data table used in the report. The parameter will be accurately + * populated regardless of the filters and limits in the report. + * For example, the (other) row could be dropped from the report because the + * request contains a filter on sessionSource = google. This parameter will + * still be populated if data loss from other row was present in the input + * aggregate data used to generate this report. + * To learn more, see [About the (other) row and data + * sampling](https://support.google.com/analytics/answer/13208658#reports). * * Generated from protobuf field bool data_loss_from_other_row = 3; */ private $data_loss_from_other_row = \false; + /** + * Describes the schema restrictions actively enforced in creating this + * report. To learn more, see [Access and data-restriction + * management](https://support.google.com/analytics/answer/10851388). + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4; + */ + private $schema_restriction_response = null; + /** + * The currency code used in this report. Intended to be used in formatting + * currency metrics like `purchaseRevenue` for visualization. If currency_code + * was specified in the request, this response parameter will echo the request + * parameter; otherwise, this response parameter is the property's current + * currency_code. + * Currency codes are string encodings of currency types from the ISO 4217 + * standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", + * "EUR", "JPY". To learn more, see + * https://support.google.com/analytics/answer/9796179. + * + * Generated from protobuf field optional string currency_code = 5; + */ + private $currency_code = null; + /** + * The property's current timezone. Intended to be used to interpret + * time-based dimensions like `hour` and `minute`. 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 optional string time_zone = 6; + */ + private $time_zone = null; + /** + * If empty reason is specified, the report is empty for this reason. + * + * Generated from protobuf field optional string empty_reason = 7; + */ + private $empty_reason = null; + /** + * If `subjectToThresholding` is true, this report is subject to thresholding + * and only returns data that meets the minimum aggregation thresholds. It is + * possible for a request to be subject to thresholding thresholding and no + * data is absent from the report, and this happens when all data is above the + * thresholds. To learn more, see [Data + * thresholds](https://support.google.com/analytics/answer/9383630) and [About + * Demographics and + * Interests](https://support.google.com/analytics/answer/2799357). + * + * Generated from protobuf field optional bool subject_to_thresholding = 8; + */ + private $subject_to_thresholding = null; /** * Constructor. * @@ -30,6 +89,45 @@ class ResponseMetaData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog * @type bool $data_loss_from_other_row * If true, indicates some buckets of dimension combinations are rolled into * "(other)" row. This can happen for high cardinality reports. + * The metadata parameter dataLossFromOtherRow is populated based on the + * aggregated data table used in the report. The parameter will be accurately + * populated regardless of the filters and limits in the report. + * For example, the (other) row could be dropped from the report because the + * request contains a filter on sessionSource = google. This parameter will + * still be populated if data loss from other row was present in the input + * aggregate data used to generate this report. + * To learn more, see [About the (other) row and data + * sampling](https://support.google.com/analytics/answer/13208658#reports). + * @type \Google\Analytics\Data\V1alpha\ResponseMetaData\SchemaRestrictionResponse $schema_restriction_response + * Describes the schema restrictions actively enforced in creating this + * report. To learn more, see [Access and data-restriction + * management](https://support.google.com/analytics/answer/10851388). + * @type string $currency_code + * The currency code used in this report. Intended to be used in formatting + * currency metrics like `purchaseRevenue` for visualization. If currency_code + * was specified in the request, this response parameter will echo the request + * parameter; otherwise, this response parameter is the property's current + * currency_code. + * Currency codes are string encodings of currency types from the ISO 4217 + * standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", + * "EUR", "JPY". To learn more, see + * https://support.google.com/analytics/answer/9796179. + * @type string $time_zone + * The property's current timezone. Intended to be used to interpret + * time-based dimensions like `hour` and `minute`. Formatted as strings from + * the IANA Time Zone database (https://www.iana.org/time-zones); for example + * "America/New_York" or "Asia/Tokyo". + * @type string $empty_reason + * If empty reason is specified, the report is empty for this reason. + * @type bool $subject_to_thresholding + * If `subjectToThresholding` is true, this report is subject to thresholding + * and only returns data that meets the minimum aggregation thresholds. It is + * possible for a request to be subject to thresholding thresholding and no + * data is absent from the report, and this happens when all data is above the + * thresholds. To learn more, see [Data + * thresholds](https://support.google.com/analytics/answer/9383630) and [About + * Demographics and + * Interests](https://support.google.com/analytics/answer/2799357). * } */ public function __construct($data = NULL) @@ -40,6 +138,15 @@ public function __construct($data = NULL) /** * If true, indicates some buckets of dimension combinations are rolled into * "(other)" row. This can happen for high cardinality reports. + * The metadata parameter dataLossFromOtherRow is populated based on the + * aggregated data table used in the report. The parameter will be accurately + * populated regardless of the filters and limits in the report. + * For example, the (other) row could be dropped from the report because the + * request contains a filter on sessionSource = google. This parameter will + * still be populated if data loss from other row was present in the input + * aggregate data used to generate this report. + * To learn more, see [About the (other) row and data + * sampling](https://support.google.com/analytics/answer/13208658#reports). * * Generated from protobuf field bool data_loss_from_other_row = 3; * @return bool @@ -51,6 +158,15 @@ public function getDataLossFromOtherRow() /** * If true, indicates some buckets of dimension combinations are rolled into * "(other)" row. This can happen for high cardinality reports. + * The metadata parameter dataLossFromOtherRow is populated based on the + * aggregated data table used in the report. The parameter will be accurately + * populated regardless of the filters and limits in the report. + * For example, the (other) row could be dropped from the report because the + * request contains a filter on sessionSource = google. This parameter will + * still be populated if data loss from other row was present in the input + * aggregate data used to generate this report. + * To learn more, see [About the (other) row and data + * sampling](https://support.google.com/analytics/answer/13208658#reports). * * Generated from protobuf field bool data_loss_from_other_row = 3; * @param bool $var @@ -62,4 +178,199 @@ public function setDataLossFromOtherRow($var) $this->data_loss_from_other_row = $var; return $this; } + /** + * Describes the schema restrictions actively enforced in creating this + * report. To learn more, see [Access and data-restriction + * management](https://support.google.com/analytics/answer/10851388). + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4; + * @return \Google\Analytics\Data\V1alpha\ResponseMetaData\SchemaRestrictionResponse|null + */ + public function getSchemaRestrictionResponse() + { + return $this->schema_restriction_response; + } + public function hasSchemaRestrictionResponse() + { + return isset($this->schema_restriction_response); + } + public function clearSchemaRestrictionResponse() + { + unset($this->schema_restriction_response); + } + /** + * Describes the schema restrictions actively enforced in creating this + * report. To learn more, see [Access and data-restriction + * management](https://support.google.com/analytics/answer/10851388). + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4; + * @param \Google\Analytics\Data\V1alpha\ResponseMetaData\SchemaRestrictionResponse $var + * @return $this + */ + public function setSchemaRestrictionResponse($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ResponseMetaData\SchemaRestrictionResponse::class); + $this->schema_restriction_response = $var; + return $this; + } + /** + * The currency code used in this report. Intended to be used in formatting + * currency metrics like `purchaseRevenue` for visualization. If currency_code + * was specified in the request, this response parameter will echo the request + * parameter; otherwise, this response parameter is the property's current + * currency_code. + * Currency codes are string encodings of currency types from the ISO 4217 + * standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", + * "EUR", "JPY". To learn more, see + * https://support.google.com/analytics/answer/9796179. + * + * Generated from protobuf field optional string currency_code = 5; + * @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); + } + /** + * The currency code used in this report. Intended to be used in formatting + * currency metrics like `purchaseRevenue` for visualization. If currency_code + * was specified in the request, this response parameter will echo the request + * parameter; otherwise, this response parameter is the property's current + * currency_code. + * Currency codes are string encodings of currency types from the ISO 4217 + * standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", + * "EUR", "JPY". To learn more, see + * https://support.google.com/analytics/answer/9796179. + * + * Generated from protobuf field optional string currency_code = 5; + * @param string $var + * @return $this + */ + public function setCurrencyCode($var) + { + GPBUtil::checkString($var, True); + $this->currency_code = $var; + return $this; + } + /** + * The property's current timezone. Intended to be used to interpret + * time-based dimensions like `hour` and `minute`. 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 optional string time_zone = 6; + * @return string + */ + public function getTimeZone() + { + return isset($this->time_zone) ? $this->time_zone : ''; + } + public function hasTimeZone() + { + return isset($this->time_zone); + } + public function clearTimeZone() + { + unset($this->time_zone); + } + /** + * The property's current timezone. Intended to be used to interpret + * time-based dimensions like `hour` and `minute`. 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 optional string time_zone = 6; + * @param string $var + * @return $this + */ + public function setTimeZone($var) + { + GPBUtil::checkString($var, True); + $this->time_zone = $var; + return $this; + } + /** + * If empty reason is specified, the report is empty for this reason. + * + * Generated from protobuf field optional string empty_reason = 7; + * @return string + */ + public function getEmptyReason() + { + return isset($this->empty_reason) ? $this->empty_reason : ''; + } + public function hasEmptyReason() + { + return isset($this->empty_reason); + } + public function clearEmptyReason() + { + unset($this->empty_reason); + } + /** + * If empty reason is specified, the report is empty for this reason. + * + * Generated from protobuf field optional string empty_reason = 7; + * @param string $var + * @return $this + */ + public function setEmptyReason($var) + { + GPBUtil::checkString($var, True); + $this->empty_reason = $var; + return $this; + } + /** + * If `subjectToThresholding` is true, this report is subject to thresholding + * and only returns data that meets the minimum aggregation thresholds. It is + * possible for a request to be subject to thresholding thresholding and no + * data is absent from the report, and this happens when all data is above the + * thresholds. To learn more, see [Data + * thresholds](https://support.google.com/analytics/answer/9383630) and [About + * Demographics and + * Interests](https://support.google.com/analytics/answer/2799357). + * + * Generated from protobuf field optional bool subject_to_thresholding = 8; + * @return bool + */ + public function getSubjectToThresholding() + { + return isset($this->subject_to_thresholding) ? $this->subject_to_thresholding : \false; + } + public function hasSubjectToThresholding() + { + return isset($this->subject_to_thresholding); + } + public function clearSubjectToThresholding() + { + unset($this->subject_to_thresholding); + } + /** + * If `subjectToThresholding` is true, this report is subject to thresholding + * and only returns data that meets the minimum aggregation thresholds. It is + * possible for a request to be subject to thresholding thresholding and no + * data is absent from the report, and this happens when all data is above the + * thresholds. To learn more, see [Data + * thresholds](https://support.google.com/analytics/answer/9383630) and [About + * Demographics and + * Interests](https://support.google.com/analytics/answer/2799357). + * + * Generated from protobuf field optional bool subject_to_thresholding = 8; + * @param bool $var + * @return $this + */ + public function setSubjectToThresholding($var) + { + GPBUtil::checkBool($var); + $this->subject_to_thresholding = $var; + return $this; + } } diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/ResponseMetaData/SchemaRestrictionResponse.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ResponseMetaData/SchemaRestrictionResponse.php new file mode 100644 index 000000000..4008776c0 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ResponseMetaData/SchemaRestrictionResponse.php @@ -0,0 +1,75 @@ +google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse + */ +class SchemaRestrictionResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * All restrictions actively enforced in creating the report. For example, + * `purchaseRevenue` always has the restriction type `REVENUE_DATA`. + * However, this active response restriction is only populated if the user's + * custom role disallows access to `REVENUE_DATA`. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1; + */ + private $active_metric_restrictions; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\ResponseMetaData\SchemaRestrictionResponse\ActiveMetricRestriction>|\Google\Protobuf\Internal\RepeatedField $active_metric_restrictions + * All restrictions actively enforced in creating the report. For example, + * `purchaseRevenue` always has the restriction type `REVENUE_DATA`. + * However, this active response restriction is only populated if the user's + * custom role disallows access to `REVENUE_DATA`. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * All restrictions actively enforced in creating the report. For example, + * `purchaseRevenue` always has the restriction type `REVENUE_DATA`. + * However, this active response restriction is only populated if the user's + * custom role disallows access to `REVENUE_DATA`. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getActiveMetricRestrictions() + { + return $this->active_metric_restrictions; + } + /** + * All restrictions actively enforced in creating the report. For example, + * `purchaseRevenue` always has the restriction type `REVENUE_DATA`. + * However, this active response restriction is only populated if the user's + * custom role disallows access to `REVENUE_DATA`. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1; + * @param array<\Google\Analytics\Data\V1alpha\ResponseMetaData\SchemaRestrictionResponse\ActiveMetricRestriction>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setActiveMetricRestrictions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\ResponseMetaData\SchemaRestrictionResponse\ActiveMetricRestriction::class); + $this->active_metric_restrictions = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/ResponseMetaData/SchemaRestrictionResponse/ActiveMetricRestriction.php b/vendor/prefixed/google/analytics-data/src/V1alpha/ResponseMetaData/SchemaRestrictionResponse/ActiveMetricRestriction.php new file mode 100644 index 000000000..14a850ce9 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/ResponseMetaData/SchemaRestrictionResponse/ActiveMetricRestriction.php @@ -0,0 +1,100 @@ +google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction + */ +class ActiveMetricRestriction extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The name of the restricted metric. + * + * Generated from protobuf field optional string metric_name = 1; + */ + private $metric_name = null; + /** + * The reason for this metric's restriction. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2; + */ + private $restricted_metric_types; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $metric_name + * The name of the restricted metric. + * @type array|\Google\Protobuf\Internal\RepeatedField $restricted_metric_types + * The reason for this metric's restriction. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The name of the restricted metric. + * + * Generated from protobuf field optional string metric_name = 1; + * @return string + */ + public function getMetricName() + { + return isset($this->metric_name) ? $this->metric_name : ''; + } + public function hasMetricName() + { + return isset($this->metric_name); + } + public function clearMetricName() + { + unset($this->metric_name); + } + /** + * The name of the restricted metric. + * + * Generated from protobuf field optional string metric_name = 1; + * @param string $var + * @return $this + */ + public function setMetricName($var) + { + GPBUtil::checkString($var, True); + $this->metric_name = $var; + return $this; + } + /** + * The reason for this metric's restriction. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getRestrictedMetricTypes() + { + return $this->restricted_metric_types; + } + /** + * The reason for this metric's restriction. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setRestrictedMetricTypes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RestrictedMetricType::class); + $this->restricted_metric_types = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/RestrictedMetricType.php b/vendor/prefixed/google/analytics-data/src/V1alpha/RestrictedMetricType.php new file mode 100644 index 000000000..9854974c5 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/RestrictedMetricType.php @@ -0,0 +1,50 @@ +google.analytics.data.v1alpha.RestrictedMetricType + */ +class RestrictedMetricType +{ + /** + * Unspecified type. + * + * Generated from protobuf enum RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; + */ + const RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; + /** + * Cost metrics such as `adCost`. + * + * Generated from protobuf enum COST_DATA = 1; + */ + const COST_DATA = 1; + /** + * Revenue metrics such as `purchaseRevenue`. + * + * 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/vendor/prefixed/google/analytics-data/src/V1alpha/Row.php b/vendor/prefixed/google/analytics-data/src/V1alpha/Row.php index 10d3c91f9..ce54ced14 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/Row.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/Row.php @@ -66,10 +66,10 @@ class Row extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\I * @param array $data { * Optional. Data for populating the Message object. * - * @type \Google\Analytics\Data\V1alpha\DimensionValue[]|\Google\Protobuf\Internal\RepeatedField $dimension_values + * @type array<\Google\Analytics\Data\V1alpha\DimensionValue>|\Google\Protobuf\Internal\RepeatedField $dimension_values * List of requested dimension values. In a PivotReport, dimension_values * are only listed for dimensions included in a pivot. - * @type \Google\Analytics\Data\V1alpha\MetricValue[]|\Google\Protobuf\Internal\RepeatedField $metric_values + * @type array<\Google\Analytics\Data\V1alpha\MetricValue>|\Google\Protobuf\Internal\RepeatedField $metric_values * List of requested visible metric values. * } */ @@ -94,7 +94,7 @@ public function getDimensionValues() * are only listed for dimensions included in a pivot. * * Generated from protobuf field repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - * @param \Google\Analytics\Data\V1alpha\DimensionValue[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Analytics\Data\V1alpha\DimensionValue>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setDimensionValues($var) @@ -117,7 +117,7 @@ public function getMetricValues() * List of requested visible metric values. * * Generated from protobuf field repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - * @param \Google\Analytics\Data\V1alpha\MetricValue[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Analytics\Data\V1alpha\MetricValue>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setMetricValues($var) diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/RunFunnelReportRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/RunFunnelReportRequest.php new file mode 100644 index 000000000..f1876ac0d --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/RunFunnelReportRequest.php @@ -0,0 +1,516 @@ +google.analytics.data.v1alpha.RunFunnelReportRequest + */ +class RunFunnelReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Optional. A Google Analytics GA4 property identifier whose events are + * tracked. Specified in the URL path and not the body. To learn more, see + * [where to find your Property + * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). + * Within a batch request, this property should either be unspecified or + * consistent with the batch-level property. + * Example: properties/1234 + * + * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $property = ''; + /** + * Optional. Date ranges of data 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 event data for the overlapping days is + * included in the response rows for both date ranges. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $date_ranges; + /** + * Optional. The configuration of this request's funnel. This funnel + * configuration is required. + * + * Generated from protobuf field .google.analytics.data.v1alpha.Funnel funnel = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $funnel = null; + /** + * Optional. If specified, this breakdown adds a dimension to the funnel table + * sub report response. This breakdown dimension expands each funnel step to + * the unique values of the breakdown dimension. For example, a breakdown by + * the `deviceCategory` dimension will create rows for `mobile`, `tablet`, + * `desktop`, and the total. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelBreakdown funnel_breakdown = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $funnel_breakdown = null; + /** + * Optional. If specified, next action adds a dimension to the funnel + * visualization sub report response. This next action dimension expands each + * funnel step to the unique values of the next action. For example a next + * action of the `eventName` dimension will create rows for several events + * (for example `session_start` & `click`) and the total. + * Next action only supports `eventName` and most Page / Screen dimensions + * like `pageTitle` and `pagePath`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelNextAction funnel_next_action = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $funnel_next_action = null; + /** + * Optional. The funnel visualization type controls the dimensions present in + * the funnel visualization sub report response. If not specified, + * `STANDARD_FUNNEL` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType funnel_visualization_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $funnel_visualization_type = 0; + /** + * Optional. The configurations of segments. Segments are subsets of a + * property's data. In a funnel report with segments, the funnel is evaluated + * in each segment. + * Each segment specified in this request + * produces a separate row in the response; in the response, each segment + * identified by its name. + * The segments parameter is optional. Requests are limited to 4 segments. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Segment segments = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $segments; + /** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * + * Generated from protobuf field int64 limit = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $limit = 0; + /** + * Optional. Dimension filters allow you to ask for only specific dimension + * values in the report. To learn more, see [Creating a Report: 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.data.v1alpha.FilterExpression dimension_filter = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $dimension_filter = null; + /** + * Optional. Toggles whether to return the current state of this Analytics + * Property's quota. Quota is returned in [PropertyQuota](#PropertyQuota). + * + * Generated from protobuf field bool return_property_quota = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $return_property_quota = \false; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $property + * Optional. A Google Analytics GA4 property identifier whose events are + * tracked. Specified in the URL path and not the body. To learn more, see + * [where to find your Property + * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). + * Within a batch request, this property should either be unspecified or + * consistent with the batch-level property. + * Example: properties/1234 + * @type array<\Google\Analytics\Data\V1alpha\DateRange>|\Google\Protobuf\Internal\RepeatedField $date_ranges + * Optional. Date ranges of data 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 event data for the overlapping days is + * included in the response rows for both date ranges. + * @type \Google\Analytics\Data\V1alpha\Funnel $funnel + * Optional. The configuration of this request's funnel. This funnel + * configuration is required. + * @type \Google\Analytics\Data\V1alpha\FunnelBreakdown $funnel_breakdown + * Optional. If specified, this breakdown adds a dimension to the funnel table + * sub report response. This breakdown dimension expands each funnel step to + * the unique values of the breakdown dimension. For example, a breakdown by + * the `deviceCategory` dimension will create rows for `mobile`, `tablet`, + * `desktop`, and the total. + * @type \Google\Analytics\Data\V1alpha\FunnelNextAction $funnel_next_action + * Optional. If specified, next action adds a dimension to the funnel + * visualization sub report response. This next action dimension expands each + * funnel step to the unique values of the next action. For example a next + * action of the `eventName` dimension will create rows for several events + * (for example `session_start` & `click`) and the total. + * Next action only supports `eventName` and most Page / Screen dimensions + * like `pageTitle` and `pagePath`. + * @type int $funnel_visualization_type + * Optional. The funnel visualization type controls the dimensions present in + * the funnel visualization sub report response. If not specified, + * `STANDARD_FUNNEL` is used. + * @type array<\Google\Analytics\Data\V1alpha\Segment>|\Google\Protobuf\Internal\RepeatedField $segments + * Optional. The configurations of segments. Segments are subsets of a + * property's data. In a funnel report with segments, the funnel is evaluated + * in each segment. + * Each segment specified in this request + * produces a separate row in the response; in the response, each segment + * identified by its name. + * The segments parameter is optional. Requests are limited to 4 segments. + * @type int|string $limit + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * @type \Google\Analytics\Data\V1alpha\FilterExpression $dimension_filter + * Optional. Dimension filters allow you to ask for only specific dimension + * values in the report. To learn more, see [Creating a Report: Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + * @type bool $return_property_quota + * Optional. Toggles whether to return the current state of this Analytics + * Property's quota. Quota is returned in [PropertyQuota](#PropertyQuota). + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Optional. A Google Analytics GA4 property identifier whose events are + * tracked. Specified in the URL path and not the body. To learn more, see + * [where to find your Property + * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). + * Within a batch request, this property should either be unspecified or + * consistent with the batch-level property. + * Example: properties/1234 + * + * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getProperty() + { + return $this->property; + } + /** + * Optional. A Google Analytics GA4 property identifier whose events are + * tracked. Specified in the URL path and not the body. To learn more, see + * [where to find your Property + * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). + * Within a batch request, this property should either be unspecified or + * consistent with the batch-level property. + * Example: properties/1234 + * + * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkString($var, True); + $this->property = $var; + return $this; + } + /** + * Optional. Date ranges of data 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 event data for the overlapping days is + * included in the response rows for both date ranges. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDateRanges() + { + return $this->date_ranges; + } + /** + * Optional. Date ranges of data 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 event data for the overlapping days is + * included in the response rows for both date ranges. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param array<\Google\Analytics\Data\V1alpha\DateRange>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDateRanges($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\DateRange::class); + $this->date_ranges = $arr; + return $this; + } + /** + * Optional. The configuration of this request's funnel. This funnel + * configuration is required. + * + * Generated from protobuf field .google.analytics.data.v1alpha.Funnel funnel = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Data\V1alpha\Funnel|null + */ + public function getFunnel() + { + return $this->funnel; + } + public function hasFunnel() + { + return isset($this->funnel); + } + public function clearFunnel() + { + unset($this->funnel); + } + /** + * Optional. The configuration of this request's funnel. This funnel + * configuration is required. + * + * Generated from protobuf field .google.analytics.data.v1alpha.Funnel funnel = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Data\V1alpha\Funnel $var + * @return $this + */ + public function setFunnel($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Funnel::class); + $this->funnel = $var; + return $this; + } + /** + * Optional. If specified, this breakdown adds a dimension to the funnel table + * sub report response. This breakdown dimension expands each funnel step to + * the unique values of the breakdown dimension. For example, a breakdown by + * the `deviceCategory` dimension will create rows for `mobile`, `tablet`, + * `desktop`, and the total. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelBreakdown funnel_breakdown = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Data\V1alpha\FunnelBreakdown|null + */ + public function getFunnelBreakdown() + { + return $this->funnel_breakdown; + } + public function hasFunnelBreakdown() + { + return isset($this->funnel_breakdown); + } + public function clearFunnelBreakdown() + { + unset($this->funnel_breakdown); + } + /** + * Optional. If specified, this breakdown adds a dimension to the funnel table + * sub report response. This breakdown dimension expands each funnel step to + * the unique values of the breakdown dimension. For example, a breakdown by + * the `deviceCategory` dimension will create rows for `mobile`, `tablet`, + * `desktop`, and the total. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelBreakdown funnel_breakdown = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Data\V1alpha\FunnelBreakdown $var + * @return $this + */ + public function setFunnelBreakdown($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelBreakdown::class); + $this->funnel_breakdown = $var; + return $this; + } + /** + * Optional. If specified, next action adds a dimension to the funnel + * visualization sub report response. This next action dimension expands each + * funnel step to the unique values of the next action. For example a next + * action of the `eventName` dimension will create rows for several events + * (for example `session_start` & `click`) and the total. + * Next action only supports `eventName` and most Page / Screen dimensions + * like `pageTitle` and `pagePath`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelNextAction funnel_next_action = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Data\V1alpha\FunnelNextAction|null + */ + public function getFunnelNextAction() + { + return $this->funnel_next_action; + } + public function hasFunnelNextAction() + { + return isset($this->funnel_next_action); + } + public function clearFunnelNextAction() + { + unset($this->funnel_next_action); + } + /** + * Optional. If specified, next action adds a dimension to the funnel + * visualization sub report response. This next action dimension expands each + * funnel step to the unique values of the next action. For example a next + * action of the `eventName` dimension will create rows for several events + * (for example `session_start` & `click`) and the total. + * Next action only supports `eventName` and most Page / Screen dimensions + * like `pageTitle` and `pagePath`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelNextAction funnel_next_action = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Data\V1alpha\FunnelNextAction $var + * @return $this + */ + public function setFunnelNextAction($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelNextAction::class); + $this->funnel_next_action = $var; + return $this; + } + /** + * Optional. The funnel visualization type controls the dimensions present in + * the funnel visualization sub report response. If not specified, + * `STANDARD_FUNNEL` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType funnel_visualization_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getFunnelVisualizationType() + { + return $this->funnel_visualization_type; + } + /** + * Optional. The funnel visualization type controls the dimensions present in + * the funnel visualization sub report response. If not specified, + * `STANDARD_FUNNEL` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType funnel_visualization_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setFunnelVisualizationType($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\RunFunnelReportRequest\FunnelVisualizationType::class); + $this->funnel_visualization_type = $var; + return $this; + } + /** + * Optional. The configurations of segments. Segments are subsets of a + * property's data. In a funnel report with segments, the funnel is evaluated + * in each segment. + * Each segment specified in this request + * produces a separate row in the response; in the response, each segment + * identified by its name. + * The segments parameter is optional. Requests are limited to 4 segments. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Segment segments = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getSegments() + { + return $this->segments; + } + /** + * Optional. The configurations of segments. Segments are subsets of a + * property's data. In a funnel report with segments, the funnel is evaluated + * in each segment. + * Each segment specified in this request + * produces a separate row in the response; in the response, each segment + * identified by its name. + * The segments parameter is optional. Requests are limited to 4 segments. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.Segment segments = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param array<\Google\Analytics\Data\V1alpha\Segment>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setSegments($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\Segment::class); + $this->segments = $arr; + return $this; + } + /** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * + * Generated from protobuf field int64 limit = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getLimit() + { + return $this->limit; + } + /** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * + * Generated from protobuf field int64 limit = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setLimit($var) + { + GPBUtil::checkInt64($var); + $this->limit = $var; + return $this; + } + /** + * Optional. Dimension filters allow you to ask for only specific dimension + * values in the report. To learn more, see [Creating a Report: 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.data.v1alpha.FilterExpression dimension_filter = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Data\V1alpha\FilterExpression|null + */ + public function getDimensionFilter() + { + return $this->dimension_filter; + } + public function hasDimensionFilter() + { + return isset($this->dimension_filter); + } + public function clearDimensionFilter() + { + unset($this->dimension_filter); + } + /** + * Optional. Dimension filters allow you to ask for only specific dimension + * values in the report. To learn more, see [Creating a Report: 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.data.v1alpha.FilterExpression dimension_filter = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Data\V1alpha\FilterExpression $var + * @return $this + */ + public function setDimensionFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FilterExpression::class); + $this->dimension_filter = $var; + return $this; + } + /** + * Optional. Toggles whether to return the current state of this Analytics + * Property's quota. Quota is returned in [PropertyQuota](#PropertyQuota). + * + * Generated from protobuf field bool return_property_quota = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getReturnPropertyQuota() + { + return $this->return_property_quota; + } + /** + * Optional. Toggles whether to return the current state of this Analytics + * Property's quota. Quota is returned in [PropertyQuota](#PropertyQuota). + * + * Generated from protobuf field bool return_property_quota = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setReturnPropertyQuota($var) + { + GPBUtil::checkBool($var); + $this->return_property_quota = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/RunFunnelReportRequest/FunnelVisualizationType.php b/vendor/prefixed/google/analytics-data/src/V1alpha/RunFunnelReportRequest/FunnelVisualizationType.php new file mode 100644 index 000000000..62cbe66d0 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/RunFunnelReportRequest/FunnelVisualizationType.php @@ -0,0 +1,52 @@ +google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType + */ +class FunnelVisualizationType +{ + /** + * Unspecified type. + * + * Generated from protobuf enum FUNNEL_VISUALIZATION_TYPE_UNSPECIFIED = 0; + */ + const FUNNEL_VISUALIZATION_TYPE_UNSPECIFIED = 0; + /** + * A standard (stepped) funnel. The funnel visualization sub report in the + * response will not contain date. + * + * Generated from protobuf enum STANDARD_FUNNEL = 1; + */ + const STANDARD_FUNNEL = 1; + /** + * A trended (line chart) funnel. The funnel visualization sub report in the + * response will contain the date dimension. + * + * Generated from protobuf enum TRENDED_FUNNEL = 2; + */ + const TRENDED_FUNNEL = 2; + private static $valueToName = [self::FUNNEL_VISUALIZATION_TYPE_UNSPECIFIED => 'FUNNEL_VISUALIZATION_TYPE_UNSPECIFIED', self::STANDARD_FUNNEL => 'STANDARD_FUNNEL', self::TRENDED_FUNNEL => 'TRENDED_FUNNEL']; + 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/vendor/prefixed/google/analytics-data/src/V1alpha/RunFunnelReportResponse.php b/vendor/prefixed/google/analytics-data/src/V1alpha/RunFunnelReportResponse.php new file mode 100644 index 000000000..de48679f6 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/RunFunnelReportResponse.php @@ -0,0 +1,227 @@ +google.analytics.data.v1alpha.RunFunnelReportResponse + */ +class RunFunnelReportResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The funnel table is a report with the funnel step, segment, breakdown + * dimension, active users, completion rate, abandonments, and abandonments + * rate. + * The segment dimension is only present in this response if a segment was + * requested. The breakdown dimension is only present in this response if it + * was requested. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelSubReport funnel_table = 1; + */ + private $funnel_table = null; + /** + * The funnel visualization is a report with the funnel step, segment, date, + * next action dimension, and active users. + * The segment dimension is only present in this response if a segment was + * requested. The date dimension is only present in this response if it was + * requested through the `TRENDED_FUNNEL` funnel type. The next action + * dimension is only present in the response if it was requested. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelSubReport funnel_visualization = 2; + */ + private $funnel_visualization = null; + /** + * This Analytics Property's quota state including this request. + * + * Generated from protobuf field .google.analytics.data.v1alpha.PropertyQuota property_quota = 3; + */ + private $property_quota = null; + /** + * Identifies what kind of resource this message is. This `kind` is always the + * fixed string "analyticsData#runFunnelReport". Useful to distinguish between + * response types in JSON. + * + * Generated from protobuf field string kind = 4; + */ + private $kind = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1alpha\FunnelSubReport $funnel_table + * The funnel table is a report with the funnel step, segment, breakdown + * dimension, active users, completion rate, abandonments, and abandonments + * rate. + * The segment dimension is only present in this response if a segment was + * requested. The breakdown dimension is only present in this response if it + * was requested. + * @type \Google\Analytics\Data\V1alpha\FunnelSubReport $funnel_visualization + * The funnel visualization is a report with the funnel step, segment, date, + * next action dimension, and active users. + * The segment dimension is only present in this response if a segment was + * requested. The date dimension is only present in this response if it was + * requested through the `TRENDED_FUNNEL` funnel type. The next action + * dimension is only present in the response if it was requested. + * @type \Google\Analytics\Data\V1alpha\PropertyQuota $property_quota + * This Analytics Property's quota state including this request. + * @type string $kind + * Identifies what kind of resource this message is. This `kind` is always the + * fixed string "analyticsData#runFunnelReport". Useful to distinguish between + * response types in JSON. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * The funnel table is a report with the funnel step, segment, breakdown + * dimension, active users, completion rate, abandonments, and abandonments + * rate. + * The segment dimension is only present in this response if a segment was + * requested. The breakdown dimension is only present in this response if it + * was requested. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelSubReport funnel_table = 1; + * @return \Google\Analytics\Data\V1alpha\FunnelSubReport|null + */ + public function getFunnelTable() + { + return $this->funnel_table; + } + public function hasFunnelTable() + { + return isset($this->funnel_table); + } + public function clearFunnelTable() + { + unset($this->funnel_table); + } + /** + * The funnel table is a report with the funnel step, segment, breakdown + * dimension, active users, completion rate, abandonments, and abandonments + * rate. + * The segment dimension is only present in this response if a segment was + * requested. The breakdown dimension is only present in this response if it + * was requested. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelSubReport funnel_table = 1; + * @param \Google\Analytics\Data\V1alpha\FunnelSubReport $var + * @return $this + */ + public function setFunnelTable($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelSubReport::class); + $this->funnel_table = $var; + return $this; + } + /** + * The funnel visualization is a report with the funnel step, segment, date, + * next action dimension, and active users. + * The segment dimension is only present in this response if a segment was + * requested. The date dimension is only present in this response if it was + * requested through the `TRENDED_FUNNEL` funnel type. The next action + * dimension is only present in the response if it was requested. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelSubReport funnel_visualization = 2; + * @return \Google\Analytics\Data\V1alpha\FunnelSubReport|null + */ + public function getFunnelVisualization() + { + return $this->funnel_visualization; + } + public function hasFunnelVisualization() + { + return isset($this->funnel_visualization); + } + public function clearFunnelVisualization() + { + unset($this->funnel_visualization); + } + /** + * The funnel visualization is a report with the funnel step, segment, date, + * next action dimension, and active users. + * The segment dimension is only present in this response if a segment was + * requested. The date dimension is only present in this response if it was + * requested through the `TRENDED_FUNNEL` funnel type. The next action + * dimension is only present in the response if it was requested. + * + * Generated from protobuf field .google.analytics.data.v1alpha.FunnelSubReport funnel_visualization = 2; + * @param \Google\Analytics\Data\V1alpha\FunnelSubReport $var + * @return $this + */ + public function setFunnelVisualization($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\FunnelSubReport::class); + $this->funnel_visualization = $var; + return $this; + } + /** + * This Analytics Property's quota state including this request. + * + * Generated from protobuf field .google.analytics.data.v1alpha.PropertyQuota property_quota = 3; + * @return \Google\Analytics\Data\V1alpha\PropertyQuota|null + */ + public function getPropertyQuota() + { + return $this->property_quota; + } + public function hasPropertyQuota() + { + return isset($this->property_quota); + } + public function clearPropertyQuota() + { + unset($this->property_quota); + } + /** + * This Analytics Property's quota state including this request. + * + * Generated from protobuf field .google.analytics.data.v1alpha.PropertyQuota property_quota = 3; + * @param \Google\Analytics\Data\V1alpha\PropertyQuota $var + * @return $this + */ + public function setPropertyQuota($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\PropertyQuota::class); + $this->property_quota = $var; + return $this; + } + /** + * Identifies what kind of resource this message is. This `kind` is always the + * fixed string "analyticsData#runFunnelReport". Useful to distinguish between + * response types in JSON. + * + * Generated from protobuf field string kind = 4; + * @return string + */ + public function getKind() + { + return $this->kind; + } + /** + * Identifies what kind of resource this message is. This `kind` is always the + * fixed string "analyticsData#runFunnelReport". Useful to distinguish between + * response types in JSON. + * + * Generated from protobuf field string kind = 4; + * @param string $var + * @return $this + */ + public function setKind($var) + { + GPBUtil::checkString($var, True); + $this->kind = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SamplingMetadata.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SamplingMetadata.php new file mode 100644 index 000000000..3d02dda7e --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SamplingMetadata.php @@ -0,0 +1,125 @@ +google.analytics.data.v1alpha.SamplingMetadata + */ +class SamplingMetadata extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The total number of events read in this sampled report for a date range. + * This is the size of the subset this property's data that was analyzed in + * this funnel report. + * + * Generated from protobuf field int64 samples_read_count = 1; + */ + private $samples_read_count = 0; + /** + * The total number of events present in this property's data that could + * have been analyzed in this funnel report for a date range. Sampling + * uncovers the meaningful information about the larger data set, and this + * is the size of the larger data set. + * To calculate the percentage of available data that was used in this + * funnel report, compute `samplesReadCount/samplingSpaceSize`. + * + * Generated from protobuf field int64 sampling_space_size = 2; + */ + private $sampling_space_size = 0; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $samples_read_count + * The total number of events read in this sampled report for a date range. + * This is the size of the subset this property's data that was analyzed in + * this funnel report. + * @type int|string $sampling_space_size + * The total number of events present in this property's data that could + * have been analyzed in this funnel report for a date range. Sampling + * uncovers the meaningful information about the larger data set, and this + * is the size of the larger data set. + * To calculate the percentage of available data that was used in this + * funnel report, compute `samplesReadCount/samplingSpaceSize`. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The total number of events read in this sampled report for a date range. + * This is the size of the subset this property's data that was analyzed in + * this funnel report. + * + * Generated from protobuf field int64 samples_read_count = 1; + * @return int|string + */ + public function getSamplesReadCount() + { + return $this->samples_read_count; + } + /** + * The total number of events read in this sampled report for a date range. + * This is the size of the subset this property's data that was analyzed in + * this funnel report. + * + * Generated from protobuf field int64 samples_read_count = 1; + * @param int|string $var + * @return $this + */ + public function setSamplesReadCount($var) + { + GPBUtil::checkInt64($var); + $this->samples_read_count = $var; + return $this; + } + /** + * The total number of events present in this property's data that could + * have been analyzed in this funnel report for a date range. Sampling + * uncovers the meaningful information about the larger data set, and this + * is the size of the larger data set. + * To calculate the percentage of available data that was used in this + * funnel report, compute `samplesReadCount/samplingSpaceSize`. + * + * Generated from protobuf field int64 sampling_space_size = 2; + * @return int|string + */ + public function getSamplingSpaceSize() + { + return $this->sampling_space_size; + } + /** + * The total number of events present in this property's data that could + * have been analyzed in this funnel report for a date range. Sampling + * uncovers the meaningful information about the larger data set, and this + * is the size of the larger data set. + * To calculate the percentage of available data that was used in this + * funnel report, compute `samplesReadCount/samplingSpaceSize`. + * + * Generated from protobuf field int64 sampling_space_size = 2; + * @param int|string $var + * @return $this + */ + public function setSamplingSpaceSize($var) + { + GPBUtil::checkInt64($var); + $this->sampling_space_size = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/Segment.php b/vendor/prefixed/google/analytics-data/src/V1alpha/Segment.php new file mode 100644 index 000000000..9cf6aa3a7 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/Segment.php @@ -0,0 +1,179 @@ +google.analytics.data.v1alpha.Segment + */ +class Segment extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The name for this segment. If unspecified, segments are named "Segment". + * This name defines string value returned by the `segment` dimension. The + * `segment` dimension prefixes segment names by the 1-based index number of + * the segment in the request (for example "1. Segment", "2. Segment", etc.). + * + * Generated from protobuf field string name = 1; + */ + private $name = ''; + protected $one_segment_scope; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * The name for this segment. If unspecified, segments are named "Segment". + * This name defines string value returned by the `segment` dimension. The + * `segment` dimension prefixes segment names by the 1-based index number of + * the segment in the request (for example "1. Segment", "2. Segment", etc.). + * @type \Google\Analytics\Data\V1alpha\UserSegment $user_segment + * User segments are subsets of users who engaged with your site or app. + * @type \Google\Analytics\Data\V1alpha\SessionSegment $session_segment + * Session segments are subsets of the sessions that occurred on your site + * or app. + * @type \Google\Analytics\Data\V1alpha\EventSegment $event_segment + * Event segments are subsets of events that were triggered on your site or + * app. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The name for this segment. If unspecified, segments are named "Segment". + * This name defines string value returned by the `segment` dimension. The + * `segment` dimension prefixes segment names by the 1-based index number of + * the segment in the request (for example "1. Segment", "2. Segment", etc.). + * + * Generated from protobuf field string name = 1; + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * The name for this segment. If unspecified, segments are named "Segment". + * This name defines string value returned by the `segment` dimension. The + * `segment` dimension prefixes segment names by the 1-based index number of + * the segment in the request (for example "1. Segment", "2. Segment", etc.). + * + * 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; + } + /** + * User segments are subsets of users who engaged with your site or app. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserSegment user_segment = 2; + * @return \Google\Analytics\Data\V1alpha\UserSegment|null + */ + public function getUserSegment() + { + return $this->readOneof(2); + } + public function hasUserSegment() + { + return $this->hasOneof(2); + } + /** + * User segments are subsets of users who engaged with your site or app. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserSegment user_segment = 2; + * @param \Google\Analytics\Data\V1alpha\UserSegment $var + * @return $this + */ + public function setUserSegment($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\UserSegment::class); + $this->writeOneof(2, $var); + return $this; + } + /** + * Session segments are subsets of the sessions that occurred on your site + * or app. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionSegment session_segment = 3; + * @return \Google\Analytics\Data\V1alpha\SessionSegment|null + */ + public function getSessionSegment() + { + return $this->readOneof(3); + } + public function hasSessionSegment() + { + return $this->hasOneof(3); + } + /** + * Session segments are subsets of the sessions that occurred on your site + * or app. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionSegment session_segment = 3; + * @param \Google\Analytics\Data\V1alpha\SessionSegment $var + * @return $this + */ + public function setSessionSegment($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SessionSegment::class); + $this->writeOneof(3, $var); + return $this; + } + /** + * Event segments are subsets of events that were triggered on your site or + * app. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventSegment event_segment = 4; + * @return \Google\Analytics\Data\V1alpha\EventSegment|null + */ + public function getEventSegment() + { + return $this->readOneof(4); + } + public function hasEventSegment() + { + return $this->hasOneof(4); + } + /** + * Event segments are subsets of events that were triggered on your site or + * app. + * + * Generated from protobuf field .google.analytics.data.v1alpha.EventSegment event_segment = 4; + * @param \Google\Analytics\Data\V1alpha\EventSegment $var + * @return $this + */ + public function setEventSegment($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\EventSegment::class); + $this->writeOneof(4, $var); + return $this; + } + /** + * @return string + */ + public function getOneSegmentScope() + { + return $this->whichOneof("one_segment_scope"); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentEventFilter.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentEventFilter.php new file mode 100644 index 000000000..e01e68bb7 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentEventFilter.php @@ -0,0 +1,127 @@ +google.analytics.data.v1alpha.SegmentEventFilter + */ +class SegmentEventFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * This filter matches events of this single event name. Event name is + * required. + * + * Generated from protobuf field optional string event_name = 1; + */ + private $event_name = null; + /** + * If specified, this filter matches events that match both the single event + * name and the parameter filter expressions. + * Inside the parameter filter expression, only parameter filters are + * available. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.SegmentParameterFilterExpression segment_parameter_filter_expression = 2; + */ + private $segment_parameter_filter_expression = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $event_name + * This filter matches events of this single event name. Event name is + * required. + * @type \Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression $segment_parameter_filter_expression + * If specified, this filter matches events that match both the single event + * name and the parameter filter expressions. + * Inside the parameter filter expression, only parameter filters are + * available. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * This filter matches events of this single event name. Event name is + * required. + * + * Generated from protobuf field optional string event_name = 1; + * @return string + */ + public function getEventName() + { + return isset($this->event_name) ? $this->event_name : ''; + } + public function hasEventName() + { + return isset($this->event_name); + } + public function clearEventName() + { + unset($this->event_name); + } + /** + * This filter matches events of this single event name. Event name is + * required. + * + * Generated from protobuf field optional string event_name = 1; + * @param string $var + * @return $this + */ + public function setEventName($var) + { + GPBUtil::checkString($var, True); + $this->event_name = $var; + return $this; + } + /** + * If specified, this filter matches events that match both the single event + * name and the parameter filter expressions. + * Inside the parameter filter expression, only parameter filters are + * available. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.SegmentParameterFilterExpression segment_parameter_filter_expression = 2; + * @return \Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression|null + */ + public function getSegmentParameterFilterExpression() + { + return $this->segment_parameter_filter_expression; + } + public function hasSegmentParameterFilterExpression() + { + return isset($this->segment_parameter_filter_expression); + } + public function clearSegmentParameterFilterExpression() + { + unset($this->segment_parameter_filter_expression); + } + /** + * If specified, this filter matches events that match both the single event + * name and the parameter filter expressions. + * Inside the parameter filter expression, only parameter filters are + * available. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.SegmentParameterFilterExpression segment_parameter_filter_expression = 2; + * @param \Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression $var + * @return $this + */ + public function setSegmentParameterFilterExpression($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression::class); + $this->segment_parameter_filter_expression = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentFilter.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentFilter.php new file mode 100644 index 000000000..36ce479dd --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentFilter.php @@ -0,0 +1,224 @@ +google.analytics.data.v1alpha.SegmentFilter + */ +class SegmentFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The dimension name or metric name. + * + * Generated from protobuf field string field_name = 1; + */ + private $field_name = ''; + /** + * Specifies the scope for the filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8; + */ + private $filter_scoping = null; + protected $one_filter; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $field_name + * The dimension name or metric name. + * @type \Google\Analytics\Data\V1alpha\StringFilter $string_filter + * Strings related filter. + * @type \Google\Analytics\Data\V1alpha\InListFilter $in_list_filter + * A filter for in list values. + * @type \Google\Analytics\Data\V1alpha\NumericFilter $numeric_filter + * A filter for numeric or date values. + * @type \Google\Analytics\Data\V1alpha\BetweenFilter $between_filter + * A filter for between two values. + * @type \Google\Analytics\Data\V1alpha\SegmentFilterScoping $filter_scoping + * Specifies the scope for the filter. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * 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; + } + /** + * Strings related filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.StringFilter string_filter = 4; + * @return \Google\Analytics\Data\V1alpha\StringFilter|null + */ + public function getStringFilter() + { + return $this->readOneof(4); + } + public function hasStringFilter() + { + return $this->hasOneof(4); + } + /** + * Strings related filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.StringFilter string_filter = 4; + * @param \Google\Analytics\Data\V1alpha\StringFilter $var + * @return $this + */ + public function setStringFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\StringFilter::class); + $this->writeOneof(4, $var); + return $this; + } + /** + * A filter for in list values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.InListFilter in_list_filter = 5; + * @return \Google\Analytics\Data\V1alpha\InListFilter|null + */ + public function getInListFilter() + { + return $this->readOneof(5); + } + public function hasInListFilter() + { + return $this->hasOneof(5); + } + /** + * A filter for in list values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.InListFilter in_list_filter = 5; + * @param \Google\Analytics\Data\V1alpha\InListFilter $var + * @return $this + */ + public function setInListFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\InListFilter::class); + $this->writeOneof(5, $var); + return $this; + } + /** + * A filter for numeric or date values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter numeric_filter = 6; + * @return \Google\Analytics\Data\V1alpha\NumericFilter|null + */ + public function getNumericFilter() + { + return $this->readOneof(6); + } + public function hasNumericFilter() + { + return $this->hasOneof(6); + } + /** + * A filter for numeric or date values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter numeric_filter = 6; + * @param \Google\Analytics\Data\V1alpha\NumericFilter $var + * @return $this + */ + public function setNumericFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\NumericFilter::class); + $this->writeOneof(6, $var); + return $this; + } + /** + * A filter for between two values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.BetweenFilter between_filter = 7; + * @return \Google\Analytics\Data\V1alpha\BetweenFilter|null + */ + public function getBetweenFilter() + { + return $this->readOneof(7); + } + public function hasBetweenFilter() + { + return $this->hasOneof(7); + } + /** + * A filter for between two values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.BetweenFilter between_filter = 7; + * @param \Google\Analytics\Data\V1alpha\BetweenFilter $var + * @return $this + */ + public function setBetweenFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\BetweenFilter::class); + $this->writeOneof(7, $var); + return $this; + } + /** + * Specifies the scope for the filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8; + * @return \Google\Analytics\Data\V1alpha\SegmentFilterScoping|null + */ + public function getFilterScoping() + { + return $this->filter_scoping; + } + public function hasFilterScoping() + { + return isset($this->filter_scoping); + } + public function clearFilterScoping() + { + unset($this->filter_scoping); + } + /** + * Specifies the scope for the filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8; + * @param \Google\Analytics\Data\V1alpha\SegmentFilterScoping $var + * @return $this + */ + public function setFilterScoping($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentFilterScoping::class); + $this->filter_scoping = $var; + return $this; + } + /** + * @return string + */ + public function getOneFilter() + { + return $this->whichOneof("one_filter"); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentFilterExpression.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentFilterExpression.php new file mode 100644 index 000000000..a85251c34 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentFilterExpression.php @@ -0,0 +1,192 @@ +google.analytics.data.v1alpha.SegmentFilterExpression + */ +class SegmentFilterExpression extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + protected $expr; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1alpha\SegmentFilterExpressionList $and_group + * The SegmentFilterExpression in `andGroup` have an AND relationship. + * @type \Google\Analytics\Data\V1alpha\SegmentFilterExpressionList $or_group + * The SegmentFilterExpression in `orGroup` have an OR relationship. + * @type \Google\Analytics\Data\V1alpha\SegmentFilterExpression $not_expression + * The SegmentFilterExpression is NOT of `notExpression`. + * @type \Google\Analytics\Data\V1alpha\SegmentFilter $segment_filter + * A primitive segment filter. + * @type \Google\Analytics\Data\V1alpha\SegmentEventFilter $segment_event_filter + * Creates a filter that matches events of a single event name. If a + * parameter filter expression is specified, only the subset of events that + * match both the single event name and the parameter filter expressions + * match this event filter. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The SegmentFilterExpression in `andGroup` have an AND relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1; + * @return \Google\Analytics\Data\V1alpha\SegmentFilterExpressionList|null + */ + public function getAndGroup() + { + return $this->readOneof(1); + } + public function hasAndGroup() + { + return $this->hasOneof(1); + } + /** + * The SegmentFilterExpression in `andGroup` have an AND relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1; + * @param \Google\Analytics\Data\V1alpha\SegmentFilterExpressionList $var + * @return $this + */ + public function setAndGroup($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentFilterExpressionList::class); + $this->writeOneof(1, $var); + return $this; + } + /** + * The SegmentFilterExpression in `orGroup` have an OR relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2; + * @return \Google\Analytics\Data\V1alpha\SegmentFilterExpressionList|null + */ + public function getOrGroup() + { + return $this->readOneof(2); + } + public function hasOrGroup() + { + return $this->hasOneof(2); + } + /** + * The SegmentFilterExpression in `orGroup` have an OR relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2; + * @param \Google\Analytics\Data\V1alpha\SegmentFilterExpressionList $var + * @return $this + */ + public function setOrGroup($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentFilterExpressionList::class); + $this->writeOneof(2, $var); + return $this; + } + /** + * The SegmentFilterExpression is NOT of `notExpression`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3; + * @return \Google\Analytics\Data\V1alpha\SegmentFilterExpression|null + */ + public function getNotExpression() + { + return $this->readOneof(3); + } + public function hasNotExpression() + { + return $this->hasOneof(3); + } + /** + * The SegmentFilterExpression is NOT of `notExpression`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3; + * @param \Google\Analytics\Data\V1alpha\SegmentFilterExpression $var + * @return $this + */ + public function setNotExpression($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentFilterExpression::class); + $this->writeOneof(3, $var); + return $this; + } + /** + * A primitive segment filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilter segment_filter = 4; + * @return \Google\Analytics\Data\V1alpha\SegmentFilter|null + */ + public function getSegmentFilter() + { + return $this->readOneof(4); + } + public function hasSegmentFilter() + { + return $this->hasOneof(4); + } + /** + * A primitive segment filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilter segment_filter = 4; + * @param \Google\Analytics\Data\V1alpha\SegmentFilter $var + * @return $this + */ + public function setSegmentFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentFilter::class); + $this->writeOneof(4, $var); + return $this; + } + /** + * Creates a filter that matches events of a single event name. If a + * parameter filter expression is specified, only the subset of events that + * match both the single event name and the parameter filter expressions + * match this event filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5; + * @return \Google\Analytics\Data\V1alpha\SegmentEventFilter|null + */ + public function getSegmentEventFilter() + { + return $this->readOneof(5); + } + public function hasSegmentEventFilter() + { + return $this->hasOneof(5); + } + /** + * Creates a filter that matches events of a single event name. If a + * parameter filter expression is specified, only the subset of events that + * match both the single event name and the parameter filter expressions + * match this event filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5; + * @param \Google\Analytics\Data\V1alpha\SegmentEventFilter $var + * @return $this + */ + public function setSegmentEventFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentEventFilter::class); + $this->writeOneof(5, $var); + return $this; + } + /** + * @return string + */ + public function getExpr() + { + return $this->whichOneof("expr"); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentFilterExpressionList.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentFilterExpressionList.php new file mode 100644 index 000000000..466331791 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentFilterExpressionList.php @@ -0,0 +1,61 @@ +google.analytics.data.v1alpha.SegmentFilterExpressionList + */ +class SegmentFilterExpressionList extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The list of segment filter expressions + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.SegmentFilterExpression expressions = 1; + */ + private $expressions; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\SegmentFilterExpression>|\Google\Protobuf\Internal\RepeatedField $expressions + * The list of segment filter expressions + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The list of segment filter expressions + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.SegmentFilterExpression expressions = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getExpressions() + { + return $this->expressions; + } + /** + * The list of segment filter expressions + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.SegmentFilterExpression expressions = 1; + * @param array<\Google\Analytics\Data\V1alpha\SegmentFilterExpression>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setExpressions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentFilterExpression::class); + $this->expressions = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentFilterScoping.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentFilterScoping.php new file mode 100644 index 000000000..fc7d76330 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentFilterScoping.php @@ -0,0 +1,110 @@ +google.analytics.data.v1alpha.SegmentFilterScoping + */ +class SegmentFilterScoping extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * If `atAnyPointInTime` is true, this filter evaluates to true for all + * events if it evaluates to true for any event in the date range of the + * request. + * This `atAnyPointInTime` parameter does not extend the date range of + * events in the report. If `atAnyPointInTime` is true, only events within + * the report's date range are considered when evaluating this filter. + * This `atAnyPointInTime` is only able to be specified if the criteria + * scoping is `ACROSS_ALL_SESSIONS` and is not able to be specified in + * sequences. + * If the criteria scoping is `ACROSS_ALL_SESSIONS`, `atAnyPointInTime` = + * false is used if unspecified. + * + * Generated from protobuf field optional bool at_any_point_in_time = 1; + */ + private $at_any_point_in_time = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $at_any_point_in_time + * If `atAnyPointInTime` is true, this filter evaluates to true for all + * events if it evaluates to true for any event in the date range of the + * request. + * This `atAnyPointInTime` parameter does not extend the date range of + * events in the report. If `atAnyPointInTime` is true, only events within + * the report's date range are considered when evaluating this filter. + * This `atAnyPointInTime` is only able to be specified if the criteria + * scoping is `ACROSS_ALL_SESSIONS` and is not able to be specified in + * sequences. + * If the criteria scoping is `ACROSS_ALL_SESSIONS`, `atAnyPointInTime` = + * false is used if unspecified. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * If `atAnyPointInTime` is true, this filter evaluates to true for all + * events if it evaluates to true for any event in the date range of the + * request. + * This `atAnyPointInTime` parameter does not extend the date range of + * events in the report. If `atAnyPointInTime` is true, only events within + * the report's date range are considered when evaluating this filter. + * This `atAnyPointInTime` is only able to be specified if the criteria + * scoping is `ACROSS_ALL_SESSIONS` and is not able to be specified in + * sequences. + * If the criteria scoping is `ACROSS_ALL_SESSIONS`, `atAnyPointInTime` = + * false is used if unspecified. + * + * Generated from protobuf field optional bool at_any_point_in_time = 1; + * @return bool + */ + public function getAtAnyPointInTime() + { + return isset($this->at_any_point_in_time) ? $this->at_any_point_in_time : \false; + } + public function hasAtAnyPointInTime() + { + return isset($this->at_any_point_in_time); + } + public function clearAtAnyPointInTime() + { + unset($this->at_any_point_in_time); + } + /** + * If `atAnyPointInTime` is true, this filter evaluates to true for all + * events if it evaluates to true for any event in the date range of the + * request. + * This `atAnyPointInTime` parameter does not extend the date range of + * events in the report. If `atAnyPointInTime` is true, only events within + * the report's date range are considered when evaluating this filter. + * This `atAnyPointInTime` is only able to be specified if the criteria + * scoping is `ACROSS_ALL_SESSIONS` and is not able to be specified in + * sequences. + * If the criteria scoping is `ACROSS_ALL_SESSIONS`, `atAnyPointInTime` = + * false is used if unspecified. + * + * Generated from protobuf field optional bool at_any_point_in_time = 1; + * @param bool $var + * @return $this + */ + public function setAtAnyPointInTime($var) + { + GPBUtil::checkBool($var); + $this->at_any_point_in_time = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentParameterFilter.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentParameterFilter.php new file mode 100644 index 000000000..fb71f4500 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentParameterFilter.php @@ -0,0 +1,301 @@ +google.analytics.data.v1alpha.SegmentParameterFilter + */ +class SegmentParameterFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Specifies the scope for the filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentParameterFilterScoping filter_scoping = 8; + */ + private $filter_scoping = null; + protected $one_parameter; + protected $one_filter; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $event_parameter_name + * This filter will be evaluated on the specified event parameter. Event + * parameters are logged as parameters of the event. Event parameters + * include fields like "firebase_screen" & "currency". + * Event parameters can only be used in segments & funnels and can only be + * used in a descendent filter from an EventFilter. In a descendent filter + * from an EventFilter either event or item parameters should be used. + * @type string $item_parameter_name + * This filter will be evaluated on the specified item parameter. Item + * parameters are logged as parameters in the item array. Item parameters + * include fields like "item_name" & "item_category". + * Item parameters can only be used in segments & funnels and can only be + * used in a descendent filter from an EventFilter. In a descendent filter + * from an EventFilter either event or item parameters should be used. + * Item parameters are only available in ecommerce events. To learn more + * about ecommerce events, see the [Measure ecommerce] + * (https://developers.google.com/analytics/devguides/collection/ga4/ecommerce) + * guide. + * @type \Google\Analytics\Data\V1alpha\StringFilter $string_filter + * Strings related filter. + * @type \Google\Analytics\Data\V1alpha\InListFilter $in_list_filter + * A filter for in list values. + * @type \Google\Analytics\Data\V1alpha\NumericFilter $numeric_filter + * A filter for numeric or date values. + * @type \Google\Analytics\Data\V1alpha\BetweenFilter $between_filter + * A filter for between two values. + * @type \Google\Analytics\Data\V1alpha\SegmentParameterFilterScoping $filter_scoping + * Specifies the scope for the filter. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * This filter will be evaluated on the specified event parameter. Event + * parameters are logged as parameters of the event. Event parameters + * include fields like "firebase_screen" & "currency". + * Event parameters can only be used in segments & funnels and can only be + * used in a descendent filter from an EventFilter. In a descendent filter + * from an EventFilter either event or item parameters should be used. + * + * Generated from protobuf field string event_parameter_name = 1; + * @return string + */ + public function getEventParameterName() + { + return $this->readOneof(1); + } + public function hasEventParameterName() + { + return $this->hasOneof(1); + } + /** + * This filter will be evaluated on the specified event parameter. Event + * parameters are logged as parameters of the event. Event parameters + * include fields like "firebase_screen" & "currency". + * Event parameters can only be used in segments & funnels and can only be + * used in a descendent filter from an EventFilter. In a descendent filter + * from an EventFilter either event or item parameters should be used. + * + * Generated from protobuf field string event_parameter_name = 1; + * @param string $var + * @return $this + */ + public function setEventParameterName($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(1, $var); + return $this; + } + /** + * This filter will be evaluated on the specified item parameter. Item + * parameters are logged as parameters in the item array. Item parameters + * include fields like "item_name" & "item_category". + * Item parameters can only be used in segments & funnels and can only be + * used in a descendent filter from an EventFilter. In a descendent filter + * from an EventFilter either event or item parameters should be used. + * Item parameters are only available in ecommerce events. To learn more + * about ecommerce events, see the [Measure ecommerce] + * (https://developers.google.com/analytics/devguides/collection/ga4/ecommerce) + * guide. + * + * Generated from protobuf field string item_parameter_name = 2; + * @return string + */ + public function getItemParameterName() + { + return $this->readOneof(2); + } + public function hasItemParameterName() + { + return $this->hasOneof(2); + } + /** + * This filter will be evaluated on the specified item parameter. Item + * parameters are logged as parameters in the item array. Item parameters + * include fields like "item_name" & "item_category". + * Item parameters can only be used in segments & funnels and can only be + * used in a descendent filter from an EventFilter. In a descendent filter + * from an EventFilter either event or item parameters should be used. + * Item parameters are only available in ecommerce events. To learn more + * about ecommerce events, see the [Measure ecommerce] + * (https://developers.google.com/analytics/devguides/collection/ga4/ecommerce) + * guide. + * + * Generated from protobuf field string item_parameter_name = 2; + * @param string $var + * @return $this + */ + public function setItemParameterName($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(2, $var); + return $this; + } + /** + * Strings related filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.StringFilter string_filter = 4; + * @return \Google\Analytics\Data\V1alpha\StringFilter|null + */ + public function getStringFilter() + { + return $this->readOneof(4); + } + public function hasStringFilter() + { + return $this->hasOneof(4); + } + /** + * Strings related filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.StringFilter string_filter = 4; + * @param \Google\Analytics\Data\V1alpha\StringFilter $var + * @return $this + */ + public function setStringFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\StringFilter::class); + $this->writeOneof(4, $var); + return $this; + } + /** + * A filter for in list values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.InListFilter in_list_filter = 5; + * @return \Google\Analytics\Data\V1alpha\InListFilter|null + */ + public function getInListFilter() + { + return $this->readOneof(5); + } + public function hasInListFilter() + { + return $this->hasOneof(5); + } + /** + * A filter for in list values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.InListFilter in_list_filter = 5; + * @param \Google\Analytics\Data\V1alpha\InListFilter $var + * @return $this + */ + public function setInListFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\InListFilter::class); + $this->writeOneof(5, $var); + return $this; + } + /** + * A filter for numeric or date values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter numeric_filter = 6; + * @return \Google\Analytics\Data\V1alpha\NumericFilter|null + */ + public function getNumericFilter() + { + return $this->readOneof(6); + } + public function hasNumericFilter() + { + return $this->hasOneof(6); + } + /** + * A filter for numeric or date values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.NumericFilter numeric_filter = 6; + * @param \Google\Analytics\Data\V1alpha\NumericFilter $var + * @return $this + */ + public function setNumericFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\NumericFilter::class); + $this->writeOneof(6, $var); + return $this; + } + /** + * A filter for between two values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.BetweenFilter between_filter = 7; + * @return \Google\Analytics\Data\V1alpha\BetweenFilter|null + */ + public function getBetweenFilter() + { + return $this->readOneof(7); + } + public function hasBetweenFilter() + { + return $this->hasOneof(7); + } + /** + * A filter for between two values. + * + * Generated from protobuf field .google.analytics.data.v1alpha.BetweenFilter between_filter = 7; + * @param \Google\Analytics\Data\V1alpha\BetweenFilter $var + * @return $this + */ + public function setBetweenFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\BetweenFilter::class); + $this->writeOneof(7, $var); + return $this; + } + /** + * Specifies the scope for the filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentParameterFilterScoping filter_scoping = 8; + * @return \Google\Analytics\Data\V1alpha\SegmentParameterFilterScoping|null + */ + public function getFilterScoping() + { + return $this->filter_scoping; + } + public function hasFilterScoping() + { + return isset($this->filter_scoping); + } + public function clearFilterScoping() + { + unset($this->filter_scoping); + } + /** + * Specifies the scope for the filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentParameterFilterScoping filter_scoping = 8; + * @param \Google\Analytics\Data\V1alpha\SegmentParameterFilterScoping $var + * @return $this + */ + public function setFilterScoping($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentParameterFilterScoping::class); + $this->filter_scoping = $var; + return $this; + } + /** + * @return string + */ + public function getOneParameter() + { + return $this->whichOneof("one_parameter"); + } + /** + * @return string + */ + public function getOneFilter() + { + return $this->whichOneof("one_filter"); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentParameterFilterExpression.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentParameterFilterExpression.php new file mode 100644 index 000000000..431fc6618 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentParameterFilterExpression.php @@ -0,0 +1,160 @@ +google.analytics.data.v1alpha.SegmentParameterFilterExpression + */ +class SegmentParameterFilterExpression extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + protected $expr; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList $and_group + * The SegmentParameterFilterExpression in `andGroup` have an AND + * relationship. + * @type \Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList $or_group + * The SegmentParameterFilterExpression in `orGroup` have an OR + * relationship. + * @type \Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression $not_expression + * The SegmentParameterFilterExpression is NOT of `notExpression`. + * @type \Google\Analytics\Data\V1alpha\SegmentParameterFilter $segment_parameter_filter + * A primitive segment parameter filter. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The SegmentParameterFilterExpression in `andGroup` have an AND + * relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentParameterFilterExpressionList and_group = 1; + * @return \Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList|null + */ + public function getAndGroup() + { + return $this->readOneof(1); + } + public function hasAndGroup() + { + return $this->hasOneof(1); + } + /** + * The SegmentParameterFilterExpression in `andGroup` have an AND + * relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentParameterFilterExpressionList and_group = 1; + * @param \Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList $var + * @return $this + */ + public function setAndGroup($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList::class); + $this->writeOneof(1, $var); + return $this; + } + /** + * The SegmentParameterFilterExpression in `orGroup` have an OR + * relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentParameterFilterExpressionList or_group = 2; + * @return \Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList|null + */ + public function getOrGroup() + { + return $this->readOneof(2); + } + public function hasOrGroup() + { + return $this->hasOneof(2); + } + /** + * The SegmentParameterFilterExpression in `orGroup` have an OR + * relationship. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentParameterFilterExpressionList or_group = 2; + * @param \Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList $var + * @return $this + */ + public function setOrGroup($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentParameterFilterExpressionList::class); + $this->writeOneof(2, $var); + return $this; + } + /** + * The SegmentParameterFilterExpression is NOT of `notExpression`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentParameterFilterExpression not_expression = 3; + * @return \Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression|null + */ + public function getNotExpression() + { + return $this->readOneof(3); + } + public function hasNotExpression() + { + return $this->hasOneof(3); + } + /** + * The SegmentParameterFilterExpression is NOT of `notExpression`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentParameterFilterExpression not_expression = 3; + * @param \Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression $var + * @return $this + */ + public function setNotExpression($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression::class); + $this->writeOneof(3, $var); + return $this; + } + /** + * A primitive segment parameter filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentParameterFilter segment_parameter_filter = 4; + * @return \Google\Analytics\Data\V1alpha\SegmentParameterFilter|null + */ + public function getSegmentParameterFilter() + { + return $this->readOneof(4); + } + public function hasSegmentParameterFilter() + { + return $this->hasOneof(4); + } + /** + * A primitive segment parameter filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentParameterFilter segment_parameter_filter = 4; + * @param \Google\Analytics\Data\V1alpha\SegmentParameterFilter $var + * @return $this + */ + public function setSegmentParameterFilter($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentParameterFilter::class); + $this->writeOneof(4, $var); + return $this; + } + /** + * @return string + */ + public function getExpr() + { + return $this->whichOneof("expr"); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentParameterFilterExpressionList.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentParameterFilterExpressionList.php new file mode 100644 index 000000000..3d825ae52 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentParameterFilterExpressionList.php @@ -0,0 +1,61 @@ +google.analytics.data.v1alpha.SegmentParameterFilterExpressionList + */ +class SegmentParameterFilterExpressionList extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The list of segment parameter filter expressions. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.SegmentParameterFilterExpression expressions = 1; + */ + private $expressions; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression>|\Google\Protobuf\Internal\RepeatedField $expressions + * The list of segment parameter filter expressions. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The list of segment parameter filter expressions. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.SegmentParameterFilterExpression expressions = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getExpressions() + { + return $this->expressions; + } + /** + * The list of segment parameter filter expressions. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.SegmentParameterFilterExpression expressions = 1; + * @param array<\Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setExpressions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentParameterFilterExpression::class); + $this->expressions = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentParameterFilterScoping.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentParameterFilterScoping.php new file mode 100644 index 000000000..ab4ca3255 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SegmentParameterFilterScoping.php @@ -0,0 +1,150 @@ +google.analytics.data.v1alpha.SegmentParameterFilterScoping + */ +class SegmentParameterFilterScoping extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Accumulates the parameter over the specified period of days before + * applying the filter. Only supported if criteria scoping is + * `ACROSS_ALL_SESSIONS` or `WITHIN_SAME_SESSION`. Only supported if the + * parameter is `event_count`. + * For example if `inAnyNDayPeriod` is 3, the event_name is "purchase", + * the event parameter is "event_count", and the Filter's criteria is + * greater than 5, this filter will accumulate the event count of purchase + * events over every 3 consecutive day period in the report's date range; a + * user will pass this Filter's criteria to be included in this segment if + * their count of purchase events exceeds 5 in any 3 consecutive day period. + * For example, the periods 2021-11-01 to 2021-11-03, 2021-11-02 to + * 2021-11-04, 2021-11-03 to 2021-11-05, and etc. will be considered. + * The date range is not extended for the purpose of having a full N day + * window near the start of the date range. For example if a report is for + * 2021-11-01 to 2021-11-10 and `inAnyNDayPeriod` = 3, the first two day + * period will be effectively shortened because no event data outside the + * report's date range will be read. For example, the first four periods + * will effectively be: 2021-11-01 to 2021-11-01, 2021-11-01 to 2021-11-02, + * 2021-11-01 to 2021-11-03, and 2021-11-02 to 2021-11-04. + * `inAnyNDayPeriod` is optional. If not specified, the + * `segmentParameterFilter` is applied to each event individually. + * + * Generated from protobuf field optional int64 in_any_n_day_period = 1; + */ + private $in_any_n_day_period = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $in_any_n_day_period + * Accumulates the parameter over the specified period of days before + * applying the filter. Only supported if criteria scoping is + * `ACROSS_ALL_SESSIONS` or `WITHIN_SAME_SESSION`. Only supported if the + * parameter is `event_count`. + * For example if `inAnyNDayPeriod` is 3, the event_name is "purchase", + * the event parameter is "event_count", and the Filter's criteria is + * greater than 5, this filter will accumulate the event count of purchase + * events over every 3 consecutive day period in the report's date range; a + * user will pass this Filter's criteria to be included in this segment if + * their count of purchase events exceeds 5 in any 3 consecutive day period. + * For example, the periods 2021-11-01 to 2021-11-03, 2021-11-02 to + * 2021-11-04, 2021-11-03 to 2021-11-05, and etc. will be considered. + * The date range is not extended for the purpose of having a full N day + * window near the start of the date range. For example if a report is for + * 2021-11-01 to 2021-11-10 and `inAnyNDayPeriod` = 3, the first two day + * period will be effectively shortened because no event data outside the + * report's date range will be read. For example, the first four periods + * will effectively be: 2021-11-01 to 2021-11-01, 2021-11-01 to 2021-11-02, + * 2021-11-01 to 2021-11-03, and 2021-11-02 to 2021-11-04. + * `inAnyNDayPeriod` is optional. If not specified, the + * `segmentParameterFilter` is applied to each event individually. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * Accumulates the parameter over the specified period of days before + * applying the filter. Only supported if criteria scoping is + * `ACROSS_ALL_SESSIONS` or `WITHIN_SAME_SESSION`. Only supported if the + * parameter is `event_count`. + * For example if `inAnyNDayPeriod` is 3, the event_name is "purchase", + * the event parameter is "event_count", and the Filter's criteria is + * greater than 5, this filter will accumulate the event count of purchase + * events over every 3 consecutive day period in the report's date range; a + * user will pass this Filter's criteria to be included in this segment if + * their count of purchase events exceeds 5 in any 3 consecutive day period. + * For example, the periods 2021-11-01 to 2021-11-03, 2021-11-02 to + * 2021-11-04, 2021-11-03 to 2021-11-05, and etc. will be considered. + * The date range is not extended for the purpose of having a full N day + * window near the start of the date range. For example if a report is for + * 2021-11-01 to 2021-11-10 and `inAnyNDayPeriod` = 3, the first two day + * period will be effectively shortened because no event data outside the + * report's date range will be read. For example, the first four periods + * will effectively be: 2021-11-01 to 2021-11-01, 2021-11-01 to 2021-11-02, + * 2021-11-01 to 2021-11-03, and 2021-11-02 to 2021-11-04. + * `inAnyNDayPeriod` is optional. If not specified, the + * `segmentParameterFilter` is applied to each event individually. + * + * Generated from protobuf field optional int64 in_any_n_day_period = 1; + * @return int|string + */ + public function getInAnyNDayPeriod() + { + return isset($this->in_any_n_day_period) ? $this->in_any_n_day_period : 0; + } + public function hasInAnyNDayPeriod() + { + return isset($this->in_any_n_day_period); + } + public function clearInAnyNDayPeriod() + { + unset($this->in_any_n_day_period); + } + /** + * Accumulates the parameter over the specified period of days before + * applying the filter. Only supported if criteria scoping is + * `ACROSS_ALL_SESSIONS` or `WITHIN_SAME_SESSION`. Only supported if the + * parameter is `event_count`. + * For example if `inAnyNDayPeriod` is 3, the event_name is "purchase", + * the event parameter is "event_count", and the Filter's criteria is + * greater than 5, this filter will accumulate the event count of purchase + * events over every 3 consecutive day period in the report's date range; a + * user will pass this Filter's criteria to be included in this segment if + * their count of purchase events exceeds 5 in any 3 consecutive day period. + * For example, the periods 2021-11-01 to 2021-11-03, 2021-11-02 to + * 2021-11-04, 2021-11-03 to 2021-11-05, and etc. will be considered. + * The date range is not extended for the purpose of having a full N day + * window near the start of the date range. For example if a report is for + * 2021-11-01 to 2021-11-10 and `inAnyNDayPeriod` = 3, the first two day + * period will be effectively shortened because no event data outside the + * report's date range will be read. For example, the first four periods + * will effectively be: 2021-11-01 to 2021-11-01, 2021-11-01 to 2021-11-02, + * 2021-11-01 to 2021-11-03, and 2021-11-02 to 2021-11-04. + * `inAnyNDayPeriod` is optional. If not specified, the + * `segmentParameterFilter` is applied to each event individually. + * + * Generated from protobuf field optional int64 in_any_n_day_period = 1; + * @param int|string $var + * @return $this + */ + public function setInAnyNDayPeriod($var) + { + GPBUtil::checkInt64($var); + $this->in_any_n_day_period = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SessionCriteriaScoping.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SessionCriteriaScoping.php new file mode 100644 index 000000000..59c2edc50 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SessionCriteriaScoping.php @@ -0,0 +1,52 @@ +google.analytics.data.v1alpha.SessionCriteriaScoping + */ +class SessionCriteriaScoping +{ + /** + * Unspecified criteria scoping. Do not specify. + * + * Generated from protobuf enum SESSION_CRITERIA_SCOPING_UNSPECIFIED = 0; + */ + const SESSION_CRITERIA_SCOPING_UNSPECIFIED = 0; + /** + * If the criteria is satisfied within one event, the session matches the + * criteria. + * + * Generated from protobuf enum SESSION_CRITERIA_WITHIN_SAME_EVENT = 1; + */ + const SESSION_CRITERIA_WITHIN_SAME_EVENT = 1; + /** + * If the criteria is satisfied within one session, the session matches + * the criteria. + * + * Generated from protobuf enum SESSION_CRITERIA_WITHIN_SAME_SESSION = 2; + */ + const SESSION_CRITERIA_WITHIN_SAME_SESSION = 2; + private static $valueToName = [self::SESSION_CRITERIA_SCOPING_UNSPECIFIED => 'SESSION_CRITERIA_SCOPING_UNSPECIFIED', self::SESSION_CRITERIA_WITHIN_SAME_EVENT => 'SESSION_CRITERIA_WITHIN_SAME_EVENT', self::SESSION_CRITERIA_WITHIN_SAME_SESSION => 'SESSION_CRITERIA_WITHIN_SAME_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/vendor/prefixed/google/analytics-data/src/V1alpha/SessionExclusionDuration.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SessionExclusionDuration.php new file mode 100644 index 000000000..43c5e3e1d --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SessionExclusionDuration.php @@ -0,0 +1,52 @@ +google.analytics.data.v1alpha.SessionExclusionDuration + */ +class SessionExclusionDuration +{ + /** + * Unspecified exclusion duration. Do not specify. + * + * Generated from protobuf enum SESSION_EXCLUSION_DURATION_UNSPECIFIED = 0; + */ + const SESSION_EXCLUSION_DURATION_UNSPECIFIED = 0; + /** + * Temporarily exclude sessions from the segment during periods when the + * session meets the `sessionExclusionCriteria` condition. + * + * Generated from protobuf enum SESSION_EXCLUSION_TEMPORARY = 1; + */ + const SESSION_EXCLUSION_TEMPORARY = 1; + /** + * Permanently exclude sessions from the segment if the session ever meets + * the `sessionExclusionCriteria` condition. + * + * Generated from protobuf enum SESSION_EXCLUSION_PERMANENT = 2; + */ + const SESSION_EXCLUSION_PERMANENT = 2; + private static $valueToName = [self::SESSION_EXCLUSION_DURATION_UNSPECIFIED => 'SESSION_EXCLUSION_DURATION_UNSPECIFIED', self::SESSION_EXCLUSION_TEMPORARY => 'SESSION_EXCLUSION_TEMPORARY', self::SESSION_EXCLUSION_PERMANENT => 'SESSION_EXCLUSION_PERMANENT']; + 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/vendor/prefixed/google/analytics-data/src/V1alpha/SessionSegment.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SessionSegment.php new file mode 100644 index 000000000..5ed558d7e --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SessionSegment.php @@ -0,0 +1,110 @@ +google.analytics.data.v1alpha.SessionSegment + */ +class SessionSegment extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Defines which sessions are included in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1; + */ + private $session_inclusion_criteria = null; + /** + * Defines which sessions are excluded in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2; + */ + private $exclusion = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1alpha\SessionSegmentCriteria $session_inclusion_criteria + * Defines which sessions are included in this segment. Optional. + * @type \Google\Analytics\Data\V1alpha\SessionSegmentExclusion $exclusion + * Defines which sessions are excluded in this segment. Optional. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * Defines which sessions are included in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1; + * @return \Google\Analytics\Data\V1alpha\SessionSegmentCriteria|null + */ + public function getSessionInclusionCriteria() + { + return $this->session_inclusion_criteria; + } + public function hasSessionInclusionCriteria() + { + return isset($this->session_inclusion_criteria); + } + public function clearSessionInclusionCriteria() + { + unset($this->session_inclusion_criteria); + } + /** + * Defines which sessions are included in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1; + * @param \Google\Analytics\Data\V1alpha\SessionSegmentCriteria $var + * @return $this + */ + public function setSessionInclusionCriteria($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SessionSegmentCriteria::class); + $this->session_inclusion_criteria = $var; + return $this; + } + /** + * Defines which sessions are excluded in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2; + * @return \Google\Analytics\Data\V1alpha\SessionSegmentExclusion|null + */ + public function getExclusion() + { + return $this->exclusion; + } + public function hasExclusion() + { + return isset($this->exclusion); + } + public function clearExclusion() + { + unset($this->exclusion); + } + /** + * Defines which sessions are excluded in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2; + * @param \Google\Analytics\Data\V1alpha\SessionSegmentExclusion $var + * @return $this + */ + public function setExclusion($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SessionSegmentExclusion::class); + $this->exclusion = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SessionSegmentConditionGroup.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SessionSegmentConditionGroup.php new file mode 100644 index 000000000..ee04214e2 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SessionSegmentConditionGroup.php @@ -0,0 +1,153 @@ +google.analytics.data.v1alpha.SessionSegmentConditionGroup + */ +class SessionSegmentConditionGroup extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Data is included or excluded from the segment based on if it matches + * the condition group. This scoping defines how many events the + * `segmentFilterExpression` is evaluated on before the condition group + * is determined to be matched or not. For example if `conditionScoping = + * SESSION_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all + * events in a session, and then, the condition group is determined to be + * matched or not for this session. For example if `conditionScoping = + * SESSION_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a + * single event, and then, the condition group is determined to be matched or + * not for this session. + * Optional. If unspecified, a `conditionScoping` of `WITHIN_SAME_SESSION` + * is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionCriteriaScoping condition_scoping = 1; + */ + private $condition_scoping = 0; + /** + * Data is included or excluded from the segment based on if it matches + * this expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2; + */ + private $segment_filter_expression = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $condition_scoping + * Data is included or excluded from the segment based on if it matches + * the condition group. This scoping defines how many events the + * `segmentFilterExpression` is evaluated on before the condition group + * is determined to be matched or not. For example if `conditionScoping = + * SESSION_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all + * events in a session, and then, the condition group is determined to be + * matched or not for this session. For example if `conditionScoping = + * SESSION_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a + * single event, and then, the condition group is determined to be matched or + * not for this session. + * Optional. If unspecified, a `conditionScoping` of `WITHIN_SAME_SESSION` + * is used. + * @type \Google\Analytics\Data\V1alpha\SegmentFilterExpression $segment_filter_expression + * Data is included or excluded from the segment based on if it matches + * this expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * Data is included or excluded from the segment based on if it matches + * the condition group. This scoping defines how many events the + * `segmentFilterExpression` is evaluated on before the condition group + * is determined to be matched or not. For example if `conditionScoping = + * SESSION_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all + * events in a session, and then, the condition group is determined to be + * matched or not for this session. For example if `conditionScoping = + * SESSION_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a + * single event, and then, the condition group is determined to be matched or + * not for this session. + * Optional. If unspecified, a `conditionScoping` of `WITHIN_SAME_SESSION` + * is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionCriteriaScoping condition_scoping = 1; + * @return int + */ + public function getConditionScoping() + { + return $this->condition_scoping; + } + /** + * Data is included or excluded from the segment based on if it matches + * the condition group. This scoping defines how many events the + * `segmentFilterExpression` is evaluated on before the condition group + * is determined to be matched or not. For example if `conditionScoping = + * SESSION_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all + * events in a session, and then, the condition group is determined to be + * matched or not for this session. For example if `conditionScoping = + * SESSION_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a + * single event, and then, the condition group is determined to be matched or + * not for this session. + * Optional. If unspecified, a `conditionScoping` of `WITHIN_SAME_SESSION` + * is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionCriteriaScoping condition_scoping = 1; + * @param int $var + * @return $this + */ + public function setConditionScoping($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SessionCriteriaScoping::class); + $this->condition_scoping = $var; + return $this; + } + /** + * Data is included or excluded from the segment based on if it matches + * this expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2; + * @return \Google\Analytics\Data\V1alpha\SegmentFilterExpression|null + */ + public function getSegmentFilterExpression() + { + return $this->segment_filter_expression; + } + public function hasSegmentFilterExpression() + { + return isset($this->segment_filter_expression); + } + public function clearSegmentFilterExpression() + { + unset($this->segment_filter_expression); + } + /** + * Data is included or excluded from the segment based on if it matches + * this expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2; + * @param \Google\Analytics\Data\V1alpha\SegmentFilterExpression $var + * @return $this + */ + public function setSegmentFilterExpression($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentFilterExpression::class); + $this->segment_filter_expression = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SessionSegmentCriteria.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SessionSegmentCriteria.php new file mode 100644 index 000000000..34f00b107 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SessionSegmentCriteria.php @@ -0,0 +1,66 @@ +google.analytics.data.v1alpha.SessionSegmentCriteria + */ +class SessionSegmentCriteria extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * A session matches this criteria if the session matches each of these + * `andConditionGroups`. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1; + */ + private $and_condition_groups; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\SessionSegmentConditionGroup>|\Google\Protobuf\Internal\RepeatedField $and_condition_groups + * A session matches this criteria if the session matches each of these + * `andConditionGroups`. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * A session matches this criteria if the session matches each of these + * `andConditionGroups`. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAndConditionGroups() + { + return $this->and_condition_groups; + } + /** + * A session matches this criteria if the session matches each of these + * `andConditionGroups`. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1; + * @param array<\Google\Analytics\Data\V1alpha\SessionSegmentConditionGroup>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAndConditionGroups($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SessionSegmentConditionGroup::class); + $this->and_condition_groups = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SessionSegmentExclusion.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SessionSegmentExclusion.php new file mode 100644 index 000000000..e70a5a594 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SessionSegmentExclusion.php @@ -0,0 +1,116 @@ +google.analytics.data.v1alpha.SessionSegmentExclusion + */ +class SessionSegmentExclusion extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Specifies how long an exclusion will last if a session matches the + * `sessionExclusionCriteria`. + * Optional. If unspecified, a `sessionExclusionDuration` of + * `SESSION_EXCLUSION_TEMPORARY` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionExclusionDuration session_exclusion_duration = 1; + */ + private $session_exclusion_duration = 0; + /** + * If a session meets this condition, the session is excluded from + * membership in the segment for the `sessionExclusionDuration`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2; + */ + private $session_exclusion_criteria = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $session_exclusion_duration + * Specifies how long an exclusion will last if a session matches the + * `sessionExclusionCriteria`. + * Optional. If unspecified, a `sessionExclusionDuration` of + * `SESSION_EXCLUSION_TEMPORARY` is used. + * @type \Google\Analytics\Data\V1alpha\SessionSegmentCriteria $session_exclusion_criteria + * If a session meets this condition, the session is excluded from + * membership in the segment for the `sessionExclusionDuration`. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * Specifies how long an exclusion will last if a session matches the + * `sessionExclusionCriteria`. + * Optional. If unspecified, a `sessionExclusionDuration` of + * `SESSION_EXCLUSION_TEMPORARY` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionExclusionDuration session_exclusion_duration = 1; + * @return int + */ + public function getSessionExclusionDuration() + { + return $this->session_exclusion_duration; + } + /** + * Specifies how long an exclusion will last if a session matches the + * `sessionExclusionCriteria`. + * Optional. If unspecified, a `sessionExclusionDuration` of + * `SESSION_EXCLUSION_TEMPORARY` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionExclusionDuration session_exclusion_duration = 1; + * @param int $var + * @return $this + */ + public function setSessionExclusionDuration($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SessionExclusionDuration::class); + $this->session_exclusion_duration = $var; + return $this; + } + /** + * If a session meets this condition, the session is excluded from + * membership in the segment for the `sessionExclusionDuration`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2; + * @return \Google\Analytics\Data\V1alpha\SessionSegmentCriteria|null + */ + public function getSessionExclusionCriteria() + { + return $this->session_exclusion_criteria; + } + public function hasSessionExclusionCriteria() + { + return isset($this->session_exclusion_criteria); + } + public function clearSessionExclusionCriteria() + { + unset($this->session_exclusion_criteria); + } + /** + * If a session meets this condition, the session is excluded from + * membership in the segment for the `sessionExclusionDuration`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2; + * @param \Google\Analytics\Data\V1alpha\SessionSegmentCriteria $var + * @return $this + */ + public function setSessionExclusionCriteria($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SessionSegmentCriteria::class); + $this->session_exclusion_criteria = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SheetExportAudienceListRequest.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SheetExportAudienceListRequest.php new file mode 100644 index 000000000..512e5e71d --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SheetExportAudienceListRequest.php @@ -0,0 +1,192 @@ +google.analytics.data.v1alpha.SheetExportAudienceListRequest + */ +class SheetExportAudienceListRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the audience list to retrieve users from. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $name = ''; + /** + * Optional. The row count of the start row. The first row is counted as row + * 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of 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 int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $offset = 0; + /** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $limit = 0; + /** + * @param string $name Required. The name of the audience list to retrieve users from. + * Format: `properties/{property}/audienceLists/{audience_list}` + * Please see {@see AlphaAnalyticsDataClient::audienceListName()} for help formatting this field. + * + * @return \Google\Analytics\Data\V1alpha\SheetExportAudienceListRequest + * + * @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 list to retrieve users from. + * Format: `properties/{property}/audienceLists/{audience_list}` + * @type int|string $offset + * Optional. The row count of the start row. The first row is counted as row + * 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type int|string $limit + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. The name of the audience list to retrieve users from. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * 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 list to retrieve users from. + * Format: `properties/{property}/audienceLists/{audience_list}` + * + * 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; + } + /** + * Optional. The row count of the start row. The first row is counted as row + * 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of 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 int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getOffset() + { + return $this->offset; + } + /** + * Optional. The row count of the start row. The first row is counted as row + * 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of 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 int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setOffset($var) + { + GPBUtil::checkInt64($var); + $this->offset = $var; + return $this; + } + /** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getLimit() + { + return $this->limit; + } + /** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setLimit($var) + { + GPBUtil::checkInt64($var); + $this->limit = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/SheetExportAudienceListResponse.php b/vendor/prefixed/google/analytics-data/src/V1alpha/SheetExportAudienceListResponse.php new file mode 100644 index 000000000..78cf1af09 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/SheetExportAudienceListResponse.php @@ -0,0 +1,230 @@ +google.analytics.data.v1alpha.SheetExportAudienceListResponse + */ +class SheetExportAudienceListResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * A uri for you to visit in your browser to view the Google Sheet. + * + * Generated from protobuf field optional string spreadsheet_uri = 1; + */ + private $spreadsheet_uri = null; + /** + * An ID that identifies the created Google Sheet resource. + * + * Generated from protobuf field optional string spreadsheet_id = 2; + */ + private $spreadsheet_id = null; + /** + * The total number of rows in the AudienceList 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 optional int32 row_count = 3; + */ + private $row_count = null; + /** + * Configuration data about AudienceList being exported. Returned to help + * interpret the AudienceList in the Google Sheet of this response. + * For example, the AudienceList may have more rows than are present in the + * Google Sheet, and in that case, you may want to send an additional sheet + * export request with a different `offset` value to retrieve the next page of + * rows in an additional Google Sheet. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.AudienceList audience_list = 4; + */ + private $audience_list = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $spreadsheet_uri + * A uri for you to visit in your browser to view the Google Sheet. + * @type string $spreadsheet_id + * An ID that identifies the created Google Sheet resource. + * @type int $row_count + * The total number of rows in the AudienceList 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\Data\V1alpha\AudienceList $audience_list + * Configuration data about AudienceList being exported. Returned to help + * interpret the AudienceList in the Google Sheet of this response. + * For example, the AudienceList may have more rows than are present in the + * Google Sheet, and in that case, you may want to send an additional sheet + * export request with a different `offset` value to retrieve the next page of + * rows in an additional Google Sheet. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * A uri for you to visit in your browser to view the Google Sheet. + * + * Generated from protobuf field optional string spreadsheet_uri = 1; + * @return string + */ + public function getSpreadsheetUri() + { + return isset($this->spreadsheet_uri) ? $this->spreadsheet_uri : ''; + } + public function hasSpreadsheetUri() + { + return isset($this->spreadsheet_uri); + } + public function clearSpreadsheetUri() + { + unset($this->spreadsheet_uri); + } + /** + * A uri for you to visit in your browser to view the Google Sheet. + * + * Generated from protobuf field optional string spreadsheet_uri = 1; + * @param string $var + * @return $this + */ + public function setSpreadsheetUri($var) + { + GPBUtil::checkString($var, True); + $this->spreadsheet_uri = $var; + return $this; + } + /** + * An ID that identifies the created Google Sheet resource. + * + * Generated from protobuf field optional string spreadsheet_id = 2; + * @return string + */ + public function getSpreadsheetId() + { + return isset($this->spreadsheet_id) ? $this->spreadsheet_id : ''; + } + public function hasSpreadsheetId() + { + return isset($this->spreadsheet_id); + } + public function clearSpreadsheetId() + { + unset($this->spreadsheet_id); + } + /** + * An ID that identifies the created Google Sheet resource. + * + * Generated from protobuf field optional string spreadsheet_id = 2; + * @param string $var + * @return $this + */ + public function setSpreadsheetId($var) + { + GPBUtil::checkString($var, True); + $this->spreadsheet_id = $var; + return $this; + } + /** + * The total number of rows in the AudienceList 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 optional int32 row_count = 3; + * @return int + */ + public function getRowCount() + { + return isset($this->row_count) ? $this->row_count : 0; + } + public function hasRowCount() + { + return isset($this->row_count); + } + public function clearRowCount() + { + unset($this->row_count); + } + /** + * The total number of rows in the AudienceList 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 optional int32 row_count = 3; + * @param int $var + * @return $this + */ + public function setRowCount($var) + { + GPBUtil::checkInt32($var); + $this->row_count = $var; + return $this; + } + /** + * Configuration data about AudienceList being exported. Returned to help + * interpret the AudienceList in the Google Sheet of this response. + * For example, the AudienceList may have more rows than are present in the + * Google Sheet, and in that case, you may want to send an additional sheet + * export request with a different `offset` value to retrieve the next page of + * rows in an additional Google Sheet. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.AudienceList audience_list = 4; + * @return \Google\Analytics\Data\V1alpha\AudienceList|null + */ + public function getAudienceList() + { + return $this->audience_list; + } + public function hasAudienceList() + { + return isset($this->audience_list); + } + public function clearAudienceList() + { + unset($this->audience_list); + } + /** + * Configuration data about AudienceList being exported. Returned to help + * interpret the AudienceList in the Google Sheet of this response. + * For example, the AudienceList may have more rows than are present in the + * Google Sheet, and in that case, you may want to send an additional sheet + * export request with a different `offset` value to retrieve the next page of + * rows in an additional Google Sheet. + * + * Generated from protobuf field optional .google.analytics.data.v1alpha.AudienceList audience_list = 4; + * @param \Google\Analytics\Data\V1alpha\AudienceList $var + * @return $this + */ + public function setAudienceList($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\AudienceList::class); + $this->audience_list = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/StringFilter.php b/vendor/prefixed/google/analytics-data/src/V1alpha/StringFilter.php new file mode 100644 index 000000000..a5a7a1824 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/StringFilter.php @@ -0,0 +1,123 @@ +google.analytics.data.v1alpha.StringFilter + */ +class StringFilter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The match type for this filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.StringFilter.MatchType match_type = 1; + */ + private $match_type = 0; + /** + * The string value used for the matching. + * + * Generated from protobuf field string value = 2; + */ + private $value = ''; + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 3; + */ + private $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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * The match type for this filter. + * + * Generated from protobuf field .google.analytics.data.v1alpha.StringFilter.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.data.v1alpha.StringFilter.MatchType match_type = 1; + * @param int $var + * @return $this + */ + public function setMatchType($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\StringFilter\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/vendor/prefixed/google/analytics-data/src/V1alpha/StringFilter/MatchType.php b/vendor/prefixed/google/analytics-data/src/V1alpha/StringFilter/MatchType.php new file mode 100644 index 000000000..22f5dc79b --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/StringFilter/MatchType.php @@ -0,0 +1,73 @@ +google.analytics.data.v1alpha.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 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/vendor/prefixed/google/analytics-data/src/V1alpha/UserCriteriaScoping.php b/vendor/prefixed/google/analytics-data/src/V1alpha/UserCriteriaScoping.php new file mode 100644 index 000000000..7a0b9242c --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/UserCriteriaScoping.php @@ -0,0 +1,59 @@ +google.analytics.data.v1alpha.UserCriteriaScoping + */ +class UserCriteriaScoping +{ + /** + * Unspecified criteria scoping. Do not specify. + * + * Generated from protobuf enum USER_CRITERIA_SCOPING_UNSPECIFIED = 0; + */ + const USER_CRITERIA_SCOPING_UNSPECIFIED = 0; + /** + * If the criteria is satisfied within one event, the user matches the + * criteria. + * + * Generated from protobuf enum USER_CRITERIA_WITHIN_SAME_EVENT = 1; + */ + const USER_CRITERIA_WITHIN_SAME_EVENT = 1; + /** + * If the criteria is satisfied within one session, the user matches the + * criteria. + * + * Generated from protobuf enum USER_CRITERIA_WITHIN_SAME_SESSION = 2; + */ + const USER_CRITERIA_WITHIN_SAME_SESSION = 2; + /** + * If the criteria is satisfied by any events for the user, the user + * matches the criteria. + * + * Generated from protobuf enum USER_CRITERIA_ACROSS_ALL_SESSIONS = 3; + */ + const USER_CRITERIA_ACROSS_ALL_SESSIONS = 3; + private static $valueToName = [self::USER_CRITERIA_SCOPING_UNSPECIFIED => 'USER_CRITERIA_SCOPING_UNSPECIFIED', self::USER_CRITERIA_WITHIN_SAME_EVENT => 'USER_CRITERIA_WITHIN_SAME_EVENT', self::USER_CRITERIA_WITHIN_SAME_SESSION => 'USER_CRITERIA_WITHIN_SAME_SESSION', self::USER_CRITERIA_ACROSS_ALL_SESSIONS => 'USER_CRITERIA_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/vendor/prefixed/google/analytics-data/src/V1alpha/UserExclusionDuration.php b/vendor/prefixed/google/analytics-data/src/V1alpha/UserExclusionDuration.php new file mode 100644 index 000000000..5bf7da734 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/UserExclusionDuration.php @@ -0,0 +1,52 @@ +google.analytics.data.v1alpha.UserExclusionDuration + */ +class UserExclusionDuration +{ + /** + * Unspecified exclusion duration. Do not specify. + * + * Generated from protobuf enum USER_EXCLUSION_DURATION_UNSPECIFIED = 0; + */ + const USER_EXCLUSION_DURATION_UNSPECIFIED = 0; + /** + * Temporarily exclude users from the segment during periods when the + * user meets the `userExclusionCriteria` condition. + * + * Generated from protobuf enum USER_EXCLUSION_TEMPORARY = 1; + */ + const USER_EXCLUSION_TEMPORARY = 1; + /** + * Permanently exclude users from the segment if the user ever meets the + * `userExclusionCriteria` condition. + * + * Generated from protobuf enum USER_EXCLUSION_PERMANENT = 2; + */ + const USER_EXCLUSION_PERMANENT = 2; + private static $valueToName = [self::USER_EXCLUSION_DURATION_UNSPECIFIED => 'USER_EXCLUSION_DURATION_UNSPECIFIED', self::USER_EXCLUSION_TEMPORARY => 'USER_EXCLUSION_TEMPORARY', self::USER_EXCLUSION_PERMANENT => 'USER_EXCLUSION_PERMANENT']; + 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/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegment.php b/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegment.php new file mode 100644 index 000000000..4e1e362b7 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegment.php @@ -0,0 +1,110 @@ +google.analytics.data.v1alpha.UserSegment + */ +class UserSegment extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Defines which users are included in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserSegmentCriteria user_inclusion_criteria = 1; + */ + private $user_inclusion_criteria = null; + /** + * Defines which users are excluded in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserSegmentExclusion exclusion = 2; + */ + private $exclusion = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1alpha\UserSegmentCriteria $user_inclusion_criteria + * Defines which users are included in this segment. Optional. + * @type \Google\Analytics\Data\V1alpha\UserSegmentExclusion $exclusion + * Defines which users are excluded in this segment. Optional. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * Defines which users are included in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserSegmentCriteria user_inclusion_criteria = 1; + * @return \Google\Analytics\Data\V1alpha\UserSegmentCriteria|null + */ + public function getUserInclusionCriteria() + { + return $this->user_inclusion_criteria; + } + public function hasUserInclusionCriteria() + { + return isset($this->user_inclusion_criteria); + } + public function clearUserInclusionCriteria() + { + unset($this->user_inclusion_criteria); + } + /** + * Defines which users are included in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserSegmentCriteria user_inclusion_criteria = 1; + * @param \Google\Analytics\Data\V1alpha\UserSegmentCriteria $var + * @return $this + */ + public function setUserInclusionCriteria($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\UserSegmentCriteria::class); + $this->user_inclusion_criteria = $var; + return $this; + } + /** + * Defines which users are excluded in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserSegmentExclusion exclusion = 2; + * @return \Google\Analytics\Data\V1alpha\UserSegmentExclusion|null + */ + public function getExclusion() + { + return $this->exclusion; + } + public function hasExclusion() + { + return isset($this->exclusion); + } + public function clearExclusion() + { + unset($this->exclusion); + } + /** + * Defines which users are excluded in this segment. Optional. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserSegmentExclusion exclusion = 2; + * @param \Google\Analytics\Data\V1alpha\UserSegmentExclusion $var + * @return $this + */ + public function setExclusion($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\UserSegmentExclusion::class); + $this->exclusion = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegmentConditionGroup.php b/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegmentConditionGroup.php new file mode 100644 index 000000000..7ddde2286 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegmentConditionGroup.php @@ -0,0 +1,153 @@ +google.analytics.data.v1alpha.UserSegmentConditionGroup + */ +class UserSegmentConditionGroup extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Data is included or excluded from the segment based on if it matches + * the condition group. This scoping defines how many events the + * `segmentFilterExpression` is evaluated on before the condition group + * is determined to be matched or not. For example if `conditionScoping = + * USER_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all + * events in a session, and then, the condition group is determined to be + * matched or not for this user. For example if `conditionScoping = + * USER_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a single + * event, and then, the condition group is determined to be matched or not for + * this user. + * Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is + * used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserCriteriaScoping condition_scoping = 1; + */ + private $condition_scoping = 0; + /** + * Data is included or excluded from the segment based on if it matches + * this expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2; + */ + private $segment_filter_expression = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $condition_scoping + * Data is included or excluded from the segment based on if it matches + * the condition group. This scoping defines how many events the + * `segmentFilterExpression` is evaluated on before the condition group + * is determined to be matched or not. For example if `conditionScoping = + * USER_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all + * events in a session, and then, the condition group is determined to be + * matched or not for this user. For example if `conditionScoping = + * USER_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a single + * event, and then, the condition group is determined to be matched or not for + * this user. + * Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is + * used. + * @type \Google\Analytics\Data\V1alpha\SegmentFilterExpression $segment_filter_expression + * Data is included or excluded from the segment based on if it matches + * this expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * Data is included or excluded from the segment based on if it matches + * the condition group. This scoping defines how many events the + * `segmentFilterExpression` is evaluated on before the condition group + * is determined to be matched or not. For example if `conditionScoping = + * USER_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all + * events in a session, and then, the condition group is determined to be + * matched or not for this user. For example if `conditionScoping = + * USER_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a single + * event, and then, the condition group is determined to be matched or not for + * this user. + * Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is + * used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserCriteriaScoping condition_scoping = 1; + * @return int + */ + public function getConditionScoping() + { + return $this->condition_scoping; + } + /** + * Data is included or excluded from the segment based on if it matches + * the condition group. This scoping defines how many events the + * `segmentFilterExpression` is evaluated on before the condition group + * is determined to be matched or not. For example if `conditionScoping = + * USER_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all + * events in a session, and then, the condition group is determined to be + * matched or not for this user. For example if `conditionScoping = + * USER_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a single + * event, and then, the condition group is determined to be matched or not for + * this user. + * Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is + * used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserCriteriaScoping condition_scoping = 1; + * @param int $var + * @return $this + */ + public function setConditionScoping($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\UserCriteriaScoping::class); + $this->condition_scoping = $var; + return $this; + } + /** + * Data is included or excluded from the segment based on if it matches + * this expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2; + * @return \Google\Analytics\Data\V1alpha\SegmentFilterExpression|null + */ + public function getSegmentFilterExpression() + { + return $this->segment_filter_expression; + } + public function hasSegmentFilterExpression() + { + return isset($this->segment_filter_expression); + } + public function clearSegmentFilterExpression() + { + unset($this->segment_filter_expression); + } + /** + * Data is included or excluded from the segment based on if it matches + * this expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2; + * @param \Google\Analytics\Data\V1alpha\SegmentFilterExpression $var + * @return $this + */ + public function setSegmentFilterExpression($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentFilterExpression::class); + $this->segment_filter_expression = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegmentCriteria.php b/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegmentCriteria.php new file mode 100644 index 000000000..7b704ddd1 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegmentCriteria.php @@ -0,0 +1,109 @@ +google.analytics.data.v1alpha.UserSegmentCriteria + */ +class UserSegmentCriteria extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * A user matches this criteria if the user matches each of these + * `andConditionGroups` and each of the `andSequenceGroups`. + * `andConditionGroups` may be empty if `andSequenceGroups` are specified. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; + */ + private $and_condition_groups; + /** + * A user matches this criteria if the user matches each of these + * `andSequenceGroups` and each of the `andConditionGroups`. + * `andSequenceGroups` may be empty if `andConditionGroups` are specified. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; + */ + private $and_sequence_groups; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1alpha\UserSegmentConditionGroup>|\Google\Protobuf\Internal\RepeatedField $and_condition_groups + * A user matches this criteria if the user matches each of these + * `andConditionGroups` and each of the `andSequenceGroups`. + * `andConditionGroups` may be empty if `andSequenceGroups` are specified. + * @type array<\Google\Analytics\Data\V1alpha\UserSegmentSequenceGroup>|\Google\Protobuf\Internal\RepeatedField $and_sequence_groups + * A user matches this criteria if the user matches each of these + * `andSequenceGroups` and each of the `andConditionGroups`. + * `andSequenceGroups` may be empty if `andConditionGroups` are specified. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * A user matches this criteria if the user matches each of these + * `andConditionGroups` and each of the `andSequenceGroups`. + * `andConditionGroups` may be empty if `andSequenceGroups` are specified. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAndConditionGroups() + { + return $this->and_condition_groups; + } + /** + * A user matches this criteria if the user matches each of these + * `andConditionGroups` and each of the `andSequenceGroups`. + * `andConditionGroups` may be empty if `andSequenceGroups` are specified. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; + * @param array<\Google\Analytics\Data\V1alpha\UserSegmentConditionGroup>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAndConditionGroups($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\UserSegmentConditionGroup::class); + $this->and_condition_groups = $arr; + return $this; + } + /** + * A user matches this criteria if the user matches each of these + * `andSequenceGroups` and each of the `andConditionGroups`. + * `andSequenceGroups` may be empty if `andConditionGroups` are specified. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAndSequenceGroups() + { + return $this->and_sequence_groups; + } + /** + * A user matches this criteria if the user matches each of these + * `andSequenceGroups` and each of the `andConditionGroups`. + * `andSequenceGroups` may be empty if `andConditionGroups` are specified. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; + * @param array<\Google\Analytics\Data\V1alpha\UserSegmentSequenceGroup>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAndSequenceGroups($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\UserSegmentSequenceGroup::class); + $this->and_sequence_groups = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegmentExclusion.php b/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegmentExclusion.php new file mode 100644 index 000000000..8b57f5186 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegmentExclusion.php @@ -0,0 +1,116 @@ +google.analytics.data.v1alpha.UserSegmentExclusion + */ +class UserSegmentExclusion extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Specifies how long an exclusion will last if a user matches the + * `userExclusionCriteria`. + * Optional. If unspecified, `userExclusionDuration` of + * `USER_EXCLUSION_TEMPORARY` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserExclusionDuration user_exclusion_duration = 1; + */ + private $user_exclusion_duration = 0; + /** + * If a user meets this condition, the user is excluded from membership in + * the segment for the `userExclusionDuration`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserSegmentCriteria user_exclusion_criteria = 2; + */ + private $user_exclusion_criteria = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $user_exclusion_duration + * Specifies how long an exclusion will last if a user matches the + * `userExclusionCriteria`. + * Optional. If unspecified, `userExclusionDuration` of + * `USER_EXCLUSION_TEMPORARY` is used. + * @type \Google\Analytics\Data\V1alpha\UserSegmentCriteria $user_exclusion_criteria + * If a user meets this condition, the user is excluded from membership in + * the segment for the `userExclusionDuration`. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * Specifies how long an exclusion will last if a user matches the + * `userExclusionCriteria`. + * Optional. If unspecified, `userExclusionDuration` of + * `USER_EXCLUSION_TEMPORARY` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserExclusionDuration user_exclusion_duration = 1; + * @return int + */ + public function getUserExclusionDuration() + { + return $this->user_exclusion_duration; + } + /** + * Specifies how long an exclusion will last if a user matches the + * `userExclusionCriteria`. + * Optional. If unspecified, `userExclusionDuration` of + * `USER_EXCLUSION_TEMPORARY` is used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserExclusionDuration user_exclusion_duration = 1; + * @param int $var + * @return $this + */ + public function setUserExclusionDuration($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\UserExclusionDuration::class); + $this->user_exclusion_duration = $var; + return $this; + } + /** + * If a user meets this condition, the user is excluded from membership in + * the segment for the `userExclusionDuration`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserSegmentCriteria user_exclusion_criteria = 2; + * @return \Google\Analytics\Data\V1alpha\UserSegmentCriteria|null + */ + public function getUserExclusionCriteria() + { + return $this->user_exclusion_criteria; + } + public function hasUserExclusionCriteria() + { + return isset($this->user_exclusion_criteria); + } + public function clearUserExclusionCriteria() + { + unset($this->user_exclusion_criteria); + } + /** + * If a user meets this condition, the user is excluded from membership in + * the segment for the `userExclusionDuration`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserSegmentCriteria user_exclusion_criteria = 2; + * @param \Google\Analytics\Data\V1alpha\UserSegmentCriteria $var + * @return $this + */ + public function setUserExclusionCriteria($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\UserSegmentCriteria::class); + $this->user_exclusion_criteria = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegmentSequenceGroup.php b/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegmentSequenceGroup.php new file mode 100644 index 000000000..5746a0225 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/UserSegmentSequenceGroup.php @@ -0,0 +1,188 @@ +google.analytics.data.v1alpha.UserSegmentSequenceGroup + */ +class UserSegmentSequenceGroup extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * All sequence steps must be satisfied in the scoping for the user to + * match the sequence. For example if `sequenceScoping = + * USER_CRITERIA_WITHIN_SAME_SESSION`, all sequence steps must complete within + * one session for the user to match the sequence. `sequenceScoping = + * USER_CRITERIA_WITHIN_SAME_EVENT` is not supported. + * Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is + * used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserCriteriaScoping sequence_scoping = 1; + */ + private $sequence_scoping = 0; + /** + * Defines the time period in which the whole sequence must occur; for + * example, 30 Minutes. `sequenceMaximumDuration` is inclusive + * of the endpoint at the microsecond granularity. For example a sequence + * with a maximum duration of 5 seconds can be completed at 4.9 or 5.0 + * seconds, but not 5 seconds and 1 microsecond. + * `sequenceMaximumDuration` is optional, and if unspecified, sequences can + * be completed in any time duration. + * + * Generated from protobuf field .google.protobuf.Duration sequence_maximum_duration = 2; + */ + private $sequence_maximum_duration = null; + /** + * An ordered sequence of condition steps. A user's events must complete + * each step in order for the user to match the + * `UserSegmentSequenceGroup`. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3; + */ + private $user_sequence_steps; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $sequence_scoping + * All sequence steps must be satisfied in the scoping for the user to + * match the sequence. For example if `sequenceScoping = + * USER_CRITERIA_WITHIN_SAME_SESSION`, all sequence steps must complete within + * one session for the user to match the sequence. `sequenceScoping = + * USER_CRITERIA_WITHIN_SAME_EVENT` is not supported. + * Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is + * used. + * @type \Google\Protobuf\Duration $sequence_maximum_duration + * Defines the time period in which the whole sequence must occur; for + * example, 30 Minutes. `sequenceMaximumDuration` is inclusive + * of the endpoint at the microsecond granularity. For example a sequence + * with a maximum duration of 5 seconds can be completed at 4.9 or 5.0 + * seconds, but not 5 seconds and 1 microsecond. + * `sequenceMaximumDuration` is optional, and if unspecified, sequences can + * be completed in any time duration. + * @type array<\Google\Analytics\Data\V1alpha\UserSequenceStep>|\Google\Protobuf\Internal\RepeatedField $user_sequence_steps + * An ordered sequence of condition steps. A user's events must complete + * each step in order for the user to match the + * `UserSegmentSequenceGroup`. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * All sequence steps must be satisfied in the scoping for the user to + * match the sequence. For example if `sequenceScoping = + * USER_CRITERIA_WITHIN_SAME_SESSION`, all sequence steps must complete within + * one session for the user to match the sequence. `sequenceScoping = + * USER_CRITERIA_WITHIN_SAME_EVENT` is not supported. + * Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is + * used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserCriteriaScoping sequence_scoping = 1; + * @return int + */ + public function getSequenceScoping() + { + return $this->sequence_scoping; + } + /** + * All sequence steps must be satisfied in the scoping for the user to + * match the sequence. For example if `sequenceScoping = + * USER_CRITERIA_WITHIN_SAME_SESSION`, all sequence steps must complete within + * one session for the user to match the sequence. `sequenceScoping = + * USER_CRITERIA_WITHIN_SAME_EVENT` is not supported. + * Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is + * used. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserCriteriaScoping sequence_scoping = 1; + * @param int $var + * @return $this + */ + public function setSequenceScoping($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\UserCriteriaScoping::class); + $this->sequence_scoping = $var; + return $this; + } + /** + * Defines the time period in which the whole sequence must occur; for + * example, 30 Minutes. `sequenceMaximumDuration` is inclusive + * of the endpoint at the microsecond granularity. For example a sequence + * with a maximum duration of 5 seconds can be completed at 4.9 or 5.0 + * seconds, but not 5 seconds and 1 microsecond. + * `sequenceMaximumDuration` is optional, and if unspecified, sequences can + * be completed in any time duration. + * + * Generated from protobuf field .google.protobuf.Duration sequence_maximum_duration = 2; + * @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); + } + /** + * Defines the time period in which the whole sequence must occur; for + * example, 30 Minutes. `sequenceMaximumDuration` is inclusive + * of the endpoint at the microsecond granularity. For example a sequence + * with a maximum duration of 5 seconds can be completed at 4.9 or 5.0 + * seconds, but not 5 seconds and 1 microsecond. + * `sequenceMaximumDuration` is optional, and if unspecified, sequences can + * be completed in any time duration. + * + * Generated from protobuf field .google.protobuf.Duration sequence_maximum_duration = 2; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setSequenceMaximumDuration($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Duration::class); + $this->sequence_maximum_duration = $var; + return $this; + } + /** + * An ordered sequence of condition steps. A user's events must complete + * each step in order for the user to match the + * `UserSegmentSequenceGroup`. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getUserSequenceSteps() + { + return $this->user_sequence_steps; + } + /** + * An ordered sequence of condition steps. A user's events must complete + * each step in order for the user to match the + * `UserSegmentSequenceGroup`. + * + * Generated from protobuf field repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3; + * @param array<\Google\Analytics\Data\V1alpha\UserSequenceStep>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setUserSequenceSteps($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\UserSequenceStep::class); + $this->user_sequence_steps = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/UserSequenceStep.php b/vendor/prefixed/google/analytics-data/src/V1alpha/UserSequenceStep.php new file mode 100644 index 000000000..c7720395e --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/UserSequenceStep.php @@ -0,0 +1,184 @@ +google.analytics.data.v1alpha.UserSequenceStep + */ +class UserSequenceStep extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * If true, the event satisfying this step must be the very next event + * after the event satifying the last step. If false, this step indirectly + * follows the prior step; for example, there may be events between the + * prior step and this step. `isDirectlyFollowedBy` must be false for + * the first step. + * + * Generated from protobuf field bool is_directly_followed_by = 1; + */ + private $is_directly_followed_by = \false; + /** + * This sequence step must be satisfied in the scoping for the user to + * match the sequence. For example if `sequenceScoping = + * WITHIN_SAME_SESSION`, this sequence steps must complete within one + * session for the user to match the sequence. `stepScoping = + * ACROSS_ALL_SESSIONS` is only allowed if the `sequenceScoping = + * ACROSS_ALL_SESSIONS`. + * Optional. If unspecified, `stepScoping` uses the same + * `UserCriteriaScoping` as the `sequenceScoping`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserCriteriaScoping step_scoping = 2; + */ + private $step_scoping = 0; + /** + * A user matches this sequence step if their events match this + * expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 3; + */ + private $segment_filter_expression = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $is_directly_followed_by + * If true, the event satisfying this step must be the very next event + * after the event satifying the last step. If false, this step indirectly + * follows the prior step; for example, there may be events between the + * prior step and this step. `isDirectlyFollowedBy` must be false for + * the first step. + * @type int $step_scoping + * This sequence step must be satisfied in the scoping for the user to + * match the sequence. For example if `sequenceScoping = + * WITHIN_SAME_SESSION`, this sequence steps must complete within one + * session for the user to match the sequence. `stepScoping = + * ACROSS_ALL_SESSIONS` is only allowed if the `sequenceScoping = + * ACROSS_ALL_SESSIONS`. + * Optional. If unspecified, `stepScoping` uses the same + * `UserCriteriaScoping` as the `sequenceScoping`. + * @type \Google\Analytics\Data\V1alpha\SegmentFilterExpression $segment_filter_expression + * A user matches this sequence step if their events match this + * expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); + parent::__construct($data); + } + /** + * If true, the event satisfying this step must be the very next event + * after the event satifying the last step. If false, this step indirectly + * follows the prior step; for example, there may be events between the + * prior step and this step. `isDirectlyFollowedBy` must be false for + * the first step. + * + * Generated from protobuf field bool is_directly_followed_by = 1; + * @return bool + */ + public function getIsDirectlyFollowedBy() + { + return $this->is_directly_followed_by; + } + /** + * If true, the event satisfying this step must be the very next event + * after the event satifying the last step. If false, this step indirectly + * follows the prior step; for example, there may be events between the + * prior step and this step. `isDirectlyFollowedBy` must be false for + * the first step. + * + * Generated from protobuf field bool is_directly_followed_by = 1; + * @param bool $var + * @return $this + */ + public function setIsDirectlyFollowedBy($var) + { + GPBUtil::checkBool($var); + $this->is_directly_followed_by = $var; + return $this; + } + /** + * This sequence step must be satisfied in the scoping for the user to + * match the sequence. For example if `sequenceScoping = + * WITHIN_SAME_SESSION`, this sequence steps must complete within one + * session for the user to match the sequence. `stepScoping = + * ACROSS_ALL_SESSIONS` is only allowed if the `sequenceScoping = + * ACROSS_ALL_SESSIONS`. + * Optional. If unspecified, `stepScoping` uses the same + * `UserCriteriaScoping` as the `sequenceScoping`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserCriteriaScoping step_scoping = 2; + * @return int + */ + public function getStepScoping() + { + return $this->step_scoping; + } + /** + * This sequence step must be satisfied in the scoping for the user to + * match the sequence. For example if `sequenceScoping = + * WITHIN_SAME_SESSION`, this sequence steps must complete within one + * session for the user to match the sequence. `stepScoping = + * ACROSS_ALL_SESSIONS` is only allowed if the `sequenceScoping = + * ACROSS_ALL_SESSIONS`. + * Optional. If unspecified, `stepScoping` uses the same + * `UserCriteriaScoping` as the `sequenceScoping`. + * + * Generated from protobuf field .google.analytics.data.v1alpha.UserCriteriaScoping step_scoping = 2; + * @param int $var + * @return $this + */ + public function setStepScoping($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\UserCriteriaScoping::class); + $this->step_scoping = $var; + return $this; + } + /** + * A user matches this sequence step if their events match this + * expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 3; + * @return \Google\Analytics\Data\V1alpha\SegmentFilterExpression|null + */ + public function getSegmentFilterExpression() + { + return $this->segment_filter_expression; + } + public function hasSegmentFilterExpression() + { + return isset($this->segment_filter_expression); + } + public function clearSegmentFilterExpression() + { + unset($this->segment_filter_expression); + } + /** + * A user matches this sequence step if their events match this + * expression. Expressions express criteria on dimension, metrics, + * and/or parameters. + * + * Generated from protobuf field .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 3; + * @param \Google\Analytics\Data\V1alpha\SegmentFilterExpression $var + * @return $this + */ + public function setSegmentFilterExpression($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha\SegmentFilterExpression::class); + $this->segment_filter_expression = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/WebhookNotification.php b/vendor/prefixed/google/analytics-data/src/V1alpha/WebhookNotification.php new file mode 100644 index 000000000..a65b79f1f --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/WebhookNotification.php @@ -0,0 +1,245 @@ +google.analytics.data.v1alpha.WebhookNotification + */ +class WebhookNotification extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Optional. The web address that will receive the webhook notification. This + * address will receive POST requests as the state of the long running + * operation resource changes. The POST request will contain both a JSON + * version of the long running operation resource in the body and a + * `sentTimestamp` field. The sent timestamp will specify the unix + * microseconds since the epoch that the request was sent; this lets you + * identify replayed notifications. + * An example URI is + * `https://us-central1-example-project-id.cloudfunctions.net/example-function-1`. + * The URI must use HTTPS and point to a site with a valid SSL certificate on + * the web server. The URI must have a maximum string length of 128 characters + * & use only the allowlisted characters from [RFC + * 1738](https://www.rfc-editor.org/rfc/rfc1738). + * When your webhook server receives a notification, it is expected to reply + * with an HTTP response status code of 200 within 5 seconds. + * A URI is required to use webhook notifications. + * Requests to this webhook server will contain an ID token authenticating the + * service account + * `google-analytics-audience-export@system.gserviceaccount.com`. To learn + * more about ID tokens, see + * https://cloud.google.com/docs/authentication/token-types#id. For Google + * Cloud Functions, this lets you configure your function to require + * authentication. In Cloud IAM, you will need to grant the service account + * permissions to the Cloud Run Invoker (`roles/run.invoker`) & Cloud + * Functions Invoker (`roles/cloudfunctions.invoker`) roles for the webhook + * post request to pass Google Cloud Functions authentication. This API can + * send webhook notifications to arbitrary URIs; for webhook servers other + * than Google Cloud Functions, this ID token in the authorization bearer + * header should be ignored if it is not needed. + * + * Generated from protobuf field optional string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $uri = null; + /** + * Optional. The channel token is an arbitrary string value and must have a + * maximum string length of 64 characters. Channel tokens allow you to verify + * the source of a webhook notification. This guards against the message being + * spoofed. The channel token will be specified in the `X-Goog-Channel-Token` + * HTTP header of the webhook POST request. + * A channel token is not required to use webhook notifications. + * + * Generated from protobuf field optional string channel_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $channel_token = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $uri + * Optional. The web address that will receive the webhook notification. This + * address will receive POST requests as the state of the long running + * operation resource changes. The POST request will contain both a JSON + * version of the long running operation resource in the body and a + * `sentTimestamp` field. The sent timestamp will specify the unix + * microseconds since the epoch that the request was sent; this lets you + * identify replayed notifications. + * An example URI is + * `https://us-central1-example-project-id.cloudfunctions.net/example-function-1`. + * The URI must use HTTPS and point to a site with a valid SSL certificate on + * the web server. The URI must have a maximum string length of 128 characters + * & use only the allowlisted characters from [RFC + * 1738](https://www.rfc-editor.org/rfc/rfc1738). + * When your webhook server receives a notification, it is expected to reply + * with an HTTP response status code of 200 within 5 seconds. + * A URI is required to use webhook notifications. + * Requests to this webhook server will contain an ID token authenticating the + * service account + * `google-analytics-audience-export@system.gserviceaccount.com`. To learn + * more about ID tokens, see + * https://cloud.google.com/docs/authentication/token-types#id. For Google + * Cloud Functions, this lets you configure your function to require + * authentication. In Cloud IAM, you will need to grant the service account + * permissions to the Cloud Run Invoker (`roles/run.invoker`) & Cloud + * Functions Invoker (`roles/cloudfunctions.invoker`) roles for the webhook + * post request to pass Google Cloud Functions authentication. This API can + * send webhook notifications to arbitrary URIs; for webhook servers other + * than Google Cloud Functions, this ID token in the authorization bearer + * header should be ignored if it is not needed. + * @type string $channel_token + * Optional. The channel token is an arbitrary string value and must have a + * maximum string length of 64 characters. Channel tokens allow you to verify + * the source of a webhook notification. This guards against the message being + * spoofed. The channel token will be specified in the `X-Goog-Channel-Token` + * HTTP header of the webhook POST request. + * A channel token is not required to use webhook notifications. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Optional. The web address that will receive the webhook notification. This + * address will receive POST requests as the state of the long running + * operation resource changes. The POST request will contain both a JSON + * version of the long running operation resource in the body and a + * `sentTimestamp` field. The sent timestamp will specify the unix + * microseconds since the epoch that the request was sent; this lets you + * identify replayed notifications. + * An example URI is + * `https://us-central1-example-project-id.cloudfunctions.net/example-function-1`. + * The URI must use HTTPS and point to a site with a valid SSL certificate on + * the web server. The URI must have a maximum string length of 128 characters + * & use only the allowlisted characters from [RFC + * 1738](https://www.rfc-editor.org/rfc/rfc1738). + * When your webhook server receives a notification, it is expected to reply + * with an HTTP response status code of 200 within 5 seconds. + * A URI is required to use webhook notifications. + * Requests to this webhook server will contain an ID token authenticating the + * service account + * `google-analytics-audience-export@system.gserviceaccount.com`. To learn + * more about ID tokens, see + * https://cloud.google.com/docs/authentication/token-types#id. For Google + * Cloud Functions, this lets you configure your function to require + * authentication. In Cloud IAM, you will need to grant the service account + * permissions to the Cloud Run Invoker (`roles/run.invoker`) & Cloud + * Functions Invoker (`roles/cloudfunctions.invoker`) roles for the webhook + * post request to pass Google Cloud Functions authentication. This API can + * send webhook notifications to arbitrary URIs; for webhook servers other + * than Google Cloud Functions, this ID token in the authorization bearer + * header should be ignored if it is not needed. + * + * Generated from protobuf field optional string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getUri() + { + return isset($this->uri) ? $this->uri : ''; + } + public function hasUri() + { + return isset($this->uri); + } + public function clearUri() + { + unset($this->uri); + } + /** + * Optional. The web address that will receive the webhook notification. This + * address will receive POST requests as the state of the long running + * operation resource changes. The POST request will contain both a JSON + * version of the long running operation resource in the body and a + * `sentTimestamp` field. The sent timestamp will specify the unix + * microseconds since the epoch that the request was sent; this lets you + * identify replayed notifications. + * An example URI is + * `https://us-central1-example-project-id.cloudfunctions.net/example-function-1`. + * The URI must use HTTPS and point to a site with a valid SSL certificate on + * the web server. The URI must have a maximum string length of 128 characters + * & use only the allowlisted characters from [RFC + * 1738](https://www.rfc-editor.org/rfc/rfc1738). + * When your webhook server receives a notification, it is expected to reply + * with an HTTP response status code of 200 within 5 seconds. + * A URI is required to use webhook notifications. + * Requests to this webhook server will contain an ID token authenticating the + * service account + * `google-analytics-audience-export@system.gserviceaccount.com`. To learn + * more about ID tokens, see + * https://cloud.google.com/docs/authentication/token-types#id. For Google + * Cloud Functions, this lets you configure your function to require + * authentication. In Cloud IAM, you will need to grant the service account + * permissions to the Cloud Run Invoker (`roles/run.invoker`) & Cloud + * Functions Invoker (`roles/cloudfunctions.invoker`) roles for the webhook + * post request to pass Google Cloud Functions authentication. This API can + * send webhook notifications to arbitrary URIs; for webhook servers other + * than Google Cloud Functions, this ID token in the authorization bearer + * header should be ignored if it is not needed. + * + * Generated from protobuf field optional string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setUri($var) + { + GPBUtil::checkString($var, True); + $this->uri = $var; + return $this; + } + /** + * Optional. The channel token is an arbitrary string value and must have a + * maximum string length of 64 characters. Channel tokens allow you to verify + * the source of a webhook notification. This guards against the message being + * spoofed. The channel token will be specified in the `X-Goog-Channel-Token` + * HTTP header of the webhook POST request. + * A channel token is not required to use webhook notifications. + * + * Generated from protobuf field optional string channel_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getChannelToken() + { + return isset($this->channel_token) ? $this->channel_token : ''; + } + public function hasChannelToken() + { + return isset($this->channel_token); + } + public function clearChannelToken() + { + unset($this->channel_token); + } + /** + * Optional. The channel token is an arbitrary string value and must have a + * maximum string length of 64 characters. Channel tokens allow you to verify + * the source of a webhook notification. This guards against the message being + * spoofed. The channel token will be specified in the `X-Goog-Channel-Token` + * HTTP header of the webhook POST request. + * A channel token is not required to use webhook notifications. + * + * Generated from protobuf field optional string channel_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setChannelToken($var) + { + GPBUtil::checkString($var, True); + $this->channel_token = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/resources/alpha_analytics_data_client_config.json b/vendor/prefixed/google/analytics-data/src/V1alpha/resources/alpha_analytics_data_client_config.json index 90346e5e8..730a2dea6 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/resources/alpha_analytics_data_client_config.json +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/resources/alpha_analytics_data_client_config.json @@ -38,35 +38,70 @@ } }, "methods": { - "BatchRunPivotReports": { + "CreateAudienceList": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, - "BatchRunReports": { + "CreateRecurringAudienceList": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, - "GetMetadata": { + "CreateReportTask": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" }, - "RunPivotReport": { + "GetAudienceList": { "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetRecurringAudienceList": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetReportTask": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" }, - "RunRealtimeReport": { + "ListAudienceLists": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" }, - "RunReport": { + "ListRecurringAudienceLists": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListReportTasks": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "QueryAudienceList": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "QueryReportTask": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "RunFunnelReport": { "timeout_millis": 60000, "retry_codes_name": "no_retry_1_codes", "retry_params_name": "no_retry_1_params" + }, + "SheetExportAudienceList": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" } } } diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/resources/alpha_analytics_data_descriptor_config.php b/vendor/prefixed/google/analytics-data/src/V1alpha/resources/alpha_analytics_data_descriptor_config.php index 3cf2a002f..159c1f486 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/resources/alpha_analytics_data_descriptor_config.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/resources/alpha_analytics_data_descriptor_config.php @@ -2,4 +2,23 @@ namespace Matomo\Dependencies\GoogleAnalyticsImporter; -return ['interfaces' => ['google.analytics.data.v1alpha.AlphaAnalyticsData' => []]]; +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* + * GENERATED CODE WARNING + * This file was automatically generated - do not edit! + */ +return ['interfaces' => ['google.analytics.data.v1alpha.AlphaAnalyticsData' => ['CreateAudienceList' => ['longRunning' => ['operationReturnType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceList', 'metadataReturnType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceListMetadata', 'initialPollDelayMillis' => '500', 'pollDelayMultiplier' => '1.5', 'maxPollDelayMillis' => '5000', 'totalPollTimeoutMillis' => '300000'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::LONGRUNNING_CALL, 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateReportTask' => ['longRunning' => ['operationReturnType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTask', 'metadataReturnType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTaskMetadata', 'initialPollDelayMillis' => '500', 'pollDelayMultiplier' => '1.5', 'maxPollDelayMillis' => '5000', 'totalPollTimeoutMillis' => '300000'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::LONGRUNNING_CALL, 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'CreateRecurringAudienceList' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RecurringAudienceList', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'GetAudienceList' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceList', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetRecurringAudienceList' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RecurringAudienceList', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetReportTask' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTask', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'ListAudienceLists' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getAudienceLists'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListAudienceListsResponse', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'ListRecurringAudienceLists' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getRecurringAudienceLists'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListRecurringAudienceListsResponse', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'ListReportTasks' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getReportTasks'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListReportTasksResponse', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'QueryAudienceList' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\QueryAudienceListResponse', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'QueryReportTask' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\QueryReportTaskResponse', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'RunFunnelReport' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunFunnelReportResponse', 'headerParams' => [['keyName' => 'property', 'fieldAccessors' => ['getProperty']]]], 'SheetExportAudienceList' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SheetExportAudienceListResponse', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'templateMap' => ['audienceList' => 'properties/{property}/audienceLists/{audience_list}', 'property' => 'properties/{property}', 'recurringAudienceList' => 'properties/{property}/recurringAudienceLists/{recurring_audience_list}', 'reportTask' => 'properties/{property}/reportTasks/{report_task}']]]]; diff --git a/vendor/prefixed/google/analytics-data/src/V1alpha/resources/alpha_analytics_data_rest_client_config.php b/vendor/prefixed/google/analytics-data/src/V1alpha/resources/alpha_analytics_data_rest_client_config.php index 94d5928c4..def8b8429 100644 --- a/vendor/prefixed/google/analytics-data/src/V1alpha/resources/alpha_analytics_data_rest_client_config.php +++ b/vendor/prefixed/google/analytics-data/src/V1alpha/resources/alpha_analytics_data_rest_client_config.php @@ -2,4 +2,23 @@ namespace Matomo\Dependencies\GoogleAnalyticsImporter; -return ['interfaces' => ['google.analytics.data.v1alpha.AlphaAnalyticsData' => ['BatchRunPivotReports' => ['method' => 'post', 'uriTemplate' => '/v1alpha:batchRunPivotReports', 'body' => '*'], 'BatchRunReports' => ['method' => 'post', 'uriTemplate' => '/v1alpha:batchRunReports', 'body' => '*'], 'GetMetadata' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{name=properties/*/metadata}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'RunPivotReport' => ['method' => 'post', 'uriTemplate' => '/v1alpha:runPivotReport', 'body' => '*'], 'RunRealtimeReport' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{property=properties/*}:runRealtimeReport', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]], 'RunReport' => ['method' => 'post', 'uriTemplate' => '/v1alpha:runReport', 'body' => '*']]]]; +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* + * GENERATED CODE WARNING + * This file was automatically generated - do not edit! + */ +return ['interfaces' => ['google.analytics.data.v1alpha.AlphaAnalyticsData' => ['CreateAudienceList' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=properties/*}/audienceLists', 'body' => 'audience_list', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'CreateRecurringAudienceList' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=properties/*}/recurringAudienceLists', 'body' => 'recurring_audience_list', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'CreateReportTask' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{parent=properties/*}/reportTasks', 'body' => 'report_task', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'GetAudienceList' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{name=properties/*/audienceLists/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'GetRecurringAudienceList' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{name=properties/*/recurringAudienceLists/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'GetReportTask' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{name=properties/*/reportTasks/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'ListAudienceLists' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{parent=properties/*}/audienceLists', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'ListRecurringAudienceLists' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{parent=properties/*}/recurringAudienceLists', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'ListReportTasks' => ['method' => 'get', 'uriTemplate' => '/v1alpha/{parent=properties/*}/reportTasks', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'QueryAudienceList' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{name=properties/*/audienceLists/*}:query', 'body' => '*', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'QueryReportTask' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{name=properties/*/reportTasks/*}:query', 'body' => '*', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'RunFunnelReport' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{property=properties/*}:runFunnelReport', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]], 'SheetExportAudienceList' => ['method' => 'post', 'uriTemplate' => '/v1alpha/{name=properties/*/audienceLists/*}:exportSheet', 'body' => '*', 'placeholders' => ['name' => ['getters' => ['getName']]]]]], 'numericEnums' => \true]; diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/AudienceDimension.php b/vendor/prefixed/google/analytics-data/src/V1beta/AudienceDimension.php new file mode 100644 index 000000000..c41e67b4e --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/AudienceDimension.php @@ -0,0 +1,70 @@ +google.analytics.data.v1beta.AudienceDimension + */ +class AudienceDimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Optional. The API name of the dimension. See the [API + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) + * for the list of dimension names. + * + * Generated from protobuf field string dimension_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $dimension_name = ''; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $dimension_name + * Optional. The API name of the dimension. See the [API + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) + * for the list of dimension names. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Beta\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Optional. The API name of the dimension. See the [API + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) + * for the list of dimension names. + * + * Generated from protobuf field string dimension_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDimensionName() + { + return $this->dimension_name; + } + /** + * Optional. The API name of the dimension. See the [API + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) + * for the list of dimension names. + * + * Generated from protobuf field string dimension_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDimensionName($var) + { + GPBUtil::checkString($var, True); + $this->dimension_name = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/AudienceDimensionValue.php b/vendor/prefixed/google/analytics-data/src/V1beta/AudienceDimensionValue.php new file mode 100644 index 000000000..c8f590130 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/AudienceDimensionValue.php @@ -0,0 +1,67 @@ +google.analytics.data.v1beta.AudienceDimensionValue + */ +class AudienceDimensionValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + protected $one_value; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $value + * Value as a string if the dimension type is a string. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Beta\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Value as a string if the dimension type is a string. + * + * Generated from protobuf field string value = 1; + * @return string + */ + public function getValue() + { + return $this->readOneof(1); + } + public function hasValue() + { + return $this->hasOneof(1); + } + /** + * Value as a string if the dimension type is a string. + * + * Generated from protobuf field string value = 1; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(1, $var); + return $this; + } + /** + * @return string + */ + public function getOneValue() + { + return $this->whichOneof("one_value"); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/AudienceExport.php b/vendor/prefixed/google/analytics-data/src/V1beta/AudienceExport.php new file mode 100644 index 000000000..8758e3733 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/AudienceExport.php @@ -0,0 +1,430 @@ +google.analytics.data.v1beta.AudienceExport + */ +class AudienceExport extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Output only. Identifier. The audience export resource name assigned during + * creation. This resource name identifies this `AudienceExport`. + * Format: `properties/{property}/audienceExports/{audience_export}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $name = ''; + /** + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin + * APIs. + * Format: `properties/{property}/audiences/{audience}` + * + * Generated from protobuf field string audience = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $audience = ''; + /** + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + * + * Generated from protobuf field string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $audience_display_name = ''; + /** + * Required. The dimensions requested and displayed in the query response. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + private $dimensions; + /** + * Output only. The current state for this AudienceExport. + * + * Generated from protobuf field optional .google.analytics.data.v1beta.AudienceExport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $state = null; + /** + * Output only. The time when CreateAudienceExport was called and the + * AudienceExport began the `CREATING` state. + * + * Generated from protobuf field optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $begin_creating_time = null; + /** + * Output only. The total quota tokens charged during creation of the + * AudienceExport. Because this token count is based on activity from the + * `CREATING` state, this tokens charged will be fixed once an AudienceExport + * enters the `ACTIVE` or `FAILED` states. + * + * Generated from protobuf field int32 creation_quota_tokens_charged = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $creation_quota_tokens_charged = 0; + /** + * Output only. The total number of rows in the AudienceExport result. + * + * Generated from protobuf field optional int32 row_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $row_count = null; + /** + * Output only. Error message is populated when an audience export fails + * during creation. A common reason for such a failure is quota exhaustion. + * + * Generated from protobuf field optional string error_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $error_message = null; + /** + * Output only. The percentage completed for this audience export ranging + * between 0 to 100. + * + * Generated from protobuf field optional double percentage_completed = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $percentage_completed = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Identifier. The audience export resource name assigned during + * creation. This resource name identifies this `AudienceExport`. + * Format: `properties/{property}/audienceExports/{audience_export}` + * @type string $audience + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin + * APIs. + * Format: `properties/{property}/audiences/{audience}` + * @type string $audience_display_name + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + * @type array<\Google\Analytics\Data\V1beta\AudienceDimension>|\Google\Protobuf\Internal\RepeatedField $dimensions + * Required. The dimensions requested and displayed in the query response. + * @type int $state + * Output only. The current state for this AudienceExport. + * @type \Google\Protobuf\Timestamp $begin_creating_time + * Output only. The time when CreateAudienceExport was called and the + * AudienceExport began the `CREATING` state. + * @type int $creation_quota_tokens_charged + * Output only. The total quota tokens charged during creation of the + * AudienceExport. Because this token count is based on activity from the + * `CREATING` state, this tokens charged will be fixed once an AudienceExport + * enters the `ACTIVE` or `FAILED` states. + * @type int $row_count + * Output only. The total number of rows in the AudienceExport result. + * @type string $error_message + * Output only. Error message is populated when an audience export fails + * during creation. A common reason for such a failure is quota exhaustion. + * @type float $percentage_completed + * Output only. The percentage completed for this audience export ranging + * between 0 to 100. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Beta\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Output only. Identifier. The audience export resource name assigned during + * creation. This resource name identifies this `AudienceExport`. + * Format: `properties/{property}/audienceExports/{audience_export}` + * + * 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. The audience export resource name assigned during + * creation. This resource name identifies this `AudienceExport`. + * Format: `properties/{property}/audienceExports/{audience_export}` + * + * 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; + } + /** + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin + * APIs. + * Format: `properties/{property}/audiences/{audience}` + * + * Generated from protobuf field string audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getAudience() + { + return $this->audience; + } + /** + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin + * APIs. + * Format: `properties/{property}/audiences/{audience}` + * + * Generated from protobuf field string audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setAudience($var) + { + GPBUtil::checkString($var, True); + $this->audience = $var; + return $this; + } + /** + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + * + * Generated from protobuf field string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getAudienceDisplayName() + { + return $this->audience_display_name; + } + /** + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + * + * Generated from protobuf field string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setAudienceDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->audience_display_name = $var; + return $this; + } + /** + * Required. The dimensions requested and displayed in the query response. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDimensions() + { + return $this->dimensions; + } + /** + * Required. The dimensions requested and displayed in the query response. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param array<\Google\Analytics\Data\V1beta\AudienceDimension>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\AudienceDimension::class); + $this->dimensions = $arr; + return $this; + } + /** + * Output only. The current state for this AudienceExport. + * + * Generated from protobuf field optional .google.analytics.data.v1beta.AudienceExport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getState() + { + return isset($this->state) ? $this->state : 0; + } + public function hasState() + { + return isset($this->state); + } + public function clearState() + { + unset($this->state); + } + /** + * Output only. The current state for this AudienceExport. + * + * Generated from protobuf field optional .google.analytics.data.v1beta.AudienceExport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setState($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\AudienceExport\State::class); + $this->state = $var; + return $this; + } + /** + * Output only. The time when CreateAudienceExport was called and the + * AudienceExport began the `CREATING` state. + * + * Generated from protobuf field optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getBeginCreatingTime() + { + return $this->begin_creating_time; + } + public function hasBeginCreatingTime() + { + return isset($this->begin_creating_time); + } + public function clearBeginCreatingTime() + { + unset($this->begin_creating_time); + } + /** + * Output only. The time when CreateAudienceExport was called and the + * AudienceExport began the `CREATING` state. + * + * Generated from protobuf field optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setBeginCreatingTime($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Timestamp::class); + $this->begin_creating_time = $var; + return $this; + } + /** + * Output only. The total quota tokens charged during creation of the + * AudienceExport. Because this token count is based on activity from the + * `CREATING` state, this tokens charged will be fixed once an AudienceExport + * enters the `ACTIVE` or `FAILED` states. + * + * Generated from protobuf field int32 creation_quota_tokens_charged = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getCreationQuotaTokensCharged() + { + return $this->creation_quota_tokens_charged; + } + /** + * Output only. The total quota tokens charged during creation of the + * AudienceExport. Because this token count is based on activity from the + * `CREATING` state, this tokens charged will be fixed once an AudienceExport + * enters the `ACTIVE` or `FAILED` states. + * + * Generated from protobuf field int32 creation_quota_tokens_charged = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setCreationQuotaTokensCharged($var) + { + GPBUtil::checkInt32($var); + $this->creation_quota_tokens_charged = $var; + return $this; + } + /** + * Output only. The total number of rows in the AudienceExport result. + * + * Generated from protobuf field optional int32 row_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getRowCount() + { + return isset($this->row_count) ? $this->row_count : 0; + } + public function hasRowCount() + { + return isset($this->row_count); + } + public function clearRowCount() + { + unset($this->row_count); + } + /** + * Output only. The total number of rows in the AudienceExport result. + * + * Generated from protobuf field optional int32 row_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setRowCount($var) + { + GPBUtil::checkInt32($var); + $this->row_count = $var; + return $this; + } + /** + * Output only. Error message is populated when an audience export fails + * during creation. A common reason for such a failure is quota exhaustion. + * + * Generated from protobuf field optional string error_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getErrorMessage() + { + return isset($this->error_message) ? $this->error_message : ''; + } + public function hasErrorMessage() + { + return isset($this->error_message); + } + public function clearErrorMessage() + { + unset($this->error_message); + } + /** + * Output only. Error message is populated when an audience export fails + * during creation. A common reason for such a failure is quota exhaustion. + * + * Generated from protobuf field optional string error_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setErrorMessage($var) + { + GPBUtil::checkString($var, True); + $this->error_message = $var; + return $this; + } + /** + * Output only. The percentage completed for this audience export ranging + * between 0 to 100. + * + * Generated from protobuf field optional double percentage_completed = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getPercentageCompleted() + { + return isset($this->percentage_completed) ? $this->percentage_completed : 0.0; + } + public function hasPercentageCompleted() + { + return isset($this->percentage_completed); + } + public function clearPercentageCompleted() + { + unset($this->percentage_completed); + } + /** + * Output only. The percentage completed for this audience export ranging + * between 0 to 100. + * + * Generated from protobuf field optional double percentage_completed = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setPercentageCompleted($var) + { + GPBUtil::checkDouble($var); + $this->percentage_completed = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/AudienceExport/State.php b/vendor/prefixed/google/analytics-data/src/V1beta/AudienceExport/State.php new file mode 100644 index 000000000..cfbadab6e --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/AudienceExport/State.php @@ -0,0 +1,59 @@ +google.analytics.data.v1beta.AudienceExport.State + */ +class State +{ + /** + * Unspecified state will never be used. + * + * Generated from protobuf enum STATE_UNSPECIFIED = 0; + */ + const STATE_UNSPECIFIED = 0; + /** + * The AudienceExport is currently creating and will be available in the + * future. Creating occurs immediately after the CreateAudienceExport call. + * + * Generated from protobuf enum CREATING = 1; + */ + const CREATING = 1; + /** + * The AudienceExport is fully created and ready for querying. An + * AudienceExport is updated to active asynchronously from a request; this + * occurs some time (for example 15 minutes) after the initial create call. + * + * Generated from protobuf enum ACTIVE = 2; + */ + const ACTIVE = 2; + /** + * The AudienceExport failed to be created. It is possible that + * re-requesting this audience export will succeed. + * + * Generated from protobuf enum FAILED = 3; + */ + const FAILED = 3; + private static $valueToName = [self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED', self::CREATING => 'CREATING', self::ACTIVE => 'ACTIVE', self::FAILED => 'FAILED']; + 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/vendor/prefixed/google/analytics-data/src/V1beta/AudienceExportMetadata.php b/vendor/prefixed/google/analytics-data/src/V1beta/AudienceExportMetadata.php new file mode 100644 index 000000000..e6ae2195a --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/AudienceExportMetadata.php @@ -0,0 +1,30 @@ +google.analytics.data.v1beta.AudienceExportMetadata + */ +class AudienceExportMetadata extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Beta\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/AudienceRow.php b/vendor/prefixed/google/analytics-data/src/V1beta/AudienceRow.php new file mode 100644 index 000000000..37cea5c09 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/AudienceRow.php @@ -0,0 +1,65 @@ +google.analytics.data.v1beta.AudienceRow + */ +class AudienceRow extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Each dimension value attribute for an audience user. One dimension value + * will be added for each dimension column requested. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.AudienceDimensionValue dimension_values = 1; + */ + private $dimension_values; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1beta\AudienceDimensionValue>|\Google\Protobuf\Internal\RepeatedField $dimension_values + * Each dimension value attribute for an audience user. One dimension value + * will be added for each dimension column requested. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Beta\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Each dimension value attribute for an audience user. One dimension value + * will be added for each dimension column requested. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.AudienceDimensionValue dimension_values = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDimensionValues() + { + return $this->dimension_values; + } + /** + * Each dimension value attribute for an audience user. One dimension value + * will be added for each dimension column requested. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.AudienceDimensionValue dimension_values = 1; + * @param array<\Google\Analytics\Data\V1beta\AudienceDimensionValue>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensionValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\AudienceDimensionValue::class); + $this->dimension_values = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/CheckCompatibilityRequest.php b/vendor/prefixed/google/analytics-data/src/V1beta/CheckCompatibilityRequest.php index fe402b0bf..a023181f1 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/CheckCompatibilityRequest.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/CheckCompatibilityRequest.php @@ -23,9 +23,6 @@ class CheckCompatibilityRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). * `property` should be the same value as in your `runReport` request. * Example: properties/1234 - * Set the Property ID to 0 for compatibility checking on dimensions and - * metrics common to all properties. In this special mode, this method will - * not return custom dimensions and metrics. * * Generated from protobuf field string property = 1; */ @@ -78,9 +75,6 @@ class CheckCompatibilityRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). * `property` should be the same value as in your `runReport` request. * Example: properties/1234 - * Set the Property ID to 0 for compatibility checking on dimensions and - * metrics common to all properties. In this special mode, this method will - * not return custom dimensions and metrics. * @type array<\Google\Analytics\Data\V1beta\Dimension>|\Google\Protobuf\Internal\RepeatedField $dimensions * The dimensions in this report. `dimensions` should be the same value as in * your `runReport` request. @@ -110,9 +104,6 @@ public function __construct($data = NULL) * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). * `property` should be the same value as in your `runReport` request. * Example: properties/1234 - * Set the Property ID to 0 for compatibility checking on dimensions and - * metrics common to all properties. In this special mode, this method will - * not return custom dimensions and metrics. * * Generated from protobuf field string property = 1; * @return string @@ -127,9 +118,6 @@ public function getProperty() * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). * `property` should be the same value as in your `runReport` request. * Example: properties/1234 - * Set the Property ID to 0 for compatibility checking on dimensions and - * metrics common to all properties. In this special mode, this method will - * not return custom dimensions and metrics. * * Generated from protobuf field string property = 1; * @param string $var diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/Client/BetaAnalyticsDataClient.php b/vendor/prefixed/google/analytics-data/src/V1beta/Client/BetaAnalyticsDataClient.php new file mode 100644 index 000000000..a89816fd8 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/Client/BetaAnalyticsDataClient.php @@ -0,0 +1,695 @@ + self::SERVICE_NAME, 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, 'clientConfig' => __DIR__ . '/../resources/beta_analytics_data_client_config.json', 'descriptorsConfigPath' => __DIR__ . '/../resources/beta_analytics_data_descriptor_config.php', 'gcpApiConfigPath' => __DIR__ . '/../resources/beta_analytics_data_grpc_config.json', 'credentialsConfig' => ['defaultScopes' => self::$serviceScopes], 'transportConfig' => ['rest' => ['restClientConfigPath' => __DIR__ . '/../resources/beta_analytics_data_rest_client_config.php']]]; + } + /** + * Return an OperationsClient object with the same endpoint as $this. + * + * @return OperationsClient + * + * @experimental + */ + public function getOperationsClient() + { + return $this->operationsClient; + } + /** + * Resume an existing long running operation that was previously started by a long + * running API method. If $methodName is not provided, or does not match a long + * running API method, then the operation can still be resumed, but the + * OperationResponse object will not deserialize the final response. + * + * @param string $operationName The name of the long running operation + * @param string $methodName The name of the method used to start the operation + * + * @return OperationResponse + * + * @experimental + */ + public function resumeOperation($operationName, $methodName = null) + { + $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : []; + $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); + $operation->reload(); + return $operation; + } + /** + * Formats a string containing the fully-qualified path to represent a + * audience_export resource. + * + * @param string $property + * @param string $audienceExport + * + * @return string The formatted audience_export resource. + * + * @experimental + */ + public static function audienceExportName(string $property, string $audienceExport) : string + { + return self::getPathTemplate('audienceExport')->render(['property' => $property, 'audience_export' => $audienceExport]); + } + /** + * Formats a string containing the fully-qualified path to represent a metadata + * resource. + * + * @param string $property + * + * @return string The formatted metadata resource. + * + * @experimental + */ + public static function metadataName(string $property) : string + { + return self::getPathTemplate('metadata')->render(['property' => $property]); + } + /** + * 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 + * - audienceExport: properties/{property}/audienceExports/{audience_export} + * - metadata: properties/{property}/metadata + * - 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 $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 'analyticsdata.googleapis.com:443'. + * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials + * The credentials to be used by the client to authorize API calls. This option + * accepts either a path to a credentials file, or a decoded credentials file as a + * PHP array. + * *Advanced usage*: In addition, this option can also accept a pre-constructed + * {@see \Google\Auth\FetchAuthTokenInterface} object or + * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these + * objects are provided, any settings in $credentialsConfig will be ignored. + * @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. + * } + * + * @throws ValidationException + * + * @experimental + */ + public function __construct(array $options = []) + { + $clientOptions = $this->buildClientOptions($options); + $this->setClientOptions($clientOptions); + $this->operationsClient = $this->createOperationsClient($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); + } + /** + * Returns multiple pivot reports in a batch. All reports must be for the same + * GA4 Property. + * + * The async variant is {@see BetaAnalyticsDataClient::batchRunPivotReportsAsync()} + * . + * + * @example samples/V1beta/BetaAnalyticsDataClient/batch_run_pivot_reports.php + * + * @param BatchRunPivotReportsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return BatchRunPivotReportsResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function batchRunPivotReports(BatchRunPivotReportsRequest $request, array $callOptions = []) : BatchRunPivotReportsResponse + { + return $this->startApiCall('BatchRunPivotReports', $request, $callOptions)->wait(); + } + /** + * Returns multiple reports in a batch. All reports must be for the same + * GA4 Property. + * + * The async variant is {@see BetaAnalyticsDataClient::batchRunReportsAsync()} . + * + * @example samples/V1beta/BetaAnalyticsDataClient/batch_run_reports.php + * + * @param BatchRunReportsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return BatchRunReportsResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function batchRunReports(BatchRunReportsRequest $request, array $callOptions = []) : BatchRunReportsResponse + { + return $this->startApiCall('BatchRunReports', $request, $callOptions)->wait(); + } + /** + * This compatibility method lists dimensions and metrics that can be added to + * a report request and maintain compatibility. This method fails if the + * request's dimensions and metrics are incompatible. + * + * In Google Analytics, reports fail if they request incompatible dimensions + * and/or metrics; in that case, you will need to remove dimensions and/or + * metrics from the incompatible report until the report is compatible. + * + * The Realtime and Core reports have different compatibility rules. This + * method checks compatibility for Core reports. + * + * The async variant is {@see BetaAnalyticsDataClient::checkCompatibilityAsync()} . + * + * @example samples/V1beta/BetaAnalyticsDataClient/check_compatibility.php + * + * @param CheckCompatibilityRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return CheckCompatibilityResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function checkCompatibility(CheckCompatibilityRequest $request, array $callOptions = []) : CheckCompatibilityResponse + { + return $this->startApiCall('CheckCompatibility', $request, $callOptions)->wait(); + } + /** + * Creates an audience export for later retrieval. This method quickly returns + * the audience export's resource name and initiates a long running + * asynchronous request to form an audience export. To export the users in an + * audience export, first create the audience export through this method and + * then send the audience resource name to the `QueryAudienceExport` method. + * + * See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. + * + * An audience export is a snapshot of the users currently in the audience at + * the time of audience export creation. Creating audience exports for one + * audience on different days will return different results as users enter and + * exit the audience. + * + * Audiences in Google Analytics 4 allow you to segment your users in the ways + * that are important to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. Audience exports + * contain the users in each audience. + * + * Audience Export APIs have some methods at alpha and other methods at beta + * stability. The intention is to advance methods to beta stability after some + * feedback and adoption. To give your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * The async variant is {@see BetaAnalyticsDataClient::createAudienceExportAsync()} + * . + * + * @example samples/V1beta/BetaAnalyticsDataClient/create_audience_export.php + * + * @param CreateAudienceExportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return OperationResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createAudienceExport(CreateAudienceExportRequest $request, array $callOptions = []) : OperationResponse + { + return $this->startApiCall('CreateAudienceExport', $request, $callOptions)->wait(); + } + /** + * Gets configuration metadata about a specific audience export. This method + * can be used to understand an audience export after it has been created. + * + * See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. + * + * Audience Export APIs have some methods at alpha and other methods at beta + * stability. The intention is to advance methods to beta stability after some + * feedback and adoption. To give your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * The async variant is {@see BetaAnalyticsDataClient::getAudienceExportAsync()} . + * + * @example samples/V1beta/BetaAnalyticsDataClient/get_audience_export.php + * + * @param GetAudienceExportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return AudienceExport + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getAudienceExport(GetAudienceExportRequest $request, array $callOptions = []) : AudienceExport + { + return $this->startApiCall('GetAudienceExport', $request, $callOptions)->wait(); + } + /** + * Returns metadata for dimensions and metrics available in reporting methods. + * Used to explore the dimensions and metrics. In this method, a Google + * Analytics GA4 Property Identifier is specified in the request, and + * the metadata response includes Custom dimensions and metrics as well as + * Universal metadata. + * + * For example if a custom metric with parameter name `levels_unlocked` is + * registered to a property, the Metadata response will contain + * `customEvent:levels_unlocked`. Universal metadata are dimensions and + * metrics applicable to any property such as `country` and `totalUsers`. + * + * The async variant is {@see BetaAnalyticsDataClient::getMetadataAsync()} . + * + * @example samples/V1beta/BetaAnalyticsDataClient/get_metadata.php + * + * @param GetMetadataRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return Metadata + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getMetadata(GetMetadataRequest $request, array $callOptions = []) : Metadata + { + return $this->startApiCall('GetMetadata', $request, $callOptions)->wait(); + } + /** + * Lists all audience exports for a property. This method can be used for you + * to find and reuse existing audience exports rather than creating + * unnecessary new audience exports. The same audience can have multiple + * audience exports that represent the export of users that were in an + * audience on different days. + * + * See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. + * + * Audience Export APIs have some methods at alpha and other methods at beta + * stability. The intention is to advance methods to beta stability after some + * feedback and adoption. To give your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * The async variant is {@see BetaAnalyticsDataClient::listAudienceExportsAsync()} + * . + * + * @example samples/V1beta/BetaAnalyticsDataClient/list_audience_exports.php + * + * @param ListAudienceExportsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. 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 listAudienceExports(ListAudienceExportsRequest $request, array $callOptions = []) : PagedListResponse + { + return $this->startApiCall('ListAudienceExports', $request, $callOptions); + } + /** + * Retrieves an audience export of users. After creating an audience, the + * users are not immediately available for exporting. First, a request to + * `CreateAudienceExport` is necessary to create an audience export of users, + * and then second, this method is used to retrieve the users in the audience + * export. + * + * See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. + * + * Audiences in Google Analytics 4 allow you to segment your users in the ways + * that are important to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. + * + * Audience Export APIs have some methods at alpha and other methods at beta + * stability. The intention is to advance methods to beta stability after some + * feedback and adoption. To give your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * The async variant is {@see BetaAnalyticsDataClient::queryAudienceExportAsync()} + * . + * + * @example samples/V1beta/BetaAnalyticsDataClient/query_audience_export.php + * + * @param QueryAudienceExportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return QueryAudienceExportResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function queryAudienceExport(QueryAudienceExportRequest $request, array $callOptions = []) : QueryAudienceExportResponse + { + return $this->startApiCall('QueryAudienceExport', $request, $callOptions)->wait(); + } + /** + * Returns a customized pivot report of your Google Analytics event data. + * Pivot reports are more advanced and expressive formats than regular + * reports. In a pivot report, dimensions are only visible if they are + * included in a pivot. Multiple pivots can be specified to further dissect + * your data. + * + * The async variant is {@see BetaAnalyticsDataClient::runPivotReportAsync()} . + * + * @example samples/V1beta/BetaAnalyticsDataClient/run_pivot_report.php + * + * @param RunPivotReportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return RunPivotReportResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function runPivotReport(RunPivotReportRequest $request, array $callOptions = []) : RunPivotReportResponse + { + return $this->startApiCall('RunPivotReport', $request, $callOptions)->wait(); + } + /** + * Returns a customized report of realtime event data for your property. + * Events appear in realtime reports seconds after they have been sent to + * the Google Analytics. Realtime reports show events and usage data for the + * periods of time ranging from the present moment to 30 minutes ago (up to + * 60 minutes for Google Analytics 360 properties). + * + * For a guide to constructing realtime requests & understanding responses, + * see [Creating a Realtime + * Report](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-basics). + * + * The async variant is {@see BetaAnalyticsDataClient::runRealtimeReportAsync()} . + * + * @example samples/V1beta/BetaAnalyticsDataClient/run_realtime_report.php + * + * @param RunRealtimeReportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return RunRealtimeReportResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function runRealtimeReport(RunRealtimeReportRequest $request, array $callOptions = []) : RunRealtimeReportResponse + { + return $this->startApiCall('RunRealtimeReport', $request, $callOptions)->wait(); + } + /** + * Returns a customized report of your Google Analytics event data. Reports + * contain statistics derived from data collected by the Google Analytics + * tracking code. The data returned from the API is as a table with columns + * for the requested dimensions and metrics. Metrics are individual + * measurements of user activity on your property, such as active users or + * event count. Dimensions break down metrics across some common criteria, + * such as country or event name. + * + * For a guide to constructing requests & understanding responses, see + * [Creating a + * Report](https://developers.google.com/analytics/devguides/reporting/data/v1/basics). + * + * The async variant is {@see BetaAnalyticsDataClient::runReportAsync()} . + * + * @example samples/V1beta/BetaAnalyticsDataClient/run_report.php + * + * @param RunReportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return RunReportResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function runReport(RunReportRequest $request, array $callOptions = []) : RunReportResponse + { + return $this->startApiCall('RunReport', $request, $callOptions)->wait(); + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/CreateAudienceExportRequest.php b/vendor/prefixed/google/analytics-data/src/V1beta/CreateAudienceExportRequest.php new file mode 100644 index 000000000..fc1b21de5 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/CreateAudienceExportRequest.php @@ -0,0 +1,118 @@ +google.analytics.data.v1beta.CreateAudienceExportRequest + */ +class CreateAudienceExportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this audience export will be created. + * Format: `properties/{property}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $parent = ''; + /** + * Required. The audience export to create. + * + * Generated from protobuf field .google.analytics.data.v1beta.AudienceExport audience_export = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $audience_export = null; + /** + * @param string $parent Required. The parent resource where this audience export will be created. + * Format: `properties/{property}` + * Please see {@see BetaAnalyticsDataClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Data\V1beta\AudienceExport $audienceExport Required. The audience export to create. + * + * @return \Google\Analytics\Data\V1beta\CreateAudienceExportRequest + * + * @experimental + */ + public static function build(string $parent, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\AudienceExport $audienceExport) : self + { + return (new self())->setParent($parent)->setAudienceExport($audienceExport); + } + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this audience export will be created. + * Format: `properties/{property}` + * @type \Google\Analytics\Data\V1beta\AudienceExport $audience_export + * Required. The audience export to create. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Beta\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. The parent resource where this audience export will be created. + * Format: `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 parent resource where this audience export will be created. + * Format: `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 audience export to create. + * + * Generated from protobuf field .google.analytics.data.v1beta.AudienceExport audience_export = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Data\V1beta\AudienceExport|null + */ + public function getAudienceExport() + { + return $this->audience_export; + } + public function hasAudienceExport() + { + return isset($this->audience_export); + } + public function clearAudienceExport() + { + unset($this->audience_export); + } + /** + * Required. The audience export to create. + * + * Generated from protobuf field .google.analytics.data.v1beta.AudienceExport audience_export = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Data\V1beta\AudienceExport $var + * @return $this + */ + public function setAudienceExport($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\AudienceExport::class); + $this->audience_export = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/DateRange.php b/vendor/prefixed/google/analytics-data/src/V1beta/DateRange.php index 81dc4c3eb..c033745c7 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/DateRange.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/DateRange.php @@ -8,8 +8,8 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** - * A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests - * are allowed up to 4 date ranges. + * A contiguous set of days: `startDate`, `startDate + 1`, ..., `endDate`. + * Requests are allowed up to 4 date ranges. * * Generated from protobuf message google.analytics.data.v1beta.DateRange */ diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/Dimension.php b/vendor/prefixed/google/analytics-data/src/V1beta/Dimension.php index 1716a2377..73c1e5f47 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/Dimension.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/Dimension.php @@ -20,7 +20,16 @@ class Dimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot /** * The name of the dimension. See the [API * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) - * for the list of dimension names. + * for the list of dimension names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions) + * for the list of dimension names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions) + * for the list of dimension names supported by the `runFunnelReport` + * method. * If `dimensionExpression` is specified, `name` can be any string that you * would like within the allowed character set. For example if a * `dimensionExpression` concatenates `country` and `city`, you could call @@ -48,7 +57,16 @@ class Dimension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot * @type string $name * The name of the dimension. See the [API * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) - * for the list of dimension names. + * for the list of dimension names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions) + * for the list of dimension names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions) + * for the list of dimension names supported by the `runFunnelReport` + * method. * If `dimensionExpression` is specified, `name` can be any string that you * would like within the allowed character set. For example if a * `dimensionExpression` concatenates `country` and `city`, you could call @@ -69,7 +87,16 @@ public function __construct($data = NULL) /** * The name of the dimension. See the [API * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) - * for the list of dimension names. + * for the list of dimension names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions) + * for the list of dimension names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions) + * for the list of dimension names supported by the `runFunnelReport` + * method. * If `dimensionExpression` is specified, `name` can be any string that you * would like within the allowed character set. For example if a * `dimensionExpression` concatenates `country` and `city`, you could call @@ -88,7 +115,16 @@ public function getName() /** * The name of the dimension. See the [API * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) - * for the list of dimension names. + * for the list of dimension names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions) + * for the list of dimension names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions) + * for the list of dimension names supported by the `runFunnelReport` + * method. * If `dimensionExpression` is specified, `name` can be any string that you * would like within the allowed character set. For example if a * `dimensionExpression` concatenates `country` and `city`, you could call diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/Gapic/BetaAnalyticsDataGapicClient.php b/vendor/prefixed/google/analytics-data/src/V1beta/Gapic/BetaAnalyticsDataGapicClient.php index 44667ec60..573c5cd98 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/Gapic/BetaAnalyticsDataGapicClient.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/Gapic/BetaAnalyticsDataGapicClient.php @@ -25,6 +25,7 @@ */ namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\Gapic; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\AudienceExport; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\BatchRunPivotReportsRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\BatchRunPivotReportsResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\BatchRunReportsRequest; @@ -33,16 +34,22 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\CheckCompatibilityResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\CohortSpec; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\Compatibility; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\CreateAudienceExportRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\DateRange; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\Dimension; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\FilterExpression; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\GetAudienceExportRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\GetMetadataRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\ListAudienceExportsRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\ListAudienceExportsResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\Metadata; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\Metric; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\MetricAggregation; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\MinuteRange; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\OrderBy; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\Pivot; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\QueryAudienceExportRequest; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\QueryAudienceExportResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\RunPivotReportRequest; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\RunPivotReportResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\RunRealtimeReportRequest; @@ -52,12 +59,15 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\ApiException; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\CredentialsWrapper; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\GapicClientTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\LongRunning\OperationsClient; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\OperationResponse; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\PathTemplate; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\RequestParamsHeaderDescriptor; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\RetrySettings; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Transport\TransportInterface; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\ValidationException; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\FetchAuthTokenInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\Operation; /** * Service Description: Google Analytics reporting data service. * @@ -79,26 +89,44 @@ * contained within formatted names that are returned by the API. * * @experimental + * + * @deprecated Please use the new service client {@see \Google\Analytics\Data\V1beta\Client\BetaAnalyticsDataClient}. */ class BetaAnalyticsDataGapicClient { use GapicClientTrait; /** The name of the service. */ const SERVICE_NAME = 'google.analytics.data.v1beta.BetaAnalyticsData'; - /** The default address of the service. */ + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ const SERVICE_ADDRESS = 'analyticsdata.googleapis.com'; + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'analyticsdata.UNIVERSE_DOMAIN'; /** The default port of the service. */ const DEFAULT_SERVICE_PORT = 443; /** The name of the code generator, to be included in the agent header. */ const CODEGEN_NAME = 'gapic'; /** The default scopes required by the service. */ public static $serviceScopes = ['https://www.googleapis.com/auth/analytics', 'https://www.googleapis.com/auth/analytics.readonly']; + private static $audienceExportNameTemplate; private static $metadataNameTemplate; + private static $propertyNameTemplate; private static $pathTemplateMap; + private $operationsClient; private static function getClientDefaults() { return ['serviceName' => self::SERVICE_NAME, 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, 'clientConfig' => __DIR__ . '/../resources/beta_analytics_data_client_config.json', 'descriptorsConfigPath' => __DIR__ . '/../resources/beta_analytics_data_descriptor_config.php', 'gcpApiConfigPath' => __DIR__ . '/../resources/beta_analytics_data_grpc_config.json', 'credentialsConfig' => ['defaultScopes' => self::$serviceScopes], 'transportConfig' => ['rest' => ['restClientConfigPath' => __DIR__ . '/../resources/beta_analytics_data_rest_client_config.php']]]; } + private static function getAudienceExportNameTemplate() + { + if (self::$audienceExportNameTemplate == null) { + self::$audienceExportNameTemplate = new PathTemplate('properties/{property}/audienceExports/{audience_export}'); + } + return self::$audienceExportNameTemplate; + } private static function getMetadataNameTemplate() { if (self::$metadataNameTemplate == null) { @@ -106,13 +134,35 @@ private static function getMetadataNameTemplate() } return self::$metadataNameTemplate; } + private static function getPropertyNameTemplate() + { + if (self::$propertyNameTemplate == null) { + self::$propertyNameTemplate = new PathTemplate('properties/{property}'); + } + return self::$propertyNameTemplate; + } private static function getPathTemplateMap() { if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = ['metadata' => self::getMetadataNameTemplate()]; + self::$pathTemplateMap = ['audienceExport' => self::getAudienceExportNameTemplate(), 'metadata' => self::getMetadataNameTemplate(), 'property' => self::getPropertyNameTemplate()]; } return self::$pathTemplateMap; } + /** + * Formats a string containing the fully-qualified path to represent a + * audience_export resource. + * + * @param string $property + * @param string $audienceExport + * + * @return string The formatted audience_export resource. + * + * @experimental + */ + public static function audienceExportName($property, $audienceExport) + { + return self::getAudienceExportNameTemplate()->render(['property' => $property, 'audience_export' => $audienceExport]); + } /** * Formats a string containing the fully-qualified path to represent a metadata * resource. @@ -127,11 +177,27 @@ public static function metadataName($property) { return self::getMetadataNameTemplate()->render(['property' => $property]); } + /** + * 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($property) + { + return self::getPropertyNameTemplate()->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 + * - audienceExport: properties/{property}/audienceExports/{audience_export} * - metadata: properties/{property}/metadata + * - 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 @@ -166,6 +232,37 @@ public static function parseName($formattedName, $template = null) } throw new ValidationException("Input did not match any known format. Input: {$formattedName}"); } + /** + * Return an OperationsClient object with the same endpoint as $this. + * + * @return OperationsClient + * + * @experimental + */ + public function getOperationsClient() + { + return $this->operationsClient; + } + /** + * Resume an existing long running operation that was previously started by a long + * running API method. If $methodName is not provided, or does not match a long + * running API method, then the operation can still be resumed, but the + * OperationResponse object will not deserialize the final response. + * + * @param string $operationName The name of the long running operation + * @param string $methodName The name of the method used to start the operation + * + * @return OperationResponse + * + * @experimental + */ + public function resumeOperation($operationName, $methodName = null) + { + $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : []; + $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); + $operation->reload(); + return $operation; + } /** * Constructor. * @@ -226,6 +323,7 @@ public function __construct(array $options = []) { $clientOptions = $this->buildClientOptions($options); $this->setClientOptions($clientOptions); + $this->operationsClient = $this->createOperationsClient($clientOptions); } /** * Returns multiple pivot reports in a batch. All reports must be for the same @@ -373,10 +471,6 @@ public function batchRunReports(array $optionalArgs = []) * `property` should be the same value as in your `runReport` request. * * Example: properties/1234 - * - * Set the Property ID to 0 for compatibility checking on dimensions and - * metrics common to all properties. In this special mode, this method will - * not return custom dimensions and metrics. * @type Dimension[] $dimensions * The dimensions in this report. `dimensions` should be the same value as in * your `runReport` request. @@ -433,6 +527,151 @@ public function checkCompatibility(array $optionalArgs = []) $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); return $this->startCall('CheckCompatibility', CheckCompatibilityResponse::class, $optionalArgs, $request)->wait(); } + /** + * Creates an audience export for later retrieval. This method quickly returns + * the audience export's resource name and initiates a long running + * asynchronous request to form an audience export. To export the users in an + * audience export, first create the audience export through this method and + * then send the audience resource name to the `QueryAudienceExport` method. + * + * See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. + * + * An audience export is a snapshot of the users currently in the audience at + * the time of audience export creation. Creating audience exports for one + * audience on different days will return different results as users enter and + * exit the audience. + * + * Audiences in Google Analytics 4 allow you to segment your users in the ways + * that are important to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. Audience exports + * contain the users in each audience. + * + * Audience Export APIs have some methods at alpha and other methods at beta + * stability. The intention is to advance methods to beta stability after some + * feedback and adoption. To give your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * Sample code: + * ``` + * $betaAnalyticsDataClient = new BetaAnalyticsDataClient(); + * try { + * $formattedParent = $betaAnalyticsDataClient->propertyName('[PROPERTY]'); + * $audienceExport = new AudienceExport(); + * $operationResponse = $betaAnalyticsDataClient->createAudienceExport($formattedParent, $audienceExport); + * $operationResponse->pollUntilComplete(); + * if ($operationResponse->operationSucceeded()) { + * $result = $operationResponse->getResult(); + * // doSomethingWith($result) + * } else { + * $error = $operationResponse->getError(); + * // handleError($error) + * } + * // Alternatively: + * // start the operation, keep the operation name, and resume later + * $operationResponse = $betaAnalyticsDataClient->createAudienceExport($formattedParent, $audienceExport); + * $operationName = $operationResponse->getName(); + * // ... do other work + * $newOperationResponse = $betaAnalyticsDataClient->resumeOperation($operationName, 'createAudienceExport'); + * while (!$newOperationResponse->isDone()) { + * // ... do other work + * $newOperationResponse->reload(); + * } + * if ($newOperationResponse->operationSucceeded()) { + * $result = $newOperationResponse->getResult(); + * // doSomethingWith($result) + * } else { + * $error = $newOperationResponse->getError(); + * // handleError($error) + * } + * } finally { + * $betaAnalyticsDataClient->close(); + * } + * ``` + * + * @param string $parent Required. The parent resource where this audience export will be created. + * Format: `properties/{property}` + * @param AudienceExport $audienceExport Required. The audience export to create. + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\ApiCore\OperationResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function createAudienceExport($parent, $audienceExport, array $optionalArgs = []) + { + $request = new CreateAudienceExportRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $request->setAudienceExport($audienceExport); + $requestParamHeaders['parent'] = $parent; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startOperationsCall('CreateAudienceExport', $optionalArgs, $request, $this->getOperationsClient())->wait(); + } + /** + * Gets configuration metadata about a specific audience export. This method + * can be used to understand an audience export after it has been created. + * + * See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. + * + * Audience Export APIs have some methods at alpha and other methods at beta + * stability. The intention is to advance methods to beta stability after some + * feedback and adoption. To give your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * Sample code: + * ``` + * $betaAnalyticsDataClient = new BetaAnalyticsDataClient(); + * try { + * $formattedName = $betaAnalyticsDataClient->audienceExportName('[PROPERTY]', '[AUDIENCE_EXPORT]'); + * $response = $betaAnalyticsDataClient->getAudienceExport($formattedName); + * } finally { + * $betaAnalyticsDataClient->close(); + * } + * ``` + * + * @param string $name Required. The audience export resource name. + * Format: `properties/{property}/audienceExports/{audience_export}` + * @param array $optionalArgs { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Data\V1beta\AudienceExport + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function getAudienceExport($name, array $optionalArgs = []) + { + $request = new GetAudienceExportRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('GetAudienceExport', AudienceExport::class, $optionalArgs, $request)->wait(); + } /** * Returns metadata for dimensions and metrics available in reporting methods. * Used to explore the dimensions and metrics. In this method, a Google @@ -492,6 +731,174 @@ public function getMetadata($name, array $optionalArgs = []) $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); return $this->startCall('GetMetadata', Metadata::class, $optionalArgs, $request)->wait(); } + /** + * Lists all audience exports for a property. This method can be used for you + * to find and reuse existing audience exports rather than creating + * unnecessary new audience exports. The same audience can have multiple + * audience exports that represent the export of users that were in an + * audience on different days. + * + * See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. + * + * Audience Export APIs have some methods at alpha and other methods at beta + * stability. The intention is to advance methods to beta stability after some + * feedback and adoption. To give your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * Sample code: + * ``` + * $betaAnalyticsDataClient = new BetaAnalyticsDataClient(); + * try { + * $formattedParent = $betaAnalyticsDataClient->propertyName('[PROPERTY]'); + * // Iterate over pages of elements + * $pagedResponse = $betaAnalyticsDataClient->listAudienceExports($formattedParent); + * foreach ($pagedResponse->iteratePages() as $page) { + * foreach ($page as $element) { + * // doSomethingWith($element); + * } + * } + * // Alternatively: + * // Iterate through all elements + * $pagedResponse = $betaAnalyticsDataClient->listAudienceExports($formattedParent); + * foreach ($pagedResponse->iterateAllElements() as $element) { + * // doSomethingWith($element); + * } + * } finally { + * $betaAnalyticsDataClient->close(); + * } + * ``` + * + * @param string $parent Required. All audience exports for this property will be listed in the + * response. Format: `properties/{property}` + * @param array $optionalArgs { + * Optional. + * + * @type int $pageSize + * The maximum number of resources contained in the underlying API + * response. The API may return fewer values in a page, even if + * there are additional values to be retrieved. + * @type string $pageToken + * A page token is used to specify a page of values to be returned. + * If no page token is specified (the default), the first page + * of values will be returned. Any page token used here must have + * been generated by a previous call to the API. + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\ApiCore\PagedListResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function listAudienceExports($parent, array $optionalArgs = []) + { + $request = new ListAudienceExportsRequest(); + $requestParamHeaders = []; + $request->setParent($parent); + $requestParamHeaders['parent'] = $parent; + if (isset($optionalArgs['pageSize'])) { + $request->setPageSize($optionalArgs['pageSize']); + } + if (isset($optionalArgs['pageToken'])) { + $request->setPageToken($optionalArgs['pageToken']); + } + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->getPagedListResponse('ListAudienceExports', $optionalArgs, ListAudienceExportsResponse::class, $request); + } + /** + * Retrieves an audience export of users. After creating an audience, the + * users are not immediately available for exporting. First, a request to + * `CreateAudienceExport` is necessary to create an audience export of users, + * and then second, this method is used to retrieve the users in the audience + * export. + * + * See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. + * + * Audiences in Google Analytics 4 allow you to segment your users in the ways + * that are important to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. + * + * Audience Export APIs have some methods at alpha and other methods at beta + * stability. The intention is to advance methods to beta stability after some + * feedback and adoption. To give your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * Sample code: + * ``` + * $betaAnalyticsDataClient = new BetaAnalyticsDataClient(); + * try { + * $name = 'name'; + * $response = $betaAnalyticsDataClient->queryAudienceExport($name); + * } finally { + * $betaAnalyticsDataClient->close(); + * } + * ``` + * + * @param string $name Required. The name of the audience export to retrieve users from. + * Format: `properties/{property}/audienceExports/{audience_export}` + * @param array $optionalArgs { + * Optional. + * + * @type int $offset + * Optional. The row count of the start row. The first row is counted as row + * 0. + * + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of rows. + * + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type int $limit + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return \Google\Analytics\Data\V1beta\QueryAudienceExportResponse + * + * @throws ApiException if the remote call fails + * + * @experimental + */ + public function queryAudienceExport($name, array $optionalArgs = []) + { + $request = new QueryAudienceExportRequest(); + $requestParamHeaders = []; + $request->setName($name); + $requestParamHeaders['name'] = $name; + if (isset($optionalArgs['offset'])) { + $request->setOffset($optionalArgs['offset']); + } + if (isset($optionalArgs['limit'])) { + $request->setLimit($optionalArgs['limit']); + } + $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); + $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); + return $this->startCall('QueryAudienceExport', QueryAudienceExportResponse::class, $optionalArgs, $request)->wait(); + } /** * Returns a customized pivot report of your Google Analytics event data. * Pivot reports are more advanced and expressive formats than regular @@ -556,6 +963,13 @@ public function getMetadata($name, array $optionalArgs = []) * If false or unspecified, each row with all metrics equal to 0 will not be * returned. If true, these rows will be returned if they are not separately * removed by a filter. + * + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * eventName: "purchase" and eventCount: 0. * @type bool $returnPropertyQuota * Toggles whether to return the current state of this Analytics Property's * quota. Quota is returned in [PropertyQuota](#PropertyQuota). @@ -655,7 +1069,7 @@ public function runPivotReport(array $optionalArgs = []) * SQL having-clause. Dimensions cannot be used in this filter. * @type int $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 + * API returns a maximum of 250,000 rows per request, no matter how many you * ask for. `limit` must be positive. * * The API can also return fewer rows than the requested `limit`, if there @@ -775,7 +1189,7 @@ public function runRealtimeReport(array $optionalArgs = []) * response rows for both date ranges. In a cohort request, this `dateRanges` * must be unspecified. * @type FilterExpression $dimensionFilter - * Dimension filters allow you to ask for only specific dimension values in + * Dimension filters let you ask for only specific dimension values in * the report. 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. @@ -794,7 +1208,7 @@ public function runRealtimeReport(array $optionalArgs = []) * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). * @type int $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 + * API returns a maximum of 250,000 rows per request, no matter how many you * ask for. `limit` must be positive. * * The API can also return fewer rows than the requested `limit`, if there @@ -821,6 +1235,13 @@ public function runRealtimeReport(array $optionalArgs = []) * If false or unspecified, each row with all metrics equal to 0 will not be * returned. If true, these rows will be returned if they are not separately * removed by a filter. + * + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * eventName: "purchase" and eventCount: 0. * @type bool $returnPropertyQuota * Toggles whether to return the current state of this Analytics Property's * quota. Quota is returned in [PropertyQuota](#PropertyQuota). diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/GetAudienceExportRequest.php b/vendor/prefixed/google/analytics-data/src/V1beta/GetAudienceExportRequest.php new file mode 100644 index 000000000..2cec4828c --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/GetAudienceExportRequest.php @@ -0,0 +1,79 @@ +google.analytics.data.v1beta.GetAudienceExportRequest + */ +class GetAudienceExportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The audience export resource name. + * Format: `properties/{property}/audienceExports/{audience_export}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $name = ''; + /** + * @param string $name Required. The audience export resource name. + * Format: `properties/{property}/audienceExports/{audience_export}` + * Please see {@see BetaAnalyticsDataClient::audienceExportName()} for help formatting this field. + * + * @return \Google\Analytics\Data\V1beta\GetAudienceExportRequest + * + * @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 audience export resource name. + * Format: `properties/{property}/audienceExports/{audience_export}` + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Beta\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. The audience export resource name. + * Format: `properties/{property}/audienceExports/{audience_export}` + * + * 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 audience export resource name. + * Format: `properties/{property}/audienceExports/{audience_export}` + * + * 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/vendor/prefixed/google/analytics-data/src/V1beta/GetMetadataRequest.php b/vendor/prefixed/google/analytics-data/src/V1beta/GetMetadataRequest.php index 1888d8c1b..23a966566 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/GetMetadataRequest.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/GetMetadataRequest.php @@ -28,6 +28,28 @@ class GetMetadataRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; + /** + * @param string $name Required. The resource name of the metadata to retrieve. This name field is + * specified in the URL path and not URL parameters. Property is a numeric + * Google Analytics GA4 Property identifier. To learn more, see [where to find + * your Property + * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). + * + * Example: properties/1234/metadata + * + * Set the Property ID to 0 for dimensions and metrics common to all + * properties. In this special mode, this method will not return custom + * dimensions and metrics. Please see + * {@see BetaAnalyticsDataClient::metadataName()} for help formatting this field. + * + * @return \Google\Analytics\Data\V1beta\GetMetadataRequest + * + * @experimental + */ + public static function build(string $name) : self + { + return (new self())->setName($name); + } /** * Constructor. * diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/ListAudienceExportsRequest.php b/vendor/prefixed/google/analytics-data/src/V1beta/ListAudienceExportsRequest.php new file mode 100644 index 000000000..1ac00bf7b --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/ListAudienceExportsRequest.php @@ -0,0 +1,164 @@ +google.analytics.data.v1beta.ListAudienceExportsRequest + */ +class ListAudienceExportsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. All audience exports for this property will be listed in the + * response. Format: `properties/{property}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $parent = ''; + /** + * Optional. The maximum number of audience exports to return. The service may + * return fewer than this value. If unspecified, at most 200 audience exports + * will be returned. The maximum value is 1000 (higher values will be coerced + * to the maximum). + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $page_size = 0; + /** + * Optional. A page token, received from a previous `ListAudienceExports` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudienceExports` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $page_token = ''; + /** + * @param string $parent Required. All audience exports for this property will be listed in the + * response. Format: `properties/{property}` + * Please see {@see BetaAnalyticsDataClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Data\V1beta\ListAudienceExportsRequest + * + * @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. All audience exports for this property will be listed in the + * response. Format: `properties/{property}` + * @type int $page_size + * Optional. The maximum number of audience exports to return. The service may + * return fewer than this value. If unspecified, at most 200 audience exports + * will be returned. The maximum value is 1000 (higher values will be coerced + * to the maximum). + * @type string $page_token + * Optional. A page token, received from a previous `ListAudienceExports` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudienceExports` + * must match the call that provided the page token. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Beta\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. All audience exports for this property will be listed in the + * response. Format: `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. All audience exports for this property will be listed in the + * response. Format: `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; + } + /** + * Optional. The maximum number of audience exports to return. The service may + * return fewer than this value. If unspecified, at most 200 audience exports + * will be returned. The maximum value is 1000 (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 audience exports to return. The service may + * return fewer than this value. If unspecified, at most 200 audience exports + * will be returned. The maximum value is 1000 (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 `ListAudienceExports` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudienceExports` + * 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 `ListAudienceExports` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudienceExports` + * 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/vendor/prefixed/google/analytics-data/src/V1beta/ListAudienceExportsResponse.php b/vendor/prefixed/google/analytics-data/src/V1beta/ListAudienceExportsResponse.php new file mode 100644 index 000000000..81cd56655 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/ListAudienceExportsResponse.php @@ -0,0 +1,104 @@ +google.analytics.data.v1beta.ListAudienceExportsResponse + */ +class ListAudienceExportsResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Each audience export for a property. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.AudienceExport audience_exports = 1; + */ + private $audience_exports; + /** + * 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 optional string next_page_token = 2; + */ + private $next_page_token = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Analytics\Data\V1beta\AudienceExport>|\Google\Protobuf\Internal\RepeatedField $audience_exports + * Each audience export for a property. + * @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) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Beta\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Each audience export for a property. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.AudienceExport audience_exports = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAudienceExports() + { + return $this->audience_exports; + } + /** + * Each audience export for a property. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.AudienceExport audience_exports = 1; + * @param array<\Google\Analytics\Data\V1beta\AudienceExport>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAudienceExports($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\AudienceExport::class); + $this->audience_exports = $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 optional string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return isset($this->next_page_token) ? $this->next_page_token : ''; + } + public function hasNextPageToken() + { + return isset($this->next_page_token); + } + public function clearNextPageToken() + { + unset($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 optional 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/vendor/prefixed/google/analytics-data/src/V1beta/Metadata.php b/vendor/prefixed/google/analytics-data/src/V1beta/Metadata.php index 5b516bc27..88b16fe6a 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/Metadata.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/Metadata.php @@ -8,7 +8,8 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** - * The dimensions and metrics currently accepted in reporting methods. + * The dimensions, metrics and comparisons currently accepted in reporting + * methods. * * Generated from protobuf message google.analytics.data.v1beta.Metadata */ diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/Metric.php b/vendor/prefixed/google/analytics-data/src/V1beta/Metric.php index 1bb4fddb8..7df8923b3 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/Metric.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/Metric.php @@ -19,7 +19,16 @@ class Metric extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu /** * The name of the metric. See the [API * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) - * for the list of metric names. + * for the list of metric names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics) + * for the list of metric names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics) + * for the list of metric names supported by the `runFunnelReport` + * method. * If `expression` is specified, `name` can be any string that you would like * within the allowed character set. For example if `expression` is * `screenPageViews/sessions`, you could call that metric's name = @@ -55,7 +64,16 @@ class Metric extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu * @type string $name * The name of the metric. See the [API * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) - * for the list of metric names. + * for the list of metric names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics) + * for the list of metric names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics) + * for the list of metric names supported by the `runFunnelReport` + * method. * If `expression` is specified, `name` can be any string that you would like * within the allowed character set. For example if `expression` is * `screenPageViews/sessions`, you could call that metric's name = @@ -80,7 +98,16 @@ public function __construct($data = NULL) /** * The name of the metric. See the [API * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) - * for the list of metric names. + * for the list of metric names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics) + * for the list of metric names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics) + * for the list of metric names supported by the `runFunnelReport` + * method. * If `expression` is specified, `name` can be any string that you would like * within the allowed character set. For example if `expression` is * `screenPageViews/sessions`, you could call that metric's name = @@ -99,7 +126,16 @@ public function getName() /** * The name of the metric. See the [API * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) - * for the list of metric names. + * for the list of metric names supported by core reporting methods such + * as `runReport` and `batchRunReports`. See + * [Realtime + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics) + * for the list of metric names supported by the `runRealtimeReport` + * method. See + * [Funnel + * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics) + * for the list of metric names supported by the `runFunnelReport` + * method. * If `expression` is specified, `name` can be any string that you would like * within the allowed character set. For example if `expression` is * `screenPageViews/sessions`, you could call that metric's name = diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/MinuteRange.php b/vendor/prefixed/google/analytics-data/src/V1beta/MinuteRange.php index 3d727ee1f..23e4356aa 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/MinuteRange.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/MinuteRange.php @@ -8,8 +8,8 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** - * A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ..., - * endMinutesAgo. Requests are allowed up to 2 minute ranges. + * A contiguous set of minutes: `startMinutesAgo`, `startMinutesAgo + 1`, ..., + * `endMinutesAgo`. Requests are allowed up to 2 minute ranges. * * Generated from protobuf message google.analytics.data.v1beta.MinuteRange */ diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/Pivot.php b/vendor/prefixed/google/analytics-data/src/V1beta/Pivot.php index 878a9287a..0dbb47eca 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/Pivot.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/Pivot.php @@ -44,7 +44,7 @@ class Pivot extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for * single pivot requests. * The product of the `limit` for each `pivot` in a `RunPivotReportRequest` - * must not exceed 100,000. For example, a two pivot request with `limit: + * must not exceed 250,000. For example, a two pivot request with `limit: * 1000` in each pivot will fail because the product is `1,000,000`. * * Generated from protobuf field int64 limit = 4; @@ -81,7 +81,7 @@ class Pivot extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for * single pivot requests. * The product of the `limit` for each `pivot` in a `RunPivotReportRequest` - * must not exceed 100,000. For example, a two pivot request with `limit: + * must not exceed 250,000. For example, a two pivot request with `limit: * 1000` in each pivot will fail because the product is `1,000,000`. * @type array|\Google\Protobuf\Internal\RepeatedField $metric_aggregations * Aggregate the metrics by dimensions in this pivot using the specified @@ -181,7 +181,7 @@ public function setOffset($var) * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for * single pivot requests. * The product of the `limit` for each `pivot` in a `RunPivotReportRequest` - * must not exceed 100,000. For example, a two pivot request with `limit: + * must not exceed 250,000. For example, a two pivot request with `limit: * 1000` in each pivot will fail because the product is `1,000,000`. * * Generated from protobuf field int64 limit = 4; @@ -196,7 +196,7 @@ public function getLimit() * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for * single pivot requests. * The product of the `limit` for each `pivot` in a `RunPivotReportRequest` - * must not exceed 100,000. For example, a two pivot request with `limit: + * must not exceed 250,000. For example, a two pivot request with `limit: * 1000` in each pivot will fail because the product is `1,000,000`. * * Generated from protobuf field int64 limit = 4; diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/PropertyQuota.php b/vendor/prefixed/google/analytics-data/src/V1beta/PropertyQuota.php index 9377f6318..db9af6318 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/PropertyQuota.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/PropertyQuota.php @@ -17,16 +17,16 @@ class PropertyQuota extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * Standard Analytics Properties can use up to 25,000 tokens per day; - * Analytics 360 Properties can use 250,000 tokens per day. Most requests + * Standard Analytics Properties can use up to 200,000 tokens per day; + * Analytics 360 Properties can use 2,000,000 tokens per day. Most requests * consume fewer than 10 tokens. * * Generated from protobuf field .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; */ private $tokens_per_day = null; /** - * Standard Analytics Properties can use up to 5,000 tokens per hour; - * Analytics 360 Properties can use 50,000 tokens per hour. An API request + * Standard Analytics Properties can use up to 40,000 tokens per hour; + * Analytics 360 Properties can use 400,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. * @@ -58,9 +58,9 @@ class PropertyQuota extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ */ private $potentially_thresholded_requests_per_hour = null; /** - * Analytics Properties can use up to 25% of their tokens per project per - * hour. This amounts to standard Analytics Properties can use up to 1,250 - * tokens per project per hour, and Analytics 360 Properties can use 12,500 + * Analytics Properties can use up to 35% of their tokens per project per + * hour. This amounts to standard Analytics Properties can use up to 14,000 + * tokens per project per hour, and Analytics 360 Properties can use 140,000 * 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. @@ -75,12 +75,12 @@ class PropertyQuota extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ * Optional. Data for populating the Message object. * * @type \Google\Analytics\Data\V1beta\QuotaStatus $tokens_per_day - * Standard Analytics Properties can use up to 25,000 tokens per day; - * Analytics 360 Properties can use 250,000 tokens per day. Most requests + * Standard Analytics Properties can use up to 200,000 tokens per day; + * Analytics 360 Properties can use 2,000,000 tokens per day. Most requests * consume fewer than 10 tokens. * @type \Google\Analytics\Data\V1beta\QuotaStatus $tokens_per_hour - * Standard Analytics Properties can use up to 5,000 tokens per hour; - * Analytics 360 Properties can use 50,000 tokens per hour. An API request + * Standard Analytics Properties can use up to 40,000 tokens per hour; + * Analytics 360 Properties can use 400,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\Data\V1beta\QuotaStatus $concurrent_requests @@ -96,9 +96,9 @@ class PropertyQuota extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ * is individually counted for this quota if the request contains potentially * thresholded dimensions. * @type \Google\Analytics\Data\V1beta\QuotaStatus $tokens_per_project_per_hour - * Analytics Properties can use up to 25% of their tokens per project per - * hour. This amounts to standard Analytics Properties can use up to 1,250 - * tokens per project per hour, and Analytics 360 Properties can use 12,500 + * Analytics Properties can use up to 35% of their tokens per project per + * hour. This amounts to standard Analytics Properties can use up to 14,000 + * tokens per project per hour, and Analytics 360 Properties can use 140,000 * 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. @@ -110,8 +110,8 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * Standard Analytics Properties can use up to 25,000 tokens per day; - * Analytics 360 Properties can use 250,000 tokens per day. Most requests + * Standard Analytics Properties can use up to 200,000 tokens per day; + * Analytics 360 Properties can use 2,000,000 tokens per day. Most requests * consume fewer than 10 tokens. * * Generated from protobuf field .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; @@ -130,8 +130,8 @@ public function clearTokensPerDay() unset($this->tokens_per_day); } /** - * Standard Analytics Properties can use up to 25,000 tokens per day; - * Analytics 360 Properties can use 250,000 tokens per day. Most requests + * Standard Analytics Properties can use up to 200,000 tokens per day; + * Analytics 360 Properties can use 2,000,000 tokens per day. Most requests * consume fewer than 10 tokens. * * Generated from protobuf field .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; @@ -145,8 +145,8 @@ public function setTokensPerDay($var) return $this; } /** - * Standard Analytics Properties can use up to 5,000 tokens per hour; - * Analytics 360 Properties can use 50,000 tokens per hour. An API request + * Standard Analytics Properties can use up to 40,000 tokens per hour; + * Analytics 360 Properties can use 400,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. * @@ -166,8 +166,8 @@ public function clearTokensPerHour() unset($this->tokens_per_hour); } /** - * Standard Analytics Properties can use up to 5,000 tokens per hour; - * Analytics 360 Properties can use 50,000 tokens per hour. An API request + * Standard Analytics Properties can use up to 40,000 tokens per hour; + * Analytics 360 Properties can use 400,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. * @@ -287,9 +287,9 @@ public function setPotentiallyThresholdedRequestsPerHour($var) return $this; } /** - * Analytics Properties can use up to 25% of their tokens per project per - * hour. This amounts to standard Analytics Properties can use up to 1,250 - * tokens per project per hour, and Analytics 360 Properties can use 12,500 + * Analytics Properties can use up to 35% of their tokens per project per + * hour. This amounts to standard Analytics Properties can use up to 14,000 + * tokens per project per hour, and Analytics 360 Properties can use 140,000 * 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. @@ -310,9 +310,9 @@ public function clearTokensPerProjectPerHour() unset($this->tokens_per_project_per_hour); } /** - * Analytics Properties can use up to 25% of their tokens per project per - * hour. This amounts to standard Analytics Properties can use up to 1,250 - * tokens per project per hour, and Analytics 360 Properties can use 12,500 + * Analytics Properties can use up to 35% of their tokens per project per + * hour. This amounts to standard Analytics Properties can use up to 14,000 + * tokens per project per hour, and Analytics 360 Properties can use 140,000 * 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. diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/QueryAudienceExportRequest.php b/vendor/prefixed/google/analytics-data/src/V1beta/QueryAudienceExportRequest.php new file mode 100644 index 000000000..7c0d25bd3 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/QueryAudienceExportRequest.php @@ -0,0 +1,191 @@ +google.analytics.data.v1beta.QueryAudienceExportRequest + */ +class QueryAudienceExportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the audience export to retrieve users from. + * Format: `properties/{property}/audienceExports/{audience_export}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $name = ''; + /** + * Optional. The row count of the start row. The first row is counted as row + * 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of 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 int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $offset = 0; + /** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $limit = 0; + /** + * @param string $name Required. The name of the audience export to retrieve users from. + * Format: `properties/{property}/audienceExports/{audience_export}` + * + * @return \Google\Analytics\Data\V1beta\QueryAudienceExportRequest + * + * @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 export to retrieve users from. + * Format: `properties/{property}/audienceExports/{audience_export}` + * @type int|string $offset + * Optional. The row count of the start row. The first row is counted as row + * 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type int|string $limit + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Beta\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Required. The name of the audience export to retrieve users from. + * Format: `properties/{property}/audienceExports/{audience_export}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * Required. The name of the audience export to retrieve users from. + * Format: `properties/{property}/audienceExports/{audience_export}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + return $this; + } + /** + * Optional. The row count of the start row. The first row is counted as row + * 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of 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 int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getOffset() + { + return $this->offset; + } + /** + * Optional. The row count of the start row. The first row is counted as row + * 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of 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 int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setOffset($var) + { + GPBUtil::checkInt64($var); + $this->offset = $var; + return $this; + } + /** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getLimit() + { + return $this->limit; + } + /** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. + * The API can also return fewer rows than the requested `limit`, if there + * aren't as many dimension values as the `limit`. + * 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setLimit($var) + { + GPBUtil::checkInt64($var); + $this->limit = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/QueryAudienceExportResponse.php b/vendor/prefixed/google/analytics-data/src/V1beta/QueryAudienceExportResponse.php new file mode 100644 index 000000000..5fa37299e --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/QueryAudienceExportResponse.php @@ -0,0 +1,175 @@ +google.analytics.data.v1beta.QueryAudienceExportResponse + */ +class QueryAudienceExportResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Configuration data about AudienceExport being queried. Returned to help + * interpret the audience rows in this response. For example, the dimensions + * in this AudienceExport correspond to the columns in the AudienceRows. + * + * Generated from protobuf field optional .google.analytics.data.v1beta.AudienceExport audience_export = 1; + */ + private $audience_export = null; + /** + * Rows for each user in an audience export. The number of rows in this + * response will be less than or equal to request's page size. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2; + */ + private $audience_rows; + /** + * The total number of rows in the AudienceExport 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 optional int32 row_count = 3; + */ + private $row_count = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Data\V1beta\AudienceExport $audience_export + * Configuration data about AudienceExport being queried. Returned to help + * interpret the audience rows in this response. For example, the dimensions + * in this AudienceExport correspond to the columns in the AudienceRows. + * @type array<\Google\Analytics\Data\V1beta\AudienceRow>|\Google\Protobuf\Internal\RepeatedField $audience_rows + * Rows for each user in an audience export. The number of rows in this + * response will be less than or equal to request's page size. + * @type int $row_count + * The total number of rows in the AudienceExport 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). + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Beta\AnalyticsDataApi::initOnce(); + parent::__construct($data); + } + /** + * Configuration data about AudienceExport being queried. Returned to help + * interpret the audience rows in this response. For example, the dimensions + * in this AudienceExport correspond to the columns in the AudienceRows. + * + * Generated from protobuf field optional .google.analytics.data.v1beta.AudienceExport audience_export = 1; + * @return \Google\Analytics\Data\V1beta\AudienceExport|null + */ + public function getAudienceExport() + { + return $this->audience_export; + } + public function hasAudienceExport() + { + return isset($this->audience_export); + } + public function clearAudienceExport() + { + unset($this->audience_export); + } + /** + * Configuration data about AudienceExport being queried. Returned to help + * interpret the audience rows in this response. For example, the dimensions + * in this AudienceExport correspond to the columns in the AudienceRows. + * + * Generated from protobuf field optional .google.analytics.data.v1beta.AudienceExport audience_export = 1; + * @param \Google\Analytics\Data\V1beta\AudienceExport $var + * @return $this + */ + public function setAudienceExport($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\AudienceExport::class); + $this->audience_export = $var; + return $this; + } + /** + * Rows for each user in an audience export. The number of rows in this + * response will be less than or equal to request's page size. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAudienceRows() + { + return $this->audience_rows; + } + /** + * Rows for each user in an audience export. The number of rows in this + * response will be less than or equal to request's page size. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2; + * @param array<\Google\Analytics\Data\V1beta\AudienceRow>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAudienceRows($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\AudienceRow::class); + $this->audience_rows = $arr; + return $this; + } + /** + * The total number of rows in the AudienceExport 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 optional int32 row_count = 3; + * @return int + */ + public function getRowCount() + { + return isset($this->row_count) ? $this->row_count : 0; + } + public function hasRowCount() + { + return isset($this->row_count); + } + public function clearRowCount() + { + unset($this->row_count); + } + /** + * The total number of rows in the AudienceExport 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 optional int32 row_count = 3; + * @param int $var + * @return $this + */ + public function setRowCount($var) + { + GPBUtil::checkInt32($var); + $this->row_count = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/QuotaStatus.php b/vendor/prefixed/google/analytics-data/src/V1beta/QuotaStatus.php index 193dd62c2..d07a1a31c 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/QuotaStatus.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/QuotaStatus.php @@ -17,15 +17,15 @@ class QuotaStatus extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr /** * Quota consumed by this request. * - * Generated from protobuf field int32 consumed = 1; + * Generated from protobuf field optional int32 consumed = 1; */ - private $consumed = 0; + private $consumed = null; /** * Quota remaining after this request. * - * Generated from protobuf field int32 remaining = 2; + * Generated from protobuf field optional int32 remaining = 2; */ - private $remaining = 0; + private $remaining = null; /** * Constructor. * @@ -46,17 +46,25 @@ public function __construct($data = NULL) /** * Quota consumed by this request. * - * Generated from protobuf field int32 consumed = 1; + * Generated from protobuf field optional int32 consumed = 1; * @return int */ public function getConsumed() { - return $this->consumed; + return isset($this->consumed) ? $this->consumed : 0; + } + public function hasConsumed() + { + return isset($this->consumed); + } + public function clearConsumed() + { + unset($this->consumed); } /** * Quota consumed by this request. * - * Generated from protobuf field int32 consumed = 1; + * Generated from protobuf field optional int32 consumed = 1; * @param int $var * @return $this */ @@ -69,17 +77,25 @@ public function setConsumed($var) /** * Quota remaining after this request. * - * Generated from protobuf field int32 remaining = 2; + * Generated from protobuf field optional int32 remaining = 2; * @return int */ public function getRemaining() { - return $this->remaining; + return isset($this->remaining) ? $this->remaining : 0; + } + public function hasRemaining() + { + return isset($this->remaining); + } + public function clearRemaining() + { + unset($this->remaining); } /** * Quota remaining after this request. * - * Generated from protobuf field int32 remaining = 2; + * Generated from protobuf field optional int32 remaining = 2; * @param int $var * @return $this */ diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/ResponseMetaData.php b/vendor/prefixed/google/analytics-data/src/V1beta/ResponseMetaData.php index 4a62bff7c..7df32d253 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/ResponseMetaData.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/ResponseMetaData.php @@ -17,6 +17,15 @@ class ResponseMetaData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog /** * If true, indicates some buckets of dimension combinations are rolled into * "(other)" row. This can happen for high cardinality reports. + * The metadata parameter dataLossFromOtherRow is populated based on the + * aggregated data table used in the report. The parameter will be accurately + * populated regardless of the filters and limits in the report. + * For example, the (other) row could be dropped from the report because the + * request contains a filter on sessionSource = google. This parameter will + * still be populated if data loss from other row was present in the input + * aggregate data used to generate this report. + * To learn more, see [About the (other) row and data + * sampling](https://support.google.com/analytics/answer/13208658#reports). * * Generated from protobuf field bool data_loss_from_other_row = 3; */ @@ -64,13 +73,23 @@ class ResponseMetaData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog * possible for a request to be subject to thresholding thresholding and no * data is absent from the report, and this happens when all data is above the * thresholds. To learn more, see [Data - * thresholds](https://support.google.com/analytics/answer/9383630) and [About - * Demographics and - * Interests](https://support.google.com/analytics/answer/2799357). + * thresholds](https://support.google.com/analytics/answer/9383630). * * Generated from protobuf field optional bool subject_to_thresholding = 8; */ private $subject_to_thresholding = null; + /** + * If this report results is + * [sampled](https://support.google.com/analytics/answer/13331292), this + * describes the percentage of events used in this report. One + * `samplingMetadatas` is populated for each date range. Each + * `samplingMetadatas` corresponds to a date range in order that date ranges + * were specified in the request. + * However if the results are not sampled, this field will not be defined. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.SamplingMetadata sampling_metadatas = 9; + */ + private $sampling_metadatas; /** * Constructor. * @@ -80,6 +99,15 @@ class ResponseMetaData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog * @type bool $data_loss_from_other_row * If true, indicates some buckets of dimension combinations are rolled into * "(other)" row. This can happen for high cardinality reports. + * The metadata parameter dataLossFromOtherRow is populated based on the + * aggregated data table used in the report. The parameter will be accurately + * populated regardless of the filters and limits in the report. + * For example, the (other) row could be dropped from the report because the + * request contains a filter on sessionSource = google. This parameter will + * still be populated if data loss from other row was present in the input + * aggregate data used to generate this report. + * To learn more, see [About the (other) row and data + * sampling](https://support.google.com/analytics/answer/13208658#reports). * @type \Google\Analytics\Data\V1beta\ResponseMetaData\SchemaRestrictionResponse $schema_restriction_response * Describes the schema restrictions actively enforced in creating this * report. To learn more, see [Access and data-restriction @@ -107,9 +135,15 @@ class ResponseMetaData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog * possible for a request to be subject to thresholding thresholding and no * data is absent from the report, and this happens when all data is above the * thresholds. To learn more, see [Data - * thresholds](https://support.google.com/analytics/answer/9383630) and [About - * Demographics and - * Interests](https://support.google.com/analytics/answer/2799357). + * thresholds](https://support.google.com/analytics/answer/9383630). + * @type array<\Google\Analytics\Data\V1beta\SamplingMetadata>|\Google\Protobuf\Internal\RepeatedField $sampling_metadatas + * If this report results is + * [sampled](https://support.google.com/analytics/answer/13331292), this + * describes the percentage of events used in this report. One + * `samplingMetadatas` is populated for each date range. Each + * `samplingMetadatas` corresponds to a date range in order that date ranges + * were specified in the request. + * However if the results are not sampled, this field will not be defined. * } */ public function __construct($data = NULL) @@ -120,6 +154,15 @@ public function __construct($data = NULL) /** * If true, indicates some buckets of dimension combinations are rolled into * "(other)" row. This can happen for high cardinality reports. + * The metadata parameter dataLossFromOtherRow is populated based on the + * aggregated data table used in the report. The parameter will be accurately + * populated regardless of the filters and limits in the report. + * For example, the (other) row could be dropped from the report because the + * request contains a filter on sessionSource = google. This parameter will + * still be populated if data loss from other row was present in the input + * aggregate data used to generate this report. + * To learn more, see [About the (other) row and data + * sampling](https://support.google.com/analytics/answer/13208658#reports). * * Generated from protobuf field bool data_loss_from_other_row = 3; * @return bool @@ -131,6 +174,15 @@ public function getDataLossFromOtherRow() /** * If true, indicates some buckets of dimension combinations are rolled into * "(other)" row. This can happen for high cardinality reports. + * The metadata parameter dataLossFromOtherRow is populated based on the + * aggregated data table used in the report. The parameter will be accurately + * populated regardless of the filters and limits in the report. + * For example, the (other) row could be dropped from the report because the + * request contains a filter on sessionSource = google. This parameter will + * still be populated if data loss from other row was present in the input + * aggregate data used to generate this report. + * To learn more, see [About the (other) row and data + * sampling](https://support.google.com/analytics/answer/13208658#reports). * * Generated from protobuf field bool data_loss_from_other_row = 3; * @param bool $var @@ -298,9 +350,7 @@ public function setEmptyReason($var) * possible for a request to be subject to thresholding thresholding and no * data is absent from the report, and this happens when all data is above the * thresholds. To learn more, see [Data - * thresholds](https://support.google.com/analytics/answer/9383630) and [About - * Demographics and - * Interests](https://support.google.com/analytics/answer/2799357). + * thresholds](https://support.google.com/analytics/answer/9383630). * * Generated from protobuf field optional bool subject_to_thresholding = 8; * @return bool @@ -323,9 +373,7 @@ public function clearSubjectToThresholding() * possible for a request to be subject to thresholding thresholding and no * data is absent from the report, and this happens when all data is above the * thresholds. To learn more, see [Data - * thresholds](https://support.google.com/analytics/answer/9383630) and [About - * Demographics and - * Interests](https://support.google.com/analytics/answer/2799357). + * thresholds](https://support.google.com/analytics/answer/9383630). * * Generated from protobuf field optional bool subject_to_thresholding = 8; * @param bool $var @@ -337,4 +385,39 @@ public function setSubjectToThresholding($var) $this->subject_to_thresholding = $var; return $this; } + /** + * If this report results is + * [sampled](https://support.google.com/analytics/answer/13331292), this + * describes the percentage of events used in this report. One + * `samplingMetadatas` is populated for each date range. Each + * `samplingMetadatas` corresponds to a date range in order that date ranges + * were specified in the request. + * However if the results are not sampled, this field will not be defined. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.SamplingMetadata sampling_metadatas = 9; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getSamplingMetadatas() + { + return $this->sampling_metadatas; + } + /** + * If this report results is + * [sampled](https://support.google.com/analytics/answer/13331292), this + * describes the percentage of events used in this report. One + * `samplingMetadatas` is populated for each date range. Each + * `samplingMetadatas` corresponds to a date range in order that date ranges + * were specified in the request. + * However if the results are not sampled, this field will not be defined. + * + * Generated from protobuf field repeated .google.analytics.data.v1beta.SamplingMetadata sampling_metadatas = 9; + * @param array<\Google\Analytics\Data\V1beta\SamplingMetadata>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setSamplingMetadatas($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1beta\SamplingMetadata::class); + $this->sampling_metadatas = $arr; + return $this; + } } diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/RunPivotReportRequest.php b/vendor/prefixed/google/analytics-data/src/V1beta/RunPivotReportRequest.php index ccf606f72..60f6f094a 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/RunPivotReportRequest.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/RunPivotReportRequest.php @@ -93,6 +93,11 @@ class RunPivotReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter * If false or unspecified, each row with all metrics equal to 0 will not be * returned. If true, these rows will be returned if they are not separately * removed by a filter. + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * eventName: "purchase" and eventCount: 0. * * Generated from protobuf field bool keep_empty_rows = 10; */ @@ -153,6 +158,11 @@ class RunPivotReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter * If false or unspecified, each row with all metrics equal to 0 will not be * returned. If true, these rows will be returned if they are not separately * removed by a filter. + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * eventName: "purchase" and eventCount: 0. * @type bool $return_property_quota * Toggles whether to return the current state of this Analytics Property's * quota. Quota is returned in [PropertyQuota](#PropertyQuota). @@ -440,6 +450,11 @@ public function setCohortSpec($var) * If false or unspecified, each row with all metrics equal to 0 will not be * returned. If true, these rows will be returned if they are not separately * removed by a filter. + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * eventName: "purchase" and eventCount: 0. * * Generated from protobuf field bool keep_empty_rows = 10; * @return bool @@ -452,6 +467,11 @@ public function getKeepEmptyRows() * If false or unspecified, each row with all metrics equal to 0 will not be * returned. If true, these rows will be returned if they are not separately * removed by a filter. + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * eventName: "purchase" and eventCount: 0. * * Generated from protobuf field bool keep_empty_rows = 10; * @param bool $var diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/RunRealtimeReportRequest.php b/vendor/prefixed/google/analytics-data/src/V1beta/RunRealtimeReportRequest.php index ffdd3bce8..29c608e80 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/RunRealtimeReportRequest.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/RunRealtimeReportRequest.php @@ -51,7 +51,7 @@ class RunRealtimeReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImpor private $metric_filter = null; /** * 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 + * API returns a maximum of 250,000 rows per request, no matter how many you * ask for. `limit` must be positive. * The API can also return fewer rows than the requested `limit`, if there * aren't as many dimension values as the `limit`. For instance, there are @@ -115,7 +115,7 @@ class RunRealtimeReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImpor * SQL having-clause. Dimensions cannot be used in this filter. * @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 + * API returns a maximum of 250,000 rows per request, no matter how many you * ask for. `limit` must be positive. * The API can also return fewer rows than the requested `limit`, if there * aren't as many dimension values as the `limit`. For instance, there are @@ -286,7 +286,7 @@ public function setMetricFilter($var) } /** * 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 + * API returns a maximum of 250,000 rows per request, no matter how many you * ask for. `limit` must be positive. * The API can also return fewer rows than the requested `limit`, if there * aren't as many dimension values as the `limit`. For instance, there are @@ -303,7 +303,7 @@ public function getLimit() } /** * 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 + * API returns a maximum of 250,000 rows per request, no matter how many you * ask for. `limit` must be positive. * The API can also return fewer rows than the requested `limit`, if there * aren't as many dimension values as the `limit`. For instance, there are diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/RunReportRequest.php b/vendor/prefixed/google/analytics-data/src/V1beta/RunReportRequest.php index 515b47dfd..9f90db154 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/RunReportRequest.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/RunReportRequest.php @@ -49,7 +49,7 @@ class RunReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog */ private $date_ranges; /** - * Dimension filters allow you to ask for only specific dimension values in + * Dimension filters let you ask for only specific dimension values in * the report. 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. @@ -78,7 +78,7 @@ class RunReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog private $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 + * API returns a maximum of 250,000 rows per request, no matter how many you * ask for. `limit` must be positive. * The API can also return fewer rows than the requested `limit`, if there * aren't as many dimension values as the `limit`. For instance, there are @@ -122,6 +122,11 @@ class RunReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog * If false or unspecified, each row with all metrics equal to 0 will not be * returned. If true, these rows will be returned if they are not separately * removed by a filter. + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * eventName: "purchase" and eventCount: 0. * * Generated from protobuf field bool keep_empty_rows = 13; */ @@ -158,7 +163,7 @@ class RunReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog * response rows for both date ranges. In a cohort request, this `dateRanges` * must be unspecified. * @type \Google\Analytics\Data\V1beta\FilterExpression $dimension_filter - * Dimension filters allow you to ask for only specific dimension values in + * Dimension filters let you ask for only specific dimension values in * the report. 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. @@ -175,7 +180,7 @@ class RunReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog * [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 + * API returns a maximum of 250,000 rows per request, no matter how many you * ask for. `limit` must be positive. * The API can also return fewer rows than the requested `limit`, if there * aren't as many dimension values as the `limit`. For instance, there are @@ -199,6 +204,11 @@ class RunReportRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog * If false or unspecified, each row with all metrics equal to 0 will not be * returned. If true, these rows will be returned if they are not separately * removed by a filter. + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * eventName: "purchase" and eventCount: 0. * @type bool $return_property_quota * Toggles whether to return the current state of this Analytics Property's * quota. Quota is returned in [PropertyQuota](#PropertyQuota). @@ -322,7 +332,7 @@ public function setDateRanges($var) return $this; } /** - * Dimension filters allow you to ask for only specific dimension values in + * Dimension filters let you ask for only specific dimension values in * the report. 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. @@ -343,7 +353,7 @@ public function clearDimensionFilter() unset($this->dimension_filter); } /** - * Dimension filters allow you to ask for only specific dimension values in + * Dimension filters let you ask for only specific dimension values in * the report. 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. @@ -428,7 +438,7 @@ public function setOffset($var) } /** * 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 + * API returns a maximum of 250,000 rows per request, no matter how many you * ask for. `limit` must be positive. * The API can also return fewer rows than the requested `limit`, if there * aren't as many dimension values as the `limit`. For instance, there are @@ -447,7 +457,7 @@ public function getLimit() } /** * 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 + * API returns a maximum of 250,000 rows per request, no matter how many you * ask for. `limit` must be positive. * The API can also return fewer rows than the requested `limit`, if there * aren't as many dimension values as the `limit`. For instance, there are @@ -577,6 +587,11 @@ public function setCohortSpec($var) * If false or unspecified, each row with all metrics equal to 0 will not be * returned. If true, these rows will be returned if they are not separately * removed by a filter. + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * eventName: "purchase" and eventCount: 0. * * Generated from protobuf field bool keep_empty_rows = 13; * @return bool @@ -589,6 +604,11 @@ public function getKeepEmptyRows() * If false or unspecified, each row with all metrics equal to 0 will not be * returned. If true, these rows will be returned if they are not separately * removed by a filter. + * Regardless of this `keep_empty_rows` setting, only data recorded by the + * Google Analytics (GA4) property can be displayed in a report. + * For example if a property never logs a `purchase` event, then a query for + * the `eventName` dimension and `eventCount` metric will not have a row + * eventName: "purchase" and eventCount: 0. * * Generated from protobuf field bool keep_empty_rows = 13; * @param bool $var diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/SamplingMetadata.php b/vendor/prefixed/google/analytics-data/src/V1beta/SamplingMetadata.php new file mode 100644 index 000000000..03eced9c3 --- /dev/null +++ b/vendor/prefixed/google/analytics-data/src/V1beta/SamplingMetadata.php @@ -0,0 +1,124 @@ +google.analytics.data.v1beta.SamplingMetadata + */ +class SamplingMetadata extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * The total number of events read in this sampled report for a date range. + * This is the size of the subset this property's data that was analyzed in + * this report. + * + * Generated from protobuf field int64 samples_read_count = 1; + */ + private $samples_read_count = 0; + /** + * The total number of events present in this property's data that could + * have been analyzed in this report for a date range. Sampling + * uncovers the meaningful information about the larger data set, and this + * is the size of the larger data set. + * To calculate the percentage of available data that was used in this + * report, compute `samplesReadCount/samplingSpaceSize`. + * + * Generated from protobuf field int64 sampling_space_size = 2; + */ + private $sampling_space_size = 0; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $samples_read_count + * The total number of events read in this sampled report for a date range. + * This is the size of the subset this property's data that was analyzed in + * this report. + * @type int|string $sampling_space_size + * The total number of events present in this property's data that could + * have been analyzed in this report for a date range. Sampling + * uncovers the meaningful information about the larger data set, and this + * is the size of the larger data set. + * To calculate the percentage of available data that was used in this + * report, compute `samplesReadCount/samplingSpaceSize`. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Beta\Data::initOnce(); + parent::__construct($data); + } + /** + * The total number of events read in this sampled report for a date range. + * This is the size of the subset this property's data that was analyzed in + * this report. + * + * Generated from protobuf field int64 samples_read_count = 1; + * @return int|string + */ + public function getSamplesReadCount() + { + return $this->samples_read_count; + } + /** + * The total number of events read in this sampled report for a date range. + * This is the size of the subset this property's data that was analyzed in + * this report. + * + * Generated from protobuf field int64 samples_read_count = 1; + * @param int|string $var + * @return $this + */ + public function setSamplesReadCount($var) + { + GPBUtil::checkInt64($var); + $this->samples_read_count = $var; + return $this; + } + /** + * The total number of events present in this property's data that could + * have been analyzed in this report for a date range. Sampling + * uncovers the meaningful information about the larger data set, and this + * is the size of the larger data set. + * To calculate the percentage of available data that was used in this + * report, compute `samplesReadCount/samplingSpaceSize`. + * + * Generated from protobuf field int64 sampling_space_size = 2; + * @return int|string + */ + public function getSamplingSpaceSize() + { + return $this->sampling_space_size; + } + /** + * The total number of events present in this property's data that could + * have been analyzed in this report for a date range. Sampling + * uncovers the meaningful information about the larger data set, and this + * is the size of the larger data set. + * To calculate the percentage of available data that was used in this + * report, compute `samplesReadCount/samplingSpaceSize`. + * + * Generated from protobuf field int64 sampling_space_size = 2; + * @param int|string $var + * @return $this + */ + public function setSamplingSpaceSize($var) + { + GPBUtil::checkInt64($var); + $this->sampling_space_size = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/resources/beta_analytics_data_client_config.json b/vendor/prefixed/google/analytics-data/src/V1beta/resources/beta_analytics_data_client_config.json index f8f00df48..b0f3237c5 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/resources/beta_analytics_data_client_config.json +++ b/vendor/prefixed/google/analytics-data/src/V1beta/resources/beta_analytics_data_client_config.json @@ -53,11 +53,31 @@ "retry_codes_name": "no_retry_1_codes", "retry_params_name": "no_retry_1_params" }, + "CreateAudienceExport": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetAudienceExport": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, "GetMetadata": { "timeout_millis": 60000, "retry_codes_name": "no_retry_1_codes", "retry_params_name": "no_retry_1_params" }, + "ListAudienceExports": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "QueryAudienceExport": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, "RunPivotReport": { "timeout_millis": 60000, "retry_codes_name": "no_retry_1_codes", diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/resources/beta_analytics_data_descriptor_config.php b/vendor/prefixed/google/analytics-data/src/V1beta/resources/beta_analytics_data_descriptor_config.php index 2deccced2..fac3a6458 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/resources/beta_analytics_data_descriptor_config.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/resources/beta_analytics_data_descriptor_config.php @@ -2,4 +2,23 @@ namespace Matomo\Dependencies\GoogleAnalyticsImporter; -return ['interfaces' => ['google.analytics.data.v1beta.BetaAnalyticsData' => []]]; +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* + * GENERATED CODE WARNING + * This file was automatically generated - do not edit! + */ +return ['interfaces' => ['google.analytics.data.v1beta.BetaAnalyticsData' => ['CreateAudienceExport' => ['longRunning' => ['operationReturnType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceExport', 'metadataReturnType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceExportMetadata', 'initialPollDelayMillis' => '500', 'pollDelayMultiplier' => '1.5', 'maxPollDelayMillis' => '5000', 'totalPollTimeoutMillis' => '300000'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::LONGRUNNING_CALL, 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'BatchRunPivotReports' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\BatchRunPivotReportsResponse', 'headerParams' => [['keyName' => 'property', 'fieldAccessors' => ['getProperty']]]], 'BatchRunReports' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\BatchRunReportsResponse', 'headerParams' => [['keyName' => 'property', 'fieldAccessors' => ['getProperty']]]], 'CheckCompatibility' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CheckCompatibilityResponse', 'headerParams' => [['keyName' => 'property', 'fieldAccessors' => ['getProperty']]]], 'GetAudienceExport' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceExport', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetMetadata' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Metadata', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'ListAudienceExports' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getAudienceExports'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\ListAudienceExportsResponse', 'headerParams' => [['keyName' => 'parent', 'fieldAccessors' => ['getParent']]]], 'QueryAudienceExport' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\QueryAudienceExportResponse', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'RunPivotReport' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\RunPivotReportResponse', 'headerParams' => [['keyName' => 'property', 'fieldAccessors' => ['getProperty']]]], 'RunRealtimeReport' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\RunRealtimeReportResponse', 'headerParams' => [['keyName' => 'property', 'fieldAccessors' => ['getProperty']]]], 'RunReport' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\RunReportResponse', 'headerParams' => [['keyName' => 'property', 'fieldAccessors' => ['getProperty']]]], 'templateMap' => ['audienceExport' => 'properties/{property}/audienceExports/{audience_export}', 'metadata' => 'properties/{property}/metadata', 'property' => 'properties/{property}']]]]; diff --git a/vendor/prefixed/google/analytics-data/src/V1beta/resources/beta_analytics_data_rest_client_config.php b/vendor/prefixed/google/analytics-data/src/V1beta/resources/beta_analytics_data_rest_client_config.php index 3e9b968bd..18bd9ddf1 100644 --- a/vendor/prefixed/google/analytics-data/src/V1beta/resources/beta_analytics_data_rest_client_config.php +++ b/vendor/prefixed/google/analytics-data/src/V1beta/resources/beta_analytics_data_rest_client_config.php @@ -2,4 +2,23 @@ namespace Matomo\Dependencies\GoogleAnalyticsImporter; -return ['interfaces' => ['google.analytics.data.v1beta.BetaAnalyticsData' => ['BatchRunPivotReports' => ['method' => 'post', 'uriTemplate' => '/v1beta/{property=properties/*}:batchRunPivotReports', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]], 'BatchRunReports' => ['method' => 'post', 'uriTemplate' => '/v1beta/{property=properties/*}:batchRunReports', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]], 'CheckCompatibility' => ['method' => 'post', 'uriTemplate' => '/v1beta/{property=properties/*}:checkCompatibility', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]], 'GetMetadata' => ['method' => 'get', 'uriTemplate' => '/v1beta/{name=properties/*/metadata}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'RunPivotReport' => ['method' => 'post', 'uriTemplate' => '/v1beta/{property=properties/*}:runPivotReport', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]], 'RunRealtimeReport' => ['method' => 'post', 'uriTemplate' => '/v1beta/{property=properties/*}:runRealtimeReport', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]], 'RunReport' => ['method' => 'post', 'uriTemplate' => '/v1beta/{property=properties/*}:runReport', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]]]], 'numericEnums' => \true]; +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* + * GENERATED CODE WARNING + * This file was automatically generated - do not edit! + */ +return ['interfaces' => ['google.analytics.data.v1beta.BetaAnalyticsData' => ['BatchRunPivotReports' => ['method' => 'post', 'uriTemplate' => '/v1beta/{property=properties/*}:batchRunPivotReports', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]], 'BatchRunReports' => ['method' => 'post', 'uriTemplate' => '/v1beta/{property=properties/*}:batchRunReports', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]], 'CheckCompatibility' => ['method' => 'post', 'uriTemplate' => '/v1beta/{property=properties/*}:checkCompatibility', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]], 'CreateAudienceExport' => ['method' => 'post', 'uriTemplate' => '/v1beta/{parent=properties/*}/audienceExports', 'body' => 'audience_export', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'GetAudienceExport' => ['method' => 'get', 'uriTemplate' => '/v1beta/{name=properties/*/audienceExports/*}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'GetMetadata' => ['method' => 'get', 'uriTemplate' => '/v1beta/{name=properties/*/metadata}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'ListAudienceExports' => ['method' => 'get', 'uriTemplate' => '/v1beta/{parent=properties/*}/audienceExports', 'placeholders' => ['parent' => ['getters' => ['getParent']]]], 'QueryAudienceExport' => ['method' => 'post', 'uriTemplate' => '/v1beta/{name=properties/*/audienceExports/*}:query', 'body' => '*', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'RunPivotReport' => ['method' => 'post', 'uriTemplate' => '/v1beta/{property=properties/*}:runPivotReport', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]], 'RunRealtimeReport' => ['method' => 'post', 'uriTemplate' => '/v1beta/{property=properties/*}:runRealtimeReport', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]], 'RunReport' => ['method' => 'post', 'uriTemplate' => '/v1beta/{property=properties/*}:runReport', 'body' => '*', 'placeholders' => ['property' => ['getters' => ['getProperty']]]]]], 'numericEnums' => \true]; diff --git a/vendor/prefixed/google/apiclient/src/Client.php b/vendor/prefixed/google/apiclient/src/Client.php index 2e674c404..27bbdc0df 100644 --- a/vendor/prefixed/google/apiclient/src/Client.php +++ b/vendor/prefixed/google/apiclient/src/Client.php @@ -94,67 +94,70 @@ class Client /** * Construct the Google Client. * - * @param array $config + * @param array $config { + * An array of required and optional arguments. + * + * @type string $application_name + * The name of your application + * @type string $base_path + * The base URL for the service. This is only accounted for when calling + * {@see Client::authorize()} directly. + * @type string $client_id + * Your Google Cloud client ID found in https://developers.google.com/console + * @type string $client_secret + * Your Google Cloud client secret found in https://developers.google.com/console + * @type string|array|CredentialsLoader $credentials + * Can be a path to JSON credentials or an array representing those + * credentials (@see Google\Client::setAuthConfig), or an instance of + * {@see CredentialsLoader}. + * @type string|array $scopes + * {@see Google\Client::setScopes} + * @type string $quota_project + * Sets X-Goog-User-Project, which specifies a user project to bill + * for access charges associated with the request. + * @type string $redirect_uri + * @type string $state + * @type string $developer_key + * Simple API access key, also from the API console. Ensure you get + * a Server key, and not a Browser key. + * @type bool $use_application_default_credentials + * For use with Google Cloud Platform + * fetch the ApplicationDefaultCredentials, if applicable + * {@see https://developers.google.com/identity/protocols/application-default-credentials} + * @type string $signing_key + * @type string $signing_algorithm + * @type string $subject + * @type string $hd + * @type string $prompt + * @type string $openid + * @type bool $include_granted_scopes + * @type string $login_hint + * @type string $request_visible_actions + * @type string $access_type + * @type string $approval_prompt + * @type array $retry + * Task Runner retry configuration + * {@see \Google\Task\Runner} + * @type array $retry_map + * @type CacheItemPoolInterface $cache + * Cache class implementing {@see CacheItemPoolInterface}. Defaults + * to {@see MemoryCacheItemPool}. + * @type array $cache_config + * Cache config for downstream auth caching. + * @type callable $token_callback + * Function to be called when an access token is fetched. Follows + * the signature `function (string $cacheKey, string $accessToken)`. + * @type \Firebase\JWT $jwt + * Service class used in {@see Client::verifyIdToken()}. Explicitly + * pass this in to avoid setting {@see \Firebase\JWT::$leeway} + * @type bool $api_format_v2 + * Setting api_format_v2 will return more detailed error messages + * from certain APIs. + * } */ public function __construct(array $config = []) { - $this->config = array_merge([ - 'application_name' => '', - // Don't change these unless you're working against a special development - // or testing environment. - 'base_path' => self::API_BASE_PATH, - // https://developers.google.com/console - 'client_id' => '', - 'client_secret' => '', - // Can be a path to JSON credentials or an array representing those - // credentials (@see Google\Client::setAuthConfig), or an instance of - // Google\Auth\CredentialsLoader. - 'credentials' => null, - // @see Google\Client::setScopes - 'scopes' => null, - // Sets X-Goog-User-Project, which specifies a user project to bill - // for access charges associated with the request - 'quota_project' => null, - 'redirect_uri' => null, - 'state' => null, - // Simple API access key, also from the API console. Ensure you get - // a Server key, and not a Browser key. - 'developer_key' => '', - // For use with Google Cloud Platform - // fetch the ApplicationDefaultCredentials, if applicable - // @see https://developers.google.com/identity/protocols/application-default-credentials - 'use_application_default_credentials' => \false, - 'signing_key' => null, - 'signing_algorithm' => null, - 'subject' => null, - // Other OAuth2 parameters. - 'hd' => '', - 'prompt' => '', - 'openid.realm' => '', - 'include_granted_scopes' => null, - 'login_hint' => '', - 'request_visible_actions' => '', - 'access_type' => 'online', - 'approval_prompt' => 'auto', - // Task Runner retry configuration - // @see Google\Task\Runner - 'retry' => [], - 'retry_map' => null, - // Cache class implementing Psr\Cache\CacheItemPoolInterface. - // Defaults to Google\Auth\Cache\MemoryCacheItemPool. - 'cache' => null, - // cache config for downstream auth caching - 'cache_config' => [], - // function to be called when an access token is fetched - // follows the signature function ($cacheKey, $accessToken) - 'token_callback' => null, - // Service class used in Google\Client::verifyIdToken. - // Explicitly pass this in to avoid setting JWT::$leeway - 'jwt' => null, - // Setting api_format_v2 will return more detailed error messages - // from certain APIs. - 'api_format_v2' => \false, - ], $config); + $this->config = array_merge(['application_name' => '', 'base_path' => self::API_BASE_PATH, 'client_id' => '', 'client_secret' => '', 'credentials' => null, 'scopes' => null, 'quota_project' => null, 'redirect_uri' => null, 'state' => null, 'developer_key' => '', 'use_application_default_credentials' => \false, 'signing_key' => null, 'signing_algorithm' => null, 'subject' => null, 'hd' => '', 'prompt' => '', 'openid.realm' => '', 'include_granted_scopes' => null, 'login_hint' => '', 'request_visible_actions' => '', 'access_type' => 'online', 'approval_prompt' => 'auto', 'retry' => [], 'retry_map' => null, 'cache' => null, 'cache_config' => [], 'token_callback' => null, 'jwt' => null, 'api_format_v2' => \false], $config); if (!is_null($this->config['credentials'])) { if ($this->config['credentials'] instanceof CredentialsLoader) { $this->credentials = $this->config['credentials']; diff --git a/vendor/prefixed/google/auth/VERSION b/vendor/prefixed/google/auth/VERSION index 7aa332e41..7d47e5998 100644 --- a/vendor/prefixed/google/auth/VERSION +++ b/vendor/prefixed/google/auth/VERSION @@ -1 +1 @@ -1.33.0 +1.41.0 diff --git a/vendor/prefixed/google/auth/src/AccessToken.php b/vendor/prefixed/google/auth/src/AccessToken.php index f5231d5cb..7bbb962fa 100644 --- a/vendor/prefixed/google/auth/src/AccessToken.php +++ b/vendor/prefixed/google/auth/src/AccessToken.php @@ -28,10 +28,9 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Psr7\Request; use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Psr7\Utils; use InvalidArgumentException; -use phpseclib\Crypt\RSA; -use phpseclib\Math\BigInteger as BigInteger2; use Matomo\Dependencies\GoogleAnalyticsImporter\phpseclib3\Crypt\PublicKeyLoader; -use Matomo\Dependencies\GoogleAnalyticsImporter\phpseclib3\Math\BigInteger as BigInteger3; +use Matomo\Dependencies\GoogleAnalyticsImporter\phpseclib3\Crypt\RSA; +use Matomo\Dependencies\GoogleAnalyticsImporter\phpseclib3\Math\BigInteger; use Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Cache\CacheItemPoolInterface; use RuntimeException; use SimpleJWT\InvalidTokenException; @@ -326,8 +325,8 @@ private function retrieveCertsFromLocation($url, array $options = []) */ private function checkAndInitializePhpsec() { - if (!$this->checkAndInitializePhpsec2() && !$this->checkPhpsec3()) { - throw new RuntimeException('Please require phpseclib/phpseclib v2 or v3 to use this utility.'); + if (!class_exists(RSA::class)) { + throw new RuntimeException('Please require phpseclib/phpseclib v3 to use this utility.'); } } /** @@ -336,52 +335,13 @@ private function checkAndInitializePhpsec() */ private function loadPhpsecPublicKey(string $modulus, string $exponent) : string { - if (class_exists(RSA::class) && class_exists(BigInteger2::class)) { - $key = new RSA(); - $key->loadKey(['n' => new BigInteger2($this->callJwtStatic('urlsafeB64Decode', [$modulus]), 256), 'e' => new BigInteger2($this->callJwtStatic('urlsafeB64Decode', [$exponent]), 256)]); - return $key->getPublicKey(); - } - $key = PublicKeyLoader::load(['n' => new BigInteger3($this->callJwtStatic('urlsafeB64Decode', [$modulus]), 256), 'e' => new BigInteger3($this->callJwtStatic('urlsafeB64Decode', [$exponent]), 256)]); + $key = PublicKeyLoader::load(['n' => new BigInteger($this->callJwtStatic('urlsafeB64Decode', [$modulus]), 256), 'e' => new BigInteger($this->callJwtStatic('urlsafeB64Decode', [$exponent]), 256)]); $formattedPublicKey = $key->toString('PKCS8'); if (!is_string($formattedPublicKey)) { throw new TypeError('Failed to initialize the key'); } return $formattedPublicKey; } - /** - * @return bool - */ - private function checkAndInitializePhpsec2() : bool - { - if (!class_exists('phpseclib\\Crypt\\RSA')) { - return \false; - } - /** - * phpseclib calls "phpinfo" by default, which requires special - * whitelisting in the AppEngine VM environment. This function - * sets constants to bypass the need for phpseclib to check phpinfo - * - * @see phpseclib/Math/BigInteger - * @see https://github.com/GoogleCloudPlatform/getting-started-php/issues/85 - * @codeCoverageIgnore - */ - if (filter_var(getenv('GAE_VM'), \FILTER_VALIDATE_BOOLEAN)) { - if (!defined('Matomo\\Dependencies\\GoogleAnalyticsImporter\\MATH_BIGINTEGER_OPENSSL_ENABLED')) { - define('Matomo\\Dependencies\\GoogleAnalyticsImporter\\MATH_BIGINTEGER_OPENSSL_ENABLED', \true); - } - if (!defined('Matomo\\Dependencies\\GoogleAnalyticsImporter\\CRYPT_RSA_MODE')) { - define('Matomo\\Dependencies\\GoogleAnalyticsImporter\\CRYPT_RSA_MODE', RSA::MODE_OPENSSL); - } - } - return \true; - } - /** - * @return bool - */ - private function checkPhpsec3() : bool - { - return class_exists('Matomo\\Dependencies\\GoogleAnalyticsImporter\\phpseclib3\\Crypt\\RSA'); - } /** * @return void */ diff --git a/vendor/prefixed/google/auth/src/Cache/Item.php b/vendor/prefixed/google/auth/src/Cache/Item.php index dddadc0fb..c3b38a565 100644 --- a/vendor/prefixed/google/auth/src/Cache/Item.php +++ b/vendor/prefixed/google/auth/src/Cache/Item.php @@ -27,6 +27,7 @@ * * This class will be used by MemoryCacheItemPool and SysVCacheItemPool * on PHP 7.4 and below. It is compatible with psr/cache 1.0 and 2.0 (PSR-6). + * @deprecated * @see TypedItem for compatiblity with psr/cache 3.0. */ final class Item implements CacheItemInterface diff --git a/vendor/prefixed/google/auth/src/Cache/MemoryCacheItemPool.php b/vendor/prefixed/google/auth/src/Cache/MemoryCacheItemPool.php index 1f83d5aee..768b0ab08 100644 --- a/vendor/prefixed/google/auth/src/Cache/MemoryCacheItemPool.php +++ b/vendor/prefixed/google/auth/src/Cache/MemoryCacheItemPool.php @@ -54,9 +54,8 @@ public function getItem($key) : CacheItemInterface public function getItems(array $keys = []) : iterable { $items = []; - $itemClass = \PHP_VERSION_ID >= 80000 ? TypedItem::class : Item::class; foreach ($keys as $key) { - $items[$key] = $this->hasItem($key) ? clone $this->items[$key] : new $itemClass($key); + $items[$key] = $this->hasItem($key) ? clone $this->items[$key] : new TypedItem($key); } return $items; } diff --git a/vendor/prefixed/google/auth/src/Cache/SysVCacheItemPool.php b/vendor/prefixed/google/auth/src/Cache/SysVCacheItemPool.php index 36daff0ee..356a52871 100644 --- a/vendor/prefixed/google/auth/src/Cache/SysVCacheItemPool.php +++ b/vendor/prefixed/google/auth/src/Cache/SysVCacheItemPool.php @@ -93,9 +93,8 @@ public function getItems(array $keys = []) : iterable { $this->loadItems(); $items = []; - $itemClass = \PHP_VERSION_ID >= 80000 ? TypedItem::class : Item::class; foreach ($keys as $key) { - $items[$key] = $this->hasItem($key) ? clone $this->items[$key] : new $itemClass($key); + $items[$key] = $this->hasItem($key) ? clone $this->items[$key] : new TypedItem($key); } return $items; } diff --git a/vendor/prefixed/google/auth/src/CredentialSource/AwsNativeSource.php b/vendor/prefixed/google/auth/src/CredentialSource/AwsNativeSource.php index 62b280493..c0aaa23d2 100644 --- a/vendor/prefixed/google/auth/src/CredentialSource/AwsNativeSource.php +++ b/vendor/prefixed/google/auth/src/CredentialSource/AwsNativeSource.php @@ -123,8 +123,8 @@ public static function getSignedRequestHeaders(string $region, string $host, str { $service = 'sts'; # Create a date for headers and the credential string in ISO-8601 format - $amzdate = date('Ymd\\THis\\Z'); - $datestamp = date('Ymd'); + $amzdate = gmdate('Ymd\\THis\\Z'); + $datestamp = gmdate('Ymd'); # Date w/o time, used in credential scope # Create the canonical headers and signed headers. Header names # must be trimmed and lowercase, and sorted in code point order from @@ -262,6 +262,17 @@ public static function getSigningVarsFromEnv() : ?array } return null; } + /** + * Gets the unique key for caching + * For AwsNativeSource the values are: + * Imdsv2SessionTokenUrl.SecurityCredentialsUrl.RegionUrl.RegionalCredVerificationUrl + * + * @return string + */ + public function getCacheKey() : string + { + return ($this->imdsv2SessionTokenUrl ?? '') . '.' . ($this->securityCredentialsUrl ?? '') . '.' . $this->regionUrl . '.' . $this->regionalCredVerificationUrl; + } /** * Return HMAC hash in binary string */ diff --git a/vendor/prefixed/google/auth/src/CredentialSource/ExecutableSource.php b/vendor/prefixed/google/auth/src/CredentialSource/ExecutableSource.php new file mode 100644 index 000000000..d8f2c9857 --- /dev/null +++ b/vendor/prefixed/google/auth/src/CredentialSource/ExecutableSource.php @@ -0,0 +1,222 @@ + + * OIDC response sample: + * { + * "version": 1, + * "success": true, + * "token_type": "urn:ietf:params:oauth:token-type:id_token", + * "id_token": "HEADER.PAYLOAD.SIGNATURE", + * "expiration_time": 1620433341 + * } + * + * SAML2 response sample: + * { + * "version": 1, + * "success": true, + * "token_type": "urn:ietf:params:oauth:token-type:saml2", + * "saml_response": "...", + * "expiration_time": 1620433341 + * } + * + * Error response sample: + * { + * "version": 1, + * "success": false, + * "code": "401", + * "message": "Error message." + * } + * + * + * The "expiration_time" field in the JSON response is only required for successful + * responses when an output file was specified in the credential configuration + * + * The auth libraries will populate certain environment variables that will be accessible by the + * executable, such as: GOOGLE_EXTERNAL_ACCOUNT_AUDIENCE, GOOGLE_EXTERNAL_ACCOUNT_TOKEN_TYPE, + * GOOGLE_EXTERNAL_ACCOUNT_INTERACTIVE, GOOGLE_EXTERNAL_ACCOUNT_IMPERSONATED_EMAIL, and + * GOOGLE_EXTERNAL_ACCOUNT_OUTPUT_FILE. + */ +class ExecutableSource implements ExternalAccountCredentialSourceInterface +{ + private const GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES = 'GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES'; + private const SAML_SUBJECT_TOKEN_TYPE = 'urn:ietf:params:oauth:token-type:saml2'; + private const OIDC_SUBJECT_TOKEN_TYPE1 = 'urn:ietf:params:oauth:token-type:id_token'; + private const OIDC_SUBJECT_TOKEN_TYPE2 = 'urn:ietf:params:oauth:token-type:jwt'; + /** + * @var string + */ + private $command; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\ExecutableHandler\ExecutableHandler + */ + private $executableHandler; + /** + * @var string|null + */ + private $outputFile; + /** + * @param string $command The string command to run to get the subject token. + * @param string $outputFile + */ + public function __construct(string $command, ?string $outputFile, ExecutableHandler $executableHandler = null) + { + $this->command = $command; + $this->outputFile = $outputFile; + $this->executableHandler = $executableHandler ?: new ExecutableHandler(); + } + /** + * Gets the unique key for caching + * The format for the cache key is: + * Command.OutputFile + * + * @return ?string + */ + public function getCacheKey() : ?string + { + return $this->command . '.' . $this->outputFile; + } + /** + * @param callable $httpHandler unused. + * @return string + * @throws RuntimeException if the executable is not allowed to run. + * @throws ExecutableResponseError if the executable response is invalid. + */ + public function fetchSubjectToken(callable $httpHandler = null) : string + { + // Check if the executable is allowed to run. + if (getenv(self::GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES) !== '1') { + throw new RuntimeException('Pluggable Auth executables need to be explicitly allowed to run by ' . 'setting the GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES environment ' . 'Variable to 1.'); + } + if (!($executableResponse = $this->getCachedExecutableResponse())) { + // Run the executable. + $exitCode = ($this->executableHandler)($this->command); + $output = $this->executableHandler->getOutput(); + // If the exit code is not 0, throw an exception with the output as the error details + if ($exitCode !== 0) { + throw new ExecutableResponseError('The executable failed to run' . ($output ? ' with the following error: ' . $output : '.'), (string) $exitCode); + } + $executableResponse = $this->parseExecutableResponse($output); + // Validate expiration. + if (isset($executableResponse['expiration_time']) && time() >= $executableResponse['expiration_time']) { + throw new ExecutableResponseError('Executable response is expired.'); + } + } + // Throw error when the request was unsuccessful + if ($executableResponse['success'] === \false) { + throw new ExecutableResponseError($executableResponse['message'], (string) $executableResponse['code']); + } + // Return subject token field based on the token type + return $executableResponse['token_type'] === self::SAML_SUBJECT_TOKEN_TYPE ? $executableResponse['saml_response'] : $executableResponse['id_token']; + } + /** + * @return array|null + */ + private function getCachedExecutableResponse() : ?array + { + if ($this->outputFile && file_exists($this->outputFile) && !empty(trim($outputFileContents = (string) file_get_contents($this->outputFile)))) { + try { + $executableResponse = $this->parseExecutableResponse($outputFileContents); + } catch (ExecutableResponseError $e) { + throw new ExecutableResponseError('Error in output file: ' . $e->getMessage(), 'INVALID_OUTPUT_FILE'); + } + if ($executableResponse['success'] === \false) { + // If the cached token was unsuccessful, run the executable to get a new one. + return null; + } + if (isset($executableResponse['expiration_time']) && time() >= $executableResponse['expiration_time']) { + // If the cached token is expired, run the executable to get a new one. + return null; + } + return $executableResponse; + } + return null; + } + /** + * @return array + */ + private function parseExecutableResponse(string $response) : array + { + $executableResponse = json_decode($response, \true); + if (json_last_error() !== \JSON_ERROR_NONE) { + throw new ExecutableResponseError('The executable returned an invalid response: ' . $response, 'INVALID_RESPONSE'); + } + if (!array_key_exists('version', $executableResponse)) { + throw new ExecutableResponseError('Executable response must contain a "version" field.'); + } + if (!array_key_exists('success', $executableResponse)) { + throw new ExecutableResponseError('Executable response must contain a "success" field.'); + } + // Validate required fields for a successful response. + if ($executableResponse['success']) { + // Validate token type field. + $tokenTypes = [self::SAML_SUBJECT_TOKEN_TYPE, self::OIDC_SUBJECT_TOKEN_TYPE1, self::OIDC_SUBJECT_TOKEN_TYPE2]; + if (!isset($executableResponse['token_type'])) { + throw new ExecutableResponseError('Executable response must contain a "token_type" field when successful'); + } + if (!in_array($executableResponse['token_type'], $tokenTypes)) { + throw new ExecutableResponseError(sprintf('Executable response "token_type" field must be one of %s.', implode(', ', $tokenTypes))); + } + // Validate subject token for SAML and OIDC. + if ($executableResponse['token_type'] === self::SAML_SUBJECT_TOKEN_TYPE) { + if (empty($executableResponse['saml_response'])) { + throw new ExecutableResponseError(sprintf('Executable response must contain a "saml_response" field when token_type=%s.', self::SAML_SUBJECT_TOKEN_TYPE)); + } + } elseif (empty($executableResponse['id_token'])) { + throw new ExecutableResponseError(sprintf('Executable response must contain a "id_token" field when ' . 'token_type=%s.', $executableResponse['token_type'])); + } + // Validate expiration exists when an output file is specified. + if ($this->outputFile) { + if (!isset($executableResponse['expiration_time'])) { + throw new ExecutableResponseError('The executable response must contain a "expiration_time" field for successful responses ' . 'when an output_file has been specified in the configuration.'); + } + } + } else { + // Both code and message must be provided for unsuccessful responses. + if (!array_key_exists('code', $executableResponse)) { + throw new ExecutableResponseError('Executable response must contain a "code" field when unsuccessful.'); + } + if (empty($executableResponse['message'])) { + throw new ExecutableResponseError('Executable response must contain a "message" field when unsuccessful.'); + } + } + return $executableResponse; + } +} diff --git a/vendor/prefixed/google/auth/src/CredentialSource/FileSource.php b/vendor/prefixed/google/auth/src/CredentialSource/FileSource.php index 606471126..8cf6f0d29 100644 --- a/vendor/prefixed/google/auth/src/CredentialSource/FileSource.php +++ b/vendor/prefixed/google/auth/src/CredentialSource/FileSource.php @@ -66,4 +66,15 @@ public function fetchSubjectToken(callable $httpHandler = null) : string } return $contents; } + /** + * Gets the unique key for caching. + * The format for the cache key one of the following: + * Filename + * + * @return string + */ + public function getCacheKey() : ?string + { + return $this->file; + } } diff --git a/vendor/prefixed/google/auth/src/CredentialSource/UrlSource.php b/vendor/prefixed/google/auth/src/CredentialSource/UrlSource.php index 3bb5ad208..c5fdba063 100644 --- a/vendor/prefixed/google/auth/src/CredentialSource/UrlSource.php +++ b/vendor/prefixed/google/auth/src/CredentialSource/UrlSource.php @@ -80,4 +80,15 @@ public function fetchSubjectToken(callable $httpHandler = null) : string } return $body; } + /** + * Get the cache key for the credentials. + * The format for the cache key is: + * URL + * + * @return ?string + */ + public function getCacheKey() : ?string + { + return $this->url; + } } diff --git a/vendor/prefixed/google/auth/src/Credentials/ExternalAccountCredentials.php b/vendor/prefixed/google/auth/src/Credentials/ExternalAccountCredentials.php index cd645ae4b..373167365 100644 --- a/vendor/prefixed/google/auth/src/Credentials/ExternalAccountCredentials.php +++ b/vendor/prefixed/google/auth/src/Credentials/ExternalAccountCredentials.php @@ -18,22 +18,27 @@ namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\Credentials; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\CredentialSource\AwsNativeSource; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\CredentialSource\ExecutableSource; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\CredentialSource\FileSource; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\CredentialSource\UrlSource; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\ExecutableHandler\ExecutableHandler; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\ExternalAccountCredentialSourceInterface; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\FetchAuthTokenInterface; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\GetQuotaProjectInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\GetUniverseDomainInterface; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\HttpHandler\HttpClientCache; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\HttpHandler\HttpHandlerFactory; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\OAuth2; +use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\ProjectIdProviderInterface; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\UpdateMetadataInterface; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\UpdateMetadataTrait; use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Psr7\Request; use InvalidArgumentException; -class ExternalAccountCredentials implements FetchAuthTokenInterface, UpdateMetadataInterface, GetQuotaProjectInterface +class ExternalAccountCredentials implements FetchAuthTokenInterface, UpdateMetadataInterface, GetQuotaProjectInterface, GetUniverseDomainInterface, ProjectIdProviderInterface { use UpdateMetadataTrait; private const EXTERNAL_ACCOUNT_TYPE = 'external_account'; + private const CLOUD_RESOURCE_MANAGER_URL = 'https://cloudresourcemanager.UNIVERSE_DOMAIN/v1/projects/%s'; /** * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\OAuth2 */ @@ -46,6 +51,18 @@ class ExternalAccountCredentials implements FetchAuthTokenInterface, UpdateMetad * @var string|null */ private $serviceAccountImpersonationUrl; + /** + * @var string|null + */ + private $workforcePoolUserProject; + /** + * @var string|null + */ + private $projectId; + /** + * @var string + */ + private $universeDomain; /** * @param string|string[] $scope The scope of the access request, expressed either as an array * or as a space-delimited string. @@ -71,11 +88,14 @@ public function __construct($scope, array $jsonKey) if (!array_key_exists('credential_source', $jsonKey)) { throw new InvalidArgumentException('json key is missing the credential_source field'); } - if (array_key_exists('service_account_impersonation_url', $jsonKey)) { - $this->serviceAccountImpersonationUrl = $jsonKey['service_account_impersonation_url']; - } + $this->serviceAccountImpersonationUrl = $jsonKey['service_account_impersonation_url'] ?? null; $this->quotaProject = $jsonKey['quota_project_id'] ?? null; - $this->auth = new OAuth2(['tokenCredentialUri' => $jsonKey['token_url'], 'audience' => $jsonKey['audience'], 'scope' => $scope, 'subjectTokenType' => $jsonKey['subject_token_type'], 'subjectTokenFetcher' => self::buildCredentialSource($jsonKey)]); + $this->workforcePoolUserProject = $jsonKey['workforce_pool_user_project'] ?? null; + $this->universeDomain = $jsonKey['universe_domain'] ?? GetUniverseDomainInterface::DEFAULT_UNIVERSE_DOMAIN; + $this->auth = new OAuth2(['tokenCredentialUri' => $jsonKey['token_url'], 'audience' => $jsonKey['audience'], 'scope' => $scope, 'subjectTokenType' => $jsonKey['subject_token_type'], 'subjectTokenFetcher' => self::buildCredentialSource($jsonKey), 'additionalOptions' => $this->workforcePoolUserProject ? ['userProject' => $this->workforcePoolUserProject] : []]); + if (!$this->isWorkforcePool() && $this->workforcePoolUserProject) { + throw new InvalidArgumentException('workforce_pool_user_project should not be set for non-workforce pool credentials.'); + } } /** * @param array $jsonKey @@ -93,9 +113,6 @@ private static function buildCredentialSource(array $jsonKey) : ExternalAccountC if (!array_key_exists('regional_cred_verification_url', $credentialSource)) { throw new InvalidArgumentException('The regional_cred_verification_url field is required for aws1 credential source.'); } - if (!array_key_exists('audience', $jsonKey)) { - throw new InvalidArgumentException('aws1 credential source requires an audience to be set in the JSON file.'); - } return new AwsNativeSource( $jsonKey['audience'], $credentialSource['regional_cred_verification_url'], @@ -110,6 +127,31 @@ private static function buildCredentialSource(array $jsonKey) : ExternalAccountC if (isset($credentialSource['url'])) { return new UrlSource($credentialSource['url'], $credentialSource['format']['type'] ?? null, $credentialSource['format']['subject_token_field_name'] ?? null, $credentialSource['headers'] ?? null); } + if (isset($credentialSource['executable'])) { + if (!array_key_exists('command', $credentialSource['executable'])) { + throw new InvalidArgumentException('executable source requires a command to be set in the JSON file.'); + } + // Build command environment variables + $env = [ + 'GOOGLE_EXTERNAL_ACCOUNT_AUDIENCE' => $jsonKey['audience'], + 'GOOGLE_EXTERNAL_ACCOUNT_TOKEN_TYPE' => $jsonKey['subject_token_type'], + // Always set to 0 because interactive mode is not supported. + 'GOOGLE_EXTERNAL_ACCOUNT_INTERACTIVE' => '0', + ]; + if ($outputFile = $credentialSource['executable']['output_file'] ?? null) { + $env['GOOGLE_EXTERNAL_ACCOUNT_OUTPUT_FILE'] = $outputFile; + } + if ($serviceAccountImpersonationUrl = $jsonKey['service_account_impersonation_url'] ?? null) { + // Parse email from URL. The formal looks as follows: + // https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/name@project-id.iam.gserviceaccount.com:generateAccessToken + $regex = '/serviceAccounts\\/(?[^:]+):generateAccessToken$/'; + if (preg_match($regex, $serviceAccountImpersonationUrl, $matches)) { + $env['GOOGLE_EXTERNAL_ACCOUNT_IMPERSONATED_EMAIL'] = $matches['email']; + } + } + $timeoutMs = $credentialSource['executable']['timeout_millis'] ?? null; + return new ExecutableSource($credentialSource['executable']['command'], $outputFile, $timeoutMs ? new ExecutableHandler($env, $timeoutMs) : new ExecutableHandler($env)); + } throw new InvalidArgumentException('Unable to determine credential source from json key.'); } /** @@ -128,7 +170,7 @@ private function getImpersonatedAccessToken(string $stsToken, callable $httpHand if (!isset($this->serviceAccountImpersonationUrl)) { throw new InvalidArgumentException('service_account_impersonation_url must be set in JSON credentials.'); } - $request = new Request('POST', $this->serviceAccountImpersonationUrl, ['Content-Type' => 'application/json', 'Authorization' => 'Bearer ' . $stsToken], (string) json_encode(['lifetime' => sprintf('%ss', OAuth2::DEFAULT_EXPIRY_SECONDS), 'scope' => $this->auth->getScope()])); + $request = new Request('POST', $this->serviceAccountImpersonationUrl, ['Content-Type' => 'application/json', 'Authorization' => 'Bearer ' . $stsToken], (string) json_encode(['lifetime' => sprintf('%ss', OAuth2::DEFAULT_EXPIRY_SECONDS), 'scope' => explode(' ', $this->auth->getScope())])); if (is_null($httpHandler)) { $httpHandler = HttpHandlerFactory::build(HttpClientCache::getHttpClient()); } @@ -157,9 +199,22 @@ public function fetchAuthToken(callable $httpHandler = null) } return $stsToken; } - public function getCacheKey() + /** + * Get the cache token key for the credentials. + * The cache token key format depends on the type of source + * The format for the cache key one of the following: + * FetcherCacheKey.Scope.[ServiceAccount].[TokenType].[WorkforcePoolUserProject] + * FetcherCacheKey.Audience.[ServiceAccount].[TokenType].[WorkforcePoolUserProject] + * + * @return ?string; + */ + public function getCacheKey() : ?string { - return $this->auth->getCacheKey(); + $scopeOrAudience = $this->auth->getAudience(); + if (!$scopeOrAudience) { + $scopeOrAudience = $this->auth->getScope(); + } + return $this->auth->getSubjectTokenFetcher()->getCacheKey() . '.' . $scopeOrAudience . '.' . ($this->serviceAccountImpersonationUrl ?? '') . '.' . ($this->auth->getSubjectTokenType() ?? '') . '.' . ($this->workforcePoolUserProject ?? ''); } public function getLastReceivedToken() { @@ -174,4 +229,54 @@ public function getQuotaProject() { return $this->quotaProject; } + /** + * Get the universe domain used for this API request + * + * @return string + */ + public function getUniverseDomain() : string + { + return $this->universeDomain; + } + /** + * Get the project ID. + * + * @param callable $httpHandler Callback which delivers psr7 request + * @param string $accessToken The access token to use to sign the blob. If + * provided, saves a call to the metadata server for a new access + * token. **Defaults to** `null`. + * @return string|null + */ + public function getProjectId(callable $httpHandler = null, string $accessToken = null) + { + if (isset($this->projectId)) { + return $this->projectId; + } + $projectNumber = $this->getProjectNumber() ?: $this->workforcePoolUserProject; + if (!$projectNumber) { + return null; + } + if (is_null($httpHandler)) { + $httpHandler = HttpHandlerFactory::build(HttpClientCache::getHttpClient()); + } + $url = str_replace('UNIVERSE_DOMAIN', $this->getUniverseDomain(), sprintf(self::CLOUD_RESOURCE_MANAGER_URL, $projectNumber)); + if (is_null($accessToken)) { + $accessToken = $this->fetchAuthToken($httpHandler)['access_token']; + } + $request = new Request('GET', $url, ['authorization' => 'Bearer ' . $accessToken]); + $response = $httpHandler($request); + $body = json_decode((string) $response->getBody(), \true); + return $this->projectId = $body['projectId']; + } + private function getProjectNumber() : ?string + { + $parts = explode('/', $this->auth->getAudience()); + $i = array_search('projects', $parts); + return $parts[$i + 1] ?? null; + } + private function isWorkforcePool() : bool + { + $regex = '#//iam\\.googleapis\\.com/locations/[^/]+/workforcePools/#'; + return preg_match($regex, $this->auth->getAudience()) === 1; + } } diff --git a/vendor/prefixed/google/auth/src/Credentials/GCECredentials.php b/vendor/prefixed/google/auth/src/Credentials/GCECredentials.php index 96a0632f3..8bd576627 100644 --- a/vendor/prefixed/google/auth/src/Credentials/GCECredentials.php +++ b/vendor/prefixed/google/auth/src/Credentials/GCECredentials.php @@ -17,6 +17,8 @@ */ namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\Credentials; +use COM; +use com_exception; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\CredentialsLoader; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\GetQuotaProjectInterface; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\HttpHandler\HttpClientCache; @@ -96,6 +98,19 @@ class GCECredentials extends CredentialsLoader implements SignBlobInterface, Pro * The Linux file which contains the product name. */ private const GKE_PRODUCT_NAME_FILE = '/sys/class/dmi/id/product_name'; + /** + * The Windows Registry key path to the product name + */ + private const WINDOWS_REGISTRY_KEY_PATH = 'HKEY_LOCAL_MACHINE\\SYSTEM\\HardwareConfig\\Current\\'; + /** + * The Windows registry key name for the product name + */ + private const WINDOWS_REGISTRY_KEY_NAME = 'SystemProductName'; + /** + * The Name of the product expected from the windows registry + */ + private const PRODUCT_NAME = 'Google'; + private const CRED_TYPE = 'mds'; /** * Note: the explicit `timeout` and `tries` below is a workaround. The underlying * issue is that resolving an unknown host on some networks will take @@ -289,7 +304,7 @@ public static function onGce(callable $httpHandler = null) // could lead to false negatives in the event that we are on GCE, but // the metadata resolution was particularly slow. The latter case is // "unlikely". - $resp = $httpHandler(new Request('GET', $checkUri, [self::FLAVOR_HEADER => 'Google']), ['timeout' => self::COMPUTE_PING_CONNECTION_TIMEOUT_S]); + $resp = $httpHandler(new Request('GET', $checkUri, [self::FLAVOR_HEADER => 'Google', self::$metricMetadataKey => self::getMetricsHeader('', 'mds')]), ['timeout' => self::COMPUTE_PING_CONNECTION_TIMEOUT_S]); return $resp->getHeaderLine(self::FLAVOR_HEADER) == 'Google'; } catch (ClientException $e) { } catch (ServerException $e) { @@ -297,9 +312,8 @@ public static function onGce(callable $httpHandler = null) } catch (ConnectException $e) { } } - if (\PHP_OS === 'Windows') { - // @TODO: implement GCE residency detection on Windows - return \false; + if (\PHP_OS === 'Windows' || \PHP_OS === 'WINNT') { + return self::detectResidencyWindows(self::WINDOWS_REGISTRY_KEY_PATH . self::WINDOWS_REGISTRY_KEY_NAME); } // Detect GCE residency on Linux return self::detectResidencyLinux(self::GKE_PRODUCT_NAME_FILE); @@ -308,10 +322,28 @@ private static function detectResidencyLinux(string $productNameFile) : bool { if (file_exists($productNameFile)) { $productName = trim((string) file_get_contents($productNameFile)); - return 0 === strpos($productName, 'Google'); + return 0 === strpos($productName, self::PRODUCT_NAME); } return \false; } + private static function detectResidencyWindows(string $registryProductKey) : bool + { + if (!class_exists(COM::class)) { + // the COM extension must be installed and enabled to detect Windows residency + // see https://www.php.net/manual/en/book.com.php + return \false; + } + $shell = new COM('WScript.Shell'); + $productName = null; + try { + $productName = $shell->regRead($registryProductKey); + } catch (com_exception $exception) { + // This means that we tried to read a key that doesn't exist on the registry + // which might mean that it is a windows instance that is not on GCE + return \false; + } + return 0 === strpos($productName, self::PRODUCT_NAME); + } /** * Implements FetchAuthTokenInterface#fetchAuthToken. * @@ -341,7 +373,7 @@ public function fetchAuthToken(callable $httpHandler = null) return []; // return an empty array with no access token } - $response = $this->getFromMetadata($httpHandler, $this->tokenUri); + $response = $this->getFromMetadata($httpHandler, $this->tokenUri, $this->applyTokenEndpointMetrics([], $this->targetAudience ? 'it' : 'at')); if ($this->targetAudience) { return $this->lastReceivedToken = ['id_token' => $response]; } @@ -354,11 +386,15 @@ public function fetchAuthToken(callable $httpHandler = null) return $json; } /** + * Returns the Cache Key for the credential token. + * The format for the cache key is: + * TokenURI + * * @return string */ public function getCacheKey() { - return self::cacheKey; + return $this->tokenUri; } /** * @return array|null @@ -460,11 +496,14 @@ public function getUniverseDomain(callable $httpHandler = null) : string * * @param callable $httpHandler An HTTP Handler to deliver PSR7 requests. * @param string $uri The metadata URI. + * @param array $headers [optional] If present, add these headers to the token + * endpoint request. + * * @return string */ - private function getFromMetadata(callable $httpHandler, $uri) + private function getFromMetadata(callable $httpHandler, $uri, array $headers = []) { - $resp = $httpHandler(new Request('GET', $uri, [self::FLAVOR_HEADER => 'Google'])); + $resp = $httpHandler(new Request('GET', $uri, [self::FLAVOR_HEADER => 'Google'] + $headers)); return (string) $resp->getBody(); } /** @@ -490,4 +529,8 @@ public function setIsOnGce($isOnGce) // Set isOnGce $this->isOnGce = $isOnGce; } + protected function getCredType() : string + { + return self::CRED_TYPE; + } } diff --git a/vendor/prefixed/google/auth/src/Credentials/ImpersonatedServiceAccountCredentials.php b/vendor/prefixed/google/auth/src/Credentials/ImpersonatedServiceAccountCredentials.php index a83c3779a..6d4955b46 100644 --- a/vendor/prefixed/google/auth/src/Credentials/ImpersonatedServiceAccountCredentials.php +++ b/vendor/prefixed/google/auth/src/Credentials/ImpersonatedServiceAccountCredentials.php @@ -23,6 +23,7 @@ class ImpersonatedServiceAccountCredentials extends CredentialsLoader implements SignBlobInterface { use IamSignerTrait; + private const CRED_TYPE = 'imp'; /** * @var string */ @@ -101,9 +102,13 @@ public function getClientName(callable $unusedHttpHandler = null) */ public function fetchAuthToken(callable $httpHandler = null) { - return $this->sourceCredentials->fetchAuthToken($httpHandler); + // We don't support id token endpoint requests as of now for Impersonated Cred + return $this->sourceCredentials->fetchAuthToken($httpHandler, $this->applyTokenEndpointMetrics([], 'at')); } /** + * Returns the Cache Key for the credentials + * The cache key is the same as the UserRefreshCredentials class + * * @return string */ public function getCacheKey() @@ -117,4 +122,8 @@ public function getLastReceivedToken() { return $this->sourceCredentials->getLastReceivedToken(); } + protected function getCredType() : string + { + return self::CRED_TYPE; + } } diff --git a/vendor/prefixed/google/auth/src/Credentials/ServiceAccountCredentials.php b/vendor/prefixed/google/auth/src/Credentials/ServiceAccountCredentials.php index 537223006..24aa658bb 100644 --- a/vendor/prefixed/google/auth/src/Credentials/ServiceAccountCredentials.php +++ b/vendor/prefixed/google/auth/src/Credentials/ServiceAccountCredentials.php @@ -60,6 +60,12 @@ class ServiceAccountCredentials extends CredentialsLoader implements GetQuotaProjectInterface, SignBlobInterface, ProjectIdProviderInterface { use ServiceAccountSignerTrait; + /** + * Used in observability metric headers + * + * @var string + */ + private const CRED_TYPE = 'sa'; /** * The OAuth2 instance used to conduct authorization. * @@ -169,16 +175,26 @@ public function fetchAuthToken(callable $httpHandler = null) } return $accessToken; } - return $this->auth->fetchAuthToken($httpHandler); + $authRequestType = empty($this->auth->getAdditionalClaims()['target_audience']) ? 'at' : 'it'; + return $this->auth->fetchAuthToken($httpHandler, $this->applyTokenEndpointMetrics([], $authRequestType)); } /** + * Return the Cache Key for the credentials. + * For the cache key format is one of the following: + * ClientEmail.Scope[.Sub] + * ClientEmail.Audience[.Sub] + * * @return string */ public function getCacheKey() { - $key = $this->auth->getIssuer() . ':' . $this->auth->getCacheKey(); + $scopeOrAudience = $this->auth->getScope(); + if (!$scopeOrAudience) { + $scopeOrAudience = $this->auth->getAudience(); + } + $key = $this->auth->getIssuer() . '.' . $scopeOrAudience; if ($sub = $this->auth->getSub()) { - $key .= ':' . $sub; + $key .= '.' . $sub; } return $key; } @@ -281,6 +297,10 @@ public function getUniverseDomain() : string { return $this->universeDomain; } + protected function getCredType() : string + { + return self::CRED_TYPE; + } /** * @return bool */ diff --git a/vendor/prefixed/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php b/vendor/prefixed/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php index 91f9943a2..eb63c301c 100644 --- a/vendor/prefixed/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php +++ b/vendor/prefixed/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php @@ -35,6 +35,12 @@ class ServiceAccountJwtAccessCredentials extends CredentialsLoader implements GetQuotaProjectInterface, SignBlobInterface, ProjectIdProviderInterface { use ServiceAccountSignerTrait; + /** + * Used in observability metric headers + * + * @var string + */ + private const CRED_TYPE = 'jwt'; /** * The OAuth2 instance used to conduct authorization. * @@ -119,14 +125,23 @@ public function fetchAuthToken(callable $httpHandler = null) $access_token = $this->auth->toJwt(); // Set the self-signed access token in OAuth2 for getLastReceivedToken $this->auth->setAccessToken($access_token); - return ['access_token' => $access_token]; + return ['access_token' => $access_token, 'expires_in' => $this->auth->getExpiry(), 'token_type' => 'Bearer']; } /** + * Return the cache key for the credentials. + * The format for the Cache Key one of the following: + * ClientEmail.Scope + * ClientEmail.Audience + * * @return string */ public function getCacheKey() { - return $this->auth->getCacheKey(); + $scopeOrAudience = $this->auth->getScope(); + if (!$scopeOrAudience) { + $scopeOrAudience = $this->auth->getAudience(); + } + return $this->auth->getIssuer() . '.' . $scopeOrAudience; } /** * @return array @@ -168,4 +183,8 @@ public function getQuotaProject() { return $this->quotaProject; } + protected function getCredType() : string + { + return self::CRED_TYPE; + } } diff --git a/vendor/prefixed/google/auth/src/Credentials/UserRefreshCredentials.php b/vendor/prefixed/google/auth/src/Credentials/UserRefreshCredentials.php index e253454f1..8d09ac586 100644 --- a/vendor/prefixed/google/auth/src/Credentials/UserRefreshCredentials.php +++ b/vendor/prefixed/google/auth/src/Credentials/UserRefreshCredentials.php @@ -33,6 +33,12 @@ */ class UserRefreshCredentials extends CredentialsLoader implements GetQuotaProjectInterface { + /** + * Used in observability metric headers + * + * @var string + */ + private const CRED_TYPE = 'u'; /** * The OAuth2 instance used to conduct authorization. * @@ -80,6 +86,10 @@ public function __construct($scope, $jsonKey) } /** * @param callable $httpHandler + * @param array $metricsHeader [optional] Metrics headers to be inserted + * into the token endpoint request present. + * This could be passed from ImersonatedServiceAccountCredentials as it uses + * UserRefreshCredentials as source credentials. * * @return array { * A set of auth related metadata, containing the following @@ -91,16 +101,26 @@ public function __construct($scope, $jsonKey) * @type string $id_token * } */ - public function fetchAuthToken(callable $httpHandler = null) + public function fetchAuthToken(callable $httpHandler = null, array $metricsHeader = []) { - return $this->auth->fetchAuthToken($httpHandler); + // We don't support id token endpoint requests as of now for User Cred + return $this->auth->fetchAuthToken($httpHandler, $this->applyTokenEndpointMetrics($metricsHeader, 'at')); } /** + * Return the Cache Key for the credentials. + * The format for the Cache key is one of the following: + * ClientId.Scope + * ClientId.Audience + * * @return string */ public function getCacheKey() { - return $this->auth->getClientId() . ':' . $this->auth->getCacheKey(); + $scopeOrAudience = $this->auth->getScope(); + if (!$scopeOrAudience) { + $scopeOrAudience = $this->auth->getAudience(); + } + return $this->auth->getClientId() . '.' . $scopeOrAudience; } /** * @return array @@ -127,4 +147,8 @@ public function getGrantedScope() { return $this->auth->getGrantedScope(); } + protected function getCredType() : string + { + return self::CRED_TYPE; + } } diff --git a/vendor/prefixed/google/auth/src/ExecutableHandler/ExecutableHandler.php b/vendor/prefixed/google/auth/src/ExecutableHandler/ExecutableHandler.php new file mode 100644 index 000000000..a91b0bca8 --- /dev/null +++ b/vendor/prefixed/google/auth/src/ExecutableHandler/ExecutableHandler.php @@ -0,0 +1,66 @@ + */ + private $env = []; + /** + * @var string|null + */ + private $output; + /** + * @param array $env + */ + public function __construct(array $env = [], int $timeoutMs = self::DEFAULT_EXECUTABLE_TIMEOUT_MILLIS) + { + if (!class_exists(Process::class)) { + throw new RuntimeException(sprintf('The "symfony/process" package is required to use %s.', self::class)); + } + $this->env = $env; + $this->timeoutMs = $timeoutMs; + } + /** + * @param string $command + * @return int + */ + public function __invoke(string $command) : int + { + $process = Process::fromShellCommandline($command, null, $this->env, null, $this->timeoutMs / 1000); + try { + $process->run(); + } catch (ProcessTimedOutException $e) { + throw new ExecutableResponseError('The executable failed to finish within the timeout specified.', 'TIMEOUT_EXCEEDED'); + } + $this->output = $process->getOutput() . $process->getErrorOutput(); + return $process->getExitCode(); + } + public function getOutput() : ?string + { + return $this->output; + } +} diff --git a/vendor/prefixed/google/auth/src/ExecutableHandler/ExecutableResponseError.php b/vendor/prefixed/google/auth/src/ExecutableHandler/ExecutableResponseError.php new file mode 100644 index 000000000..ac805c0bc --- /dev/null +++ b/vendor/prefixed/google/auth/src/ExecutableHandler/ExecutableResponseError.php @@ -0,0 +1,27 @@ +fetcher = $fetcher; $this->cache = $cache; - $this->cacheConfig = array_merge(['lifetime' => 1500, 'prefix' => ''], (array) $cacheConfig); + $this->cacheConfig = array_merge(['lifetime' => 1500, 'prefix' => '', 'cacheUniverseDomain' => $fetcher instanceof Credentials\GCECredentials], (array) $cacheConfig); } /** * @return FetchAuthTokenInterface @@ -113,9 +113,10 @@ public function signBlob($stringToSign, $forceOpenSsl = \false) if (!$this->fetcher instanceof SignBlobInterface) { throw new \RuntimeException('Credentials fetcher does not implement ' . 'Google\\Auth\\SignBlobInterface'); } - // Pass the access token from cache to GCECredentials for signing a blob. - // This saves a call to the metadata server when a cached token exists. - if ($this->fetcher instanceof Credentials\GCECredentials) { + // Pass the access token from cache for credentials that sign blobs + // using the IAM API. This saves a call to fetch an access token when a + // cached token exists. + if ($this->fetcher instanceof Credentials\GCECredentials || $this->fetcher instanceof Credentials\ImpersonatedServiceAccountCredentials) { $cached = $this->fetchAuthTokenFromCache(); $accessToken = $cached['access_token'] ?? null; return $this->fetcher->signBlob($stringToSign, $forceOpenSsl, $accessToken); @@ -148,6 +149,14 @@ public function getProjectId(callable $httpHandler = null) if (!$this->fetcher instanceof ProjectIdProviderInterface) { throw new \RuntimeException('Credentials fetcher does not implement ' . 'Google\\Auth\\ProvidesProjectIdInterface'); } + // Pass the access token from cache for credentials that require an + // access token to fetch the project ID. This saves a call to fetch an + // access token when a cached token exists. + if ($this->fetcher instanceof Credentials\ExternalAccountCredentials) { + $cached = $this->fetchAuthTokenFromCache(); + $accessToken = $cached['access_token'] ?? null; + return $this->fetcher->getProjectId($httpHandler, $accessToken); + } return $this->fetcher->getProjectId($httpHandler); } /* @@ -158,6 +167,9 @@ public function getProjectId(callable $httpHandler = null) public function getUniverseDomain() : string { if ($this->fetcher instanceof GetUniverseDomainInterface) { + if ($this->cacheConfig['cacheUniverseDomain']) { + return $this->getCachedUniverseDomain($this->fetcher); + } return $this->fetcher->getUniverseDomain(); } return GetUniverseDomainInterface::DEFAULT_UNIVERSE_DOMAIN; @@ -235,4 +247,15 @@ private function saveAuthTokenInCache($authToken, $authUri = null) $this->setCachedValue($cacheKey, $authToken); } } + private function getCachedUniverseDomain(GetUniverseDomainInterface $fetcher) : string + { + $cacheKey = $this->getFullCacheKey($fetcher->getCacheKey() . 'universe_domain'); + // @phpstan-ignore-line + if ($universeDomain = $this->getCachedValue($cacheKey)) { + return $universeDomain; + } + $universeDomain = $fetcher->getUniverseDomain(); + $this->setCachedValue($cacheKey, $universeDomain); + return $universeDomain; + } } diff --git a/vendor/prefixed/google/auth/src/Iam.php b/vendor/prefixed/google/auth/src/Iam.php index 495283f54..7fc115d26 100644 --- a/vendor/prefixed/google/auth/src/Iam.php +++ b/vendor/prefixed/google/auth/src/Iam.php @@ -28,19 +28,28 @@ */ class Iam { + /** + * @deprecated + */ const IAM_API_ROOT = 'https://iamcredentials.googleapis.com/v1'; const SIGN_BLOB_PATH = '%s:signBlob?alt=json'; const SERVICE_ACCOUNT_NAME = 'projects/-/serviceAccounts/%s'; + private const IAM_API_ROOT_TEMPLATE = 'https://iamcredentials.UNIVERSE_DOMAIN/v1'; /** * @var callable */ private $httpHandler; + /** + * @var string + */ + private $universeDomain; /** * @param callable $httpHandler [optional] The HTTP Handler to send requests. */ - public function __construct(callable $httpHandler = null) + public function __construct(callable $httpHandler = null, string $universeDomain = GetUniverseDomainInterface::DEFAULT_UNIVERSE_DOMAIN) { $this->httpHandler = $httpHandler ?: HttpHandlerFactory::build(HttpClientCache::getHttpClient()); + $this->universeDomain = $universeDomain; } /** * Sign a string using the IAM signBlob API. @@ -61,7 +70,8 @@ public function signBlob($email, $accessToken, $stringToSign, array $delegates = { $httpHandler = $this->httpHandler; $name = sprintf(self::SERVICE_ACCOUNT_NAME, $email); - $uri = self::IAM_API_ROOT . '/' . sprintf(self::SIGN_BLOB_PATH, $name); + $apiRoot = str_replace('UNIVERSE_DOMAIN', $this->universeDomain, self::IAM_API_ROOT_TEMPLATE); + $uri = $apiRoot . '/' . sprintf(self::SIGN_BLOB_PATH, $name); if ($delegates) { foreach ($delegates as &$delegate) { $delegate = sprintf(self::SERVICE_ACCOUNT_NAME, $delegate); diff --git a/vendor/prefixed/google/auth/src/IamSignerTrait.php b/vendor/prefixed/google/auth/src/IamSignerTrait.php index 6de7d03bc..03a704039 100644 --- a/vendor/prefixed/google/auth/src/IamSignerTrait.php +++ b/vendor/prefixed/google/auth/src/IamSignerTrait.php @@ -47,7 +47,10 @@ public function signBlob($stringToSign, $forceOpenSsl = \false, $accessToken = n $httpHandler = HttpHandlerFactory::build(HttpClientCache::getHttpClient()); // Providing a signer is useful for testing, but it's undocumented // because it's not something a user would generally need to do. - $signer = $this->iam ?: new Iam($httpHandler); + $signer = $this->iam; + if (!$signer) { + $signer = $this instanceof GetUniverseDomainInterface ? new Iam($httpHandler, $this->getUniverseDomain()) : new Iam($httpHandler); + } $email = $this->getClientName($httpHandler); if (is_null($accessToken)) { $previousToken = $this->getLastReceivedToken(); diff --git a/vendor/prefixed/google/auth/src/MetricsTrait.php b/vendor/prefixed/google/auth/src/MetricsTrait.php new file mode 100644 index 000000000..08ec7b529 --- /dev/null +++ b/vendor/prefixed/google/auth/src/MetricsTrait.php @@ -0,0 +1,104 @@ + $metadata The metadata to update and return. + * @return array The updated metadata. + */ + protected function applyServiceApiUsageMetrics($metadata) + { + if ($credType = $this->getCredType()) { + // Add service api usage observability metrics info into metadata + // We expect upstream libries to have the metadata key populated already + $value = 'cred-type/' . $credType; + if (!isset($metadata[self::$metricMetadataKey])) { + // This case will happen only when someone invokes the updateMetadata + // method on the credentials fetcher themselves. + $metadata[self::$metricMetadataKey] = [$value]; + } elseif (is_array($metadata[self::$metricMetadataKey])) { + $metadata[self::$metricMetadataKey][0] .= ' ' . $value; + } else { + $metadata[self::$metricMetadataKey] .= ' ' . $value; + } + } + return $metadata; + } + /** + * @param array $metadata The metadata to update and return. + * @param string $authRequestType The auth request type. Possible values are + * `'at'`, `'it'`, `'mds'`. + * @return array The updated metadata. + */ + protected function applyTokenEndpointMetrics($metadata, $authRequestType) + { + $metricsHeader = self::getMetricsHeader($this->getCredType(), $authRequestType); + if (!isset($metadata[self::$metricMetadataKey])) { + $metadata[self::$metricMetadataKey] = $metricsHeader; + } + return $metadata; + } + protected static function getVersion() : string + { + if (is_null(self::$version)) { + $versionFilePath = __DIR__ . '/../VERSION'; + self::$version = trim((string) file_get_contents($versionFilePath)); + } + return self::$version; + } + protected function getCredType() : string + { + return ''; + } +} diff --git a/vendor/prefixed/google/auth/src/OAuth2.php b/vendor/prefixed/google/auth/src/OAuth2.php index 097bc37ca..dd248dfd6 100644 --- a/vendor/prefixed/google/auth/src/OAuth2.php +++ b/vendor/prefixed/google/auth/src/OAuth2.php @@ -281,6 +281,13 @@ class OAuth2 implements FetchAuthTokenInterface * @var string|null */ private $issuedTokenType; + /** + * From STS response. + * An identifier for the representation of the issued security token. + * + * @var array + */ + private $additionalOptions; /** * Create a new OAuthCredentials. * @@ -373,7 +380,7 @@ class OAuth2 implements FetchAuthTokenInterface */ public function __construct(array $config) { - $opts = array_merge(['expiry' => self::DEFAULT_EXPIRY_SECONDS, 'extensionParams' => [], 'authorizationUri' => null, 'redirectUri' => null, 'tokenCredentialUri' => null, 'state' => null, 'username' => null, 'password' => null, 'clientId' => null, 'clientSecret' => null, 'issuer' => null, 'sub' => null, 'audience' => null, 'signingKey' => null, 'signingKeyId' => null, 'signingAlgorithm' => null, 'scope' => null, 'additionalClaims' => [], 'codeVerifier' => null, 'resource' => null, 'subjectTokenFetcher' => null, 'subjectTokenType' => null, 'actorToken' => null, 'actorTokenType' => null], $config); + $opts = array_merge(['expiry' => self::DEFAULT_EXPIRY_SECONDS, 'extensionParams' => [], 'authorizationUri' => null, 'redirectUri' => null, 'tokenCredentialUri' => null, 'state' => null, 'username' => null, 'password' => null, 'clientId' => null, 'clientSecret' => null, 'issuer' => null, 'sub' => null, 'audience' => null, 'signingKey' => null, 'signingKeyId' => null, 'signingAlgorithm' => null, 'scope' => null, 'additionalClaims' => [], 'codeVerifier' => null, 'resource' => null, 'subjectTokenFetcher' => null, 'subjectTokenType' => null, 'actorToken' => null, 'actorTokenType' => null, 'additionalOptions' => []], $config); $this->setAuthorizationUri($opts['authorizationUri']); $this->setRedirectUri($opts['redirectUri']); $this->setTokenCredentialUri($opts['tokenCredentialUri']); @@ -399,6 +406,7 @@ public function __construct(array $config) $this->subjectTokenType = $opts['subjectTokenType']; $this->actorToken = $opts['actorToken']; $this->actorTokenType = $opts['actorTokenType']; + $this->additionalOptions = $opts['additionalOptions']; $this->updateToken($opts); } /** @@ -482,9 +490,11 @@ public function toJwt(array $config = []) * Generates a request for token credentials. * * @param callable $httpHandler callback which delivers psr7 request + * @param array $headers [optional] Additional headers to pass to + * the token endpoint request. * @return RequestInterface the authorization Url. */ - public function generateCredentialsRequest(callable $httpHandler = null) + public function generateCredentialsRequest(callable $httpHandler = null, $headers = []) { $uri = $this->getTokenCredentialUri(); if (is_null($uri)) { @@ -518,6 +528,9 @@ public function generateCredentialsRequest(callable $httpHandler = null) $params['subject_token'] = $token; $params['subject_token_type'] = $this->subjectTokenType; $params += array_filter(['resource' => $this->resource, 'audience' => $this->audience, 'scope' => $this->getScope(), 'requested_token_type' => self::STS_REQUESTED_TOKEN_TYPE, 'actor_token' => $this->actorToken, 'actor_token_type' => $this->actorTokenType]); + if ($this->additionalOptions) { + $params['options'] = json_encode($this->additionalOptions); + } break; default: if (!is_null($this->getRedirectUri())) { @@ -531,21 +544,23 @@ public function generateCredentialsRequest(callable $httpHandler = null) } $params = array_merge($params, $this->getExtensionParams()); } - $headers = ['Cache-Control' => 'no-store', 'Content-Type' => 'application/x-www-form-urlencoded']; + $headers = ['Cache-Control' => 'no-store', 'Content-Type' => 'application/x-www-form-urlencoded'] + $headers; return new Request('POST', $uri, $headers, Query::build($params)); } /** * Fetches the auth tokens based on the current state. * * @param callable $httpHandler callback which delivers psr7 request + * @param array $headers [optional] If present, add these headers to the token + * endpoint request. * @return array the response */ - public function fetchAuthToken(callable $httpHandler = null) + public function fetchAuthToken(callable $httpHandler = null, $headers = []) { if (is_null($httpHandler)) { $httpHandler = HttpHandlerFactory::build(HttpClientCache::getHttpClient()); } - $response = $httpHandler($this->generateCredentialsRequest($httpHandler)); + $response = $httpHandler($this->generateCredentialsRequest($httpHandler, $headers)); $credentials = $this->parseTokenResponse($response); $this->updateToken($credentials); if (isset($credentials['scope'])) { @@ -554,6 +569,8 @@ public function fetchAuthToken(callable $httpHandler = null) return $credentials; } /** + * @deprecated + * * Obtains a key that can used to cache the results of #fetchAuthToken. * * The key is derived from the scopes. @@ -571,6 +588,15 @@ public function getCacheKey() // If scope has not set, return null to indicate no caching. return null; } + /** + * Gets this instance's SubjectTokenFetcher + * + * @return null|ExternalAccountCredentialSourceInterface + */ + public function getSubjectTokenFetcher() : ?ExternalAccountCredentialSourceInterface + { + return $this->subjectTokenFetcher; + } /** * Parses the fetched tokens. * @@ -828,6 +854,15 @@ public function getScope() } return implode(' ', $this->scope); } + /** + * Gets the subject token type + * + * @return ?string + */ + public function getSubjectTokenType() : ?string + { + return $this->subjectTokenType; + } /** * Sets the scope of the access request, expressed either as an Array or as * a space-delimited String. diff --git a/vendor/prefixed/google/auth/src/ServiceAccountSignerTrait.php b/vendor/prefixed/google/auth/src/ServiceAccountSignerTrait.php index ccd068f5f..fc6447a17 100644 --- a/vendor/prefixed/google/auth/src/ServiceAccountSignerTrait.php +++ b/vendor/prefixed/google/auth/src/ServiceAccountSignerTrait.php @@ -17,7 +17,8 @@ */ namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth; -use phpseclib\Crypt\RSA; +use Matomo\Dependencies\GoogleAnalyticsImporter\phpseclib3\Crypt\PublicKeyLoader; +use Matomo\Dependencies\GoogleAnalyticsImporter\phpseclib3\Crypt\RSA; /** * Sign a string using a Service Account private key. */ @@ -35,11 +36,9 @@ public function signBlob($stringToSign, $forceOpenssl = \false) { $privateKey = $this->auth->getSigningKey(); $signedString = ''; - if (class_exists('\\phpseclib\\Crypt\\RSA') && !$forceOpenssl) { - $rsa = new RSA(); - $rsa->loadKey($privateKey); - $rsa->setSignatureMode(RSA::SIGNATURE_PKCS1); - $rsa->setHash('sha256'); + if (class_exists(phpseclib3\Crypt\RSA::class) && !$forceOpenssl) { + $key = PublicKeyLoader::load($privateKey); + $rsa = $key->withHash('sha256')->withPadding(RSA::SIGNATURE_PKCS1); $signedString = $rsa->sign($stringToSign); } elseif (extension_loaded('openssl')) { openssl_sign($stringToSign, $signedString, $privateKey, 'sha256WithRSAEncryption'); diff --git a/vendor/prefixed/google/auth/src/UpdateMetadataTrait.php b/vendor/prefixed/google/auth/src/UpdateMetadataTrait.php index d8c3601ac..79894b923 100644 --- a/vendor/prefixed/google/auth/src/UpdateMetadataTrait.php +++ b/vendor/prefixed/google/auth/src/UpdateMetadataTrait.php @@ -26,6 +26,7 @@ */ trait UpdateMetadataTrait { + use MetricsTrait; /** * export a callback function which updates runtime metadata. * @@ -46,12 +47,16 @@ public function getUpdateMetadataFunc() */ public function updateMetadata($metadata, $authUri = null, callable $httpHandler = null) { - if (isset($metadata[self::AUTH_METADATA_KEY])) { + $metadata_copy = $metadata; + // We do need to set the service api usage metrics irrespective even if + // the auth token is set because invoking this method with auth tokens + // would mean the intention is to just explicitly set the metrics metadata. + $metadata_copy = $this->applyServiceApiUsageMetrics($metadata_copy); + if (isset($metadata_copy[self::AUTH_METADATA_KEY])) { // Auth metadata has already been set - return $metadata; + return $metadata_copy; } $result = $this->fetchAuthToken($httpHandler); - $metadata_copy = $metadata; if (isset($result['access_token'])) { $metadata_copy[self::AUTH_METADATA_KEY] = ['Bearer ' . $result['access_token']]; } elseif (isset($result['id_token'])) { diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Annotations.php b/vendor/prefixed/google/common-protos/metadata/Api/Annotations.php index ff7ebf74c..cae54d2d1 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Annotations.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Annotations.php @@ -14,7 +14,11 @@ public static function initOnce() return; } \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Http::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0ac4010a1c676f6f676c652f6170692f616e6e6f746174696f6e732e7072" . "6f746f120a676f6f676c652e6170691a20676f6f676c652f70726f746f62" . "75662f64657363726970746f722e70726f746f426e0a0e636f6d2e676f6f" . "676c652e6170694210416e6e6f746174696f6e7350726f746f50015a4167" . "6f6f676c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f67" . "6c65617069732f6170692f616e6e6f746174696f6e733b616e6e6f746174" . "696f6e73a2020447415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +Ä +google/api/annotations.proto +google.api google/protobuf/descriptor.protoBn +com.google.apiBAnnotationsProtoPZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Auth.php b/vendor/prefixed/google/common-protos/metadata/Api/Auth.php index f33af3c79..d8f2e2b58 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Api/Auth.php and b/vendor/prefixed/google/common-protos/metadata/Api/Auth.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Backend.php b/vendor/prefixed/google/common-protos/metadata/Api/Backend.php index 6977f584d..25cde17c7 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Api/Backend.php and b/vendor/prefixed/google/common-protos/metadata/Api/Backend.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Billing.php b/vendor/prefixed/google/common-protos/metadata/Api/Billing.php index c7f5099ed..a6e4c7a4d 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Billing.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Billing.php @@ -13,8 +13,16 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Annotations::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0ab4020a18676f6f676c652f6170692f62696c6c696e672e70726f746f12" . "0a676f6f676c652e6170692293010a0742696c6c696e6712450a15636f6e" . "73756d65725f64657374696e6174696f6e7318082003280b32262e676f6f" . "676c652e6170692e42696c6c696e672e42696c6c696e6744657374696e61" . "74696f6e1a410a1242696c6c696e6744657374696e6174696f6e121a0a12" . "6d6f6e69746f7265645f7265736f75726365180120012809120f0a076d65" . "7472696373180220032809426e0a0e636f6d2e676f6f676c652e61706942" . "0c42696c6c696e6750726f746f50015a45676f6f676c652e676f6c616e67" . "2e6f72672f67656e70726f746f2f676f6f676c65617069732f6170692f73" . "657276696365636f6e6669673b73657276696365636f6e666967a2020447" . "415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +´ +google/api/billing.proto +google.api"“ +BillingE +consumer_destinations ( 2&.google.api.Billing.BillingDestinationA +BillingDestination +monitored_resource (  +metrics ( Bn +com.google.apiB BillingProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Client.php b/vendor/prefixed/google/common-protos/metadata/Api/Client.php index 083ed2fbc..c8973af84 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Api/Client.php and b/vendor/prefixed/google/common-protos/metadata/Api/Client.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/ConfigChange.php b/vendor/prefixed/google/common-protos/metadata/Api/ConfigChange.php index a77717c5e..b1b7a4490 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Api/ConfigChange.php and b/vendor/prefixed/google/common-protos/metadata/Api/ConfigChange.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Consumer.php b/vendor/prefixed/google/common-protos/metadata/Api/Consumer.php index c74966e69..9f5956b2f 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Api/Consumer.php and b/vendor/prefixed/google/common-protos/metadata/Api/Consumer.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Context.php b/vendor/prefixed/google/common-protos/metadata/Api/Context.php index a7243af3a..8bdd9178e 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Context.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Context.php @@ -13,7 +13,19 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - $pool->internalAddGeneratedFile(hex2bin("0a97020a18676f6f676c652f6170692f636f6e746578742e70726f746f12" . "0a676f6f676c652e61706922310a07436f6e7465787412260a0572756c65" . "7318012003280b32172e676f6f676c652e6170692e436f6e746578745275" . "6c6522440a0b436f6e7465787452756c6512100a0873656c6563746f7218" . "012001280912110a0972657175657374656418022003280912100a087072" . "6f7669646564180320032809426e0a0e636f6d2e676f6f676c652e617069" . "420c436f6e7465787450726f746f50015a45676f6f676c652e676f6c616e" . "672e6f72672f67656e70726f746f2f676f6f676c65617069732f6170692f" . "73657276696365636f6e6669673b73657276696365636f6e666967a20204" . "47415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +á +google/api/context.proto +google.api"1 +Context& +rules ( 2.google.api.ContextRule" + ContextRule +selector (  + requested (  +provided ( " +allowed_request_extensions ( # +allowed_response_extensions ( Bn +com.google.apiB ContextProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Control.php b/vendor/prefixed/google/common-protos/metadata/Api/Control.php index 2cf24f181..71352651f 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Control.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Control.php @@ -13,7 +13,15 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - $pool->internalAddGeneratedFile(hex2bin("0abe010a18676f6f676c652f6170692f636f6e74726f6c2e70726f746f12" . "0a676f6f676c652e617069221e0a07436f6e74726f6c12130a0b656e7669" . "726f6e6d656e74180120012809426e0a0e636f6d2e676f6f676c652e6170" . "69420c436f6e74726f6c50726f746f50015a45676f6f676c652e676f6c61" . "6e672e6f72672f67656e70726f746f2f676f6f676c65617069732f617069" . "2f73657276696365636f6e6669673b73657276696365636f6e666967a202" . "0447415049620670726f746f33"), \true); + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Policy::initOnce(); + $pool->internalAddGeneratedFile(' +ñ +google/api/control.proto +google.api"Q +Control + environment ( 1 +method_policies ( 2.google.api.MethodPolicyBn +com.google.apiB ControlProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Distribution.php b/vendor/prefixed/google/common-protos/metadata/Api/Distribution.php index 21877c3c3..f5aecc6ef 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Api/Distribution.php and b/vendor/prefixed/google/common-protos/metadata/Api/Distribution.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Documentation.php b/vendor/prefixed/google/common-protos/metadata/Api/Documentation.php index cd6e74d9c..ca8216b05 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Documentation.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Documentation.php @@ -13,7 +13,26 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - $pool->internalAddGeneratedFile(hex2bin("0af6030a1e676f6f676c652f6170692f646f63756d656e746174696f6e2e" . "70726f746f120a676f6f676c652e61706922a1010a0d446f63756d656e74" . "6174696f6e120f0a0773756d6d617279180120012809121f0a0570616765" . "7318052003280b32102e676f6f676c652e6170692e50616765122c0a0572" . "756c657318032003280b321d2e676f6f676c652e6170692e446f63756d65" . "6e746174696f6e52756c65121e0a16646f63756d656e746174696f6e5f72" . "6f6f745f75726c18042001280912100a086f766572766965771802200128" . "09225b0a11446f63756d656e746174696f6e52756c6512100a0873656c65" . "63746f7218012001280912130a0b6465736372697074696f6e1802200128" . "09121f0a176465707265636174696f6e5f6465736372697074696f6e1803" . "2001280922490a0450616765120c0a046e616d65180120012809120f0a07" . "636f6e74656e7418022001280912220a0873756270616765731803200328" . "0b32102e676f6f676c652e6170692e5061676542740a0e636f6d2e676f6f" . "676c652e6170694212446f63756d656e746174696f6e50726f746f50015a" . "45676f6f676c652e676f6c616e672e6f72672f67656e70726f746f2f676f" . "6f676c65617069732f6170692f73657276696365636f6e6669673b736572" . "76696365636f6e666967a2020447415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' + +google/api/documentation.proto +google.api"» + Documentation +summary (  +pages ( 2.google.api.Page, +rules ( 2.google.api.DocumentationRule +documentation_root_url (  +service_root_url (  +overview ( "[ +DocumentationRule +selector (  + description (  +deprecation_description ( "I +Page +name (  +content ( " +subpages ( 2.google.api.PageBt +com.google.apiBDocumentationProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Endpoint.php b/vendor/prefixed/google/common-protos/metadata/Api/Endpoint.php index 552576a6e..2bf413a01 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Endpoint.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Endpoint.php @@ -13,8 +13,17 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Annotations::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0a81020a19676f6f676c652f6170692f656e64706f696e742e70726f746f" . "120a676f6f676c652e617069225f0a08456e64706f696e74120c0a046e61" . "6d65180120012809120f0a07616c696173657318022003280912100a0866" . "65617475726573180420032809120e0a0674617267657418652001280912" . "120a0a616c6c6f775f636f7273180520012808426f0a0e636f6d2e676f6f" . "676c652e617069420d456e64706f696e7450726f746f50015a45676f6f67" . "6c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c6561" . "7069732f6170692f73657276696365636f6e6669673b7365727669636563" . "6f6e666967a2020447415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +ï +google/api/endpoint.proto +google.api"M +Endpoint +name (  +aliases (  +targete (  + +allow_cors (Bo +com.google.apiB EndpointProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/ErrorReason.php b/vendor/prefixed/google/common-protos/metadata/Api/ErrorReason.php new file mode 100644 index 000000000..194533328 Binary files /dev/null and b/vendor/prefixed/google/common-protos/metadata/Api/ErrorReason.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/CelService.php b/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/CelService.php deleted file mode 100644 index 8dc417e36..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/CelService.php +++ /dev/null @@ -1,21 +0,0 @@ -internalAddGeneratedFile(hex2bin("0acb040a2a676f6f676c652f6170692f657870722f7631616c706861312f" . "63656c5f736572766963652e70726f746f1218676f6f676c652e6170692e" . "657870722e7631616c706861311a32676f6f676c652f6170692f65787072" . "2f7631616c706861312f636f6e666f726d616e63655f736572766963652e" . "70726f746f32d2020a0a43656c5365727669636512670a05506172736512" . "262e676f6f676c652e6170692e657870722e7631616c706861312e506172" . "7365526571756573741a272e676f6f676c652e6170692e657870722e7631" . "616c706861312e5061727365526573706f6e7365220dda410a63656c5f73" . "6f7572636512680a05436865636b12262e676f6f676c652e6170692e6578" . "70722e7631616c706861312e436865636b526571756573741a272e676f6f" . "676c652e6170692e657870722e7631616c706861312e436865636b526573" . "706f6e7365220eda410b7061727365645f65787072125a0a044576616c12" . "252e676f6f676c652e6170692e657870722e7631616c706861312e457661" . "6c526571756573741a262e676f6f676c652e6170692e657870722e763161" . "6c706861312e4576616c526573706f6e73652203da41001a15ca41126365" . "6c2e676f6f676c65617069732e636f6d42720a1c636f6d2e676f6f676c65" . "2e6170692e657870722e7631616c70686131420f43656c53657276696365" . "50726f746f50015a3c676f6f676c652e676f6c616e672e6f72672f67656e" . "70726f746f2f676f6f676c65617069732f6170692f657870722f7631616c" . "706861313b65787072f80101620670726f746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/Checked.php b/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/Checked.php deleted file mode 100644 index 1fc6621c7..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/Checked.php +++ /dev/null @@ -1,22 +0,0 @@ -internalAddGeneratedFile(hex2bin("0ad0140a26676f6f676c652f6170692f657870722f7631616c706861312f" . "636865636b65642e70726f746f1218676f6f676c652e6170692e65787072" . "2e7631616c706861311a1b676f6f676c652f70726f746f6275662f656d70" . "74792e70726f746f1a1c676f6f676c652f70726f746f6275662f73747275" . "63742e70726f746f22b6030a0b436865636b656445787072124e0a0d7265" . "666572656e63655f6d617018022003280b32372e676f6f676c652e617069" . "2e657870722e7631616c706861312e436865636b6564457870722e526566" . "6572656e63654d6170456e74727912440a08747970655f6d617018032003" . "280b32322e676f6f676c652e6170692e657870722e7631616c706861312e" . "436865636b6564457870722e547970654d6170456e74727912390a0b736f" . "757263655f696e666f18052001280b32242e676f6f676c652e6170692e65" . "7870722e7631616c706861312e536f75726365496e666f122c0a04657870" . "7218042001280b321e2e676f6f676c652e6170692e657870722e7631616c" . "706861312e457870721a580a115265666572656e63654d6170456e747279" . "120b0a036b657918012001280312320a0576616c756518022001280b3223" . "2e676f6f676c652e6170692e657870722e7631616c706861312e52656665" . "72656e63653a0238011a4e0a0c547970654d6170456e747279120b0a036b" . "6579180120012803122d0a0576616c756518022001280b321e2e676f6f67" . "6c652e6170692e657870722e7631616c706861312e547970653a02380122" . "820a0a045479706512250a0364796e18012001280b32162e676f6f676c65" . "2e70726f746f6275662e456d7074794800122a0a046e756c6c1802200128" . "0e321a2e676f6f676c652e70726f746f6275662e4e756c6c56616c756548" . "0012410a097072696d697469766518032001280e322c2e676f6f676c652e" . "6170692e657870722e7631616c706861312e547970652e5072696d697469" . "7665547970654800123f0a077772617070657218042001280e322c2e676f" . "6f676c652e6170692e657870722e7631616c706861312e547970652e5072" . "696d697469766554797065480012420a0a77656c6c5f6b6e6f776e180520" . "01280e322c2e676f6f676c652e6170692e657870722e7631616c70686131" . "2e547970652e57656c6c4b6e6f776e547970654800123c0a096c6973745f" . "7479706518062001280b32272e676f6f676c652e6170692e657870722e76" . "31616c706861312e547970652e4c697374547970654800123a0a086d6170" . "5f7479706518072001280b32262e676f6f676c652e6170692e657870722e" . "7631616c706861312e547970652e4d6170547970654800123f0a0866756e" . "6374696f6e18082001280b322b2e676f6f676c652e6170692e657870722e" . "7631616c706861312e547970652e46756e6374696f6e5479706548001216" . "0a0c6d6573736167655f74797065180920012809480012140a0a74797065" . "5f706172616d180a200128094800122e0a0474797065180b2001280b321e" . "2e676f6f676c652e6170692e657870722e7631616c706861312e54797065" . "480012270a056572726f72180c2001280b32162e676f6f676c652e70726f" . "746f6275662e456d707479480012440a0d61627374726163745f74797065" . "180e2001280b322b2e676f6f676c652e6170692e657870722e7631616c70" . "6861312e547970652e41627374726163745479706548001a3d0a084c6973" . "745479706512310a09656c656d5f7479706518012001280b321e2e676f6f" . "676c652e6170692e657870722e7631616c706861312e547970651a6f0a07" . "4d61705479706512300a086b65795f7479706518012001280b321e2e676f" . "6f676c652e6170692e657870722e7631616c706861312e5479706512320a" . "0a76616c75655f7479706518022001280b321e2e676f6f676c652e617069" . "2e657870722e7631616c706861312e547970651a760a0c46756e6374696f" . "6e5479706512330a0b726573756c745f7479706518012001280b321e2e67" . "6f6f676c652e6170692e657870722e7631616c706861312e547970651231" . "0a096172675f747970657318022003280b321e2e676f6f676c652e617069" . "2e657870722e7631616c706861312e547970651a550a0c41627374726163" . "7454797065120c0a046e616d6518012001280912370a0f706172616d6574" . "65725f747970657318022003280b321e2e676f6f676c652e6170692e6578" . "70722e7631616c706861312e5479706522730a0d5072696d697469766554" . "797065121e0a1a5052494d49544956455f545950455f554e535045434946" . "494544100012080a04424f4f4c100112090a05494e5436341002120a0a06" . "55494e5436341003120a0a06444f55424c451004120a0a06535452494e47" . "100512090a054259544553100622560a0d57656c6c4b6e6f776e54797065" . "121f0a1b57454c4c5f4b4e4f574e5f545950455f554e5350454349464945" . "44100012070a03414e591001120d0a0954494d455354414d501002120c0a" . "084455524154494f4e1003420b0a09747970655f6b696e6422b9040a0444" . "65636c120c0a046e616d6518012001280912390a056964656e7418022001" . "280b32282e676f6f676c652e6170692e657870722e7631616c706861312e" . "4465636c2e4964656e744465636c4800123f0a0866756e6374696f6e1803" . "2001280b322b2e676f6f676c652e6170692e657870722e7631616c706861" . "312e4465636c2e46756e6374696f6e4465636c48001a790a094964656e74" . "4465636c122c0a047479706518012001280b321e2e676f6f676c652e6170" . "692e657870722e7631616c706861312e5479706512310a0576616c756518" . "022001280b32222e676f6f676c652e6170692e657870722e7631616c7068" . "61312e436f6e7374616e74120b0a03646f631803200128091a9e020a0c46" . "756e6374696f6e4465636c12470a096f7665726c6f61647318012003280b" . "32342e676f6f676c652e6170692e657870722e7631616c706861312e4465" . "636c2e46756e6374696f6e4465636c2e4f7665726c6f61641ac4010a084f" . "7665726c6f616412130a0b6f7665726c6f61645f6964180120012809122e" . "0a06706172616d7318022003280b321e2e676f6f676c652e6170692e6578" . "70722e7631616c706861312e5479706512130a0b747970655f706172616d" . "7318032003280912330a0b726573756c745f7479706518042001280b321e" . "2e676f6f676c652e6170692e657870722e7631616c706861312e54797065" . "121c0a1469735f696e7374616e63655f66756e6374696f6e180520012808" . "120b0a03646f63180620012809420b0a096465636c5f6b696e6422610a09" . "5265666572656e6365120c0a046e616d6518012001280912130a0b6f7665" . "726c6f61645f696418032003280912310a0576616c756518042001280b32" . "222e676f6f676c652e6170692e657870722e7631616c706861312e436f6e" . "7374616e74426c0a1c636f6d2e676f6f676c652e6170692e657870722e76" . "31616c7068613142094465636c50726f746f50015a3c676f6f676c652e67" . "6f6c616e672e6f72672f67656e70726f746f2f676f6f676c65617069732f" . "6170692f657870722f7631616c706861313b65787072f80101620670726f" . "746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/ConformanceService.php b/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/ConformanceService.php deleted file mode 100644 index 6021a9d0b..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/ConformanceService.php +++ /dev/null @@ -1,25 +0,0 @@ -internalAddGeneratedFile(hex2bin("0af50e0a32676f6f676c652f6170692f657870722f7631616c706861312f" . "636f6e666f726d616e63655f736572766963652e70726f746f1218676f6f" . "676c652e6170692e657870722e7631616c706861311a26676f6f676c652f" . "6170692f657870722f7631616c706861312f636865636b65642e70726f74" . "6f1a23676f6f676c652f6170692f657870722f7631616c706861312f6576" . "616c2e70726f746f1a25676f6f676c652f6170692f657870722f7631616c" . "706861312f73796e7461782e70726f746f1a1f676f6f676c652f6170692f" . "6669656c645f6265686176696f722e70726f746f1a17676f6f676c652f72" . "70632f7374617475732e70726f746f22700a0c5061727365526571756573" . "7412170a0a63656c5f736f757263651801200128094203e0410212160a0e" . "73796e7461785f76657273696f6e18022001280912170a0f736f75726365" . "5f6c6f636174696f6e18032001280912160a0e64697361626c655f6d6163" . "726f73180420012808226e0a0d5061727365526573706f6e736512390a0b" . "7061727365645f6578707218012001280b32242e676f6f676c652e617069" . "2e657870722e7631616c706861312e5061727365644578707212220a0669" . "737375657318022003280b32122e676f6f676c652e7270632e5374617475" . "7322a7010a0c436865636b52657175657374123e0a0b7061727365645f65" . "78707218012001280b32242e676f6f676c652e6170692e657870722e7631" . "616c706861312e506172736564457870724203e0410212300a0874797065" . "5f656e7618022003280b321e2e676f6f676c652e6170692e657870722e76" . "31616c706861312e4465636c12110a09636f6e7461696e65721803200128" . "0912120a0a6e6f5f7374645f656e7618042001280822700a0d436865636b" . "526573706f6e7365123b0a0c636865636b65645f6578707218012001280b" . "32252e676f6f676c652e6170692e657870722e7631616c706861312e4368" . "65636b65644578707212220a0669737375657318022003280b32122e676f" . "6f676c652e7270632e53746174757322c6020a0b4576616c526571756573" . "74123b0a0b7061727365645f6578707218012001280b32242e676f6f676c" . "652e6170692e657870722e7631616c706861312e50617273656445787072" . "4800123d0a0c636865636b65645f6578707218022001280b32252e676f6f" . "676c652e6170692e657870722e7631616c706861312e436865636b656445" . "787072480012450a0862696e64696e677318032003280b32332e676f6f67" . "6c652e6170692e657870722e7631616c706861312e4576616c5265717565" . "73742e42696e64696e6773456e74727912110a09636f6e7461696e657218" . "04200128091a540a0d42696e64696e6773456e747279120b0a036b657918" . "012001280912320a0576616c756518022001280b32232e676f6f676c652e" . "6170692e657870722e7631616c706861312e4578707256616c75653a0238" . "01420b0a09657870725f6b696e6422670a0c4576616c526573706f6e7365" . "12330a06726573756c7418012001280b32232e676f6f676c652e6170692e" . "657870722e7631616c706861312e4578707256616c756512220a06697373" . "75657318022003280b32122e676f6f676c652e7270632e53746174757322" . "e8010a0c497373756544657461696c7312410a0873657665726974791801" . "2001280e322f2e676f6f676c652e6170692e657870722e7631616c706861" . "312e497373756544657461696c732e5365766572697479123a0a08706f73" . "6974696f6e18022001280b32282e676f6f676c652e6170692e657870722e" . "7631616c706861312e536f75726365506f736974696f6e120a0a02696418" . "0320012803224d0a08536576657269747912180a1453455645524954595f" . "554e5350454349464945441000120f0a0b4445505245434154494f4e1001" . "120b0a075741524e494e47100212090a054552524f52100332d7020a1243" . "6f6e666f726d616e63655365727669636512670a05506172736512262e67" . "6f6f676c652e6170692e657870722e7631616c706861312e506172736552" . "6571756573741a272e676f6f676c652e6170692e657870722e7631616c70" . "6861312e5061727365526573706f6e7365220dda410a63656c5f736f7572" . "636512680a05436865636b12262e676f6f676c652e6170692e657870722e" . "7631616c706861312e436865636b526571756573741a272e676f6f676c65" . "2e6170692e657870722e7631616c706861312e436865636b526573706f6e" . "7365220eda410b7061727365645f6578707212570a044576616c12252e67" . "6f6f676c652e6170692e657870722e7631616c706861312e4576616c5265" . "71756573741a262e676f6f676c652e6170692e657870722e7631616c7068" . "61312e4576616c526573706f6e736522001a15ca411263656c2e676f6f67" . "6c65617069732e636f6d427a0a1c636f6d2e676f6f676c652e6170692e65" . "7870722e7631616c706861314217436f6e666f726d616e63655365727669" . "636550726f746f50015a3c676f6f676c652e676f6c616e672e6f72672f67" . "656e70726f746f2f676f6f676c65617069732f6170692f657870722f7631" . "616c706861313b65787072f80101620670726f746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/Explain.php b/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/Explain.php deleted file mode 100644 index 946a5bd10..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/Explain.php +++ /dev/null @@ -1,20 +0,0 @@ -internalAddGeneratedFile(hex2bin("0ae9020a26676f6f676c652f6170692f657870722f7631616c706861312f" . "6578706c61696e2e70726f746f1218676f6f676c652e6170692e65787072" . "2e7631616c7068613122ab010a074578706c61696e122f0a0676616c7565" . "7318012003280b321f2e676f6f676c652e6170692e657870722e7631616c" . "706861312e56616c7565123e0a0a657870725f737465707318022003280b" . "322a2e676f6f676c652e6170692e657870722e7631616c706861312e4578" . "706c61696e2e45787072537465701a2b0a084578707253746570120a0a02" . "696418012001280312130a0b76616c75655f696e6465781802200128053a" . "021801426f0a1c636f6d2e676f6f676c652e6170692e657870722e763161" . "6c70686131420c4578706c61696e50726f746f50015a3c676f6f676c652e" . "676f6c616e672e6f72672f67656e70726f746f2f676f6f676c6561706973" . "2f6170692f657870722f7631616c706861313b65787072f8010162067072" . "6f746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/PBEval.php b/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/PBEval.php deleted file mode 100644 index ad736eba0..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/PBEval.php +++ /dev/null @@ -1,21 +0,0 @@ -internalAddGeneratedFile(hex2bin("0af8040a23676f6f676c652f6170692f657870722f7631616c706861312f" . "6576616c2e70726f746f1218676f6f676c652e6170692e657870722e7631" . "616c706861311a17676f6f676c652f7270632f7374617475732e70726f74" . "6f22a4010a094576616c537461746512330a0676616c7565731801200328" . "0b32232e676f6f676c652e6170692e657870722e7631616c706861312e45" . "78707256616c7565123b0a07726573756c747318032003280b322a2e676f" . "6f676c652e6170692e657870722e7631616c706861312e4576616c537461" . "74652e526573756c741a250a06526573756c74120c0a0465787072180120" . "012803120d0a0576616c756518022001280322b3010a094578707256616c" . "756512300a0576616c756518012001280b321f2e676f6f676c652e617069" . "2e657870722e7631616c706861312e56616c7565480012330a056572726f" . "7218022001280b32222e676f6f676c652e6170692e657870722e7631616c" . "706861312e4572726f72536574480012370a07756e6b6e6f776e18032001" . "280b32242e676f6f676c652e6170692e657870722e7631616c706861312e" . "556e6b6e6f776e536574480042060a046b696e64222e0a084572726f7253" . "657412220a066572726f727318012003280b32122e676f6f676c652e7270" . "632e537461747573221b0a0a556e6b6e6f776e536574120d0a0565787072" . "73180120032803426c0a1c636f6d2e676f6f676c652e6170692e65787072" . "2e7631616c7068613142094576616c50726f746f50015a3c676f6f676c65" . "2e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c65617069" . "732f6170692f657870722f7631616c706861313b65787072f80101620670" . "726f746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/Syntax.php b/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/Syntax.php deleted file mode 100644 index 66f078f04..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/Syntax.php +++ /dev/null @@ -1,22 +0,0 @@ -internalAddGeneratedFile(hex2bin("0ac0130a25676f6f676c652f6170692f657870722f7631616c706861312f" . "73796e7461782e70726f746f1218676f6f676c652e6170692e657870722e" . "7631616c706861311a1c676f6f676c652f70726f746f6275662f73747275" . "63742e70726f746f1a1f676f6f676c652f70726f746f6275662f74696d65" . "7374616d702e70726f746f22750a0a50617273656445787072122c0a0465" . "78707218022001280b321e2e676f6f676c652e6170692e657870722e7631" . "616c706861312e4578707212390a0b736f757263655f696e666f18032001" . "280b32242e676f6f676c652e6170692e657870722e7631616c706861312e" . "536f75726365496e666f22c50a0a0445787072120a0a0269641802200128" . "0312380a0a636f6e73745f6578707218032001280b32222e676f6f676c65" . "2e6170692e657870722e7631616c706861312e436f6e7374616e74480012" . "3a0a0a6964656e745f6578707218042001280b32242e676f6f676c652e61" . "70692e657870722e7631616c706861312e457870722e4964656e74480012" . "3c0a0b73656c6563745f6578707218052001280b32252e676f6f676c652e" . "6170692e657870722e7631616c706861312e457870722e53656c65637448" . "0012380a0963616c6c5f6578707218062001280b32232e676f6f676c652e" . "6170692e657870722e7631616c706861312e457870722e43616c6c480012" . "3e0a096c6973745f6578707218072001280b32292e676f6f676c652e6170" . "692e657870722e7631616c706861312e457870722e4372656174654c6973" . "74480012420a0b7374727563745f6578707218082001280b322b2e676f6f" . "676c652e6170692e657870722e7631616c706861312e457870722e437265" . "6174655374727563744800124a0a12636f6d70726568656e73696f6e5f65" . "78707218092001280b322c2e676f6f676c652e6170692e657870722e7631" . "616c706861312e457870722e436f6d70726568656e73696f6e48001a150a" . "054964656e74120c0a046e616d651801200128091a5b0a0653656c656374" . "122f0a076f706572616e6418012001280b321e2e676f6f676c652e617069" . "2e657870722e7631616c706861312e45787072120d0a056669656c641802" . "2001280912110a09746573745f6f6e6c791803200128081a760a0443616c" . "6c122e0a0674617267657418012001280b321e2e676f6f676c652e617069" . "2e657870722e7631616c706861312e4578707212100a0866756e6374696f" . "6e180220012809122c0a046172677318032003280b321e2e676f6f676c65" . "2e6170692e657870722e7631616c706861312e457870721a3e0a0a437265" . "6174654c69737412300a08656c656d656e747318012003280b321e2e676f" . "6f676c652e6170692e657870722e7631616c706861312e457870721a8102" . "0a0c43726561746553747275637412140a0c6d6573736167655f6e616d65" . "18012001280912420a07656e747269657318022003280b32312e676f6f67" . "6c652e6170692e657870722e7631616c706861312e457870722e43726561" . "74655374727563742e456e7472791a96010a05456e747279120a0a026964" . "18012001280312130a096669656c645f6b6579180220012809480012310a" . "076d61705f6b657918032001280b321e2e676f6f676c652e6170692e6578" . "70722e7631616c706861312e457870724800122d0a0576616c7565180420" . "01280b321e2e676f6f676c652e6170692e657870722e7631616c70686131" . "2e45787072420a0a086b65795f6b696e641ab5020a0d436f6d7072656865" . "6e73696f6e12100a08697465725f76617218012001280912320a0a697465" . "725f72616e676518022001280b321e2e676f6f676c652e6170692e657870" . "722e7631616c706861312e4578707212100a08616363755f766172180320" . "01280912310a09616363755f696e697418042001280b321e2e676f6f676c" . "652e6170692e657870722e7631616c706861312e4578707212360a0e6c6f" . "6f705f636f6e646974696f6e18052001280b321e2e676f6f676c652e6170" . "692e657870722e7631616c706861312e4578707212310a096c6f6f705f73" . "74657018062001280b321e2e676f6f676c652e6170692e657870722e7631" . "616c706861312e45787072122e0a06726573756c7418072001280b321e2e" . "676f6f676c652e6170692e657870722e7631616c706861312e4578707242" . "0b0a09657870725f6b696e6422cd020a08436f6e7374616e7412300a0a6e" . "756c6c5f76616c756518012001280e321a2e676f6f676c652e70726f746f" . "6275662e4e756c6c56616c7565480012140a0a626f6f6c5f76616c756518" . "0220012808480012150a0b696e7436345f76616c75651803200128034800" . "12160a0c75696e7436345f76616c7565180420012804480012160a0c646f" . "75626c655f76616c7565180520012801480012160a0c737472696e675f76" . "616c7565180620012809480012150a0b62797465735f76616c7565180720" . "01280c480012370a0e6475726174696f6e5f76616c756518082001280b32" . "192e676f6f676c652e70726f746f6275662e4475726174696f6e42021801" . "480012390a0f74696d657374616d705f76616c756518092001280b321a2e" . "676f6f676c652e70726f746f6275662e54696d657374616d704202180148" . "00420f0a0d636f6e7374616e745f6b696e6422e4020a0a536f7572636549" . "6e666f12160a0e73796e7461785f76657273696f6e18012001280912100a" . "086c6f636174696f6e18022001280912140a0c6c696e655f6f6666736574" . "7318032003280512460a09706f736974696f6e7318042003280b32332e67" . "6f6f676c652e6170692e657870722e7631616c706861312e536f75726365" . "496e666f2e506f736974696f6e73456e74727912490a0b6d6163726f5f63" . "616c6c7318052003280b32342e676f6f676c652e6170692e657870722e76" . "31616c706861312e536f75726365496e666f2e4d6163726f43616c6c7345" . "6e7472791a300a0e506f736974696f6e73456e747279120b0a036b657918" . "0120012803120d0a0576616c75651802200128053a0238011a510a0f4d61" . "63726f43616c6c73456e747279120b0a036b6579180120012803122d0a05" . "76616c756518022001280b321e2e676f6f676c652e6170692e657870722e" . "7631616c706861312e457870723a02380122500a0e536f75726365506f73" . "6974696f6e12100a086c6f636174696f6e180120012809120e0a066f6666" . "736574180220012805120c0a046c696e65180320012805120e0a06636f6c" . "756d6e180420012805426e0a1c636f6d2e676f6f676c652e6170692e6578" . "70722e7631616c70686131420b53796e74617850726f746f50015a3c676f" . "6f676c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c" . "65617069732f6170692f657870722f7631616c706861313b65787072f801" . "01620670726f746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/Value.php b/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/Value.php deleted file mode 100644 index 144666bec..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Alpha1/Value.php +++ /dev/null @@ -1,21 +0,0 @@ -internalAddGeneratedFile(hex2bin("0aaf070a24676f6f676c652f6170692f657870722f7631616c706861312f" . "76616c75652e70726f746f1218676f6f676c652e6170692e657870722e76" . "31616c706861311a1c676f6f676c652f70726f746f6275662f7374727563" . "742e70726f746f22c0030a0556616c756512300a0a6e756c6c5f76616c75" . "6518012001280e321a2e676f6f676c652e70726f746f6275662e4e756c6c" . "56616c7565480012140a0a626f6f6c5f76616c7565180220012808480012" . "150a0b696e7436345f76616c7565180320012803480012160a0c75696e74" . "36345f76616c7565180420012804480012160a0c646f75626c655f76616c" . "7565180520012801480012160a0c737472696e675f76616c756518062001" . "2809480012150a0b62797465735f76616c756518072001280c480012390a" . "0a656e756d5f76616c756518092001280b32232e676f6f676c652e617069" . "2e657870722e7631616c706861312e456e756d56616c75654800122c0a0c" . "6f626a6563745f76616c7565180a2001280b32142e676f6f676c652e7072" . "6f746f6275662e416e79480012370a096d61705f76616c7565180b200128" . "0b32222e676f6f676c652e6170692e657870722e7631616c706861312e4d" . "617056616c7565480012390a0a6c6973745f76616c7565180c2001280b32" . "232e676f6f676c652e6170692e657870722e7631616c706861312e4c6973" . "7456616c7565480012140a0a747970655f76616c7565180f200128094800" . "42060a046b696e6422280a09456e756d56616c7565120c0a047479706518" . "0120012809120d0a0576616c7565180220012805223c0a094c6973745661" . "6c7565122f0a0676616c75657318012003280b321f2e676f6f676c652e61" . "70692e657870722e7631616c706861312e56616c756522ac010a084d6170" . "56616c756512390a07656e747269657318012003280b32282e676f6f676c" . "652e6170692e657870722e7631616c706861312e4d617056616c75652e45" . "6e7472791a650a05456e747279122c0a036b657918012001280b321f2e67" . "6f6f676c652e6170692e657870722e7631616c706861312e56616c756512" . "2e0a0576616c756518022001280b321f2e676f6f676c652e6170692e6578" . "70722e7631616c706861312e56616c7565426d0a1c636f6d2e676f6f676c" . "652e6170692e657870722e7631616c70686131420a56616c756550726f74" . "6f50015a3c676f6f676c652e676f6c616e672e6f72672f67656e70726f74" . "6f2f676f6f676c65617069732f6170692f657870722f7631616c70686131" . "3b65787072f80101620670726f746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/Decl.php b/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/Decl.php deleted file mode 100644 index 93c66479e..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/Decl.php +++ /dev/null @@ -1,20 +0,0 @@ -internalAddGeneratedFile(hex2bin("0ab9050a22676f6f676c652f6170692f657870722f763162657461312f64" . "65636c2e70726f746f1217676f6f676c652e6170692e657870722e763162" . "6574613122a5010a044465636c120a0a026964180120012805120c0a046e" . "616d65180220012809120b0a03646f6318032001280912330a056964656e" . "7418042001280b32222e676f6f676c652e6170692e657870722e76316265" . "7461312e4964656e744465636c480012390a0866756e6374696f6e180520" . "01280b32252e676f6f676c652e6170692e657870722e763162657461312e" . "46756e6374696f6e4465636c480042060a046b696e64225c0a084465636c" . "54797065120a0a026964180120012805120c0a0474797065180220012809" . "12360a0b747970655f706172616d7318042003280b32212e676f6f676c65" . "2e6170692e657870722e763162657461312e4465636c54797065226a0a09" . "4964656e744465636c122f0a047479706518032001280b32212e676f6f67" . "6c652e6170692e657870722e763162657461312e4465636c54797065122c" . "0a0576616c756518042001280b321d2e676f6f676c652e6170692e657870" . "722e763162657461312e457870722293010a0c46756e6374696f6e446563" . "6c12300a046172677318012003280b32222e676f6f676c652e6170692e65" . "7870722e763162657461312e4964656e744465636c12360a0b7265747572" . "6e5f7479706518022001280b32212e676f6f676c652e6170692e65787072" . "2e763162657461312e4465636c5479706512190a1172656365697665725f" . "66756e6374696f6e180320012808426a0a1b636f6d2e676f6f676c652e61" . "70692e657870722e7631626574613142094465636c50726f746f50015a3b" . "676f6f676c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f" . "676c65617069732f6170692f657870722f763162657461313b65787072f8" . "0101620670726f746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/Expr.php b/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/Expr.php deleted file mode 100644 index 5bf1fd052..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/Expr.php +++ /dev/null @@ -1,21 +0,0 @@ -internalAddGeneratedFile(hex2bin("0ae60e0a22676f6f676c652f6170692f657870722f763162657461312f65" . "7870722e70726f746f1217676f6f676c652e6170692e657870722e763162" . "657461311a1c676f6f676c652f70726f746f6275662f7374727563742e70" . "726f746f228b010a0a50617273656445787072122b0a0465787072180220" . "01280b321d2e676f6f676c652e6170692e657870722e763162657461312e" . "4578707212380a0b736f757263655f696e666f18032001280b32232e676f" . "6f676c652e6170692e657870722e763162657461312e536f75726365496e" . "666f12160a0e73796e7461785f76657273696f6e18042001280922ab0a0a" . "0445787072120a0a02696418022001280512380a0c6c69746572616c5f65" . "78707218032001280b32202e676f6f676c652e6170692e657870722e7631" . "62657461312e4c69746572616c480012390a0a6964656e745f6578707218" . "042001280b32232e676f6f676c652e6170692e657870722e763162657461" . "312e457870722e4964656e744800123b0a0b73656c6563745f6578707218" . "052001280b32242e676f6f676c652e6170692e657870722e763162657461" . "312e457870722e53656c656374480012370a0963616c6c5f657870721806" . "2001280b32222e676f6f676c652e6170692e657870722e76316265746131" . "2e457870722e43616c6c4800123d0a096c6973745f657870721807200128" . "0b32282e676f6f676c652e6170692e657870722e763162657461312e4578" . "70722e4372656174654c697374480012410a0b7374727563745f65787072" . "18082001280b322a2e676f6f676c652e6170692e657870722e7631626574" . "61312e457870722e437265617465537472756374480012490a12636f6d70" . "726568656e73696f6e5f6578707218092001280b322b2e676f6f676c652e" . "6170692e657870722e763162657461312e457870722e436f6d7072656865" . "6e73696f6e48001a150a054964656e74120c0a046e616d65180120012809" . "1a5a0a0653656c656374122e0a076f706572616e6418012001280b321d2e" . "676f6f676c652e6170692e657870722e763162657461312e45787072120d" . "0a056669656c6418022001280912110a09746573745f6f6e6c7918032001" . "28081a740a0443616c6c122d0a0674617267657418012001280b321d2e67" . "6f6f676c652e6170692e657870722e763162657461312e4578707212100a" . "0866756e6374696f6e180220012809122b0a046172677318032003280b32" . "1d2e676f6f676c652e6170692e657870722e763162657461312e45787072" . "1a3d0a0a4372656174654c697374122f0a08656c656d656e747318012003" . "280b321d2e676f6f676c652e6170692e657870722e763162657461312e45" . "7870721af6010a0c437265617465537472756374120c0a04747970651801" . "2001280912410a07656e747269657318022003280b32302e676f6f676c65" . "2e6170692e657870722e763162657461312e457870722e43726561746553" . "74727563742e456e7472791a94010a05456e747279120a0a026964180120" . "01280512130a096669656c645f6b6579180220012809480012300a076d61" . "705f6b657918032001280b321d2e676f6f676c652e6170692e657870722e" . "763162657461312e457870724800122c0a0576616c756518042001280b32" . "1d2e676f6f676c652e6170692e657870722e763162657461312e45787072" . "420a0a086b65795f6b696e641ab0020a0d436f6d70726568656e73696f6e" . "12100a08697465725f76617218012001280912310a0a697465725f72616e" . "676518022001280b321d2e676f6f676c652e6170692e657870722e763162" . "657461312e4578707212100a08616363755f76617218032001280912300a" . "09616363755f696e697418042001280b321d2e676f6f676c652e6170692e" . "657870722e763162657461312e4578707212350a0e6c6f6f705f636f6e64" . "6974696f6e18052001280b321d2e676f6f676c652e6170692e657870722e" . "763162657461312e4578707212300a096c6f6f705f737465701806200128" . "0b321d2e676f6f676c652e6170692e657870722e763162657461312e4578" . "7072122d0a06726573756c7418072001280b321d2e676f6f676c652e6170" . "692e657870722e763162657461312e45787072420b0a09657870725f6b69" . "6e6422d8010a074c69746572616c12300a0a6e756c6c5f76616c75651801" . "2001280e321a2e676f6f676c652e70726f746f6275662e4e756c6c56616c" . "7565480012140a0a626f6f6c5f76616c7565180220012808480012150a0b" . "696e7436345f76616c7565180320012803480012160a0c75696e7436345f" . "76616c7565180420012804480012160a0c646f75626c655f76616c756518" . "0520012801480012160a0c737472696e675f76616c756518062001280948" . "0012150a0b62797465735f76616c756518072001280c4800420f0a0d636f" . "6e7374616e745f6b696e64426a0a1b636f6d2e676f6f676c652e6170692e" . "657870722e7631626574613142094578707250726f746f50015a3b676f6f" . "676c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c65" . "617069732f6170692f657870722f763162657461313b65787072f8010162" . "0670726f746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/PBEval.php b/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/PBEval.php deleted file mode 100644 index 81e0d7c1a..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/PBEval.php +++ /dev/null @@ -1,21 +0,0 @@ -internalAddGeneratedFile(hex2bin("0ac4050a22676f6f676c652f6170692f657870722f763162657461312f65" . "76616c2e70726f746f1217676f6f676c652e6170692e657870722e763162" . "657461311a17676f6f676c652f7270632f7374617475732e70726f746f22" . "c2010a094576616c537461746512320a0676616c75657318012003280b32" . "222e676f6f676c652e6170692e657870722e763162657461312e45787072" . "56616c7565123a0a07726573756c747318032003280b32292e676f6f676c" . "652e6170692e657870722e763162657461312e4576616c53746174652e52" . "6573756c741a450a06526573756c74122c0a046578707218012001280b32" . "1e2e676f6f676c652e6170692e657870722e763162657461312e49645265" . "66120d0a0576616c756518022001280522b0010a094578707256616c7565" . "122f0a0576616c756518012001280b321e2e676f6f676c652e6170692e65" . "7870722e763162657461312e56616c7565480012320a056572726f721802" . "2001280b32212e676f6f676c652e6170692e657870722e76316265746131" . "2e4572726f72536574480012360a07756e6b6e6f776e18032001280b3223" . "2e676f6f676c652e6170692e657870722e763162657461312e556e6b6e6f" . "776e536574480042060a046b696e64222e0a084572726f7253657412220a" . "066572726f727318012003280b32122e676f6f676c652e7270632e537461" . "747573223b0a0a556e6b6e6f776e536574122d0a05657870727318012003" . "280b321e2e676f6f676c652e6170692e657870722e763162657461312e49" . "6452656622130a054964526566120a0a026964180120012805426a0a1b63" . "6f6d2e676f6f676c652e6170692e657870722e7631626574613142094576" . "616c50726f746f50015a3b676f6f676c652e676f6c616e672e6f72672f67" . "656e70726f746f2f676f6f676c65617069732f6170692f657870722f7631" . "62657461313b65787072f80101620670726f746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/Source.php b/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/Source.php deleted file mode 100644 index 3c7db2a19..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/Source.php +++ /dev/null @@ -1,19 +0,0 @@ -internalAddGeneratedFile(hex2bin("0ab7030a24676f6f676c652f6170692f657870722f763162657461312f73" . "6f757263652e70726f746f1217676f6f676c652e6170692e657870722e76" . "31626574613122ad010a0a536f75726365496e666f12100a086c6f636174" . "696f6e18022001280912140a0c6c696e655f6f6666736574731803200328" . "0512450a09706f736974696f6e7318042003280b32322e676f6f676c652e" . "6170692e657870722e763162657461312e536f75726365496e666f2e506f" . "736974696f6e73456e7472791a300a0e506f736974696f6e73456e747279" . "120b0a036b6579180120012805120d0a0576616c75651802200128053a02" . "380122500a0e536f75726365506f736974696f6e12100a086c6f63617469" . "6f6e180120012809120e0a066f6666736574180220012805120c0a046c69" . "6e65180320012805120e0a06636f6c756d6e180420012805426c0a1b636f" . "6d2e676f6f676c652e6170692e657870722e76316265746131420b536f75" . "72636550726f746f50015a3b676f6f676c652e676f6c616e672e6f72672f" . "67656e70726f746f2f676f6f676c65617069732f6170692f657870722f76" . "3162657461313b65787072f80101620670726f746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/Value.php b/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/Value.php deleted file mode 100644 index f0e789d94..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Api/Expr/V1Beta1/Value.php +++ /dev/null @@ -1,21 +0,0 @@ -internalAddGeneratedFile(hex2bin("0aa4070a23676f6f676c652f6170692f657870722f763162657461312f76" . "616c75652e70726f746f1217676f6f676c652e6170692e657870722e7631" . "62657461311a1c676f6f676c652f70726f746f6275662f7374727563742e" . "70726f746f22bd030a0556616c756512300a0a6e756c6c5f76616c756518" . "012001280e321a2e676f6f676c652e70726f746f6275662e4e756c6c5661" . "6c7565480012140a0a626f6f6c5f76616c7565180220012808480012150a" . "0b696e7436345f76616c7565180320012803480012160a0c75696e743634" . "5f76616c7565180420012804480012160a0c646f75626c655f76616c7565" . "180520012801480012160a0c737472696e675f76616c7565180620012809" . "480012150a0b62797465735f76616c756518072001280c480012380a0a65" . "6e756d5f76616c756518092001280b32222e676f6f676c652e6170692e65" . "7870722e763162657461312e456e756d56616c75654800122c0a0c6f626a" . "6563745f76616c7565180a2001280b32142e676f6f676c652e70726f746f" . "6275662e416e79480012360a096d61705f76616c7565180b2001280b3221" . "2e676f6f676c652e6170692e657870722e763162657461312e4d61705661" . "6c7565480012380a0a6c6973745f76616c7565180c2001280b32222e676f" . "6f676c652e6170692e657870722e763162657461312e4c69737456616c75" . "65480012140a0a747970655f76616c7565180f20012809480042060a046b" . "696e6422280a09456e756d56616c7565120c0a0474797065180120012809" . "120d0a0576616c7565180220012805223b0a094c69737456616c7565122e" . "0a0676616c75657318012003280b321e2e676f6f676c652e6170692e6578" . "70722e763162657461312e56616c756522a9010a084d617056616c756512" . "380a07656e747269657318012003280b32272e676f6f676c652e6170692e" . "657870722e763162657461312e4d617056616c75652e456e7472791a630a" . "05456e747279122b0a036b657918012001280b321e2e676f6f676c652e61" . "70692e657870722e763162657461312e56616c7565122d0a0576616c7565" . "18022001280b321e2e676f6f676c652e6170692e657870722e7631626574" . "61312e56616c7565426b0a1b636f6d2e676f6f676c652e6170692e657870" . "722e76316265746131420a56616c756550726f746f50015a3b676f6f676c" . "652e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c656170" . "69732f6170692f657870722f763162657461313b65787072f80101620670" . "726f746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/FieldBehavior.php b/vendor/prefixed/google/common-protos/metadata/Api/FieldBehavior.php index d0ab5c28b..cdf1cc337 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Api/FieldBehavior.php and b/vendor/prefixed/google/common-protos/metadata/Api/FieldBehavior.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/FieldInfo.php b/vendor/prefixed/google/common-protos/metadata/Api/FieldInfo.php new file mode 100644 index 000000000..dbcffa554 Binary files /dev/null and b/vendor/prefixed/google/common-protos/metadata/Api/FieldInfo.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Http.php b/vendor/prefixed/google/common-protos/metadata/Api/Http.php index dc799384b..b1e1023b0 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Api/Http.php and b/vendor/prefixed/google/common-protos/metadata/Api/Http.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Httpbody.php b/vendor/prefixed/google/common-protos/metadata/Api/Httpbody.php index 5465815ce..c91007783 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Httpbody.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Httpbody.php @@ -14,7 +14,16 @@ public static function initOnce() return; } \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Any::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0af0010a19676f6f676c652f6170692f68747470626f64792e70726f746f" . "120a676f6f676c652e61706922580a0848747470426f647912140a0c636f" . "6e74656e745f74797065180120012809120c0a046461746118022001280c" . "12280a0a657874656e73696f6e7318032003280b32142e676f6f676c652e" . "70726f746f6275662e416e7942650a0e636f6d2e676f6f676c652e617069" . "420d48747470426f647950726f746f50015a3b676f6f676c652e676f6c61" . "6e672e6f72672f67656e70726f746f2f676f6f676c65617069732f617069" . "2f68747470626f64793b68747470626f6479a2020447415049620670726f" . "746f33"), \true); + $pool->internalAddGeneratedFile(' +ó +google/api/httpbody.proto +google.api"X +HttpBody + content_type (  +data ( ( + +extensions ( 2.google.protobuf.AnyBh +com.google.apiB HttpBodyProtoPZ;google.golang.org/genproto/googleapis/api/httpbody;httpbodyø¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Label.php b/vendor/prefixed/google/common-protos/metadata/Api/Label.php index a5c50b963..88a20508f 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Api/Label.php and b/vendor/prefixed/google/common-protos/metadata/Api/Label.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/LaunchStage.php b/vendor/prefixed/google/common-protos/metadata/Api/LaunchStage.php index 5fb738e02..4dd6d34e9 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Api/LaunchStage.php and b/vendor/prefixed/google/common-protos/metadata/Api/LaunchStage.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Log.php b/vendor/prefixed/google/common-protos/metadata/Api/Log.php index 591dc645a..fec16fe6a 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Log.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Log.php @@ -14,7 +14,16 @@ public static function initOnce() return; } \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Label::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0a8d020a14676f6f676c652f6170692f6c6f672e70726f746f120a676f6f" . "676c652e61706922750a0d4c6f6744657363726970746f72120c0a046e61" . "6d65180120012809122b0a066c6162656c7318022003280b321b2e676f6f" . "676c652e6170692e4c6162656c44657363726970746f7212130a0b646573" . "6372697074696f6e18032001280912140a0c646973706c61795f6e616d65" . "180420012809426a0a0e636f6d2e676f6f676c652e61706942084c6f6750" . "726f746f50015a45676f6f676c652e676f6c616e672e6f72672f67656e70" . "726f746f2f676f6f676c65617069732f6170692f73657276696365636f6e" . "6669673b73657276696365636f6e666967a2020447415049620670726f74" . "6f33"), \true); + $pool->internalAddGeneratedFile(' + +google/api/log.proto +google.api"u + LogDescriptor +name ( + +labels ( 2.google.api.LabelDescriptor + description (  + display_name ( Bj +com.google.apiBLogProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Logging.php b/vendor/prefixed/google/common-protos/metadata/Api/Logging.php index bced987ff..b50761cea 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Logging.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Logging.php @@ -13,8 +13,17 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Annotations::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0af8020a18676f6f676c652f6170692f6c6f6767696e672e70726f746f12" . "0a676f6f676c652e61706922d7010a074c6f6767696e6712450a1570726f" . "64756365725f64657374696e6174696f6e7318012003280b32262e676f6f" . "676c652e6170692e4c6f6767696e672e4c6f6767696e6744657374696e61" . "74696f6e12450a15636f6e73756d65725f64657374696e6174696f6e7318" . "022003280b32262e676f6f676c652e6170692e4c6f6767696e672e4c6f67" . "67696e6744657374696e6174696f6e1a3e0a124c6f6767696e6744657374" . "696e6174696f6e121a0a126d6f6e69746f7265645f7265736f7572636518" . "0320012809120c0a046c6f6773180120032809426e0a0e636f6d2e676f6f" . "676c652e617069420c4c6f6767696e6750726f746f50015a45676f6f676c" . "652e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c656170" . "69732f6170692f73657276696365636f6e6669673b73657276696365636f" . "6e666967a2020447415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +ø +google/api/logging.proto +google.api"× +LoggingE +producer_destinations ( 2&.google.api.Logging.LoggingDestinationE +consumer_destinations ( 2&.google.api.Logging.LoggingDestination> +LoggingDestination +monitored_resource (  +logs ( Bn +com.google.apiB LoggingProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Metric.php b/vendor/prefixed/google/common-protos/metadata/Api/Metric.php index b8c14ac8a..6eb5f5c00 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Api/Metric.php and b/vendor/prefixed/google/common-protos/metadata/Api/Metric.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/MonitoredResource.php b/vendor/prefixed/google/common-protos/metadata/Api/MonitoredResource.php index 707b11323..2f3f4237f 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/MonitoredResource.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/MonitoredResource.php @@ -14,8 +14,32 @@ public static function initOnce() return; } \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Label::initOnce(); + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\LaunchStage::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Struct::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0ac1050a23676f6f676c652f6170692f6d6f6e69746f7265645f7265736f" . "757263652e70726f746f120a676f6f676c652e6170691a1c676f6f676c65" . "2f70726f746f6275662f7374727563742e70726f746f2291010a1b4d6f6e" . "69746f7265645265736f7572636544657363726970746f72120c0a046e61" . "6d65180520012809120c0a047479706518012001280912140a0c64697370" . "6c61795f6e616d6518022001280912130a0b6465736372697074696f6e18" . "0320012809122b0a066c6162656c7318042003280b321b2e676f6f676c65" . "2e6170692e4c6162656c44657363726970746f72228b010a114d6f6e6974" . "6f7265645265736f75726365120c0a047479706518012001280912390a06" . "6c6162656c7318022003280b32292e676f6f676c652e6170692e4d6f6e69" . "746f7265645265736f757263652e4c6162656c73456e7472791a2d0a0b4c" . "6162656c73456e747279120b0a036b6579180120012809120d0a0576616c" . "75651802200128093a02380122ca010a194d6f6e69746f7265645265736f" . "757263654d65746164617461122e0a0d73797374656d5f6c6162656c7318" . "012001280b32172e676f6f676c652e70726f746f6275662e537472756374" . "124a0a0b757365725f6c6162656c7318022003280b32352e676f6f676c65" . "2e6170692e4d6f6e69746f7265645265736f757263654d65746164617461" . "2e557365724c6162656c73456e7472791a310a0f557365724c6162656c73" . "456e747279120b0a036b6579180120012809120d0a0576616c7565180220" . "0128093a02380142790a0e636f6d2e676f6f676c652e61706942164d6f6e" . "69746f7265645265736f7572636550726f746f50015a43676f6f676c652e" . "676f6c616e672e6f72672f67656e70726f746f2f676f6f676c6561706973" . "2f6170692f6d6f6e69746f7265647265733b6d6f6e69746f726564726573" . "f80101a2020447415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' + +#google/api/monitored_resource.proto +google.apigoogle/api/launch_stage.protogoogle/protobuf/struct.proto"À +MonitoredResourceDescriptor +name (  +type (  + display_name (  + description ( + +labels ( 2.google.api.LabelDescriptor- + launch_stage (2.google.api.LaunchStage"‹ +MonitoredResource +type ( 9 +labels ( 2).google.api.MonitoredResource.LabelsEntry- + LabelsEntry +key (  +value ( :8"Ê +MonitoredResourceMetadata. + system_labels ( 2.google.protobuf.StructJ + user_labels ( 25.google.api.MonitoredResourceMetadata.UserLabelsEntry1 +UserLabelsEntry +key (  +value ( :8By +com.google.apiBMonitoredResourceProtoPZCgoogle.golang.org/genproto/googleapis/api/monitoredres;monitoredresø¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Monitoring.php b/vendor/prefixed/google/common-protos/metadata/Api/Monitoring.php index 843320328..0cce50ab5 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Monitoring.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Monitoring.php @@ -13,8 +13,18 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Annotations::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0a93030a1b676f6f676c652f6170692f6d6f6e69746f72696e672e70726f" . "746f120a676f6f676c652e61706922ec010a0a4d6f6e69746f72696e6712" . "4b0a1570726f64756365725f64657374696e6174696f6e7318012003280b" . "322c2e676f6f676c652e6170692e4d6f6e69746f72696e672e4d6f6e6974" . "6f72696e6744657374696e6174696f6e124b0a15636f6e73756d65725f64" . "657374696e6174696f6e7318022003280b322c2e676f6f676c652e617069" . "2e4d6f6e69746f72696e672e4d6f6e69746f72696e6744657374696e6174" . "696f6e1a440a154d6f6e69746f72696e6744657374696e6174696f6e121a" . "0a126d6f6e69746f7265645f7265736f75726365180120012809120f0a07" . "6d65747269637318022003280942710a0e636f6d2e676f6f676c652e6170" . "69420f4d6f6e69746f72696e6750726f746f50015a45676f6f676c652e67" . "6f6c616e672e6f72672f67656e70726f746f2f676f6f676c65617069732f" . "6170692f73657276696365636f6e6669673b73657276696365636f6e6669" . "67a2020447415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +“ +google/api/monitoring.proto +google.api"ì + +MonitoringK +producer_destinations ( 2,.google.api.Monitoring.MonitoringDestinationK +consumer_destinations ( 2,.google.api.Monitoring.MonitoringDestinationD +MonitoringDestination +monitored_resource (  +metrics ( Bq +com.google.apiBMonitoringProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Policy.php b/vendor/prefixed/google/common-protos/metadata/Api/Policy.php new file mode 100644 index 000000000..f7a9cc94a --- /dev/null +++ b/vendor/prefixed/google/common-protos/metadata/Api/Policy.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile(' +ë +google/api/policy.proto +google.api google/protobuf/descriptor.proto"S + FieldPolicy +selector (  +resource_permission (  + resource_type ( "S + MethodPolicy +selector ( 1 +request_policies ( 2.google.api.FieldPolicyBp +com.google.apiB PolicyProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigø¢GAPIbproto3', \true); + static::$is_initialized = \true; + } +} diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Quota.php b/vendor/prefixed/google/common-protos/metadata/Api/Quota.php index dfba1a61a..47a3d784a 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Quota.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Quota.php @@ -13,8 +13,38 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Annotations::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0aa5050a16676f6f676c652f6170692f71756f74612e70726f746f120a67" . "6f6f676c652e617069225d0a0551756f746112260a066c696d6974731803" . "2003280b32162e676f6f676c652e6170692e51756f74614c696d6974122c" . "0a0c6d65747269635f72756c657318042003280b32162e676f6f676c652e" . "6170692e4d657472696352756c652291010a0a4d657472696352756c6512" . "100a0873656c6563746f72180120012809123d0a0c6d65747269635f636f" . "73747318022003280b32272e676f6f676c652e6170692e4d657472696352" . "756c652e4d6574726963436f737473456e7472791a320a104d6574726963" . "436f737473456e747279120b0a036b6579180120012809120d0a0576616c" . "75651802200128033a0238012295020a0a51756f74614c696d6974120c0a" . "046e616d6518062001280912130a0b6465736372697074696f6e18022001" . "280912150a0d64656661756c745f6c696d697418032001280312110a096d" . "61785f6c696d697418042001280312110a09667265655f74696572180720" . "01280312100a086475726174696f6e180520012809120e0a066d65747269" . "63180820012809120c0a04756e697418092001280912320a0676616c7565" . "73180a2003280b32222e676f6f676c652e6170692e51756f74614c696d69" . "742e56616c756573456e74727912140a0c646973706c61795f6e616d6518" . "0c200128091a2d0a0b56616c756573456e747279120b0a036b6579180120" . "012809120d0a0576616c75651802200128033a023801426c0a0e636f6d2e" . "676f6f676c652e617069420a51756f746150726f746f50015a45676f6f67" . "6c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c6561" . "7069732f6170692f73657276696365636f6e6669673b7365727669636563" . "6f6e666967a2020447415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +¥ +google/api/quota.proto +google.api"] +Quota& +limits ( 2.google.api.QuotaLimit, + metric_rules ( 2.google.api.MetricRule"‘ + +MetricRule +selector ( = + metric_costs ( 2\'.google.api.MetricRule.MetricCostsEntry2 +MetricCostsEntry +key (  +value (:8"• + +QuotaLimit +name (  + description (  + default_limit ( + max_limit ( + free_tier ( +duration (  +metric (  +unit ( 2 +values + ( 2".google.api.QuotaLimit.ValuesEntry + display_name ( - + ValuesEntry +key (  +value (:8Bl +com.google.apiB +QuotaProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Resource.php b/vendor/prefixed/google/common-protos/metadata/Api/Resource.php index 97e4c2f0d..5f9f528e3 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Api/Resource.php and b/vendor/prefixed/google/common-protos/metadata/Api/Resource.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Service.php b/vendor/prefixed/google/common-protos/metadata/Api/Service.php index 4b074f079..247cda576 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Service.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Service.php @@ -13,10 +13,10 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Annotations::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Auth::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Backend::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Billing::initOnce(); + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Context::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Control::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Documentation::initOnce(); @@ -34,7 +34,42 @@ public static function initOnce() \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Api::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Type::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Wrappers::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0aa10d0a18676f6f676c652f6170692f736572766963652e70726f746f12" . "0a676f6f676c652e6170691a15676f6f676c652f6170692f617574682e70" . "726f746f1a18676f6f676c652f6170692f6261636b656e642e70726f746f" . "1a18676f6f676c652f6170692f62696c6c696e672e70726f746f1a18676f" . "6f676c652f6170692f636f6e746578742e70726f746f1a18676f6f676c65" . "2f6170692f636f6e74726f6c2e70726f746f1a1e676f6f676c652f617069" . "2f646f63756d656e746174696f6e2e70726f746f1a19676f6f676c652f61" . "70692f656e64706f696e742e70726f746f1a15676f6f676c652f6170692f" . "687474702e70726f746f1a14676f6f676c652f6170692f6c6f672e70726f" . "746f1a18676f6f676c652f6170692f6c6f6767696e672e70726f746f1a17" . "676f6f676c652f6170692f6d65747269632e70726f746f1a23676f6f676c" . "652f6170692f6d6f6e69746f7265645f7265736f757263652e70726f746f" . "1a1b676f6f676c652f6170692f6d6f6e69746f72696e672e70726f746f1a" . "16676f6f676c652f6170692f71756f74612e70726f746f1a1c676f6f676c" . "652f6170692f736f757263655f696e666f2e70726f746f1a21676f6f676c" . "652f6170692f73797374656d5f706172616d657465722e70726f746f1a16" . "676f6f676c652f6170692f75736167652e70726f746f1a19676f6f676c65" . "2f70726f746f6275662f6170692e70726f746f1a1a676f6f676c652f7072" . "6f746f6275662f747970652e70726f746f1a1e676f6f676c652f70726f74" . "6f6275662f77726170706572732e70726f746f22dc070a07536572766963" . "6512340a0e636f6e6669675f76657273696f6e18142001280b321c2e676f" . "6f676c652e70726f746f6275662e55496e74333256616c7565120c0a046e" . "616d65180120012809120a0a026964182120012809120d0a057469746c65" . "180220012809121b0a1370726f64756365725f70726f6a6563745f696418" . "162001280912220a046170697318032003280b32142e676f6f676c652e70" . "726f746f6275662e41706912240a05747970657318042003280b32152e67" . "6f6f676c652e70726f746f6275662e5479706512240a05656e756d731805" . "2003280b32152e676f6f676c652e70726f746f6275662e456e756d12300a" . "0d646f63756d656e746174696f6e18062001280b32192e676f6f676c652e" . "6170692e446f63756d656e746174696f6e12240a076261636b656e641808" . "2001280b32132e676f6f676c652e6170692e4261636b656e64121e0a0468" . "74747018092001280b32102e676f6f676c652e6170692e4874747012200a" . "0571756f7461180a2001280b32112e676f6f676c652e6170692e51756f74" . "6112320a0e61757468656e7469636174696f6e180b2001280b321a2e676f" . "6f676c652e6170692e41757468656e7469636174696f6e12240a07636f6e" . "74657874180c2001280b32132e676f6f676c652e6170692e436f6e746578" . "7412200a057573616765180f2001280b32112e676f6f676c652e6170692e" . "557361676512270a09656e64706f696e747318122003280b32142e676f6f" . "676c652e6170692e456e64706f696e7412240a07636f6e74726f6c181520" . "01280b32132e676f6f676c652e6170692e436f6e74726f6c12270a046c6f" . "677318172003280b32192e676f6f676c652e6170692e4c6f674465736372" . "6970746f72122d0a076d65747269637318182003280b321c2e676f6f676c" . "652e6170692e4d657472696344657363726970746f7212440a136d6f6e69" . "746f7265645f7265736f757263657318192003280b32272e676f6f676c65" . "2e6170692e4d6f6e69746f7265645265736f757263654465736372697074" . "6f7212240a0762696c6c696e67181a2001280b32132e676f6f676c652e61" . "70692e42696c6c696e6712240a076c6f6767696e67181b2001280b32132e" . "676f6f676c652e6170692e4c6f6767696e67122a0a0a6d6f6e69746f7269" . "6e67181c2001280b32162e676f6f676c652e6170692e4d6f6e69746f7269" . "6e6712370a1173797374656d5f706172616d6574657273181d2001280b32" . "1c2e676f6f676c652e6170692e53797374656d506172616d657465727312" . "2b0a0b736f757263655f696e666f18252001280b32162e676f6f676c652e" . "6170692e536f75726365496e666f4a0408651066426e0a0e636f6d2e676f" . "6f676c652e617069420c5365727669636550726f746f50015a45676f6f67" . "6c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c6561" . "7069732f6170692f73657276696365636f6e6669673b7365727669636563" . "6f6e666967a2020447415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +É +google/api/service.proto +google.apigoogle/api/backend.protogoogle/api/billing.protogoogle/api/client.protogoogle/api/context.protogoogle/api/control.protogoogle/api/documentation.protogoogle/api/endpoint.protogoogle/api/http.protogoogle/api/log.protogoogle/api/logging.protogoogle/api/metric.proto#google/api/monitored_resource.protogoogle/api/monitoring.protogoogle/api/quota.protogoogle/api/source_info.proto!google/api/system_parameter.protogoogle/api/usage.protogoogle/protobuf/api.protogoogle/protobuf/type.protogoogle/protobuf/wrappers.proto"‚ +Service +name (  +title (  +producer_project_id (  + +id! ( " +apis ( 2.google.protobuf.Api$ +types ( 2.google.protobuf.Type$ +enums ( 2.google.protobuf.Enum0 + documentation ( 2.google.api.Documentation$ +backend ( 2.google.api.Backend +http ( 2.google.api.Http +quota + ( 2.google.api.Quota2 +authentication ( 2.google.api.Authentication$ +context ( 2.google.api.Context +usage ( 2.google.api.Usage\' + endpoints ( 2.google.api.Endpoint$ +control ( 2.google.api.Control\' +logs ( 2.google.api.LogDescriptor- +metrics ( 2.google.api.MetricDescriptorD +monitored_resources ( 2\'.google.api.MonitoredResourceDescriptor$ +billing ( 2.google.api.Billing$ +logging ( 2.google.api.Logging* + +monitoring ( 2.google.api.Monitoring7 +system_parameters ( 2.google.api.SystemParameters+ + source_info% ( 2.google.api.SourceInfo* + +publishing- ( 2.google.api.Publishing4 +config_version ( 2.google.protobuf.UInt32ValueBn +com.google.apiB ServiceProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/SourceInfo.php b/vendor/prefixed/google/common-protos/metadata/Api/SourceInfo.php index a5d01a16b..f7d4cd219 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/SourceInfo.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/SourceInfo.php @@ -14,7 +14,14 @@ public static function initOnce() return; } \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Any::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0adf010a1c676f6f676c652f6170692f736f757263655f696e666f2e7072" . "6f746f120a676f6f676c652e61706922380a0a536f75726365496e666f12" . "2a0a0c736f757263655f66696c657318012003280b32142e676f6f676c65" . "2e70726f746f6275662e416e7942710a0e636f6d2e676f6f676c652e6170" . "69420f536f75726365496e666f50726f746f50015a45676f6f676c652e67" . "6f6c616e672e6f72672f67656e70726f746f2f676f6f676c65617069732f" . "6170692f73657276696365636f6e6669673b73657276696365636f6e6669" . "67a2020447415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +ß +google/api/source_info.proto +google.api"8 + +SourceInfo* + source_files ( 2.google.protobuf.AnyBq +com.google.apiBSourceInfoProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/SystemParameter.php b/vendor/prefixed/google/common-protos/metadata/Api/SystemParameter.php index 8635b37b4..8a118edf7 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/SystemParameter.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/SystemParameter.php @@ -13,7 +13,21 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - $pool->internalAddGeneratedFile(hex2bin("0aa0030a21676f6f676c652f6170692f73797374656d5f706172616d6574" . "65722e70726f746f120a676f6f676c652e61706922420a1053797374656d" . "506172616d6574657273122e0a0572756c657318012003280b321f2e676f" . "6f676c652e6170692e53797374656d506172616d6574657252756c652258" . "0a1353797374656d506172616d6574657252756c6512100a0873656c6563" . "746f72180120012809122f0a0a706172616d657465727318022003280b32" . "1b2e676f6f676c652e6170692e53797374656d506172616d657465722251" . "0a0f53797374656d506172616d65746572120c0a046e616d651801200128" . "0912130a0b687474705f686561646572180220012809121b0a1375726c5f" . "71756572795f706172616d6574657218032001280942760a0e636f6d2e67" . "6f6f676c652e617069421453797374656d506172616d6574657250726f74" . "6f50015a45676f6f676c652e676f6c616e672e6f72672f67656e70726f74" . "6f2f676f6f676c65617069732f6170692f73657276696365636f6e666967" . "3b73657276696365636f6e666967a2020447415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +  +!google/api/system_parameter.proto +google.api"B +SystemParameters. +rules ( 2.google.api.SystemParameterRule"X +SystemParameterRule +selector ( / + +parameters ( 2.google.api.SystemParameter"Q +SystemParameter +name (  + http_header (  +url_query_parameter ( Bv +com.google.apiBSystemParameterProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Usage.php b/vendor/prefixed/google/common-protos/metadata/Api/Usage.php index bafd7941f..5f33806e5 100644 --- a/vendor/prefixed/google/common-protos/metadata/Api/Usage.php +++ b/vendor/prefixed/google/common-protos/metadata/Api/Usage.php @@ -13,8 +13,20 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Annotations::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0ae5020a16676f6f676c652f6170692f75736167652e70726f746f120a67" . "6f6f676c652e617069226a0a05557361676512140a0c726571756972656d" . "656e747318012003280912240a0572756c657318062003280b32152e676f" . "6f676c652e6170692e557361676552756c6512250a1d70726f6475636572" . "5f6e6f74696669636174696f6e5f6368616e6e656c180720012809225d0a" . "09557361676552756c6512100a0873656c6563746f721801200128091220" . "0a18616c6c6f775f756e726567697374657265645f63616c6c7318022001" . "2808121c0a14736b69705f736572766963655f636f6e74726f6c18032001" . "2808426c0a0e636f6d2e676f6f676c652e617069420a557361676550726f" . "746f50015a45676f6f676c652e676f6c616e672e6f72672f67656e70726f" . "746f2f676f6f676c65617069732f6170692f73657276696365636f6e6669" . "673b73657276696365636f6e666967a2020447415049620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +å +google/api/usage.proto +google.api"j +Usage + requirements ( $ +rules ( 2.google.api.UsageRule% +producer_notification_channel ( "] + UsageRule +selector (  +allow_unregistered_calls ( +skip_service_control (Bl +com.google.apiB +UsageProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Api/Visibility.php b/vendor/prefixed/google/common-protos/metadata/Api/Visibility.php new file mode 100644 index 000000000..cb80726f9 --- /dev/null +++ b/vendor/prefixed/google/common-protos/metadata/Api/Visibility.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile(' +µ +google/api/visibility.proto +google.api google/protobuf/descriptor.proto"7 + +Visibility) +rules ( 2.google.api.VisibilityRule"7 +VisibilityRule +selector (  + restriction ( Bn +com.google.apiBVisibilityProtoPZ?google.golang.org/genproto/googleapis/api/visibility;visibilityø¢GAPIbproto3', \true); + static::$is_initialized = \true; + } +} diff --git a/vendor/prefixed/google/common-protos/metadata/Iam/V1/IamPolicy.php b/vendor/prefixed/google/common-protos/metadata/Iam/V1/IamPolicy.php index bec3e68ca..21713c202 100644 --- a/vendor/prefixed/google/common-protos/metadata/Iam/V1/IamPolicy.php +++ b/vendor/prefixed/google/common-protos/metadata/Iam/V1/IamPolicy.php @@ -13,13 +13,36 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Iam\V1\Options::initOnce(); - \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Iam\V1\Policy::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Annotations::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\FieldBehavior::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Resource::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0ad3080a1e676f6f676c652f69616d2f76312f69616d5f706f6c6963792e" . "70726f746f120d676f6f676c652e69616d2e76311a1a676f6f676c652f69" . "616d2f76312f706f6c6963792e70726f746f1a1c676f6f676c652f617069" . "2f616e6e6f746174696f6e732e70726f746f1a17676f6f676c652f617069" . "2f636c69656e742e70726f746f1a1f676f6f676c652f6170692f6669656c" . "645f6265686176696f722e70726f746f1a19676f6f676c652f6170692f72" . "65736f757263652e70726f746f225e0a1353657449616d506f6c69637952" . "657175657374121b0a087265736f757263651801200128094209e04102fa" . "41030a012a122a0a06706f6c69637918022001280b32152e676f6f676c65" . "2e69616d2e76312e506f6c6963794203e0410222640a1347657449616d50" . "6f6c69637952657175657374121b0a087265736f75726365180120012809" . "4209e04102fa41030a012a12300a076f7074696f6e7318022001280b321f" . "2e676f6f676c652e69616d2e76312e476574506f6c6963794f7074696f6e" . "7322520a195465737449616d5065726d697373696f6e7352657175657374" . "121b0a087265736f757263651801200128094209e04102fa41030a012a12" . "180a0b7065726d697373696f6e731802200328094203e0410222310a1a54" . "65737449616d5065726d697373696f6e73526573706f6e736512130a0b70" . "65726d697373696f6e7318012003280932b4030a0949414d506f6c696379" . "12740a0c53657449616d506f6c69637912222e676f6f676c652e69616d2e" . "76312e53657449616d506f6c696379526571756573741a152e676f6f676c" . "652e69616d2e76312e506f6c696379222982d3e4930223221e2f76312f7b" . "7265736f757263653d2a2a7d3a73657449616d506f6c6963793a012a1274" . "0a0c47657449616d506f6c69637912222e676f6f676c652e69616d2e7631" . "2e47657449616d506f6c696379526571756573741a152e676f6f676c652e" . "69616d2e76312e506f6c696379222982d3e4930223221e2f76312f7b7265" . "736f757263653d2a2a7d3a67657449616d506f6c6963793a012a129a010a" . "125465737449616d5065726d697373696f6e7312282e676f6f676c652e69" . "616d2e76312e5465737449616d5065726d697373696f6e73526571756573" . "741a292e676f6f676c652e69616d2e76312e5465737449616d5065726d69" . "7373696f6e73526573706f6e7365222f82d3e493022922242f76312f7b72" . "65736f757263653d2a2a7d3a7465737449616d5065726d697373696f6e73" . "3a012a1a1eca411b69616d2d6d6574612d6170692e676f6f676c65617069" . "732e636f6d4286010a11636f6d2e676f6f676c652e69616d2e7631420e49" . "616d506f6c69637950726f746f50015a30676f6f676c652e676f6c616e67" . "2e6f72672f67656e70726f746f2f676f6f676c65617069732f69616d2f76" . "313b69616df80101aa0213476f6f676c652e436c6f75642e49616d2e5631" . "ca0213476f6f676c655c436c6f75645c49616d5c5631620670726f746f33"), \true); + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Iam\V1\Options::initOnce(); + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Iam\V1\Policy::initOnce(); + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\FieldMask::initOnce(); + $pool->internalAddGeneratedFile(' +ž +google/iam/v1/iam_policy.proto google.iam.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/iam/v1/options.protogoogle/iam/v1/policy.proto google/protobuf/field_mask.proto" +SetIamPolicyRequest +resource ( B àAúA +** +policy ( 2.google.iam.v1.PolicyBàA/ + update_mask ( 2.google.protobuf.FieldMask"d +GetIamPolicyRequest +resource ( B àAúA +*0 +options ( 2.google.iam.v1.GetPolicyOptions"R +TestIamPermissionsRequest +resource ( B àAúA +* + permissions ( BàA"1 +TestIamPermissionsResponse + permissions ( 2´ + IAMPolicyt + SetIamPolicy".google.iam.v1.SetIamPolicyRequest.google.iam.v1.Policy")‚Óä“#"/v1/{resource=**}:setIamPolicy:*t + GetIamPolicy".google.iam.v1.GetIamPolicyRequest.google.iam.v1.Policy")‚Óä“#"/v1/{resource=**}:getIamPolicy:*š +TestIamPermissions(.google.iam.v1.TestIamPermissionsRequest).google.iam.v1.TestIamPermissionsResponse"/‚Óä“)"$/v1/{resource=**}:testIamPermissions:*ÊAiam-meta-api.googleapis.comB +com.google.iam.v1BIamPolicyProtoPZ)cloud.google.com/go/iam/apiv1/iampb;iampbøªGoogle.Cloud.Iam.V1ÊGoogle\\Cloud\\Iam\\V1bproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Iam/V1/Logging/AuditData.php b/vendor/prefixed/google/common-protos/metadata/Iam/V1/Logging/AuditData.php index 1addca69d..77ca8abdd 100644 --- a/vendor/prefixed/google/common-protos/metadata/Iam/V1/Logging/AuditData.php +++ b/vendor/prefixed/google/common-protos/metadata/Iam/V1/Logging/AuditData.php @@ -13,9 +13,13 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Annotations::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Iam\V1\Policy::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0aae020a26676f6f676c652f69616d2f76312f6c6f6767696e672f617564" . "69745f646174612e70726f746f1215676f6f676c652e69616d2e76312e6c" . "6f6767696e671a1a676f6f676c652f69616d2f76312f706f6c6963792e70" . "726f746f223d0a0941756469744461746112300a0c706f6c6963795f6465" . "6c746118022001280b321a2e676f6f676c652e69616d2e76312e506f6c69" . "637944656c74614289010a19636f6d2e676f6f676c652e69616d2e76312e" . "6c6f6767696e67420e41756469744461746150726f746f50015a3c676f6f" . "676c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c65" . "617069732f69616d2f76312f6c6f6767696e673b6c6f6767696e67aa021b" . "476f6f676c652e436c6f75642e49616d2e56312e4c6f6767696e67620670" . "726f746f33"), \true); + $pool->internalAddGeneratedFile(' + +&google/iam/v1/logging/audit_data.protogoogle.iam.v1.logging"= + AuditData0 + policy_delta ( 2.google.iam.v1.PolicyDeltaB† +com.google.iam.v1.loggingBAuditDataProtoPZ9cloud.google.com/go/iam/apiv1/logging/loggingpb;loggingpbªGoogle.Cloud.Iam.V1.Loggingbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Iam/V1/Options.php b/vendor/prefixed/google/common-protos/metadata/Iam/V1/Options.php index 5205c7dac..4e4756642 100644 --- a/vendor/prefixed/google/common-protos/metadata/Iam/V1/Options.php +++ b/vendor/prefixed/google/common-protos/metadata/Iam/V1/Options.php @@ -13,8 +13,12 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Annotations::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0af1010a1b676f6f676c652f69616d2f76312f6f7074696f6e732e70726f" . "746f120d676f6f676c652e69616d2e763122340a10476574506f6c696379" . "4f7074696f6e7312200a187265717565737465645f706f6c6963795f7665" . "7273696f6e1801200128054284010a11636f6d2e676f6f676c652e69616d" . "2e7631420c4f7074696f6e7350726f746f50015a30676f6f676c652e676f" . "6c616e672e6f72672f67656e70726f746f2f676f6f676c65617069732f69" . "616d2f76313b69616df80101aa0213476f6f676c652e436c6f75642e4961" . "6d2e5631ca0213476f6f676c655c436c6f75645c49616d5c563162067072" . "6f746f33"), \true); + $pool->internalAddGeneratedFile(' +é +google/iam/v1/options.proto google.iam.v1"4 +GetPolicyOptions +requested_policy_version (B} +com.google.iam.v1B OptionsProtoPZ)cloud.google.com/go/iam/apiv1/iampb;iampbøªGoogle.Cloud.Iam.V1ÊGoogle\\Cloud\\Iam\\V1bproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Iam/V1/Policy.php b/vendor/prefixed/google/common-protos/metadata/Iam/V1/Policy.php index 0cae2c58e..253e72347 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Iam/V1/Policy.php and b/vendor/prefixed/google/common-protos/metadata/Iam/V1/Policy.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Logging/Type/HttpRequest.php b/vendor/prefixed/google/common-protos/metadata/Logging/Type/HttpRequest.php index 2056559b0..3b85c3bc0 100644 --- a/vendor/prefixed/google/common-protos/metadata/Logging/Type/HttpRequest.php +++ b/vendor/prefixed/google/common-protos/metadata/Logging/Type/HttpRequest.php @@ -13,9 +13,29 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Annotations::initOnce(); \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Duration::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0af9040a26676f6f676c652f6c6f6767696e672f747970652f687474705f" . "726571756573742e70726f746f1213676f6f676c652e6c6f6767696e672e" . "747970651a1e676f6f676c652f70726f746f6275662f6475726174696f6e" . "2e70726f746f22ef020a0b487474705265717565737412160a0e72657175" . "6573745f6d6574686f6418012001280912130a0b726571756573745f7572" . "6c18022001280912140a0c726571756573745f73697a6518032001280312" . "0e0a0673746174757318042001280512150a0d726573706f6e73655f7369" . "7a6518052001280312120a0a757365725f6167656e741806200128091211" . "0a0972656d6f74655f697018072001280912110a097365727665725f6970" . "180d20012809120f0a0772656665726572180820012809122a0a076c6174" . "656e6379180e2001280b32192e676f6f676c652e70726f746f6275662e44" . "75726174696f6e12140a0c63616368655f6c6f6f6b7570180b2001280812" . "110a0963616368655f686974180920012808122a0a2263616368655f7661" . "6c6964617465645f776974685f6f726967696e5f736572766572180a2001" . "280812180a1063616368655f66696c6c5f6279746573180c200128031210" . "0a0870726f746f636f6c180f20012809429f010a17636f6d2e676f6f676c" . "652e6c6f6767696e672e747970654210487474705265717565737450726f" . "746f50015a38676f6f676c652e676f6c616e672e6f72672f67656e70726f" . "746f2f676f6f676c65617069732f6c6f6767696e672f747970653b6c7479" . "7065aa0219476f6f676c652e436c6f75642e4c6f6767696e672e54797065" . "ca0219476f6f676c655c436c6f75645c4c6f6767696e675c547970656206" . "70726f746f33"), \true); + $pool->internalAddGeneratedFile(' +ø +&google/logging/type/http_request.protogoogle.logging.type"ï + HttpRequest +request_method (  + request_url (  + request_size ( +status ( + response_size ( + +user_agent (  + remote_ip (  + server_ip (  +referer ( * +latency ( 2.google.protobuf.Duration + cache_lookup ( + cache_hit (* +"cache_validated_with_origin_server + ( +cache_fill_bytes ( +protocol ( B¾ +com.google.logging.typeBHttpRequestProtoPZ8google.golang.org/genproto/googleapis/logging/type;ltypeªGoogle.Cloud.Logging.TypeÊGoogle\\Cloud\\Logging\\TypeêGoogle::Cloud::Logging::Typebproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Logging/Type/LogSeverity.php b/vendor/prefixed/google/common-protos/metadata/Logging/Type/LogSeverity.php index 371cbbdc3..fc6f9994c 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Logging/Type/LogSeverity.php and b/vendor/prefixed/google/common-protos/metadata/Logging/Type/LogSeverity.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Longrunning/Operations.php b/vendor/prefixed/google/common-protos/metadata/Longrunning/Operations.php deleted file mode 100644 index ba98012e8..000000000 --- a/vendor/prefixed/google/common-protos/metadata/Longrunning/Operations.php +++ /dev/null @@ -1,23 +0,0 @@ -internalAddGeneratedFile(hex2bin("0afd0a0a23676f6f676c652f6c6f6e6772756e6e696e672f6f7065726174" . "696f6e732e70726f746f1212676f6f676c652e6c6f6e6772756e6e696e67" . "1a19676f6f676c652f70726f746f6275662f616e792e70726f746f1a2067" . "6f6f676c652f70726f746f6275662f64657363726970746f722e70726f74" . "6f1a1b676f6f676c652f70726f746f6275662f656d7074792e70726f746f" . "1a17676f6f676c652f7270632f7374617475732e70726f746f22a8010a09" . "4f7065726174696f6e120c0a046e616d6518012001280912260a086d6574" . "616461746118022001280b32142e676f6f676c652e70726f746f6275662e" . "416e79120c0a04646f6e6518032001280812230a056572726f7218042001" . "280b32122e676f6f676c652e7270632e537461747573480012280a087265" . "73706f6e736518052001280b32142e676f6f676c652e70726f746f627566" . "2e416e79480042080a06726573756c7422230a134765744f706572617469" . "6f6e52657175657374120c0a046e616d65180120012809225c0a154c6973" . "744f7065726174696f6e7352657175657374120c0a046e616d6518042001" . "2809120e0a0666696c74657218012001280912110a09706167655f73697a" . "6518022001280512120a0a706167655f746f6b656e18032001280922640a" . "164c6973744f7065726174696f6e73526573706f6e736512310a0a6f7065" . "726174696f6e7318012003280b321d2e676f6f676c652e6c6f6e6772756e" . "6e696e672e4f7065726174696f6e12170a0f6e6578745f706167655f746f" . "6b656e18022001280922260a1643616e63656c4f7065726174696f6e5265" . "7175657374120c0a046e616d6518012001280922260a1644656c6574654f" . "7065726174696f6e52657175657374120c0a046e616d6518012001280922" . "3d0a0d4f7065726174696f6e496e666f12150a0d726573706f6e73655f74" . "79706518012001280912150a0d6d657461646174615f7479706518022001" . "2809328c040a0a4f7065726174696f6e731286010a0e4c6973744f706572" . "6174696f6e7312292e676f6f676c652e6c6f6e6772756e6e696e672e4c69" . "73744f7065726174696f6e73526571756573741a2a2e676f6f676c652e6c" . "6f6e6772756e6e696e672e4c6973744f7065726174696f6e73526573706f" . "6e7365221d82d3e493021712152f76312f7b6e616d653d6f706572617469" . "6f6e737d12780a0c4765744f7065726174696f6e12272e676f6f676c652e" . "6c6f6e6772756e6e696e672e4765744f7065726174696f6e526571756573" . "741a1d2e676f6f676c652e6c6f6e6772756e6e696e672e4f706572617469" . "6f6e222082d3e493021a12182f76312f7b6e616d653d6f7065726174696f" . "6e732f2a2a7d12770a0f44656c6574654f7065726174696f6e122a2e676f" . "6f676c652e6c6f6e6772756e6e696e672e44656c6574654f706572617469" . "6f6e526571756573741a162e676f6f676c652e70726f746f6275662e456d" . "707479222082d3e493021a2a182f76312f7b6e616d653d6f706572617469" . "6f6e732f2a2a7d1281010a0f43616e63656c4f7065726174696f6e122a2e" . "676f6f676c652e6c6f6e6772756e6e696e672e43616e63656c4f70657261" . "74696f6e526571756573741a162e676f6f676c652e70726f746f6275662e" . "456d707479222a82d3e4930224221f2f76312f7b6e616d653d6f70657261" . "74696f6e732f2a2a7d3a63616e63656c3a012a4294010a16636f6d2e676f" . "6f676c652e6c6f6e6772756e6e696e67420f4f7065726174696f6e735072" . "6f746f50015a3d676f6f676c652e676f6c616e672e6f72672f67656e7072" . "6f746f2f676f6f676c65617069732f6c6f6e6772756e6e696e673b6c6f6e" . "6772756e6e696e67aa0212476f6f676c652e4c6f6e6752756e6e696e67ca" . "0212476f6f676c655c4c6f6e6752756e6e696e67620670726f746f33"), \true); - static::$is_initialized = \true; - } -} diff --git a/vendor/prefixed/google/common-protos/metadata/Rpc/Context/AttributeContext.php b/vendor/prefixed/google/common-protos/metadata/Rpc/Context/AttributeContext.php new file mode 100644 index 000000000..ed45f6a95 --- /dev/null +++ b/vendor/prefixed/google/common-protos/metadata/Rpc/Context/AttributeContext.php @@ -0,0 +1,104 @@ +internalAddGeneratedFile(' +» +*google/rpc/context/attribute_context.protogoogle.rpc.contextgoogle/protobuf/duration.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto"ƒ +AttributeContext9 +origin ( 2).google.rpc.context.AttributeContext.Peer9 +source ( 2).google.rpc.context.AttributeContext.Peer> + destination ( 2).google.rpc.context.AttributeContext.Peer= +request ( 2,.google.rpc.context.AttributeContext.Request? +response ( 2-.google.rpc.context.AttributeContext.Response? +resource ( 2-.google.rpc.context.AttributeContext.Resource5 +api ( 2(.google.rpc.context.AttributeContext.Api( + +extensions ( 2.google.protobuf.Any¾ +Peer + +ip (  +port (E +labels ( 25.google.rpc.context.AttributeContext.Peer.LabelsEntry + principal (  + region_code ( - + LabelsEntry +key (  +value ( :8L +Api +service (  + operation (  +protocol (  +version (  +Auth + principal (  + audiences (  + presenter ( \' +claims ( 2.google.protobuf.Struct + access_levels ( ï +Request + +id (  +method ( J +headers ( 29.google.rpc.context.AttributeContext.Request.HeadersEntry +path (  +host (  +scheme (  +query ( ( +time ( 2.google.protobuf.Timestamp +size + ( +protocol (  +reason ( 7 +auth ( 2).google.rpc.context.AttributeContext.Auth. + HeadersEntry +key (  +value ( :8 +Response +code ( +size (K +headers ( 2:.google.rpc.context.AttributeContext.Response.HeadersEntry( +time ( 2.google.protobuf.Timestamp2 +backend_latency ( 2.google.protobuf.Duration. + HeadersEntry +key (  +value ( :8 +Resource +service (  +name (  +type ( I +labels ( 29.google.rpc.context.AttributeContext.Resource.LabelsEntry +uid ( S + annotations ( 2>.google.rpc.context.AttributeContext.Resource.AnnotationsEntry + display_name ( / + create_time ( 2.google.protobuf.Timestamp/ + update_time ( 2.google.protobuf.Timestamp/ + delete_time + ( 2.google.protobuf.Timestamp +etag (  +location ( - + LabelsEntry +key (  +value ( :82 +AnnotationsEntry +key (  +value ( :8B‹ +com.google.rpc.contextBAttributeContextProtoPZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_contextøbproto3', \true); + static::$is_initialized = \true; + } +} diff --git a/vendor/prefixed/google/common-protos/metadata/Rpc/Context/AuditContext.php b/vendor/prefixed/google/common-protos/metadata/Rpc/Context/AuditContext.php new file mode 100644 index 000000000..b0e829fe3 --- /dev/null +++ b/vendor/prefixed/google/common-protos/metadata/Rpc/Context/AuditContext.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile(' +û +&google/rpc/context/audit_context.protogoogle.rpc.context"Ç + AuditContext + audit_log ( 1 +scrubbed_request ( 2.google.protobuf.Struct2 +scrubbed_response ( 2.google.protobuf.Struct$ +scrubbed_response_item_count ( +target_resource ( Bk +com.google.rpc.contextBAuditContextProtoPZ9google.golang.org/genproto/googleapis/rpc/context;contextøbproto3', \true); + static::$is_initialized = \true; + } +} diff --git a/vendor/prefixed/google/common-protos/metadata/Rpc/ErrorDetails.php b/vendor/prefixed/google/common-protos/metadata/Rpc/ErrorDetails.php index 6eebb7100..6b6f333e8 100644 --- a/vendor/prefixed/google/common-protos/metadata/Rpc/ErrorDetails.php +++ b/vendor/prefixed/google/common-protos/metadata/Rpc/ErrorDetails.php @@ -17,7 +17,14 @@ public static function initOnce() $pool->internalAddGeneratedFile(' ê google/rpc/error_details.proto -google.rpc"; +google.rpc"“ + ErrorInfo +reason (  +domain ( 5 +metadata ( 2#.google.rpc.ErrorInfo.MetadataEntry/ + MetadataEntry +key (  +value ( :8"; RetryInfo. retry_delay ( 2.google.protobuf.Duration"2 DebugInfo @@ -28,14 +35,7 @@ public static function initOnce() violations ( 2".google.rpc.QuotaFailure.Violation1 Violation subject (  - description ( "“ - ErrorInfo -reason (  -domain ( 5 -metadata ( 2#.google.rpc.ErrorInfo.MetadataEntry/ - MetadataEntry -key (  -value ( :8"• + description ( "• PreconditionFailure= violations ( 2).google.rpc.PreconditionFailure.Violation? diff --git a/vendor/prefixed/google/common-protos/metadata/Type/CalendarPeriod.php b/vendor/prefixed/google/common-protos/metadata/Type/CalendarPeriod.php index 1a77a2485..417cdd0b1 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Type/CalendarPeriod.php and b/vendor/prefixed/google/common-protos/metadata/Type/CalendarPeriod.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Type/Color.php b/vendor/prefixed/google/common-protos/metadata/Type/Color.php index 1678f1f56..be1ba7429 100644 --- a/vendor/prefixed/google/common-protos/metadata/Type/Color.php +++ b/vendor/prefixed/google/common-protos/metadata/Type/Color.php @@ -14,7 +14,16 @@ public static function initOnce() return; } \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Protobuf\Wrappers::initOnce(); - $pool->internalAddGeneratedFile(hex2bin("0aef010a17676f6f676c652f747970652f636f6c6f722e70726f746f120b" . "676f6f676c652e74797065225d0a05436f6c6f72120b0a03726564180120" . "012802120d0a05677265656e180220012802120c0a04626c756518032001" . "2802122a0a05616c70686118042001280b321b2e676f6f676c652e70726f" . "746f6275662e466c6f617456616c756542600a0f636f6d2e676f6f676c65" . "2e74797065420a436f6c6f7250726f746f50015a36676f6f676c652e676f" . "6c616e672e6f72672f67656e70726f746f2f676f6f676c65617069732f74" . "7970652f636f6c6f723b636f6c6f72f80101a20203475450620670726f74" . "6f33"), \true); + $pool->internalAddGeneratedFile(' +ï +google/type/color.proto google.type"] +Color +red ( +green ( +blue (* +alpha ( 2.google.protobuf.FloatValueB` +com.google.typeB +ColorProtoPZ6google.golang.org/genproto/googleapis/type/color;colorø¢GTPbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Type/Date.php b/vendor/prefixed/google/common-protos/metadata/Type/Date.php index b1412998b..3a8520c59 100644 --- a/vendor/prefixed/google/common-protos/metadata/Type/Date.php +++ b/vendor/prefixed/google/common-protos/metadata/Type/Date.php @@ -13,7 +13,14 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - $pool->internalAddGeneratedFile(hex2bin("0abe010a16676f6f676c652f747970652f646174652e70726f746f120b67" . "6f6f676c652e7479706522300a0444617465120c0a047965617218012001" . "2805120d0a056d6f6e7468180220012805120b0a03646179180320012805" . "425d0a0f636f6d2e676f6f676c652e7479706542094461746550726f746f" . "50015a34676f6f676c652e676f6c616e672e6f72672f67656e70726f746f" . "2f676f6f676c65617069732f747970652f646174653b64617465f80101a2" . "0203475450620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +¾ +google/type/date.proto google.type"0 +Date +year ( +month ( +day (B] +com.google.typeB DateProtoPZ4google.golang.org/genproto/googleapis/type/date;dateø¢GTPbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Type/Datetime.php b/vendor/prefixed/google/common-protos/metadata/Type/Datetime.php index c3dd45e91..0842564fd 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Type/Datetime.php and b/vendor/prefixed/google/common-protos/metadata/Type/Datetime.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Type/Dayofweek.php b/vendor/prefixed/google/common-protos/metadata/Type/Dayofweek.php index 1ab0c8863..71f9a55c1 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Type/Dayofweek.php and b/vendor/prefixed/google/common-protos/metadata/Type/Dayofweek.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Type/Decimal.php b/vendor/prefixed/google/common-protos/metadata/Type/Decimal.php new file mode 100644 index 000000000..6b976e91f --- /dev/null +++ b/vendor/prefixed/google/common-protos/metadata/Type/Decimal.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile(' +² +google/type/decimal.proto google.type" +Decimal +value ( Bf +com.google.typeB DecimalProtoPZ:google.golang.org/genproto/googleapis/type/decimal;decimalø¢GTPbproto3', \true); + static::$is_initialized = \true; + } +} diff --git a/vendor/prefixed/google/common-protos/metadata/Type/Expr.php b/vendor/prefixed/google/common-protos/metadata/Type/Expr.php index 7ce99b46b..1f4ec47a6 100644 --- a/vendor/prefixed/google/common-protos/metadata/Type/Expr.php +++ b/vendor/prefixed/google/common-protos/metadata/Type/Expr.php @@ -13,7 +13,16 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - $pool->internalAddGeneratedFile(hex2bin("0adb010a16676f6f676c652f747970652f657870722e70726f746f120b67" . "6f6f676c652e7479706522500a044578707212120a0a6578707265737369" . "6f6e180120012809120d0a057469746c6518022001280912130a0b646573" . "6372697074696f6e18032001280912100a086c6f636174696f6e18042001" . "2809425a0a0f636f6d2e676f6f676c652e7479706542094578707250726f" . "746f50015a34676f6f676c652e676f6c616e672e6f72672f67656e70726f" . "746f2f676f6f676c65617069732f747970652f657870723b65787072a202" . "03475450620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +Û +google/type/expr.proto google.type"P +Expr + +expression (  +title (  + description (  +location ( BZ +com.google.typeB ExprProtoPZ4google.golang.org/genproto/googleapis/type/expr;expr¢GTPbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Type/Fraction.php b/vendor/prefixed/google/common-protos/metadata/Type/Fraction.php index 808567cfa..46b01785c 100644 --- a/vendor/prefixed/google/common-protos/metadata/Type/Fraction.php +++ b/vendor/prefixed/google/common-protos/metadata/Type/Fraction.php @@ -13,7 +13,13 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - $pool->internalAddGeneratedFile(hex2bin("0acd010a1a676f6f676c652f747970652f6672616374696f6e2e70726f74" . "6f120b676f6f676c652e7479706522320a084672616374696f6e12110a09" . "6e756d657261746f7218012001280312130a0b64656e6f6d696e61746f72" . "18022001280342660a0f636f6d2e676f6f676c652e74797065420d467261" . "6374696f6e50726f746f50015a3c676f6f676c652e676f6c616e672e6f72" . "672f67656e70726f746f2f676f6f676c65617069732f747970652f667261" . "6374696f6e3b6672616374696f6ea20203475450620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +Í +google/type/fraction.proto google.type"2 +Fraction + numerator ( + denominator (Bf +com.google.typeB FractionProtoPZinternalAddGeneratedFile(hex2bin("0ac3010a18676f6f676c652f747970652f6c61746c6e672e70726f746f12" . "0b676f6f676c652e74797065222d0a064c61744c6e6712100a086c617469" . "7475646518012001280112110a096c6f6e67697475646518022001280142" . "630a0f636f6d2e676f6f676c652e74797065420b4c61744c6e6750726f74" . "6f50015a38676f6f676c652e676f6c616e672e6f72672f67656e70726f74" . "6f2f676f6f676c65617069732f747970652f6c61746c6e673b6c61746c6e" . "67f80101a20203475450620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +Ã +google/type/latlng.proto google.type"- +LatLng +latitude ( + longitude (Bc +com.google.typeB LatLngProtoPZ8google.golang.org/genproto/googleapis/type/latlng;latlngø¢GTPbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Type/LocalizedText.php b/vendor/prefixed/google/common-protos/metadata/Type/LocalizedText.php new file mode 100644 index 000000000..c77a52cd7 --- /dev/null +++ b/vendor/prefixed/google/common-protos/metadata/Type/LocalizedText.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile(' +é + google/type/localized_text.proto google.type"4 + LocalizedText +text (  + language_code ( Bz +com.google.typeBLocalizedTextProtoPZHgoogle.golang.org/genproto/googleapis/type/localized_text;localized_textø¢GTPbproto3', \true); + static::$is_initialized = \true; + } +} diff --git a/vendor/prefixed/google/common-protos/metadata/Type/Money.php b/vendor/prefixed/google/common-protos/metadata/Type/Money.php index 5b4b5e761..d78472081 100644 --- a/vendor/prefixed/google/common-protos/metadata/Type/Money.php +++ b/vendor/prefixed/google/common-protos/metadata/Type/Money.php @@ -13,7 +13,15 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - $pool->internalAddGeneratedFile(hex2bin("0ace010a17676f6f676c652f747970652f6d6f6e65792e70726f746f120b" . "676f6f676c652e74797065223c0a054d6f6e657912150a0d63757272656e" . "63795f636f6465180120012809120d0a05756e697473180220012803120d" . "0a056e616e6f7318032001280542600a0f636f6d2e676f6f676c652e7479" . "7065420a4d6f6e657950726f746f50015a36676f6f676c652e676f6c616e" . "672e6f72672f67656e70726f746f2f676f6f676c65617069732f74797065" . "2f6d6f6e65793b6d6f6e6579f80101a20203475450620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +Î +google/type/money.proto google.type"< +Money + currency_code (  +units ( +nanos (B` +com.google.typeB +MoneyProtoPZ6google.golang.org/genproto/googleapis/type/money;moneyø¢GTPbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Type/Month.php b/vendor/prefixed/google/common-protos/metadata/Type/Month.php index 553a03d14..7f28e4cfb 100644 Binary files a/vendor/prefixed/google/common-protos/metadata/Type/Month.php and b/vendor/prefixed/google/common-protos/metadata/Type/Month.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Type/PhoneNumber.php b/vendor/prefixed/google/common-protos/metadata/Type/PhoneNumber.php new file mode 100644 index 000000000..283dee5cb Binary files /dev/null and b/vendor/prefixed/google/common-protos/metadata/Type/PhoneNumber.php differ diff --git a/vendor/prefixed/google/common-protos/metadata/Type/PostalAddress.php b/vendor/prefixed/google/common-protos/metadata/Type/PostalAddress.php index 311a0b2ae..39055f09d 100644 --- a/vendor/prefixed/google/common-protos/metadata/Type/PostalAddress.php +++ b/vendor/prefixed/google/common-protos/metadata/Type/PostalAddress.php @@ -13,7 +13,24 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - $pool->internalAddGeneratedFile(hex2bin("0ab1030a20676f6f676c652f747970652f706f7374616c5f616464726573" . "732e70726f746f120b676f6f676c652e7479706522fd010a0d506f737461" . "6c4164647265737312100a087265766973696f6e18012001280512130a0b" . "726567696f6e5f636f646518022001280912150a0d6c616e67756167655f" . "636f646518032001280912130a0b706f7374616c5f636f64651804200128" . "0912140a0c736f7274696e675f636f6465180520012809121b0a1361646d" . "696e6973747261746976655f6172656118062001280912100a086c6f6361" . "6c69747918072001280912130a0b7375626c6f63616c6974791808200128" . "0912150a0d616464726573735f6c696e657318092003280912120a0a7265" . "63697069656e7473180a2003280912140a0c6f7267616e697a6174696f6e" . "180b2001280942780a0f636f6d2e676f6f676c652e747970654212506f73" . "74616c4164647265737350726f746f50015a46676f6f676c652e676f6c61" . "6e672e6f72672f67656e70726f746f2f676f6f676c65617069732f747970" . "652f706f7374616c616464726573733b706f7374616c61646472657373f8" . "0101a20203475450620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +± + google/type/postal_address.proto google.type"ý + PostalAddress +revision ( + region_code (  + language_code (  + postal_code (  + sorting_code (  +administrative_area (  +locality (  + sublocality (  + address_lines (  + +recipients + (  + organization ( Bx +com.google.typeBPostalAddressProtoPZFgoogle.golang.org/genproto/googleapis/type/postaladdress;postaladdressø¢GTPbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Type/Quaternion.php b/vendor/prefixed/google/common-protos/metadata/Type/Quaternion.php index c185fdd6d..7861f970b 100644 --- a/vendor/prefixed/google/common-protos/metadata/Type/Quaternion.php +++ b/vendor/prefixed/google/common-protos/metadata/Type/Quaternion.php @@ -13,7 +13,16 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - $pool->internalAddGeneratedFile(hex2bin("0ade010a1c676f6f676c652f747970652f7175617465726e696f6e2e7072" . "6f746f120b676f6f676c652e7479706522380a0a5175617465726e696f6e" . "12090a017818012001280112090a017918022001280112090a017a180320" . "01280112090a0177180420012801426f0a0f636f6d2e676f6f676c652e74" . "797065420f5175617465726e696f6e50726f746f50015a40676f6f676c65" . "2e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c65617069" . "732f747970652f7175617465726e696f6e3b7175617465726e696f6ef801" . "01a20203475450620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +Þ +google/type/quaternion.proto google.type"8 + +Quaternion +x ( +y ( +z ( +w (Bo +com.google.typeBQuaternionProtoPZ@google.golang.org/genproto/googleapis/type/quaternion;quaternionø¢GTPbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/metadata/Type/Timeofday.php b/vendor/prefixed/google/common-protos/metadata/Type/Timeofday.php index 59aea21ac..4787c467b 100644 --- a/vendor/prefixed/google/common-protos/metadata/Type/Timeofday.php +++ b/vendor/prefixed/google/common-protos/metadata/Type/Timeofday.php @@ -13,7 +13,15 @@ public static function initOnce() if (static::$is_initialized == \true) { return; } - $pool->internalAddGeneratedFile(hex2bin("0aed010a1b676f6f676c652f747970652f74696d656f666461792e70726f" . "746f120b676f6f676c652e74797065224b0a0954696d654f66446179120d" . "0a05686f757273180120012805120f0a076d696e75746573180220012805" . "120f0a077365636f6e6473180320012805120d0a056e616e6f7318042001" . "2805426c0a0f636f6d2e676f6f676c652e74797065420e54696d654f6644" . "617950726f746f50015a3e676f6f676c652e676f6c616e672e6f72672f67" . "656e70726f746f2f676f6f676c65617069732f747970652f74696d656f66" . "6461793b74696d656f66646179f80101a20203475450620670726f746f33"), \true); + $pool->internalAddGeneratedFile(' +í +google/type/timeofday.proto google.type"K + TimeOfDay +hours ( +minutes ( +seconds ( +nanos (Bl +com.google.typeBTimeOfDayProtoPZ>google.golang.org/genproto/googleapis/type/timeofday;timeofdayø¢GTPbproto3', \true); static::$is_initialized = \true; } } diff --git a/vendor/prefixed/google/common-protos/renovate.json b/vendor/prefixed/google/common-protos/renovate.json index 5fcce1121..6d8121323 100644 --- a/vendor/prefixed/google/common-protos/renovate.json +++ b/vendor/prefixed/google/common-protos/renovate.json @@ -1,6 +1,7 @@ { "extends": [ "config:base", - ":preserveSemverRanges" + ":preserveSemverRanges", + ":disableDependencyDashboard" ] } diff --git a/vendor/prefixed/google/common-protos/src/Api/Advice.php b/vendor/prefixed/google/common-protos/src/Api/Advice.php index 53c99ffb3..24ad425bf 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Advice.php +++ b/vendor/prefixed/google/common-protos/src/Api/Advice.php @@ -21,7 +21,7 @@ class Advice extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu * * Generated from protobuf field string description = 2; */ - private $description = ''; + protected $description = ''; /** * Constructor. * diff --git a/vendor/prefixed/google/common-protos/src/Api/AuthProvider.php b/vendor/prefixed/google/common-protos/src/Api/AuthProvider.php index b8d6fb702..c6d749372 100644 --- a/vendor/prefixed/google/common-protos/src/Api/AuthProvider.php +++ b/vendor/prefixed/google/common-protos/src/Api/AuthProvider.php @@ -8,8 +8,9 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** - * Configuration for an anthentication provider, including support for - * [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). + * Configuration for an authentication provider, including support for + * [JSON Web Token + * (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). * * Generated from protobuf message google.api.AuthProvider */ @@ -22,7 +23,7 @@ class AuthProvider extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * * Generated from protobuf field string id = 1; */ - private $id = ''; + protected $id = ''; /** * Identifies the principal that issued the JWT. See * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 @@ -32,43 +33,70 @@ class AuthProvider extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * * Generated from protobuf field string issuer = 2; */ - private $issuer = ''; + protected $issuer = ''; /** * URL of the provider's public key set to validate signature of the JWT. See - * [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: * - can be retrieved from - * [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google service account). + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * Example: https://www.googleapis.com/oauth2/v1/certs * * Generated from protobuf field string jwks_uri = 3; */ - private $jwks_uri = ''; + protected $jwks_uri = ''; /** * The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will - * be accepted. When this setting is absent, only JWTs with audience - * "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" - * will be accepted. For example, if no audiences are in the setting, - * LibraryService API will only accept JWTs with the following audience - * "https://library-example.googleapis.com/google.example.library.v1.LibraryService". + * be accepted. When this setting is absent, JWTs with audiences: + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" + * will be accepted. + * For example, if no audiences are in the setting, LibraryService API will + * accept JWTs with the following audiences: + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * Example: * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com * * Generated from protobuf field string audiences = 4; */ - private $audiences = ''; + protected $audiences = ''; /** - * Redirect URL if JWT token is required but no present or is expired. + * Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. * * Generated from protobuf field string authorization_url = 5; */ - private $authorization_url = ''; + protected $authorization_url = ''; + /** + * Defines the locations to extract the JWT. For now it is only used by the + * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] + * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * JWT locations can be one of HTTP headers, URL query parameters or + * cookies. The rule is that the first match wins. + * If not specified, default to use following 3 locations: + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter + * Default locations can be specified as followings: + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token + * + * Generated from protobuf field repeated .google.api.JwtLocation jwt_locations = 6; + */ + private $jwt_locations; /** * Constructor. * @@ -87,28 +115,51 @@ class AuthProvider extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * Example: 1234567-compute@developer.gserviceaccount.com * @type string $jwks_uri * URL of the provider's public key set to validate signature of the JWT. See - * [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: * - can be retrieved from - * [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google service account). + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * Example: https://www.googleapis.com/oauth2/v1/certs * @type string $audiences * The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will - * be accepted. When this setting is absent, only JWTs with audience - * "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" - * will be accepted. For example, if no audiences are in the setting, - * LibraryService API will only accept JWTs with the following audience - * "https://library-example.googleapis.com/google.example.library.v1.LibraryService". + * be accepted. When this setting is absent, JWTs with audiences: + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" + * will be accepted. + * For example, if no audiences are in the setting, LibraryService API will + * accept JWTs with the following audiences: + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * Example: * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com * @type string $authorization_url - * Redirect URL if JWT token is required but no present or is expired. + * Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. + * @type array<\Google\Api\JwtLocation>|\Google\Protobuf\Internal\RepeatedField $jwt_locations + * Defines the locations to extract the JWT. For now it is only used by the + * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] + * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * JWT locations can be one of HTTP headers, URL query parameters or + * cookies. The rule is that the first match wins. + * If not specified, default to use following 3 locations: + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter + * Default locations can be specified as followings: + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * } */ public function __construct($data = NULL) @@ -176,12 +227,15 @@ public function setIssuer($var) } /** * URL of the provider's public key set to validate signature of the JWT. See - * [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: * - can be retrieved from - * [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google service account). + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * Example: https://www.googleapis.com/oauth2/v1/certs * * Generated from protobuf field string jwks_uri = 3; @@ -193,12 +247,15 @@ public function getJwksUri() } /** * URL of the provider's public key set to validate signature of the JWT. See - * [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: * - can be retrieved from - * [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google service account). + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * Example: https://www.googleapis.com/oauth2/v1/certs * * Generated from protobuf field string jwks_uri = 3; @@ -215,11 +272,15 @@ public function setJwksUri($var) * The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will - * be accepted. When this setting is absent, only JWTs with audience - * "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" - * will be accepted. For example, if no audiences are in the setting, - * LibraryService API will only accept JWTs with the following audience - * "https://library-example.googleapis.com/google.example.library.v1.LibraryService". + * be accepted. When this setting is absent, JWTs with audiences: + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" + * will be accepted. + * For example, if no audiences are in the setting, LibraryService API will + * accept JWTs with the following audiences: + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * Example: * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com @@ -235,11 +296,15 @@ public function getAudiences() * The list of JWT * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will - * be accepted. When this setting is absent, only JWTs with audience - * "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" - * will be accepted. For example, if no audiences are in the setting, - * LibraryService API will only accept JWTs with the following audience - * "https://library-example.googleapis.com/google.example.library.v1.LibraryService". + * be accepted. When this setting is absent, JWTs with audiences: + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" + * will be accepted. + * For example, if no audiences are in the setting, LibraryService API will + * accept JWTs with the following audiences: + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * Example: * audiences: bookstore_android.apps.googleusercontent.com, * bookstore_web.apps.googleusercontent.com @@ -255,7 +320,7 @@ public function setAudiences($var) return $this; } /** - * Redirect URL if JWT token is required but no present or is expired. + * Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. * * Generated from protobuf field string authorization_url = 5; @@ -266,7 +331,7 @@ public function getAuthorizationUrl() return $this->authorization_url; } /** - * Redirect URL if JWT token is required but no present or is expired. + * Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. * * Generated from protobuf field string authorization_url = 5; @@ -279,4 +344,55 @@ public function setAuthorizationUrl($var) $this->authorization_url = $var; return $this; } + /** + * Defines the locations to extract the JWT. For now it is only used by the + * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] + * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * JWT locations can be one of HTTP headers, URL query parameters or + * cookies. The rule is that the first match wins. + * If not specified, default to use following 3 locations: + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter + * Default locations can be specified as followings: + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token + * + * Generated from protobuf field repeated .google.api.JwtLocation jwt_locations = 6; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getJwtLocations() + { + return $this->jwt_locations; + } + /** + * Defines the locations to extract the JWT. For now it is only used by the + * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] + * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) + * JWT locations can be one of HTTP headers, URL query parameters or + * cookies. The rule is that the first match wins. + * If not specified, default to use following 3 locations: + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter + * Default locations can be specified as followings: + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token + * + * Generated from protobuf field repeated .google.api.JwtLocation jwt_locations = 6; + * @param array<\Google\Api\JwtLocation>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setJwtLocations($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\JwtLocation::class); + $this->jwt_locations = $arr; + return $this; + } } diff --git a/vendor/prefixed/google/common-protos/src/Api/AuthRequirement.php b/vendor/prefixed/google/common-protos/src/Api/AuthRequirement.php index 8284a12e3..345dd5ee6 100644 --- a/vendor/prefixed/google/common-protos/src/Api/AuthRequirement.php +++ b/vendor/prefixed/google/common-protos/src/Api/AuthRequirement.php @@ -9,7 +9,8 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** * User-defined authentication requirements, including support for - * [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). + * [JSON Web Token + * (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). * * Generated from protobuf message google.api.AuthRequirement */ @@ -22,7 +23,7 @@ class AuthRequirement extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl * * Generated from protobuf field string provider_id = 1; */ - private $provider_id = ''; + protected $provider_id = ''; /** * NOTE: This will be deprecated soon, once AuthProvider.audiences is * implemented and accepted in all the runtime components. @@ -40,7 +41,7 @@ class AuthRequirement extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl * * Generated from protobuf field string audiences = 2; */ - private $audiences = ''; + protected $audiences = ''; /** * Constructor. * diff --git a/vendor/prefixed/google/common-protos/src/Api/Authentication.php b/vendor/prefixed/google/common-protos/src/Api/Authentication.php index bf88c2c2e..edaccf4f0 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Authentication.php +++ b/vendor/prefixed/google/common-protos/src/Api/Authentication.php @@ -8,8 +8,9 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** - * `Authentication` defines the authentication configuration for an API. - * Example for an API targeted for external use: + * `Authentication` defines the authentication configuration for API methods + * provided by an API service. + * Example: * name: calendar.googleapis.com * authentication: * providers: @@ -20,6 +21,9 @@ * - selector: "*" * requirements: * provider_id: google_calendar_auth + * - selector: google.calendar.Delegate + * oauth: + * canonical_scopes: https://www.googleapis.com/auth/calendar.read * * Generated from protobuf message google.api.Authentication */ @@ -44,10 +48,10 @@ class Authentication extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google * @param array $data { * Optional. Data for populating the Message object. * - * @type \Google\Api\AuthenticationRule[]|\Google\Protobuf\Internal\RepeatedField $rules + * @type array<\Google\Api\AuthenticationRule>|\Google\Protobuf\Internal\RepeatedField $rules * A list of authentication rules that apply to individual API methods. * **NOTE:** All service configuration rules follow "last one wins" order. - * @type \Google\Api\AuthProvider[]|\Google\Protobuf\Internal\RepeatedField $providers + * @type array<\Google\Api\AuthProvider>|\Google\Protobuf\Internal\RepeatedField $providers * Defines a set of authentication providers that a service supports. * } */ @@ -72,7 +76,7 @@ public function getRules() * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.AuthenticationRule rules = 3; - * @param \Google\Api\AuthenticationRule[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Api\AuthenticationRule>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setRules($var) @@ -95,7 +99,7 @@ public function getProviders() * Defines a set of authentication providers that a service supports. * * Generated from protobuf field repeated .google.api.AuthProvider providers = 4; - * @param \Google\Api\AuthProvider[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Api\AuthProvider>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setProviders($var) diff --git a/vendor/prefixed/google/common-protos/src/Api/AuthenticationRule.php b/vendor/prefixed/google/common-protos/src/Api/AuthenticationRule.php index 0b80c2964..9d129df2e 100644 --- a/vendor/prefixed/google/common-protos/src/Api/AuthenticationRule.php +++ b/vendor/prefixed/google/common-protos/src/Api/AuthenticationRule.php @@ -22,23 +22,25 @@ class AuthenticationRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go { /** * Selects the methods to which this rule applies. - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. * * Generated from protobuf field string selector = 1; */ - private $selector = ''; + protected $selector = ''; /** * The requirements for OAuth credentials. * * Generated from protobuf field .google.api.OAuthRequirements oauth = 2; */ - private $oauth = null; + protected $oauth = null; /** * If true, the service accepts API keys without any other credential. + * This flag only applies to HTTP and gRPC requests. * * Generated from protobuf field bool allow_without_credential = 5; */ - private $allow_without_credential = \false; + protected $allow_without_credential = \false; /** * Requirements for additional authentication providers. * @@ -53,12 +55,14 @@ class AuthenticationRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go * * @type string $selector * Selects the methods to which this rule applies. - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. * @type \Google\Api\OAuthRequirements $oauth * The requirements for OAuth credentials. * @type bool $allow_without_credential * If true, the service accepts API keys without any other credential. - * @type \Google\Api\AuthRequirement[]|\Google\Protobuf\Internal\RepeatedField $requirements + * This flag only applies to HTTP and gRPC requests. + * @type array<\Google\Api\AuthRequirement>|\Google\Protobuf\Internal\RepeatedField $requirements * Requirements for additional authentication providers. * } */ @@ -69,7 +73,8 @@ public function __construct($data = NULL) } /** * Selects the methods to which this rule applies. - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. * * Generated from protobuf field string selector = 1; * @return string @@ -80,7 +85,8 @@ public function getSelector() } /** * Selects the methods to which this rule applies. - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. * * Generated from protobuf field string selector = 1; * @param string $var @@ -96,12 +102,20 @@ public function setSelector($var) * The requirements for OAuth credentials. * * Generated from protobuf field .google.api.OAuthRequirements oauth = 2; - * @return \Google\Api\OAuthRequirements + * @return \Google\Api\OAuthRequirements|null */ public function getOauth() { return $this->oauth; } + public function hasOauth() + { + return isset($this->oauth); + } + public function clearOauth() + { + unset($this->oauth); + } /** * The requirements for OAuth credentials. * @@ -117,6 +131,7 @@ public function setOauth($var) } /** * If true, the service accepts API keys without any other credential. + * This flag only applies to HTTP and gRPC requests. * * Generated from protobuf field bool allow_without_credential = 5; * @return bool @@ -127,6 +142,7 @@ public function getAllowWithoutCredential() } /** * If true, the service accepts API keys without any other credential. + * This flag only applies to HTTP and gRPC requests. * * Generated from protobuf field bool allow_without_credential = 5; * @param bool $var @@ -152,7 +168,7 @@ public function getRequirements() * Requirements for additional authentication providers. * * Generated from protobuf field repeated .google.api.AuthRequirement requirements = 7; - * @param \Google\Api\AuthRequirement[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Api\AuthRequirement>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setRequirements($var) diff --git a/vendor/prefixed/google/common-protos/src/Api/Backend.php b/vendor/prefixed/google/common-protos/src/Api/Backend.php index 1d4f196b8..1b5a65220 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Backend.php +++ b/vendor/prefixed/google/common-protos/src/Api/Backend.php @@ -27,7 +27,7 @@ class Backend extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob * @param array $data { * Optional. Data for populating the Message object. * - * @type \Google\Api\BackendRule[]|\Google\Protobuf\Internal\RepeatedField $rules + * @type array<\Google\Api\BackendRule>|\Google\Protobuf\Internal\RepeatedField $rules * A list of API backend rules that apply to individual API methods. * **NOTE:** All service configuration rules follow "last one wins" order. * } @@ -53,7 +53,7 @@ public function getRules() * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.BackendRule rules = 1; - * @param \Google\Api\BackendRule[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Api\BackendRule>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setRules($var) diff --git a/vendor/prefixed/google/common-protos/src/Api/BackendRule.php b/vendor/prefixed/google/common-protos/src/Api/BackendRule.php index b9931ba56..b8827562c 100644 --- a/vendor/prefixed/google/common-protos/src/Api/BackendRule.php +++ b/vendor/prefixed/google/common-protos/src/Api/BackendRule.php @@ -16,42 +16,84 @@ class BackendRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr { /** * Selects the methods to which this rule applies. - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. * * Generated from protobuf field string selector = 1; */ - private $selector = ''; + protected $selector = ''; /** * The address of the API backend. + * The scheme is used to determine the backend protocol and security. + * The following schemes are accepted: + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS + * It is recommended to explicitly include a scheme. Leaving out the scheme + * may cause constrasting behaviors across platforms. + * If the port is unspecified, the default is: + * - 80 for schemes without TLS + * - 443 for schemes with TLS + * For HTTP backends, use [protocol][google.api.BackendRule.protocol] + * to specify the protocol version. * * Generated from protobuf field string address = 2; */ - private $address = ''; + protected $address = ''; /** * The number of seconds to wait for a response from a request. The default * varies based on the request protocol and deployment environment. * * Generated from protobuf field double deadline = 3; */ - private $deadline = 0.0; + protected $deadline = 0.0; /** - * Minimum deadline in seconds needed for this method. Calls having deadline - * value lower than this will be rejected. + * Deprecated, do not use. * - * Generated from protobuf field double min_deadline = 4; + * Generated from protobuf field double min_deadline = 4 [deprecated = true]; + * @deprecated */ - private $min_deadline = 0.0; + protected $min_deadline = 0.0; /** * The number of seconds to wait for the completion of a long running * operation. The default is no deadline. * * Generated from protobuf field double operation_deadline = 5; */ - private $operation_deadline = 0.0; + protected $operation_deadline = 0.0; /** * Generated from protobuf field .google.api.BackendRule.PathTranslation path_translation = 6; */ - private $path_translation = 0; + protected $path_translation = 0; + /** + * The protocol used for sending a request to the backend. + * The supported values are "http/1.1" and "h2". + * The default value is inferred from the scheme in the + * [address][google.api.BackendRule.address] field: + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 + * For secure HTTP backends (https://) that support HTTP/2, set this field + * to "h2" for improved performance. + * Configuring this field to non-default values is only supported for secure + * HTTP backends. This field will be ignored for all other backends. + * See + * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids + * for more details on the supported values. + * + * Generated from protobuf field string protocol = 9; + */ + protected $protocol = ''; + /** + * The map between request protocol and the backend address. + * + * Generated from protobuf field map overrides_by_request_protocol = 10; + */ + private $overrides_by_request_protocol; protected $authentication; /** * Constructor. @@ -61,15 +103,29 @@ class BackendRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr * * @type string $selector * Selects the methods to which this rule applies. - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. * @type string $address * The address of the API backend. + * The scheme is used to determine the backend protocol and security. + * The following schemes are accepted: + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS + * It is recommended to explicitly include a scheme. Leaving out the scheme + * may cause constrasting behaviors across platforms. + * If the port is unspecified, the default is: + * - 80 for schemes without TLS + * - 443 for schemes with TLS + * For HTTP backends, use [protocol][google.api.BackendRule.protocol] + * to specify the protocol version. * @type float $deadline * The number of seconds to wait for a response from a request. The default * varies based on the request protocol and deployment environment. * @type float $min_deadline - * Minimum deadline in seconds needed for this method. Calls having deadline - * value lower than this will be rejected. + * Deprecated, do not use. * @type float $operation_deadline * The number of seconds to wait for the completion of a long running * operation. The default is no deadline. @@ -79,13 +135,29 @@ class BackendRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr * This ID token will be added in the HTTP "authorization" header, and sent * to the backend. * @type bool $disable_auth - * When disable_auth is false, a JWT ID token will be generated with the - * value from [BackendRule.address][google.api.BackendRule.address] as jwt_audience, overrode to the HTTP - * "Authorization" request header and sent to the backend. * When disable_auth is true, a JWT ID token won't be generated and the * original "Authorization" HTTP header will be preserved. If the header is * used to carry the original token and is expected by the backend, this * field must be set to true to preserve the header. + * @type string $protocol + * The protocol used for sending a request to the backend. + * The supported values are "http/1.1" and "h2". + * The default value is inferred from the scheme in the + * [address][google.api.BackendRule.address] field: + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 + * For secure HTTP backends (https://) that support HTTP/2, set this field + * to "h2" for improved performance. + * Configuring this field to non-default values is only supported for secure + * HTTP backends. This field will be ignored for all other backends. + * See + * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids + * for more details on the supported values. + * @type array|\Google\Protobuf\Internal\MapField $overrides_by_request_protocol + * The map between request protocol and the backend address. * } */ public function __construct($data = NULL) @@ -95,7 +167,8 @@ public function __construct($data = NULL) } /** * Selects the methods to which this rule applies. - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. * * Generated from protobuf field string selector = 1; * @return string @@ -106,7 +179,8 @@ public function getSelector() } /** * Selects the methods to which this rule applies. - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. * * Generated from protobuf field string selector = 1; * @param string $var @@ -120,6 +194,20 @@ public function setSelector($var) } /** * The address of the API backend. + * The scheme is used to determine the backend protocol and security. + * The following schemes are accepted: + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS + * It is recommended to explicitly include a scheme. Leaving out the scheme + * may cause constrasting behaviors across platforms. + * If the port is unspecified, the default is: + * - 80 for schemes without TLS + * - 443 for schemes with TLS + * For HTTP backends, use [protocol][google.api.BackendRule.protocol] + * to specify the protocol version. * * Generated from protobuf field string address = 2; * @return string @@ -130,6 +218,20 @@ public function getAddress() } /** * The address of the API backend. + * The scheme is used to determine the backend protocol and security. + * The following schemes are accepted: + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS + * It is recommended to explicitly include a scheme. Leaving out the scheme + * may cause constrasting behaviors across platforms. + * If the port is unspecified, the default is: + * - 80 for schemes without TLS + * - 443 for schemes with TLS + * For HTTP backends, use [protocol][google.api.BackendRule.protocol] + * to specify the protocol version. * * Generated from protobuf field string address = 2; * @param string $var @@ -167,26 +269,28 @@ public function setDeadline($var) return $this; } /** - * Minimum deadline in seconds needed for this method. Calls having deadline - * value lower than this will be rejected. + * Deprecated, do not use. * - * Generated from protobuf field double min_deadline = 4; + * Generated from protobuf field double min_deadline = 4 [deprecated = true]; * @return float + * @deprecated */ public function getMinDeadline() { + @trigger_error('min_deadline is deprecated.', \E_USER_DEPRECATED); return $this->min_deadline; } /** - * Minimum deadline in seconds needed for this method. Calls having deadline - * value lower than this will be rejected. + * Deprecated, do not use. * - * Generated from protobuf field double min_deadline = 4; + * Generated from protobuf field double min_deadline = 4 [deprecated = true]; * @param float $var * @return $this + * @deprecated */ public function setMinDeadline($var) { + @trigger_error('min_deadline is deprecated.', \E_USER_DEPRECATED); GPBUtil::checkDouble($var); $this->min_deadline = $var; return $this; @@ -231,7 +335,7 @@ public function getPathTranslation() */ public function setPathTranslation($var) { - GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\BackendRule_PathTranslation::class); + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\BackendRule\PathTranslation::class); $this->path_translation = $var; return $this; } @@ -247,6 +351,10 @@ public function getJwtAudience() { return $this->readOneof(7); } + public function hasJwtAudience() + { + return $this->hasOneof(7); + } /** * The JWT audience is used when generating a JWT ID token for the backend. * This ID token will be added in the HTTP "authorization" header, and sent @@ -263,9 +371,6 @@ public function setJwtAudience($var) return $this; } /** - * When disable_auth is false, a JWT ID token will be generated with the - * value from [BackendRule.address][google.api.BackendRule.address] as jwt_audience, overrode to the HTTP - * "Authorization" request header and sent to the backend. * When disable_auth is true, a JWT ID token won't be generated and the * original "Authorization" HTTP header will be preserved. If the header is * used to carry the original token and is expected by the backend, this @@ -278,10 +383,11 @@ public function getDisableAuth() { return $this->readOneof(8); } + public function hasDisableAuth() + { + return $this->hasOneof(8); + } /** - * When disable_auth is false, a JWT ID token will be generated with the - * value from [BackendRule.address][google.api.BackendRule.address] as jwt_audience, overrode to the HTTP - * "Authorization" request header and sent to the backend. * When disable_auth is true, a JWT ID token won't be generated and the * original "Authorization" HTTP header will be preserved. If the header is * used to carry the original token and is expected by the backend, this @@ -297,6 +403,82 @@ public function setDisableAuth($var) $this->writeOneof(8, $var); return $this; } + /** + * The protocol used for sending a request to the backend. + * The supported values are "http/1.1" and "h2". + * The default value is inferred from the scheme in the + * [address][google.api.BackendRule.address] field: + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 + * For secure HTTP backends (https://) that support HTTP/2, set this field + * to "h2" for improved performance. + * Configuring this field to non-default values is only supported for secure + * HTTP backends. This field will be ignored for all other backends. + * See + * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids + * for more details on the supported values. + * + * Generated from protobuf field string protocol = 9; + * @return string + */ + public function getProtocol() + { + return $this->protocol; + } + /** + * The protocol used for sending a request to the backend. + * The supported values are "http/1.1" and "h2". + * The default value is inferred from the scheme in the + * [address][google.api.BackendRule.address] field: + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 + * For secure HTTP backends (https://) that support HTTP/2, set this field + * to "h2" for improved performance. + * Configuring this field to non-default values is only supported for secure + * HTTP backends. This field will be ignored for all other backends. + * See + * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids + * for more details on the supported values. + * + * Generated from protobuf field string protocol = 9; + * @param string $var + * @return $this + */ + public function setProtocol($var) + { + GPBUtil::checkString($var, True); + $this->protocol = $var; + return $this; + } + /** + * The map between request protocol and the backend address. + * + * Generated from protobuf field map overrides_by_request_protocol = 10; + * @return \Google\Protobuf\Internal\MapField + */ + public function getOverridesByRequestProtocol() + { + return $this->overrides_by_request_protocol; + } + /** + * The map between request protocol and the backend address. + * + * Generated from protobuf field map overrides_by_request_protocol = 10; + * @param array|\Google\Protobuf\Internal\MapField $var + * @return $this + */ + public function setOverridesByRequestProtocol($var) + { + $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\BackendRule::class); + $this->overrides_by_request_protocol = $arr; + return $this; + } /** * @return string */ diff --git a/vendor/prefixed/google/common-protos/src/Api/BackendRule/PathTranslation.php b/vendor/prefixed/google/common-protos/src/Api/BackendRule/PathTranslation.php index 5cb4604f8..90fecd6d5 100644 --- a/vendor/prefixed/google/common-protos/src/Api/BackendRule/PathTranslation.php +++ b/vendor/prefixed/google/common-protos/src/Api/BackendRule/PathTranslation.php @@ -78,5 +78,3 @@ public static function value($name) return constant($const); } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PathTranslation::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\BackendRule_PathTranslation::class); diff --git a/vendor/prefixed/google/common-protos/src/Api/BackendRule_PathTranslation.php b/vendor/prefixed/google/common-protos/src/Api/BackendRule_PathTranslation.php deleted file mode 100644 index 06bb9387c..000000000 --- a/vendor/prefixed/google/common-protos/src/Api/BackendRule_PathTranslation.php +++ /dev/null @@ -1,17 +0,0 @@ -|\Google\Protobuf\Internal\RepeatedField $consumer_destinations * Billing configurations for sending metrics to the consumer project. * There can be multiple consumer destinations per service, each one must have * a different monitored resource type. A metric can be used in at most @@ -79,7 +89,7 @@ public function getConsumerDestinations() * one consumer destination. * * Generated from protobuf field repeated .google.api.Billing.BillingDestination consumer_destinations = 8; - * @param \Google\Api\Billing\BillingDestination[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Api\Billing\BillingDestination>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setConsumerDestinations($var) diff --git a/vendor/prefixed/google/common-protos/src/Api/Billing/BillingDestination.php b/vendor/prefixed/google/common-protos/src/Api/Billing/BillingDestination.php index 4b5134240..e6aae3277 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Billing/BillingDestination.php +++ b/vendor/prefixed/google/common-protos/src/Api/Billing/BillingDestination.php @@ -17,14 +17,16 @@ class BillingDestination extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go { /** * The monitored resource type. The type must be defined in - * [Service.monitored_resources][google.api.Service.monitored_resources] section. + * [Service.monitored_resources][google.api.Service.monitored_resources] + * section. * * Generated from protobuf field string monitored_resource = 1; */ - private $monitored_resource = ''; + protected $monitored_resource = ''; /** * Names of the metrics to report to this billing destination. - * Each name must be defined in [Service.metrics][google.api.Service.metrics] section. + * Each name must be defined in + * [Service.metrics][google.api.Service.metrics] section. * * Generated from protobuf field repeated string metrics = 2; */ @@ -37,10 +39,12 @@ class BillingDestination extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go * * @type string $monitored_resource * The monitored resource type. The type must be defined in - * [Service.monitored_resources][google.api.Service.monitored_resources] section. - * @type string[]|\Google\Protobuf\Internal\RepeatedField $metrics + * [Service.monitored_resources][google.api.Service.monitored_resources] + * section. + * @type array|\Google\Protobuf\Internal\RepeatedField $metrics * Names of the metrics to report to this billing destination. - * Each name must be defined in [Service.metrics][google.api.Service.metrics] section. + * Each name must be defined in + * [Service.metrics][google.api.Service.metrics] section. * } */ public function __construct($data = NULL) @@ -50,7 +54,8 @@ public function __construct($data = NULL) } /** * The monitored resource type. The type must be defined in - * [Service.monitored_resources][google.api.Service.monitored_resources] section. + * [Service.monitored_resources][google.api.Service.monitored_resources] + * section. * * Generated from protobuf field string monitored_resource = 1; * @return string @@ -61,7 +66,8 @@ public function getMonitoredResource() } /** * The monitored resource type. The type must be defined in - * [Service.monitored_resources][google.api.Service.monitored_resources] section. + * [Service.monitored_resources][google.api.Service.monitored_resources] + * section. * * Generated from protobuf field string monitored_resource = 1; * @param string $var @@ -75,7 +81,8 @@ public function setMonitoredResource($var) } /** * Names of the metrics to report to this billing destination. - * Each name must be defined in [Service.metrics][google.api.Service.metrics] section. + * Each name must be defined in + * [Service.metrics][google.api.Service.metrics] section. * * Generated from protobuf field repeated string metrics = 2; * @return \Google\Protobuf\Internal\RepeatedField @@ -86,10 +93,11 @@ public function getMetrics() } /** * Names of the metrics to report to this billing destination. - * Each name must be defined in [Service.metrics][google.api.Service.metrics] section. + * Each name must be defined in + * [Service.metrics][google.api.Service.metrics] section. * * Generated from protobuf field repeated string metrics = 2; - * @param string[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setMetrics($var) @@ -99,5 +107,3 @@ public function setMetrics($var) return $this; } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BillingDestination::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Billing_BillingDestination::class); diff --git a/vendor/prefixed/google/common-protos/src/Api/Billing_BillingDestination.php b/vendor/prefixed/google/common-protos/src/Api/Billing_BillingDestination.php deleted file mode 100644 index a690a0731..000000000 --- a/vendor/prefixed/google/common-protos/src/Api/Billing_BillingDestination.php +++ /dev/null @@ -1,17 +0,0 @@ -google.api.ClientLibraryDestination + */ +class ClientLibraryDestination +{ + /** + * Client libraries will neither be generated nor published to package + * managers. + * + * Generated from protobuf enum CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0; + */ + const CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0; + /** + * Generate the client library in a repo under github.com/googleapis, + * but don't publish it to package managers. + * + * Generated from protobuf enum GITHUB = 10; + */ + const GITHUB = 10; + /** + * Publish the library to package managers like nuget.org and npmjs.com. + * + * Generated from protobuf enum PACKAGE_MANAGER = 20; + */ + const PACKAGE_MANAGER = 20; + private static $valueToName = [self::CLIENT_LIBRARY_DESTINATION_UNSPECIFIED => 'CLIENT_LIBRARY_DESTINATION_UNSPECIFIED', self::GITHUB => 'GITHUB', self::PACKAGE_MANAGER => 'PACKAGE_MANAGER']; + 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/vendor/prefixed/google/common-protos/src/Api/ClientLibraryOrganization.php b/vendor/prefixed/google/common-protos/src/Api/ClientLibraryOrganization.php new file mode 100644 index 000000000..389a937ff --- /dev/null +++ b/vendor/prefixed/google/common-protos/src/Api/ClientLibraryOrganization.php @@ -0,0 +1,80 @@ +google.api.ClientLibraryOrganization + */ +class ClientLibraryOrganization +{ + /** + * Not useful. + * + * Generated from protobuf enum CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0; + */ + const CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0; + /** + * Google Cloud Platform Org. + * + * Generated from protobuf enum CLOUD = 1; + */ + const CLOUD = 1; + /** + * Ads (Advertising) Org. + * + * Generated from protobuf enum ADS = 2; + */ + const ADS = 2; + /** + * Photos Org. + * + * Generated from protobuf enum PHOTOS = 3; + */ + const PHOTOS = 3; + /** + * Street View Org. + * + * Generated from protobuf enum STREET_VIEW = 4; + */ + const STREET_VIEW = 4; + /** + * Shopping Org. + * + * Generated from protobuf enum SHOPPING = 5; + */ + const SHOPPING = 5; + /** + * Geo Org. + * + * Generated from protobuf enum GEO = 6; + */ + const GEO = 6; + /** + * Generative AI - https://developers.generativeai.google + * + * Generated from protobuf enum GENERATIVE_AI = 7; + */ + const GENERATIVE_AI = 7; + private static $valueToName = [self::CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED => 'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED', self::CLOUD => 'CLOUD', self::ADS => 'ADS', self::PHOTOS => 'PHOTOS', self::STREET_VIEW => 'STREET_VIEW', self::SHOPPING => 'SHOPPING', self::GEO => 'GEO', self::GENERATIVE_AI => 'GENERATIVE_AI']; + 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/vendor/prefixed/google/common-protos/src/Api/ClientLibrarySettings.php b/vendor/prefixed/google/common-protos/src/Api/ClientLibrarySettings.php new file mode 100644 index 000000000..0cd148a86 --- /dev/null +++ b/vendor/prefixed/google/common-protos/src/Api/ClientLibrarySettings.php @@ -0,0 +1,447 @@ +google.api.ClientLibrarySettings + */ +class ClientLibrarySettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Version of the API to apply these settings to. This is the full protobuf + * package for the API, ending in the version element. + * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1". + * + * Generated from protobuf field string version = 1; + */ + protected $version = ''; + /** + * Launch stage of this version of the API. + * + * Generated from protobuf field .google.api.LaunchStage launch_stage = 2; + */ + protected $launch_stage = 0; + /** + * When using transport=rest, the client request will encode enums as + * numbers rather than strings. + * + * Generated from protobuf field bool rest_numeric_enums = 3; + */ + protected $rest_numeric_enums = \false; + /** + * Settings for legacy Java features, supported in the Service YAML. + * + * Generated from protobuf field .google.api.JavaSettings java_settings = 21; + */ + protected $java_settings = null; + /** + * Settings for C++ client libraries. + * + * Generated from protobuf field .google.api.CppSettings cpp_settings = 22; + */ + protected $cpp_settings = null; + /** + * Settings for PHP client libraries. + * + * Generated from protobuf field .google.api.PhpSettings php_settings = 23; + */ + protected $php_settings = null; + /** + * Settings for Python client libraries. + * + * Generated from protobuf field .google.api.PythonSettings python_settings = 24; + */ + protected $python_settings = null; + /** + * Settings for Node client libraries. + * + * Generated from protobuf field .google.api.NodeSettings node_settings = 25; + */ + protected $node_settings = null; + /** + * Settings for .NET client libraries. + * + * Generated from protobuf field .google.api.DotnetSettings dotnet_settings = 26; + */ + protected $dotnet_settings = null; + /** + * Settings for Ruby client libraries. + * + * Generated from protobuf field .google.api.RubySettings ruby_settings = 27; + */ + protected $ruby_settings = null; + /** + * Settings for Go client libraries. + * + * Generated from protobuf field .google.api.GoSettings go_settings = 28; + */ + protected $go_settings = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $version + * Version of the API to apply these settings to. This is the full protobuf + * package for the API, ending in the version element. + * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1". + * @type int $launch_stage + * Launch stage of this version of the API. + * @type bool $rest_numeric_enums + * When using transport=rest, the client request will encode enums as + * numbers rather than strings. + * @type \Google\Api\JavaSettings $java_settings + * Settings for legacy Java features, supported in the Service YAML. + * @type \Google\Api\CppSettings $cpp_settings + * Settings for C++ client libraries. + * @type \Google\Api\PhpSettings $php_settings + * Settings for PHP client libraries. + * @type \Google\Api\PythonSettings $python_settings + * Settings for Python client libraries. + * @type \Google\Api\NodeSettings $node_settings + * Settings for Node client libraries. + * @type \Google\Api\DotnetSettings $dotnet_settings + * Settings for .NET client libraries. + * @type \Google\Api\RubySettings $ruby_settings + * Settings for Ruby client libraries. + * @type \Google\Api\GoSettings $go_settings + * Settings for Go client libraries. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce(); + parent::__construct($data); + } + /** + * Version of the API to apply these settings to. This is the full protobuf + * package for the API, ending in the version element. + * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1". + * + * Generated from protobuf field string version = 1; + * @return string + */ + public function getVersion() + { + return $this->version; + } + /** + * Version of the API to apply these settings to. This is the full protobuf + * package for the API, ending in the version element. + * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1". + * + * Generated from protobuf field string version = 1; + * @param string $var + * @return $this + */ + public function setVersion($var) + { + GPBUtil::checkString($var, True); + $this->version = $var; + return $this; + } + /** + * Launch stage of this version of the API. + * + * Generated from protobuf field .google.api.LaunchStage launch_stage = 2; + * @return int + */ + public function getLaunchStage() + { + return $this->launch_stage; + } + /** + * Launch stage of this version of the API. + * + * Generated from protobuf field .google.api.LaunchStage launch_stage = 2; + * @param int $var + * @return $this + */ + public function setLaunchStage($var) + { + GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\LaunchStage::class); + $this->launch_stage = $var; + return $this; + } + /** + * When using transport=rest, the client request will encode enums as + * numbers rather than strings. + * + * Generated from protobuf field bool rest_numeric_enums = 3; + * @return bool + */ + public function getRestNumericEnums() + { + return $this->rest_numeric_enums; + } + /** + * When using transport=rest, the client request will encode enums as + * numbers rather than strings. + * + * Generated from protobuf field bool rest_numeric_enums = 3; + * @param bool $var + * @return $this + */ + public function setRestNumericEnums($var) + { + GPBUtil::checkBool($var); + $this->rest_numeric_enums = $var; + return $this; + } + /** + * Settings for legacy Java features, supported in the Service YAML. + * + * Generated from protobuf field .google.api.JavaSettings java_settings = 21; + * @return \Google\Api\JavaSettings|null + */ + public function getJavaSettings() + { + return $this->java_settings; + } + public function hasJavaSettings() + { + return isset($this->java_settings); + } + public function clearJavaSettings() + { + unset($this->java_settings); + } + /** + * Settings for legacy Java features, supported in the Service YAML. + * + * Generated from protobuf field .google.api.JavaSettings java_settings = 21; + * @param \Google\Api\JavaSettings $var + * @return $this + */ + public function setJavaSettings($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\JavaSettings::class); + $this->java_settings = $var; + return $this; + } + /** + * Settings for C++ client libraries. + * + * Generated from protobuf field .google.api.CppSettings cpp_settings = 22; + * @return \Google\Api\CppSettings|null + */ + public function getCppSettings() + { + return $this->cpp_settings; + } + public function hasCppSettings() + { + return isset($this->cpp_settings); + } + public function clearCppSettings() + { + unset($this->cpp_settings); + } + /** + * Settings for C++ client libraries. + * + * Generated from protobuf field .google.api.CppSettings cpp_settings = 22; + * @param \Google\Api\CppSettings $var + * @return $this + */ + public function setCppSettings($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\CppSettings::class); + $this->cpp_settings = $var; + return $this; + } + /** + * Settings for PHP client libraries. + * + * Generated from protobuf field .google.api.PhpSettings php_settings = 23; + * @return \Google\Api\PhpSettings|null + */ + public function getPhpSettings() + { + return $this->php_settings; + } + public function hasPhpSettings() + { + return isset($this->php_settings); + } + public function clearPhpSettings() + { + unset($this->php_settings); + } + /** + * Settings for PHP client libraries. + * + * Generated from protobuf field .google.api.PhpSettings php_settings = 23; + * @param \Google\Api\PhpSettings $var + * @return $this + */ + public function setPhpSettings($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\PhpSettings::class); + $this->php_settings = $var; + return $this; + } + /** + * Settings for Python client libraries. + * + * Generated from protobuf field .google.api.PythonSettings python_settings = 24; + * @return \Google\Api\PythonSettings|null + */ + public function getPythonSettings() + { + return $this->python_settings; + } + public function hasPythonSettings() + { + return isset($this->python_settings); + } + public function clearPythonSettings() + { + unset($this->python_settings); + } + /** + * Settings for Python client libraries. + * + * Generated from protobuf field .google.api.PythonSettings python_settings = 24; + * @param \Google\Api\PythonSettings $var + * @return $this + */ + public function setPythonSettings($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\PythonSettings::class); + $this->python_settings = $var; + return $this; + } + /** + * Settings for Node client libraries. + * + * Generated from protobuf field .google.api.NodeSettings node_settings = 25; + * @return \Google\Api\NodeSettings|null + */ + public function getNodeSettings() + { + return $this->node_settings; + } + public function hasNodeSettings() + { + return isset($this->node_settings); + } + public function clearNodeSettings() + { + unset($this->node_settings); + } + /** + * Settings for Node client libraries. + * + * Generated from protobuf field .google.api.NodeSettings node_settings = 25; + * @param \Google\Api\NodeSettings $var + * @return $this + */ + public function setNodeSettings($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\NodeSettings::class); + $this->node_settings = $var; + return $this; + } + /** + * Settings for .NET client libraries. + * + * Generated from protobuf field .google.api.DotnetSettings dotnet_settings = 26; + * @return \Google\Api\DotnetSettings|null + */ + public function getDotnetSettings() + { + return $this->dotnet_settings; + } + public function hasDotnetSettings() + { + return isset($this->dotnet_settings); + } + public function clearDotnetSettings() + { + unset($this->dotnet_settings); + } + /** + * Settings for .NET client libraries. + * + * Generated from protobuf field .google.api.DotnetSettings dotnet_settings = 26; + * @param \Google\Api\DotnetSettings $var + * @return $this + */ + public function setDotnetSettings($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\DotnetSettings::class); + $this->dotnet_settings = $var; + return $this; + } + /** + * Settings for Ruby client libraries. + * + * Generated from protobuf field .google.api.RubySettings ruby_settings = 27; + * @return \Google\Api\RubySettings|null + */ + public function getRubySettings() + { + return $this->ruby_settings; + } + public function hasRubySettings() + { + return isset($this->ruby_settings); + } + public function clearRubySettings() + { + unset($this->ruby_settings); + } + /** + * Settings for Ruby client libraries. + * + * Generated from protobuf field .google.api.RubySettings ruby_settings = 27; + * @param \Google\Api\RubySettings $var + * @return $this + */ + public function setRubySettings($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\RubySettings::class); + $this->ruby_settings = $var; + return $this; + } + /** + * Settings for Go client libraries. + * + * Generated from protobuf field .google.api.GoSettings go_settings = 28; + * @return \Google\Api\GoSettings|null + */ + public function getGoSettings() + { + return $this->go_settings; + } + public function hasGoSettings() + { + return isset($this->go_settings); + } + public function clearGoSettings() + { + unset($this->go_settings); + } + /** + * Settings for Go client libraries. + * + * Generated from protobuf field .google.api.GoSettings go_settings = 28; + * @param \Google\Api\GoSettings $var + * @return $this + */ + public function setGoSettings($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\GoSettings::class); + $this->go_settings = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/common-protos/src/Api/CommonLanguageSettings.php b/vendor/prefixed/google/common-protos/src/Api/CommonLanguageSettings.php new file mode 100644 index 000000000..b3641a252 --- /dev/null +++ b/vendor/prefixed/google/common-protos/src/Api/CommonLanguageSettings.php @@ -0,0 +1,101 @@ +google.api.CommonLanguageSettings + */ +class CommonLanguageSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Link to automatically generated reference documentation. Example: + * https://cloud.google.com/nodejs/docs/reference/asset/latest + * + * Generated from protobuf field string reference_docs_uri = 1 [deprecated = true]; + * @deprecated + */ + protected $reference_docs_uri = ''; + /** + * The destination where API teams want this client library to be published. + * + * Generated from protobuf field repeated .google.api.ClientLibraryDestination destinations = 2; + */ + private $destinations; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $reference_docs_uri + * Link to automatically generated reference documentation. Example: + * https://cloud.google.com/nodejs/docs/reference/asset/latest + * @type array|\Google\Protobuf\Internal\RepeatedField $destinations + * The destination where API teams want this client library to be published. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce(); + parent::__construct($data); + } + /** + * Link to automatically generated reference documentation. Example: + * https://cloud.google.com/nodejs/docs/reference/asset/latest + * + * Generated from protobuf field string reference_docs_uri = 1 [deprecated = true]; + * @return string + * @deprecated + */ + public function getReferenceDocsUri() + { + @trigger_error('reference_docs_uri is deprecated.', \E_USER_DEPRECATED); + return $this->reference_docs_uri; + } + /** + * Link to automatically generated reference documentation. Example: + * https://cloud.google.com/nodejs/docs/reference/asset/latest + * + * Generated from protobuf field string reference_docs_uri = 1 [deprecated = true]; + * @param string $var + * @return $this + * @deprecated + */ + public function setReferenceDocsUri($var) + { + @trigger_error('reference_docs_uri is deprecated.', \E_USER_DEPRECATED); + GPBUtil::checkString($var, True); + $this->reference_docs_uri = $var; + return $this; + } + /** + * The destination where API teams want this client library to be published. + * + * Generated from protobuf field repeated .google.api.ClientLibraryDestination destinations = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDestinations() + { + return $this->destinations; + } + /** + * The destination where API teams want this client library to be published. + * + * Generated from protobuf field repeated .google.api.ClientLibraryDestination destinations = 2; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDestinations($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\ClientLibraryDestination::class); + $this->destinations = $arr; + return $this; + } +} diff --git a/vendor/prefixed/google/common-protos/src/Api/ConfigChange.php b/vendor/prefixed/google/common-protos/src/Api/ConfigChange.php index 85018cc28..4b107ab2d 100644 --- a/vendor/prefixed/google/common-protos/src/Api/ConfigChange.php +++ b/vendor/prefixed/google/common-protos/src/Api/ConfigChange.php @@ -25,33 +25,33 @@ class ConfigChange extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * 'key' is used. If the field has no unique identifier, the numeric index * is used. * Examples: - * - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction + * - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction * - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value * - logging.producer_destinations[0] * * Generated from protobuf field string element = 1; */ - private $element = ''; + protected $element = ''; /** * Value of the changed object in the old Service configuration, * in JSON format. This field will not be populated if ChangeType == ADDED. * * Generated from protobuf field string old_value = 2; */ - private $old_value = ''; + protected $old_value = ''; /** * Value of the changed object in the new Service configuration, * in JSON format. This field will not be populated if ChangeType == REMOVED. * * Generated from protobuf field string new_value = 3; */ - private $new_value = ''; + protected $new_value = ''; /** * The type for this change, either ADDED, REMOVED, or MODIFIED. * * Generated from protobuf field .google.api.ChangeType change_type = 4; */ - private $change_type = 0; + protected $change_type = 0; /** * Collection of advice provided for this change, useful for determining the * possible impact of this change. @@ -72,7 +72,7 @@ class ConfigChange extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * 'key' is used. If the field has no unique identifier, the numeric index * is used. * Examples: - * - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction + * - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction * - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value * - logging.producer_destinations[0] * @type string $old_value @@ -83,7 +83,7 @@ class ConfigChange extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * in JSON format. This field will not be populated if ChangeType == REMOVED. * @type int $change_type * The type for this change, either ADDED, REMOVED, or MODIFIED. - * @type \Google\Api\Advice[]|\Google\Protobuf\Internal\RepeatedField $advices + * @type array<\Google\Api\Advice>|\Google\Protobuf\Internal\RepeatedField $advices * Collection of advice provided for this change, useful for determining the * possible impact of this change. * } @@ -100,7 +100,7 @@ public function __construct($data = NULL) * 'key' is used. If the field has no unique identifier, the numeric index * is used. * Examples: - * - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction + * - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction * - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value * - logging.producer_destinations[0] * @@ -118,7 +118,7 @@ public function getElement() * 'key' is used. If the field has no unique identifier, the numeric index * is used. * Examples: - * - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction + * - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction * - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value * - logging.producer_destinations[0] * @@ -221,7 +221,7 @@ public function getAdvices() * possible impact of this change. * * Generated from protobuf field repeated .google.api.Advice advices = 5; - * @param \Google\Api\Advice[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Api\Advice>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setAdvices($var) diff --git a/vendor/prefixed/google/common-protos/src/Api/Context.php b/vendor/prefixed/google/common-protos/src/Api/Context.php index f4936be34..8c3ae26e5 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Context.php +++ b/vendor/prefixed/google/common-protos/src/Api/Context.php @@ -21,6 +21,21 @@ * `google.rpc.context.OriginContext`. * Available context types are defined in package * `google.rpc.context`. + * This also provides mechanism to allowlist any protobuf message extension that + * can be sent in grpc metadata using “x-goog-ext--bin†and + * “x-goog-ext--jspb†format. For example, list any service + * specific protobuf types that can appear in grpc metadata as follows in your + * yaml file: + * Example: + * context: + * rules: + * - selector: "google.example.library.v1.LibraryService.CreateBook" + * allowed_request_extensions: + * - google.foo.v1.NewExtension + * allowed_response_extensions: + * - google.foo.v1.NewExtension + * You can also specify extension ID instead of fully qualified extension name + * here. * * Generated from protobuf message google.api.Context */ @@ -39,7 +54,7 @@ class Context extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob * @param array $data { * Optional. Data for populating the Message object. * - * @type \Google\Api\ContextRule[]|\Google\Protobuf\Internal\RepeatedField $rules + * @type array<\Google\Api\ContextRule>|\Google\Protobuf\Internal\RepeatedField $rules * A list of RPC context rules that apply to individual API methods. * **NOTE:** All service configuration rules follow "last one wins" order. * } @@ -65,7 +80,7 @@ public function getRules() * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.ContextRule rules = 1; - * @param \Google\Api\ContextRule[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Api\ContextRule>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setRules($var) diff --git a/vendor/prefixed/google/common-protos/src/Api/ContextRule.php b/vendor/prefixed/google/common-protos/src/Api/ContextRule.php index a3dc0e04c..d3f9f8df6 100644 --- a/vendor/prefixed/google/common-protos/src/Api/ContextRule.php +++ b/vendor/prefixed/google/common-protos/src/Api/ContextRule.php @@ -17,23 +17,40 @@ class ContextRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr { /** * Selects the methods to which this rule applies. - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. * * Generated from protobuf field string selector = 1; */ - private $selector = ''; + protected $selector = ''; /** - * A list of full type names of requested contexts. + * A list of full type names of requested contexts, only the requested context + * will be made available to the backend. * * Generated from protobuf field repeated string requested = 2; */ private $requested; /** - * A list of full type names of provided contexts. + * A list of full type names of provided contexts. It is used to support + * propagating HTTP headers and ETags from the response extension. * * Generated from protobuf field repeated string provided = 3; */ private $provided; + /** + * A list of full type names or extension IDs of extensions allowed in grpc + * side channel from client to backend. + * + * Generated from protobuf field repeated string allowed_request_extensions = 4; + */ + private $allowed_request_extensions; + /** + * A list of full type names or extension IDs of extensions allowed in grpc + * side channel from backend to client. + * + * Generated from protobuf field repeated string allowed_response_extensions = 5; + */ + private $allowed_response_extensions; /** * Constructor. * @@ -42,11 +59,20 @@ class ContextRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr * * @type string $selector * Selects the methods to which this rule applies. - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - * @type string[]|\Google\Protobuf\Internal\RepeatedField $requested - * A list of full type names of requested contexts. - * @type string[]|\Google\Protobuf\Internal\RepeatedField $provided - * A list of full type names of provided contexts. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. + * @type array|\Google\Protobuf\Internal\RepeatedField $requested + * A list of full type names of requested contexts, only the requested context + * will be made available to the backend. + * @type array|\Google\Protobuf\Internal\RepeatedField $provided + * A list of full type names of provided contexts. It is used to support + * propagating HTTP headers and ETags from the response extension. + * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_request_extensions + * A list of full type names or extension IDs of extensions allowed in grpc + * side channel from client to backend. + * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_response_extensions + * A list of full type names or extension IDs of extensions allowed in grpc + * side channel from backend to client. * } */ public function __construct($data = NULL) @@ -56,7 +82,8 @@ public function __construct($data = NULL) } /** * Selects the methods to which this rule applies. - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. * * Generated from protobuf field string selector = 1; * @return string @@ -67,7 +94,8 @@ public function getSelector() } /** * Selects the methods to which this rule applies. - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. * * Generated from protobuf field string selector = 1; * @param string $var @@ -80,7 +108,8 @@ public function setSelector($var) return $this; } /** - * A list of full type names of requested contexts. + * A list of full type names of requested contexts, only the requested context + * will be made available to the backend. * * Generated from protobuf field repeated string requested = 2; * @return \Google\Protobuf\Internal\RepeatedField @@ -90,10 +119,11 @@ public function getRequested() return $this->requested; } /** - * A list of full type names of requested contexts. + * A list of full type names of requested contexts, only the requested context + * will be made available to the backend. * * Generated from protobuf field repeated string requested = 2; - * @param string[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setRequested($var) @@ -103,7 +133,8 @@ public function setRequested($var) return $this; } /** - * A list of full type names of provided contexts. + * A list of full type names of provided contexts. It is used to support + * propagating HTTP headers and ETags from the response extension. * * Generated from protobuf field repeated string provided = 3; * @return \Google\Protobuf\Internal\RepeatedField @@ -113,10 +144,11 @@ public function getProvided() return $this->provided; } /** - * A list of full type names of provided contexts. + * A list of full type names of provided contexts. It is used to support + * propagating HTTP headers and ETags from the response extension. * * Generated from protobuf field repeated string provided = 3; - * @param string[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setProvided($var) @@ -125,4 +157,54 @@ public function setProvided($var) $this->provided = $arr; return $this; } + /** + * A list of full type names or extension IDs of extensions allowed in grpc + * side channel from client to backend. + * + * Generated from protobuf field repeated string allowed_request_extensions = 4; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAllowedRequestExtensions() + { + return $this->allowed_request_extensions; + } + /** + * A list of full type names or extension IDs of extensions allowed in grpc + * side channel from client to backend. + * + * Generated from protobuf field repeated string allowed_request_extensions = 4; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAllowedRequestExtensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING); + $this->allowed_request_extensions = $arr; + return $this; + } + /** + * A list of full type names or extension IDs of extensions allowed in grpc + * side channel from backend to client. + * + * Generated from protobuf field repeated string allowed_response_extensions = 5; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAllowedResponseExtensions() + { + return $this->allowed_response_extensions; + } + /** + * A list of full type names or extension IDs of extensions allowed in grpc + * side channel from backend to client. + * + * Generated from protobuf field repeated string allowed_response_extensions = 5; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAllowedResponseExtensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING); + $this->allowed_response_extensions = $arr; + return $this; + } } diff --git a/vendor/prefixed/google/common-protos/src/Api/Control.php b/vendor/prefixed/google/common-protos/src/Api/Control.php index e4cb33007..57c324a37 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Control.php +++ b/vendor/prefixed/google/common-protos/src/Api/Control.php @@ -8,21 +8,29 @@ use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField; use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil; /** - * Selects and configures the service controller used by the service. The - * service controller handles features like abuse, quota, billing, logging, - * monitoring, etc. + * Selects and configures the service controller used by the service. + * Example: + * control: + * environment: servicecontrol.googleapis.com * * Generated from protobuf message google.api.Control */ class Control extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message { /** - * The service control environment to use. If empty, no control plane - * feature (like quota and billing) will be enabled. + * The service controller environment to use. If empty, no control plane + * feature (like quota and billing) will be enabled. The recommended value for + * most services is servicecontrol.googleapis.com * * Generated from protobuf field string environment = 1; */ - private $environment = ''; + protected $environment = ''; + /** + * Defines policies applying to the API methods of the service. + * + * Generated from protobuf field repeated .google.api.MethodPolicy method_policies = 4; + */ + private $method_policies; /** * Constructor. * @@ -30,8 +38,11 @@ class Control extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob * Optional. Data for populating the Message object. * * @type string $environment - * The service control environment to use. If empty, no control plane - * feature (like quota and billing) will be enabled. + * The service controller environment to use. If empty, no control plane + * feature (like quota and billing) will be enabled. The recommended value for + * most services is servicecontrol.googleapis.com + * @type array<\Google\Api\MethodPolicy>|\Google\Protobuf\Internal\RepeatedField $method_policies + * Defines policies applying to the API methods of the service. * } */ public function __construct($data = NULL) @@ -40,8 +51,9 @@ public function __construct($data = NULL) parent::__construct($data); } /** - * The service control environment to use. If empty, no control plane - * feature (like quota and billing) will be enabled. + * The service controller environment to use. If empty, no control plane + * feature (like quota and billing) will be enabled. The recommended value for + * most services is servicecontrol.googleapis.com * * Generated from protobuf field string environment = 1; * @return string @@ -51,8 +63,9 @@ public function getEnvironment() return $this->environment; } /** - * The service control environment to use. If empty, no control plane - * feature (like quota and billing) will be enabled. + * The service controller environment to use. If empty, no control plane + * feature (like quota and billing) will be enabled. The recommended value for + * most services is servicecontrol.googleapis.com * * Generated from protobuf field string environment = 1; * @param string $var @@ -64,4 +77,27 @@ public function setEnvironment($var) $this->environment = $var; return $this; } + /** + * Defines policies applying to the API methods of the service. + * + * Generated from protobuf field repeated .google.api.MethodPolicy method_policies = 4; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getMethodPolicies() + { + return $this->method_policies; + } + /** + * Defines policies applying to the API methods of the service. + * + * Generated from protobuf field repeated .google.api.MethodPolicy method_policies = 4; + * @param array<\Google\Api\MethodPolicy>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setMethodPolicies($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\MethodPolicy::class); + $this->method_policies = $arr; + return $this; + } } diff --git a/vendor/prefixed/google/common-protos/src/Api/CppSettings.php b/vendor/prefixed/google/common-protos/src/Api/CppSettings.php new file mode 100644 index 000000000..7a5ac7919 --- /dev/null +++ b/vendor/prefixed/google/common-protos/src/Api/CppSettings.php @@ -0,0 +1,69 @@ +google.api.CppSettings + */ +class CppSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message +{ + /** + * Some settings. + * + * Generated from protobuf field .google.api.CommonLanguageSettings common = 1; + */ + protected $common = null; + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Api\CommonLanguageSettings $common + * Some settings. + * } + */ + public function __construct($data = NULL) + { + \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce(); + parent::__construct($data); + } + /** + * Some settings. + * + * Generated from protobuf field .google.api.CommonLanguageSettings common = 1; + * @return \Google\Api\CommonLanguageSettings|null + */ + public function getCommon() + { + return $this->common; + } + public function hasCommon() + { + return isset($this->common); + } + public function clearCommon() + { + unset($this->common); + } + /** + * Some settings. + * + * Generated from protobuf field .google.api.CommonLanguageSettings common = 1; + * @param \Google\Api\CommonLanguageSettings $var + * @return $this + */ + public function setCommon($var) + { + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\CommonLanguageSettings::class); + $this->common = $var; + return $this; + } +} diff --git a/vendor/prefixed/google/common-protos/src/Api/CustomHttpPattern.php b/vendor/prefixed/google/common-protos/src/Api/CustomHttpPattern.php index 09d3f5294..51ac064e2 100644 --- a/vendor/prefixed/google/common-protos/src/Api/CustomHttpPattern.php +++ b/vendor/prefixed/google/common-protos/src/Api/CustomHttpPattern.php @@ -19,13 +19,13 @@ class CustomHttpPattern extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goo * * Generated from protobuf field string kind = 1; */ - private $kind = ''; + protected $kind = ''; /** * The path matched by this custom verb. * * Generated from protobuf field string path = 2; */ - private $path = ''; + protected $path = ''; /** * Constructor. * diff --git a/vendor/prefixed/google/common-protos/src/Api/Distribution.php b/vendor/prefixed/google/common-protos/src/Api/Distribution.php index df2f059b5..f8c71e552 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Distribution.php +++ b/vendor/prefixed/google/common-protos/src/Api/Distribution.php @@ -32,39 +32,39 @@ class Distribution extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * * Generated from protobuf field int64 count = 1; */ - private $count = 0; + protected $count = 0; /** * The arithmetic mean of the values in the population. If `count` is zero * then this field must be zero. * * Generated from protobuf field double mean = 2; */ - private $mean = 0.0; + protected $mean = 0.0; /** * The sum of squared deviations from the mean of the values in the * population. For values x_i this is: * Sum[i=1..n]((x_i - mean)^2) - * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition + * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition * describes Welford's method for accumulating this sum in one pass. * If `count` is zero then this field must be zero. * * Generated from protobuf field double sum_of_squared_deviation = 3; */ - private $sum_of_squared_deviation = 0.0; + protected $sum_of_squared_deviation = 0.0; /** * If specified, contains the range of the population values. The field * must not be present if the `count` is zero. * * Generated from protobuf field .google.api.Distribution.Range range = 4; */ - private $range = null; + protected $range = null; /** * Defines the histogram bucket boundaries. If the distribution does not * contain a histogram, then omit this field. * * Generated from protobuf field .google.api.Distribution.BucketOptions bucket_options = 6; */ - private $bucket_options = null; + protected $bucket_options = null; /** * The number of values in each bucket of the histogram, as described in * `bucket_options`. If the distribution does not have a histogram, then omit @@ -106,7 +106,7 @@ class Distribution extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * The sum of squared deviations from the mean of the values in the * population. For values x_i this is: * Sum[i=1..n]((x_i - mean)^2) - * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition + * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition * describes Welford's method for accumulating this sum in one pass. * If `count` is zero then this field must be zero. * @type \Google\Api\Distribution\Range $range @@ -115,7 +115,7 @@ class Distribution extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * @type \Google\Api\Distribution\BucketOptions $bucket_options * Defines the histogram bucket boundaries. If the distribution does not * contain a histogram, then omit this field. - * @type int[]|string[]|\Google\Protobuf\Internal\RepeatedField $bucket_counts + * @type array|array|\Google\Protobuf\Internal\RepeatedField $bucket_counts * The number of values in each bucket of the histogram, as described in * `bucket_options`. If the distribution does not have a histogram, then omit * this field. If there is a histogram, then the sum of the values in @@ -129,7 +129,7 @@ class Distribution extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P * count for the underflow bucket (number 0). The next N-2 values are the * counts for the finite buckets (number 1 through N-2). The N'th value in * `bucket_counts` is the count for the overflow bucket (number N-1). - * @type \Google\Api\Distribution\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $exemplars + * @type array<\Google\Api\Distribution\Exemplar>|\Google\Protobuf\Internal\RepeatedField $exemplars * Must be in increasing order of `value` field. * } */ @@ -194,7 +194,7 @@ public function setMean($var) * The sum of squared deviations from the mean of the values in the * population. For values x_i this is: * Sum[i=1..n]((x_i - mean)^2) - * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition + * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition * describes Welford's method for accumulating this sum in one pass. * If `count` is zero then this field must be zero. * @@ -209,7 +209,7 @@ public function getSumOfSquaredDeviation() * The sum of squared deviations from the mean of the values in the * population. For values x_i this is: * Sum[i=1..n]((x_i - mean)^2) - * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition + * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition * describes Welford's method for accumulating this sum in one pass. * If `count` is zero then this field must be zero. * @@ -228,12 +228,20 @@ public function setSumOfSquaredDeviation($var) * must not be present if the `count` is zero. * * Generated from protobuf field .google.api.Distribution.Range range = 4; - * @return \Google\Api\Distribution\Range + * @return \Google\Api\Distribution\Range|null */ public function getRange() { return $this->range; } + public function hasRange() + { + return isset($this->range); + } + public function clearRange() + { + unset($this->range); + } /** * If specified, contains the range of the population values. The field * must not be present if the `count` is zero. @@ -244,7 +252,7 @@ public function getRange() */ public function setRange($var) { - GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution_Range::class); + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution\Range::class); $this->range = $var; return $this; } @@ -253,12 +261,20 @@ public function setRange($var) * contain a histogram, then omit this field. * * Generated from protobuf field .google.api.Distribution.BucketOptions bucket_options = 6; - * @return \Google\Api\Distribution\BucketOptions + * @return \Google\Api\Distribution\BucketOptions|null */ public function getBucketOptions() { return $this->bucket_options; } + public function hasBucketOptions() + { + return isset($this->bucket_options); + } + public function clearBucketOptions() + { + unset($this->bucket_options); + } /** * Defines the histogram bucket boundaries. If the distribution does not * contain a histogram, then omit this field. @@ -269,7 +285,7 @@ public function getBucketOptions() */ public function setBucketOptions($var) { - GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution_BucketOptions::class); + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution\BucketOptions::class); $this->bucket_options = $var; return $this; } @@ -311,7 +327,7 @@ public function getBucketCounts() * `bucket_counts` is the count for the overflow bucket (number N-1). * * Generated from protobuf field repeated int64 bucket_counts = 7; - * @param int[]|string[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array|array|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setBucketCounts($var) @@ -334,7 +350,7 @@ public function getExemplars() * Must be in increasing order of `value` field. * * Generated from protobuf field repeated .google.api.Distribution.Exemplar exemplars = 10; - * @param \Google\Api\Distribution\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Api\Distribution\Exemplar>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setExemplars($var) diff --git a/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions.php b/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions.php index 653f9fae6..4e59432cb 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions.php +++ b/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions.php @@ -51,12 +51,16 @@ public function __construct($data = NULL) * The linear bucket. * * Generated from protobuf field .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; - * @return \Google\Api\Distribution\BucketOptions\Linear + * @return \Google\Api\Distribution\BucketOptions\Linear|null */ public function getLinearBuckets() { return $this->readOneof(1); } + public function hasLinearBuckets() + { + return $this->hasOneof(1); + } /** * The linear bucket. * @@ -66,7 +70,7 @@ public function getLinearBuckets() */ public function setLinearBuckets($var) { - GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution_BucketOptions_Linear::class); + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution\BucketOptions\Linear::class); $this->writeOneof(1, $var); return $this; } @@ -74,12 +78,16 @@ public function setLinearBuckets($var) * The exponential buckets. * * Generated from protobuf field .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; - * @return \Google\Api\Distribution\BucketOptions\Exponential + * @return \Google\Api\Distribution\BucketOptions\Exponential|null */ public function getExponentialBuckets() { return $this->readOneof(2); } + public function hasExponentialBuckets() + { + return $this->hasOneof(2); + } /** * The exponential buckets. * @@ -89,7 +97,7 @@ public function getExponentialBuckets() */ public function setExponentialBuckets($var) { - GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution_BucketOptions_Exponential::class); + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution\BucketOptions\Exponential::class); $this->writeOneof(2, $var); return $this; } @@ -97,12 +105,16 @@ public function setExponentialBuckets($var) * The explicit buckets. * * Generated from protobuf field .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; - * @return \Google\Api\Distribution\BucketOptions\Explicit + * @return \Google\Api\Distribution\BucketOptions\Explicit|null */ public function getExplicitBuckets() { return $this->readOneof(3); } + public function hasExplicitBuckets() + { + return $this->hasOneof(3); + } /** * The explicit buckets. * @@ -112,7 +124,7 @@ public function getExplicitBuckets() */ public function setExplicitBuckets($var) { - GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution_BucketOptions_Explicit::class); + GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution\BucketOptions\Explicit::class); $this->writeOneof(3, $var); return $this; } @@ -124,5 +136,3 @@ public function getOptions() return $this->whichOneof("options"); } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BucketOptions::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution_BucketOptions::class); diff --git a/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions/Explicit.php b/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions/Explicit.php index e84fd8359..5186b63de 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions/Explicit.php +++ b/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions/Explicit.php @@ -33,7 +33,7 @@ class Explicit extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto * @param array $data { * Optional. Data for populating the Message object. * - * @type float[]|\Google\Protobuf\Internal\RepeatedField $bounds + * @type array|\Google\Protobuf\Internal\RepeatedField $bounds * The values must be monotonically increasing. * } */ @@ -56,7 +56,7 @@ public function getBounds() * The values must be monotonically increasing. * * Generated from protobuf field repeated double bounds = 1; - * @param float[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setBounds($var) @@ -66,5 +66,3 @@ public function setBounds($var) return $this; } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Explicit::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution_BucketOptions_Explicit::class); diff --git a/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions/Exponential.php b/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions/Exponential.php index b4cdd6616..e12ea199d 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions/Exponential.php +++ b/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions/Exponential.php @@ -25,19 +25,19 @@ class Exponential extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr * * Generated from protobuf field int32 num_finite_buckets = 1; */ - private $num_finite_buckets = 0; + protected $num_finite_buckets = 0; /** * Must be greater than 1. * * Generated from protobuf field double growth_factor = 2; */ - private $growth_factor = 0.0; + protected $growth_factor = 0.0; /** * Must be greater than 0. * * Generated from protobuf field double scale = 3; */ - private $scale = 0.0; + protected $scale = 0.0; /** * Constructor. * @@ -127,5 +127,3 @@ public function setScale($var) return $this; } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Exponential::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution_BucketOptions_Exponential::class); diff --git a/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions/Linear.php b/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions/Linear.php index b76a66085..281522f5c 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions/Linear.php +++ b/vendor/prefixed/google/common-protos/src/Api/Distribution/BucketOptions/Linear.php @@ -25,19 +25,19 @@ class Linear extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu * * Generated from protobuf field int32 num_finite_buckets = 1; */ - private $num_finite_buckets = 0; + protected $num_finite_buckets = 0; /** * Must be greater than 0. * * Generated from protobuf field double width = 2; */ - private $width = 0.0; + protected $width = 0.0; /** * Lower bound of the first bucket. * * Generated from protobuf field double offset = 3; */ - private $offset = 0.0; + protected $offset = 0.0; /** * Constructor. * @@ -127,5 +127,3 @@ public function setOffset($var) return $this; } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Linear::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution_BucketOptions_Linear::class); diff --git a/vendor/prefixed/google/common-protos/src/Api/Distribution/Exemplar.php b/vendor/prefixed/google/common-protos/src/Api/Distribution/Exemplar.php index 3fea92840..223973e4a 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Distribution/Exemplar.php +++ b/vendor/prefixed/google/common-protos/src/Api/Distribution/Exemplar.php @@ -24,16 +24,16 @@ class Exemplar extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto * * Generated from protobuf field double value = 1; */ - private $value = 0.0; + protected $value = 0.0; /** * The observation (sampling) time of the above value. * * Generated from protobuf field .google.protobuf.Timestamp timestamp = 2; */ - private $timestamp = null; + protected $timestamp = null; /** * Contextual information about the example value. Examples are: - * Trace ID: type.googleapis.com/google.devtools.cloudtrace.v1.Trace + * Trace: type.googleapis.com/google.monitoring.v3.SpanContext * Literal string: type.googleapis.com/google.protobuf.StringValue * Labels dropped during aggregation: * type.googleapis.com/google.monitoring.v3.DroppedLabels @@ -54,9 +54,9 @@ class Exemplar extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto * exemplar belongs. * @type \Google\Protobuf\Timestamp $timestamp * The observation (sampling) time of the above value. - * @type \Google\Protobuf\Any[]|\Google\Protobuf\Internal\RepeatedField $attachments + * @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $attachments * Contextual information about the example value. Examples are: - * Trace ID: type.googleapis.com/google.devtools.cloudtrace.v1.Trace + * Trace: type.googleapis.com/google.monitoring.v3.SpanContext * Literal string: type.googleapis.com/google.protobuf.StringValue * Labels dropped during aggregation: * type.googleapis.com/google.monitoring.v3.DroppedLabels @@ -98,12 +98,20 @@ public function setValue($var) * The observation (sampling) time of the above value. * * Generated from protobuf field .google.protobuf.Timestamp timestamp = 2; - * @return \Google\Protobuf\Timestamp + * @return \Google\Protobuf\Timestamp|null */ public function getTimestamp() { return $this->timestamp; } + public function hasTimestamp() + { + return isset($this->timestamp); + } + public function clearTimestamp() + { + unset($this->timestamp); + } /** * The observation (sampling) time of the above value. * @@ -119,7 +127,7 @@ public function setTimestamp($var) } /** * Contextual information about the example value. Examples are: - * Trace ID: type.googleapis.com/google.devtools.cloudtrace.v1.Trace + * Trace: type.googleapis.com/google.monitoring.v3.SpanContext * Literal string: type.googleapis.com/google.protobuf.StringValue * Labels dropped during aggregation: * type.googleapis.com/google.monitoring.v3.DroppedLabels @@ -135,7 +143,7 @@ public function getAttachments() } /** * Contextual information about the example value. Examples are: - * Trace ID: type.googleapis.com/google.devtools.cloudtrace.v1.Trace + * Trace: type.googleapis.com/google.monitoring.v3.SpanContext * Literal string: type.googleapis.com/google.protobuf.StringValue * Labels dropped during aggregation: * type.googleapis.com/google.monitoring.v3.DroppedLabels @@ -143,7 +151,7 @@ public function getAttachments() * single exemplar, and this is enforced by the system. * * Generated from protobuf field repeated .google.protobuf.Any attachments = 3; - * @param \Google\Protobuf\Any[]|\Google\Protobuf\Internal\RepeatedField $var + * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setAttachments($var) @@ -153,5 +161,3 @@ public function setAttachments($var) return $this; } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Exemplar::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution_Exemplar::class); diff --git a/vendor/prefixed/google/common-protos/src/Api/Distribution/Range.php b/vendor/prefixed/google/common-protos/src/Api/Distribution/Range.php index c87262e4e..be52da183 100644 --- a/vendor/prefixed/google/common-protos/src/Api/Distribution/Range.php +++ b/vendor/prefixed/google/common-protos/src/Api/Distribution/Range.php @@ -19,13 +19,13 @@ class Range extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf * * Generated from protobuf field double min = 1; */ - private $min = 0.0; + protected $min = 0.0; /** * The maximum of the population values. * * Generated from protobuf field double max = 2; */ - private $max = 0.0; + protected $max = 0.0; /** * Constructor. * @@ -90,5 +90,3 @@ public function setMax($var) return $this; } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Range::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Distribution_Range::class); diff --git a/vendor/prefixed/google/common-protos/src/Api/Distribution_BucketOptions.php b/vendor/prefixed/google/common-protos/src/Api/Distribution_BucketOptions.php deleted file mode 100644 index c586062e0..000000000 --- a/vendor/prefixed/google/common-protos/src/Api/Distribution_BucketOptions.php +++ /dev/null @@ -1,17 +0,0 @@ -string summary = 1; */ - private $summary = ''; + protected $summary = ''; /** * The top level pages for the documentation set. * @@ -88,7 +90,16 @@ class Documentation extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ * * Generated from protobuf field string documentation_root_url = 4; */ - private $documentation_root_url = ''; + protected $documentation_root_url = ''; + /** + * Specifies the service root url if the default one (the service name + * from the yaml file) is not suitable. This can be seen in any fully + * specified service urls as well as sections that show a base that other + * urls are relative to. + * + * Generated from protobuf field string service_root_url = 6; + */ + protected $service_root_url = ''; /** * Declares a single overview page. For example: *
documentation:
@@ -106,7 +117,7 @@ class Documentation extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *
      * Generated from protobuf field string overview = 2;
      */
-    private $overview = '';
+    protected $overview = '';
     /**
      * Constructor.
      *
@@ -114,15 +125,22 @@ class Documentation extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *     Optional. Data for populating the Message object.
      *
      *     @type string $summary
-     *           A short summary of what the service does. Can only be provided by
-     *           plain text.
-     *     @type \Google\Api\Page[]|\Google\Protobuf\Internal\RepeatedField $pages
+     *           A short description of what the service does. The summary must be plain
+     *           text. It becomes the overview of the service displayed in Google Cloud
+     *           Console.
+     *           NOTE: This field is equivalent to the standard field `description`.
+     *     @type array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $pages
      *           The top level pages for the documentation set.
-     *     @type \Google\Api\DocumentationRule[]|\Google\Protobuf\Internal\RepeatedField $rules
+     *     @type array<\Google\Api\DocumentationRule>|\Google\Protobuf\Internal\RepeatedField $rules
      *           A list of documentation rules that apply to individual API elements.
      *           **NOTE:** All service configuration rules follow "last one wins" order.
      *     @type string $documentation_root_url
      *           The URL to the root of documentation.
+     *     @type string $service_root_url
+     *           Specifies the service root url if the default one (the service name
+     *           from the yaml file) is not suitable. This can be seen in any fully
+     *           specified service urls as well as sections that show a base that other
+     *           urls are relative to.
      *     @type string $overview
      *           Declares a single overview page. For example:
      *           
documentation:
@@ -145,8 +163,10 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * A short summary of what the service does. Can only be provided by
-     * plain text.
+     * A short description of what the service does. The summary must be plain
+     * text. It becomes the overview of the service displayed in Google Cloud
+     * Console.
+     * NOTE: This field is equivalent to the standard field `description`.
      *
      * Generated from protobuf field string summary = 1;
      * @return string
@@ -156,8 +176,10 @@ public function getSummary()
         return $this->summary;
     }
     /**
-     * A short summary of what the service does. Can only be provided by
-     * plain text.
+     * A short description of what the service does. The summary must be plain
+     * text. It becomes the overview of the service displayed in Google Cloud
+     * Console.
+     * NOTE: This field is equivalent to the standard field `description`.
      *
      * Generated from protobuf field string summary = 1;
      * @param string $var
@@ -183,7 +205,7 @@ public function getPages()
      * The top level pages for the documentation set.
      *
      * Generated from protobuf field repeated .google.api.Page pages = 5;
-     * @param \Google\Api\Page[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setPages($var)
@@ -208,7 +230,7 @@ public function getRules()
      * **NOTE:** All service configuration rules follow "last one wins" order.
      *
      * Generated from protobuf field repeated .google.api.DocumentationRule rules = 3;
-     * @param \Google\Api\DocumentationRule[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\DocumentationRule>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setRules($var)
@@ -240,6 +262,35 @@ public function setDocumentationRootUrl($var)
         $this->documentation_root_url = $var;
         return $this;
     }
+    /**
+     * Specifies the service root url if the default one (the service name
+     * from the yaml file) is not suitable. This can be seen in any fully
+     * specified service urls as well as sections that show a base that other
+     * urls are relative to.
+     *
+     * Generated from protobuf field string service_root_url = 6;
+     * @return string
+     */
+    public function getServiceRootUrl()
+    {
+        return $this->service_root_url;
+    }
+    /**
+     * Specifies the service root url if the default one (the service name
+     * from the yaml file) is not suitable. This can be seen in any fully
+     * specified service urls as well as sections that show a base that other
+     * urls are relative to.
+     *
+     * Generated from protobuf field string service_root_url = 6;
+     * @param string $var
+     * @return $this
+     */
+    public function setServiceRootUrl($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->service_root_url = $var;
+        return $this;
+    }
     /**
      * Declares a single overview page. For example:
      * 
documentation:
diff --git a/vendor/prefixed/google/common-protos/src/Api/DocumentationRule.php b/vendor/prefixed/google/common-protos/src/Api/DocumentationRule.php
index ecd37e787..9df887afb 100644
--- a/vendor/prefixed/google/common-protos/src/Api/DocumentationRule.php
+++ b/vendor/prefixed/google/common-protos/src/Api/DocumentationRule.php
@@ -15,29 +15,32 @@
 class DocumentationRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * The selector is a comma-separated list of patterns. Each pattern is a
-     * qualified name of the element which may end in "*", indicating a wildcard.
-     * Wildcards are only allowed at the end and for a whole component of the
-     * qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
-     * specify a default for all applicable elements, the whole pattern "*"
-     * is used.
+     * The selector is a comma-separated list of patterns for any element such as
+     * a method, a field, an enum value. Each pattern is a qualified name of the
+     * element which may end in "*", indicating a wildcard. Wildcards are only
+     * allowed at the end and for a whole component of the qualified name,
+     * i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match
+     * one or more components. To specify a default for all applicable elements,
+     * the whole pattern "*" is used.
      *
      * Generated from protobuf field string selector = 1;
      */
-    private $selector = '';
+    protected $selector = '';
     /**
-     * Description of the selected API(s).
+     * Description of the selected proto element (e.g. a message, a method, a
+     * 'service' definition, or a field). Defaults to leading & trailing comments
+     * taken from the proto source definition of the proto element.
      *
      * Generated from protobuf field string description = 2;
      */
-    private $description = '';
+    protected $description = '';
     /**
-     * Deprecation description of the selected element(s). It can be provided if an
-     * element is marked as `deprecated`.
+     * Deprecation description of the selected element(s). It can be provided if
+     * an element is marked as `deprecated`.
      *
      * Generated from protobuf field string deprecation_description = 3;
      */
-    private $deprecation_description = '';
+    protected $deprecation_description = '';
     /**
      * Constructor.
      *
@@ -45,17 +48,20 @@ class DocumentationRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goo
      *     Optional. Data for populating the Message object.
      *
      *     @type string $selector
-     *           The selector is a comma-separated list of patterns. Each pattern is a
-     *           qualified name of the element which may end in "*", indicating a wildcard.
-     *           Wildcards are only allowed at the end and for a whole component of the
-     *           qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
-     *           specify a default for all applicable elements, the whole pattern "*"
-     *           is used.
+     *           The selector is a comma-separated list of patterns for any element such as
+     *           a method, a field, an enum value. Each pattern is a qualified name of the
+     *           element which may end in "*", indicating a wildcard. Wildcards are only
+     *           allowed at the end and for a whole component of the qualified name,
+     *           i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match
+     *           one or more components. To specify a default for all applicable elements,
+     *           the whole pattern "*" is used.
      *     @type string $description
-     *           Description of the selected API(s).
+     *           Description of the selected proto element (e.g. a message, a method, a
+     *           'service' definition, or a field). Defaults to leading & trailing comments
+     *           taken from the proto source definition of the proto element.
      *     @type string $deprecation_description
-     *           Deprecation description of the selected element(s). It can be provided if an
-     *           element is marked as `deprecated`.
+     *           Deprecation description of the selected element(s). It can be provided if
+     *           an element is marked as `deprecated`.
      * }
      */
     public function __construct($data = NULL)
@@ -64,12 +70,13 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * The selector is a comma-separated list of patterns. Each pattern is a
-     * qualified name of the element which may end in "*", indicating a wildcard.
-     * Wildcards are only allowed at the end and for a whole component of the
-     * qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
-     * specify a default for all applicable elements, the whole pattern "*"
-     * is used.
+     * The selector is a comma-separated list of patterns for any element such as
+     * a method, a field, an enum value. Each pattern is a qualified name of the
+     * element which may end in "*", indicating a wildcard. Wildcards are only
+     * allowed at the end and for a whole component of the qualified name,
+     * i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match
+     * one or more components. To specify a default for all applicable elements,
+     * the whole pattern "*" is used.
      *
      * Generated from protobuf field string selector = 1;
      * @return string
@@ -79,12 +86,13 @@ public function getSelector()
         return $this->selector;
     }
     /**
-     * The selector is a comma-separated list of patterns. Each pattern is a
-     * qualified name of the element which may end in "*", indicating a wildcard.
-     * Wildcards are only allowed at the end and for a whole component of the
-     * qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
-     * specify a default for all applicable elements, the whole pattern "*"
-     * is used.
+     * The selector is a comma-separated list of patterns for any element such as
+     * a method, a field, an enum value. Each pattern is a qualified name of the
+     * element which may end in "*", indicating a wildcard. Wildcards are only
+     * allowed at the end and for a whole component of the qualified name,
+     * i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match
+     * one or more components. To specify a default for all applicable elements,
+     * the whole pattern "*" is used.
      *
      * Generated from protobuf field string selector = 1;
      * @param string $var
@@ -97,7 +105,9 @@ public function setSelector($var)
         return $this;
     }
     /**
-     * Description of the selected API(s).
+     * Description of the selected proto element (e.g. a message, a method, a
+     * 'service' definition, or a field). Defaults to leading & trailing comments
+     * taken from the proto source definition of the proto element.
      *
      * Generated from protobuf field string description = 2;
      * @return string
@@ -107,7 +117,9 @@ public function getDescription()
         return $this->description;
     }
     /**
-     * Description of the selected API(s).
+     * Description of the selected proto element (e.g. a message, a method, a
+     * 'service' definition, or a field). Defaults to leading & trailing comments
+     * taken from the proto source definition of the proto element.
      *
      * Generated from protobuf field string description = 2;
      * @param string $var
@@ -120,8 +132,8 @@ public function setDescription($var)
         return $this;
     }
     /**
-     * Deprecation description of the selected element(s). It can be provided if an
-     * element is marked as `deprecated`.
+     * Deprecation description of the selected element(s). It can be provided if
+     * an element is marked as `deprecated`.
      *
      * Generated from protobuf field string deprecation_description = 3;
      * @return string
@@ -131,8 +143,8 @@ public function getDeprecationDescription()
         return $this->deprecation_description;
     }
     /**
-     * Deprecation description of the selected element(s). It can be provided if an
-     * element is marked as `deprecated`.
+     * Deprecation description of the selected element(s). It can be provided if
+     * an element is marked as `deprecated`.
      *
      * Generated from protobuf field string deprecation_description = 3;
      * @param string $var
diff --git a/vendor/prefixed/google/common-protos/src/Api/DotnetSettings.php b/vendor/prefixed/google/common-protos/src/Api/DotnetSettings.php
new file mode 100644
index 000000000..5b489da45
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/DotnetSettings.php
@@ -0,0 +1,284 @@
+google.api.DotnetSettings
+ */
+class DotnetSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     */
+    protected $common = null;
+    /**
+     * Map from original service names to renamed versions.
+     * This is used when the default generated types
+     * would cause a naming conflict. (Neither name is
+     * fully-qualified.)
+     * Example: Subscriber to SubscriberServiceApi.
+     *
+     * Generated from protobuf field map renamed_services = 2;
+     */
+    private $renamed_services;
+    /**
+     * Map from full resource types to the effective short name
+     * for the resource. This is used when otherwise resource
+     * named from different services would cause naming collisions.
+     * Example entry:
+     * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
+     *
+     * Generated from protobuf field map renamed_resources = 3;
+     */
+    private $renamed_resources;
+    /**
+     * List of full resource types to ignore during generation.
+     * This is typically used for API-specific Location resources,
+     * which should be handled by the generator as if they were actually
+     * the common Location resources.
+     * Example entry: "documentai.googleapis.com/Location"
+     *
+     * Generated from protobuf field repeated string ignored_resources = 4;
+     */
+    private $ignored_resources;
+    /**
+     * Namespaces which must be aliased in snippets due to
+     * a known (but non-generator-predictable) naming collision
+     *
+     * Generated from protobuf field repeated string forced_namespace_aliases = 5;
+     */
+    private $forced_namespace_aliases;
+    /**
+     * Method signatures (in the form "service.method(signature)")
+     * which are provided separately, so shouldn't be generated.
+     * Snippets *calling* these methods are still generated, however.
+     *
+     * Generated from protobuf field repeated string handwritten_signatures = 6;
+     */
+    private $handwritten_signatures;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type \Google\Api\CommonLanguageSettings $common
+     *           Some settings.
+     *     @type array|\Google\Protobuf\Internal\MapField $renamed_services
+     *           Map from original service names to renamed versions.
+     *           This is used when the default generated types
+     *           would cause a naming conflict. (Neither name is
+     *           fully-qualified.)
+     *           Example: Subscriber to SubscriberServiceApi.
+     *     @type array|\Google\Protobuf\Internal\MapField $renamed_resources
+     *           Map from full resource types to the effective short name
+     *           for the resource. This is used when otherwise resource
+     *           named from different services would cause naming collisions.
+     *           Example entry:
+     *           "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $ignored_resources
+     *           List of full resource types to ignore during generation.
+     *           This is typically used for API-specific Location resources,
+     *           which should be handled by the generator as if they were actually
+     *           the common Location resources.
+     *           Example entry: "documentai.googleapis.com/Location"
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $forced_namespace_aliases
+     *           Namespaces which must be aliased in snippets due to
+     *           a known (but non-generator-predictable) naming collision
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $handwritten_signatures
+     *           Method signatures (in the form "service.method(signature)")
+     *           which are provided separately, so shouldn't be generated.
+     *           Snippets *calling* these methods are still generated, however.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     * @return \Google\Api\CommonLanguageSettings|null
+     */
+    public function getCommon()
+    {
+        return $this->common;
+    }
+    public function hasCommon()
+    {
+        return isset($this->common);
+    }
+    public function clearCommon()
+    {
+        unset($this->common);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     * @param \Google\Api\CommonLanguageSettings $var
+     * @return $this
+     */
+    public function setCommon($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\CommonLanguageSettings::class);
+        $this->common = $var;
+        return $this;
+    }
+    /**
+     * Map from original service names to renamed versions.
+     * This is used when the default generated types
+     * would cause a naming conflict. (Neither name is
+     * fully-qualified.)
+     * Example: Subscriber to SubscriberServiceApi.
+     *
+     * Generated from protobuf field map renamed_services = 2;
+     * @return \Google\Protobuf\Internal\MapField
+     */
+    public function getRenamedServices()
+    {
+        return $this->renamed_services;
+    }
+    /**
+     * Map from original service names to renamed versions.
+     * This is used when the default generated types
+     * would cause a naming conflict. (Neither name is
+     * fully-qualified.)
+     * Example: Subscriber to SubscriberServiceApi.
+     *
+     * Generated from protobuf field map renamed_services = 2;
+     * @param array|\Google\Protobuf\Internal\MapField $var
+     * @return $this
+     */
+    public function setRenamedServices($var)
+    {
+        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->renamed_services = $arr;
+        return $this;
+    }
+    /**
+     * Map from full resource types to the effective short name
+     * for the resource. This is used when otherwise resource
+     * named from different services would cause naming collisions.
+     * Example entry:
+     * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
+     *
+     * Generated from protobuf field map renamed_resources = 3;
+     * @return \Google\Protobuf\Internal\MapField
+     */
+    public function getRenamedResources()
+    {
+        return $this->renamed_resources;
+    }
+    /**
+     * Map from full resource types to the effective short name
+     * for the resource. This is used when otherwise resource
+     * named from different services would cause naming collisions.
+     * Example entry:
+     * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
+     *
+     * Generated from protobuf field map renamed_resources = 3;
+     * @param array|\Google\Protobuf\Internal\MapField $var
+     * @return $this
+     */
+    public function setRenamedResources($var)
+    {
+        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->renamed_resources = $arr;
+        return $this;
+    }
+    /**
+     * List of full resource types to ignore during generation.
+     * This is typically used for API-specific Location resources,
+     * which should be handled by the generator as if they were actually
+     * the common Location resources.
+     * Example entry: "documentai.googleapis.com/Location"
+     *
+     * Generated from protobuf field repeated string ignored_resources = 4;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getIgnoredResources()
+    {
+        return $this->ignored_resources;
+    }
+    /**
+     * List of full resource types to ignore during generation.
+     * This is typically used for API-specific Location resources,
+     * which should be handled by the generator as if they were actually
+     * the common Location resources.
+     * Example entry: "documentai.googleapis.com/Location"
+     *
+     * Generated from protobuf field repeated string ignored_resources = 4;
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setIgnoredResources($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->ignored_resources = $arr;
+        return $this;
+    }
+    /**
+     * Namespaces which must be aliased in snippets due to
+     * a known (but non-generator-predictable) naming collision
+     *
+     * Generated from protobuf field repeated string forced_namespace_aliases = 5;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getForcedNamespaceAliases()
+    {
+        return $this->forced_namespace_aliases;
+    }
+    /**
+     * Namespaces which must be aliased in snippets due to
+     * a known (but non-generator-predictable) naming collision
+     *
+     * Generated from protobuf field repeated string forced_namespace_aliases = 5;
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setForcedNamespaceAliases($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->forced_namespace_aliases = $arr;
+        return $this;
+    }
+    /**
+     * Method signatures (in the form "service.method(signature)")
+     * which are provided separately, so shouldn't be generated.
+     * Snippets *calling* these methods are still generated, however.
+     *
+     * Generated from protobuf field repeated string handwritten_signatures = 6;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getHandwrittenSignatures()
+    {
+        return $this->handwritten_signatures;
+    }
+    /**
+     * Method signatures (in the form "service.method(signature)")
+     * which are provided separately, so shouldn't be generated.
+     * Snippets *calling* these methods are still generated, however.
+     *
+     * Generated from protobuf field repeated string handwritten_signatures = 6;
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setHandwrittenSignatures($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->handwritten_signatures = $arr;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Endpoint.php b/vendor/prefixed/google/common-protos/src/Api/Endpoint.php
index 8df25557e..5ac090264 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Endpoint.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Endpoint.php
@@ -8,19 +8,24 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
- * `Endpoint` describes a network endpoint that serves a set of APIs.
- * A service may expose any number of endpoints, and all endpoints share the
- * same service configuration, such as quota configuration and monitoring
- * configuration.
- * Example service configuration:
+ * `Endpoint` describes a network address of a service that serves a set of
+ * APIs. It is commonly known as a service endpoint. A service may expose
+ * any number of service endpoints, and all service endpoints share the same
+ * service definition, such as quota limits and monitoring metrics.
+ * Example:
+ *     type: google.api.Service
  *     name: library-example.googleapis.com
  *     endpoints:
- *       # Below entry makes 'google.example.library.v1.Library'
- *       # API be served from endpoint address library-example.googleapis.com.
- *       # It also allows HTTP OPTIONS calls to be passed to the backend, for
- *       # it to decide whether the subsequent cross-origin request is
- *       # allowed to proceed.
+ *       # Declares network address `https://library-example.googleapis.com`
+ *       # for service `library-example.googleapis.com`. The `https` scheme
+ *       # is implicit for all service endpoints. Other schemes may be
+ *       # supported in the future.
  *     - name: library-example.googleapis.com
+ *       allow_cors: false
+ *     - name: content-staging-library-example.googleapis.com
+ *       # Allows HTTP OPTIONS calls to be passed to the API frontend, for it
+ *       # to decide whether the subsequent cross-origin request is allowed
+ *       # to proceed.
  *       allow_cors: true
  *
  * Generated from protobuf message google.api.Endpoint
@@ -32,31 +37,25 @@ class Endpoint extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto
      *
      * Generated from protobuf field string name = 1;
      */
-    private $name = '';
+    protected $name = '';
     /**
-     * DEPRECATED: This field is no longer supported. Instead of using aliases,
-     * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
-     * aliases.
-     * Additional names that this endpoint will be hosted on.
+     * Aliases for this endpoint, these will be served by the same UrlMap as the
+     * parent endpoint, and will be provisioned in the GCP stack for the Regional
+     * Endpoints.
      *
      * Generated from protobuf field repeated string aliases = 2;
      */
     private $aliases;
-    /**
-     * The list of features enabled on this endpoint.
-     *
-     * Generated from protobuf field repeated string features = 4;
-     */
-    private $features;
     /**
      * The specification of an Internet routable address of API frontend that will
-     * handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary).
-     * It should be either a valid IPv4 address or a fully-qualified domain name.
-     * For example, "8.8.8.8" or "myservice.appspot.com".
+     * handle requests to this [API
+     * Endpoint](https://cloud.google.com/apis/design/glossary). It should be
+     * either a valid IPv4 address or a fully-qualified domain name. For example,
+     * "8.8.8.8" or "myservice.appspot.com".
      *
      * Generated from protobuf field string target = 101;
      */
-    private $target = '';
+    protected $target = '';
     /**
      * Allowing
      * [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
@@ -67,7 +66,7 @@ class Endpoint extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto
      *
      * Generated from protobuf field bool allow_cors = 5;
      */
-    private $allow_cors = \false;
+    protected $allow_cors = \false;
     /**
      * Constructor.
      *
@@ -76,18 +75,16 @@ class Endpoint extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto
      *
      *     @type string $name
      *           The canonical name of this endpoint.
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $aliases
-     *           DEPRECATED: This field is no longer supported. Instead of using aliases,
-     *           please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
-     *           aliases.
-     *           Additional names that this endpoint will be hosted on.
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $features
-     *           The list of features enabled on this endpoint.
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $aliases
+     *           Aliases for this endpoint, these will be served by the same UrlMap as the
+     *           parent endpoint, and will be provisioned in the GCP stack for the Regional
+     *           Endpoints.
      *     @type string $target
      *           The specification of an Internet routable address of API frontend that will
-     *           handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary).
-     *           It should be either a valid IPv4 address or a fully-qualified domain name.
-     *           For example, "8.8.8.8" or "myservice.appspot.com".
+     *           handle requests to this [API
+     *           Endpoint](https://cloud.google.com/apis/design/glossary). It should be
+     *           either a valid IPv4 address or a fully-qualified domain name. For example,
+     *           "8.8.8.8" or "myservice.appspot.com".
      *     @type bool $allow_cors
      *           Allowing
      *           [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
@@ -126,10 +123,9 @@ public function setName($var)
         return $this;
     }
     /**
-     * DEPRECATED: This field is no longer supported. Instead of using aliases,
-     * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
-     * aliases.
-     * Additional names that this endpoint will be hosted on.
+     * Aliases for this endpoint, these will be served by the same UrlMap as the
+     * parent endpoint, and will be provisioned in the GCP stack for the Regional
+     * Endpoints.
      *
      * Generated from protobuf field repeated string aliases = 2;
      * @return \Google\Protobuf\Internal\RepeatedField
@@ -139,13 +135,12 @@ public function getAliases()
         return $this->aliases;
     }
     /**
-     * DEPRECATED: This field is no longer supported. Instead of using aliases,
-     * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
-     * aliases.
-     * Additional names that this endpoint will be hosted on.
+     * Aliases for this endpoint, these will be served by the same UrlMap as the
+     * parent endpoint, and will be provisioned in the GCP stack for the Regional
+     * Endpoints.
      *
      * Generated from protobuf field repeated string aliases = 2;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setAliases($var)
@@ -154,34 +149,12 @@ public function setAliases($var)
         $this->aliases = $arr;
         return $this;
     }
-    /**
-     * The list of features enabled on this endpoint.
-     *
-     * Generated from protobuf field repeated string features = 4;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getFeatures()
-    {
-        return $this->features;
-    }
-    /**
-     * The list of features enabled on this endpoint.
-     *
-     * Generated from protobuf field repeated string features = 4;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setFeatures($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
-        $this->features = $arr;
-        return $this;
-    }
     /**
      * The specification of an Internet routable address of API frontend that will
-     * handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary).
-     * It should be either a valid IPv4 address or a fully-qualified domain name.
-     * For example, "8.8.8.8" or "myservice.appspot.com".
+     * handle requests to this [API
+     * Endpoint](https://cloud.google.com/apis/design/glossary). It should be
+     * either a valid IPv4 address or a fully-qualified domain name. For example,
+     * "8.8.8.8" or "myservice.appspot.com".
      *
      * Generated from protobuf field string target = 101;
      * @return string
@@ -192,9 +165,10 @@ public function getTarget()
     }
     /**
      * The specification of an Internet routable address of API frontend that will
-     * handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary).
-     * It should be either a valid IPv4 address or a fully-qualified domain name.
-     * For example, "8.8.8.8" or "myservice.appspot.com".
+     * handle requests to this [API
+     * Endpoint](https://cloud.google.com/apis/design/glossary). It should be
+     * either a valid IPv4 address or a fully-qualified domain name. For example,
+     * "8.8.8.8" or "myservice.appspot.com".
      *
      * Generated from protobuf field string target = 101;
      * @param string $var
diff --git a/vendor/prefixed/google/common-protos/src/Api/ErrorReason.php b/vendor/prefixed/google/common-protos/src/Api/ErrorReason.php
new file mode 100644
index 000000000..ff5e1c040
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/ErrorReason.php
@@ -0,0 +1,613 @@
+google.api.ErrorReason
+ */
+class ErrorReason
+{
+    /**
+     * Do not use this default value.
+     *
+     * Generated from protobuf enum ERROR_REASON_UNSPECIFIED = 0;
+     */
+    const ERROR_REASON_UNSPECIFIED = 0;
+    /**
+     * The request is calling a disabled service for a consumer.
+     * Example of an ErrorInfo when the consumer "projects/123" contacting
+     * "pubsub.googleapis.com" service which is disabled:
+     *     { "reason": "SERVICE_DISABLED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "pubsub.googleapis.com"
+     *       }
+     *     }
+     * This response indicates the "pubsub.googleapis.com" has been disabled in
+     * "projects/123".
+     *
+     * Generated from protobuf enum SERVICE_DISABLED = 1;
+     */
+    const SERVICE_DISABLED = 1;
+    /**
+     * The request whose associated billing account is disabled.
+     * Example of an ErrorInfo when the consumer "projects/123" fails to contact
+     * "pubsub.googleapis.com" service because the associated billing account is
+     * disabled:
+     *     { "reason": "BILLING_DISABLED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "pubsub.googleapis.com"
+     *       }
+     *     }
+     * This response indicates the billing account associated has been disabled.
+     *
+     * Generated from protobuf enum BILLING_DISABLED = 2;
+     */
+    const BILLING_DISABLED = 2;
+    /**
+     * The request is denied because the provided [API
+     * key](https://cloud.google.com/docs/authentication/api-keys) is invalid. It
+     * may be in a bad format, cannot be found, or has been expired).
+     * Example of an ErrorInfo when the request is contacting
+     * "storage.googleapis.com" service with an invalid API key:
+     *     { "reason": "API_KEY_INVALID",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "service": "storage.googleapis.com",
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum API_KEY_INVALID = 3;
+     */
+    const API_KEY_INVALID = 3;
+    /**
+     * The request is denied because it violates [API key API
+     * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_api_restrictions).
+     * Example of an ErrorInfo when the consumer "projects/123" fails to call the
+     * "storage.googleapis.com" service because this service is restricted in the
+     * API key:
+     *     { "reason": "API_KEY_SERVICE_BLOCKED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "storage.googleapis.com"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum API_KEY_SERVICE_BLOCKED = 4;
+     */
+    const API_KEY_SERVICE_BLOCKED = 4;
+    /**
+     * The request is denied because it violates [API key HTTP
+     * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_http_restrictions).
+     * Example of an ErrorInfo when the consumer "projects/123" fails to call
+     * "storage.googleapis.com" service because the http referrer of the request
+     * violates API key HTTP restrictions:
+     *     { "reason": "API_KEY_HTTP_REFERRER_BLOCKED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "storage.googleapis.com",
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum API_KEY_HTTP_REFERRER_BLOCKED = 7;
+     */
+    const API_KEY_HTTP_REFERRER_BLOCKED = 7;
+    /**
+     * The request is denied because it violates [API key IP address
+     * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
+     * Example of an ErrorInfo when the consumer "projects/123" fails to call
+     * "storage.googleapis.com" service because the caller IP of the request
+     * violates API key IP address restrictions:
+     *     { "reason": "API_KEY_IP_ADDRESS_BLOCKED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "storage.googleapis.com",
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum API_KEY_IP_ADDRESS_BLOCKED = 8;
+     */
+    const API_KEY_IP_ADDRESS_BLOCKED = 8;
+    /**
+     * The request is denied because it violates [API key Android application
+     * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
+     * Example of an ErrorInfo when the consumer "projects/123" fails to call
+     * "storage.googleapis.com" service because the request from the Android apps
+     * violates the API key Android application restrictions:
+     *     { "reason": "API_KEY_ANDROID_APP_BLOCKED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "storage.googleapis.com"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum API_KEY_ANDROID_APP_BLOCKED = 9;
+     */
+    const API_KEY_ANDROID_APP_BLOCKED = 9;
+    /**
+     * The request is denied because it violates [API key iOS application
+     * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
+     * Example of an ErrorInfo when the consumer "projects/123" fails to call
+     * "storage.googleapis.com" service because the request from the iOS apps
+     * violates the API key iOS application restrictions:
+     *     { "reason": "API_KEY_IOS_APP_BLOCKED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "storage.googleapis.com"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum API_KEY_IOS_APP_BLOCKED = 13;
+     */
+    const API_KEY_IOS_APP_BLOCKED = 13;
+    /**
+     * The request is denied because there is not enough rate quota for the
+     * consumer.
+     * Example of an ErrorInfo when the consumer "projects/123" fails to contact
+     * "pubsub.googleapis.com" service because consumer's rate quota usage has
+     * reached the maximum value set for the quota limit
+     * "ReadsPerMinutePerProject" on the quota metric
+     * "pubsub.googleapis.com/read_requests":
+     *     { "reason": "RATE_LIMIT_EXCEEDED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "pubsub.googleapis.com",
+     *         "quota_metric": "pubsub.googleapis.com/read_requests",
+     *         "quota_limit": "ReadsPerMinutePerProject"
+     *       }
+     *     }
+     * Example of an ErrorInfo when the consumer "projects/123" checks quota on
+     * the service "dataflow.googleapis.com" and hits the organization quota
+     * limit "DefaultRequestsPerMinutePerOrganization" on the metric
+     * "dataflow.googleapis.com/default_requests".
+     *     { "reason": "RATE_LIMIT_EXCEEDED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "dataflow.googleapis.com",
+     *         "quota_metric": "dataflow.googleapis.com/default_requests",
+     *         "quota_limit": "DefaultRequestsPerMinutePerOrganization"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum RATE_LIMIT_EXCEEDED = 5;
+     */
+    const RATE_LIMIT_EXCEEDED = 5;
+    /**
+     * The request is denied because there is not enough resource quota for the
+     * consumer.
+     * Example of an ErrorInfo when the consumer "projects/123" fails to contact
+     * "compute.googleapis.com" service because consumer's resource quota usage
+     * has reached the maximum value set for the quota limit "VMsPerProject"
+     * on the quota metric "compute.googleapis.com/vms":
+     *     { "reason": "RESOURCE_QUOTA_EXCEEDED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "compute.googleapis.com",
+     *         "quota_metric": "compute.googleapis.com/vms",
+     *         "quota_limit": "VMsPerProject"
+     *       }
+     *     }
+     * Example of an ErrorInfo when the consumer "projects/123" checks resource
+     * quota on the service "dataflow.googleapis.com" and hits the organization
+     * quota limit "jobs-per-organization" on the metric
+     * "dataflow.googleapis.com/job_count".
+     *     { "reason": "RESOURCE_QUOTA_EXCEEDED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "dataflow.googleapis.com",
+     *         "quota_metric": "dataflow.googleapis.com/job_count",
+     *         "quota_limit": "jobs-per-organization"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum RESOURCE_QUOTA_EXCEEDED = 6;
+     */
+    const RESOURCE_QUOTA_EXCEEDED = 6;
+    /**
+     * The request whose associated billing account address is in a tax restricted
+     * location, violates the local tax restrictions when creating resources in
+     * the restricted region.
+     * Example of an ErrorInfo when creating the Cloud Storage Bucket in the
+     * container "projects/123" under a tax restricted region
+     * "locations/asia-northeast3":
+     *     { "reason": "LOCATION_TAX_POLICY_VIOLATED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "storage.googleapis.com",
+     *         "location": "locations/asia-northeast3"
+     *       }
+     *     }
+     * This response indicates creating the Cloud Storage Bucket in
+     * "locations/asia-northeast3" violates the location tax restriction.
+     *
+     * Generated from protobuf enum LOCATION_TAX_POLICY_VIOLATED = 10;
+     */
+    const LOCATION_TAX_POLICY_VIOLATED = 10;
+    /**
+     * The request is denied because the caller does not have required permission
+     * on the user project "projects/123" or the user project is invalid. For more
+     * information, check the [userProject System
+     * Parameters](https://cloud.google.com/apis/docs/system-parameters).
+     * Example of an ErrorInfo when the caller is calling Cloud Storage service
+     * with insufficient permissions on the user project:
+     *     { "reason": "USER_PROJECT_DENIED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "storage.googleapis.com"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum USER_PROJECT_DENIED = 11;
+     */
+    const USER_PROJECT_DENIED = 11;
+    /**
+     * The request is denied because the consumer "projects/123" is suspended due
+     * to Terms of Service(Tos) violations. Check [Project suspension
+     * guidelines](https://cloud.google.com/resource-manager/docs/project-suspension-guidelines)
+     * for more information.
+     * Example of an ErrorInfo when calling Cloud Storage service with the
+     * suspended consumer "projects/123":
+     *     { "reason": "CONSUMER_SUSPENDED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "storage.googleapis.com"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum CONSUMER_SUSPENDED = 12;
+     */
+    const CONSUMER_SUSPENDED = 12;
+    /**
+     * The request is denied because the associated consumer is invalid. It may be
+     * in a bad format, cannot be found, or have been deleted.
+     * Example of an ErrorInfo when calling Cloud Storage service with the
+     * invalid consumer "projects/123":
+     *     { "reason": "CONSUMER_INVALID",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "storage.googleapis.com"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum CONSUMER_INVALID = 14;
+     */
+    const CONSUMER_INVALID = 14;
+    /**
+     * The request is denied because it violates [VPC Service
+     * Controls](https://cloud.google.com/vpc-service-controls/docs/overview).
+     * The 'uid' field is a random generated identifier that customer can use it
+     * to search the audit log for a request rejected by VPC Service Controls. For
+     * more information, please refer [VPC Service Controls
+     * Troubleshooting](https://cloud.google.com/vpc-service-controls/docs/troubleshooting#unique-id)
+     * Example of an ErrorInfo when the consumer "projects/123" fails to call
+     * Cloud Storage service because the request is prohibited by the VPC Service
+     * Controls.
+     *     { "reason": "SECURITY_POLICY_VIOLATED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "uid": "123456789abcde",
+     *         "consumer": "projects/123",
+     *         "service": "storage.googleapis.com"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum SECURITY_POLICY_VIOLATED = 15;
+     */
+    const SECURITY_POLICY_VIOLATED = 15;
+    /**
+     * The request is denied because the provided access token has expired.
+     * Example of an ErrorInfo when the request is calling Cloud Storage service
+     * with an expired access token:
+     *     { "reason": "ACCESS_TOKEN_EXPIRED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "service": "storage.googleapis.com",
+     *         "method": "google.storage.v1.Storage.GetObject"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum ACCESS_TOKEN_EXPIRED = 16;
+     */
+    const ACCESS_TOKEN_EXPIRED = 16;
+    /**
+     * The request is denied because the provided access token doesn't have at
+     * least one of the acceptable scopes required for the API. Please check
+     * [OAuth 2.0 Scopes for Google
+     * APIs](https://developers.google.com/identity/protocols/oauth2/scopes) for
+     * the list of the OAuth 2.0 scopes that you might need to request to access
+     * the API.
+     * Example of an ErrorInfo when the request is calling Cloud Storage service
+     * with an access token that is missing required scopes:
+     *     { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "service": "storage.googleapis.com",
+     *         "method": "google.storage.v1.Storage.GetObject"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum ACCESS_TOKEN_SCOPE_INSUFFICIENT = 17;
+     */
+    const ACCESS_TOKEN_SCOPE_INSUFFICIENT = 17;
+    /**
+     * The request is denied because the account associated with the provided
+     * access token is in an invalid state, such as disabled or deleted.
+     * For more information, see https://cloud.google.com/docs/authentication.
+     * Warning: For privacy reasons, the server may not be able to disclose the
+     * email address for some accounts. The client MUST NOT depend on the
+     * availability of the `email` attribute.
+     * Example of an ErrorInfo when the request is to the Cloud Storage API with
+     * an access token that is associated with a disabled or deleted [service
+     * account](http://cloud/iam/docs/service-accounts):
+     *     { "reason": "ACCOUNT_STATE_INVALID",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "service": "storage.googleapis.com",
+     *         "method": "google.storage.v1.Storage.GetObject",
+     *         "email": "user@123.iam.gserviceaccount.com"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum ACCOUNT_STATE_INVALID = 18;
+     */
+    const ACCOUNT_STATE_INVALID = 18;
+    /**
+     * The request is denied because the type of the provided access token is not
+     * supported by the API being called.
+     * Example of an ErrorInfo when the request is to the Cloud Storage API with
+     * an unsupported token type.
+     *     { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "service": "storage.googleapis.com",
+     *         "method": "google.storage.v1.Storage.GetObject"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum ACCESS_TOKEN_TYPE_UNSUPPORTED = 19;
+     */
+    const ACCESS_TOKEN_TYPE_UNSUPPORTED = 19;
+    /**
+     * The request is denied because the request doesn't have any authentication
+     * credentials. For more information regarding the supported authentication
+     * strategies for Google Cloud APIs, see
+     * https://cloud.google.com/docs/authentication.
+     * Example of an ErrorInfo when the request is to the Cloud Storage API
+     * without any authentication credentials.
+     *     { "reason": "CREDENTIALS_MISSING",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "service": "storage.googleapis.com",
+     *         "method": "google.storage.v1.Storage.GetObject"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum CREDENTIALS_MISSING = 20;
+     */
+    const CREDENTIALS_MISSING = 20;
+    /**
+     * The request is denied because the provided project owning the resource
+     * which acts as the [API
+     * consumer](https://cloud.google.com/apis/design/glossary#api_consumer) is
+     * invalid. It may be in a bad format or empty.
+     * Example of an ErrorInfo when the request is to the Cloud Functions API,
+     * but the offered resource project in the request in a bad format which can't
+     * perform the ListFunctions method.
+     *     { "reason": "RESOURCE_PROJECT_INVALID",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "service": "cloudfunctions.googleapis.com",
+     *         "method":
+     *         "google.cloud.functions.v1.CloudFunctionsService.ListFunctions"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum RESOURCE_PROJECT_INVALID = 21;
+     */
+    const RESOURCE_PROJECT_INVALID = 21;
+    /**
+     * The request is denied because the provided session cookie is missing,
+     * invalid or failed to decode.
+     * Example of an ErrorInfo when the request is calling Cloud Storage service
+     * with a SID cookie which can't be decoded.
+     *     { "reason": "SESSION_COOKIE_INVALID",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "service": "storage.googleapis.com",
+     *         "method": "google.storage.v1.Storage.GetObject",
+     *         "cookie": "SID"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum SESSION_COOKIE_INVALID = 23;
+     */
+    const SESSION_COOKIE_INVALID = 23;
+    /**
+     * The request is denied because the user is from a Google Workspace customer
+     * that blocks their users from accessing a particular service.
+     * Example scenario: https://support.google.com/a/answer/9197205?hl=en
+     * Example of an ErrorInfo when access to Google Cloud Storage service is
+     * blocked by the Google Workspace administrator:
+     *     { "reason": "USER_BLOCKED_BY_ADMIN",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "service": "storage.googleapis.com",
+     *         "method": "google.storage.v1.Storage.GetObject",
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum USER_BLOCKED_BY_ADMIN = 24;
+     */
+    const USER_BLOCKED_BY_ADMIN = 24;
+    /**
+     * The request is denied because the resource service usage is restricted
+     * by administrators according to the organization policy constraint.
+     * For more information see
+     * https://cloud.google.com/resource-manager/docs/organization-policy/restricting-services.
+     * Example of an ErrorInfo when access to Google Cloud Storage service is
+     * restricted by Resource Usage Restriction policy:
+     *     { "reason": "RESOURCE_USAGE_RESTRICTION_VIOLATED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/project-123",
+     *         "service": "storage.googleapis.com"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum RESOURCE_USAGE_RESTRICTION_VIOLATED = 25;
+     */
+    const RESOURCE_USAGE_RESTRICTION_VIOLATED = 25;
+    /**
+     * Unimplemented. Do not use.
+     * The request is denied because it contains unsupported system parameters in
+     * URL query parameters or HTTP headers. For more information,
+     * see https://cloud.google.com/apis/docs/system-parameters
+     * Example of an ErrorInfo when access "pubsub.googleapis.com" service with
+     * a request header of "x-goog-user-ip":
+     *     { "reason": "SYSTEM_PARAMETER_UNSUPPORTED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "service": "pubsub.googleapis.com"
+     *         "parameter": "x-goog-user-ip"
+     *       }
+     *     }
+     *
+     * Generated from protobuf enum SYSTEM_PARAMETER_UNSUPPORTED = 26;
+     */
+    const SYSTEM_PARAMETER_UNSUPPORTED = 26;
+    /**
+     * The request is denied because it violates Org Restriction: the requested
+     * resource does not belong to allowed organizations specified in
+     * "X-Goog-Allowed-Resources" header.
+     * Example of an ErrorInfo when accessing a GCP resource that is restricted by
+     * Org Restriction for "pubsub.googleapis.com" service.
+     * {
+     *   reason: "ORG_RESTRICTION_VIOLATION"
+     *   domain: "googleapis.com"
+     *   metadata {
+     *     "consumer":"projects/123456"
+     *     "service": "pubsub.googleapis.com"
+     *   }
+     * }
+     *
+     * Generated from protobuf enum ORG_RESTRICTION_VIOLATION = 27;
+     */
+    const ORG_RESTRICTION_VIOLATION = 27;
+    /**
+     * The request is denied because "X-Goog-Allowed-Resources" header is in a bad
+     * format.
+     * Example of an ErrorInfo when
+     * accessing "pubsub.googleapis.com" service with an invalid
+     * "X-Goog-Allowed-Resources" request header.
+     * {
+     *   reason: "ORG_RESTRICTION_HEADER_INVALID"
+     *   domain: "googleapis.com"
+     *   metadata {
+     *     "consumer":"projects/123456"
+     *     "service": "pubsub.googleapis.com"
+     *   }
+     * }
+     *
+     * Generated from protobuf enum ORG_RESTRICTION_HEADER_INVALID = 28;
+     */
+    const ORG_RESTRICTION_HEADER_INVALID = 28;
+    /**
+     * Unimplemented. Do not use.
+     * The request is calling a service that is not visible to the consumer.
+     * Example of an ErrorInfo when the consumer "projects/123" contacting
+     *  "pubsub.googleapis.com" service which is not visible to the consumer.
+     *     { "reason": "SERVICE_NOT_VISIBLE",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "pubsub.googleapis.com"
+     *       }
+     *     }
+     * This response indicates the "pubsub.googleapis.com" is not visible to
+     * "projects/123" (or it may not exist).
+     *
+     * Generated from protobuf enum SERVICE_NOT_VISIBLE = 29;
+     */
+    const SERVICE_NOT_VISIBLE = 29;
+    /**
+     * The request is related to a project for which GCP access is suspended.
+     * Example of an ErrorInfo when the consumer "projects/123" fails to contact
+     * "pubsub.googleapis.com" service because GCP access is suspended:
+     *     { "reason": "GCP_SUSPENDED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "pubsub.googleapis.com"
+     *       }
+     *     }
+     * This response indicates the associated GCP account has been suspended.
+     *
+     * Generated from protobuf enum GCP_SUSPENDED = 30;
+     */
+    const GCP_SUSPENDED = 30;
+    /**
+     * The request violates the location policies when creating resources in
+     * the restricted region.
+     * Example of an ErrorInfo when creating the Cloud Storage Bucket by
+     * "projects/123" for service storage.googleapis.com:
+     *     { "reason": "LOCATION_POLICY_VIOLATED",
+     *       "domain": "googleapis.com",
+     *       "metadata": {
+     *         "consumer": "projects/123",
+     *         "service": "storage.googleapis.com",
+     *       }
+     *     }
+     * This response indicates creating the Cloud Storage Bucket in
+     * "locations/asia-northeast3" violates at least one location policy.
+     * The troubleshooting guidance is provided in the Help links.
+     *
+     * Generated from protobuf enum LOCATION_POLICY_VIOLATED = 31;
+     */
+    const LOCATION_POLICY_VIOLATED = 31;
+    private static $valueToName = [self::ERROR_REASON_UNSPECIFIED => 'ERROR_REASON_UNSPECIFIED', self::SERVICE_DISABLED => 'SERVICE_DISABLED', self::BILLING_DISABLED => 'BILLING_DISABLED', self::API_KEY_INVALID => 'API_KEY_INVALID', self::API_KEY_SERVICE_BLOCKED => 'API_KEY_SERVICE_BLOCKED', self::API_KEY_HTTP_REFERRER_BLOCKED => 'API_KEY_HTTP_REFERRER_BLOCKED', self::API_KEY_IP_ADDRESS_BLOCKED => 'API_KEY_IP_ADDRESS_BLOCKED', self::API_KEY_ANDROID_APP_BLOCKED => 'API_KEY_ANDROID_APP_BLOCKED', self::API_KEY_IOS_APP_BLOCKED => 'API_KEY_IOS_APP_BLOCKED', self::RATE_LIMIT_EXCEEDED => 'RATE_LIMIT_EXCEEDED', self::RESOURCE_QUOTA_EXCEEDED => 'RESOURCE_QUOTA_EXCEEDED', self::LOCATION_TAX_POLICY_VIOLATED => 'LOCATION_TAX_POLICY_VIOLATED', self::USER_PROJECT_DENIED => 'USER_PROJECT_DENIED', self::CONSUMER_SUSPENDED => 'CONSUMER_SUSPENDED', self::CONSUMER_INVALID => 'CONSUMER_INVALID', self::SECURITY_POLICY_VIOLATED => 'SECURITY_POLICY_VIOLATED', self::ACCESS_TOKEN_EXPIRED => 'ACCESS_TOKEN_EXPIRED', self::ACCESS_TOKEN_SCOPE_INSUFFICIENT => 'ACCESS_TOKEN_SCOPE_INSUFFICIENT', self::ACCOUNT_STATE_INVALID => 'ACCOUNT_STATE_INVALID', self::ACCESS_TOKEN_TYPE_UNSUPPORTED => 'ACCESS_TOKEN_TYPE_UNSUPPORTED', self::CREDENTIALS_MISSING => 'CREDENTIALS_MISSING', self::RESOURCE_PROJECT_INVALID => 'RESOURCE_PROJECT_INVALID', self::SESSION_COOKIE_INVALID => 'SESSION_COOKIE_INVALID', self::USER_BLOCKED_BY_ADMIN => 'USER_BLOCKED_BY_ADMIN', self::RESOURCE_USAGE_RESTRICTION_VIOLATED => 'RESOURCE_USAGE_RESTRICTION_VIOLATED', self::SYSTEM_PARAMETER_UNSUPPORTED => 'SYSTEM_PARAMETER_UNSUPPORTED', self::ORG_RESTRICTION_VIOLATION => 'ORG_RESTRICTION_VIOLATION', self::ORG_RESTRICTION_HEADER_INVALID => 'ORG_RESTRICTION_HEADER_INVALID', self::SERVICE_NOT_VISIBLE => 'SERVICE_NOT_VISIBLE', self::GCP_SUSPENDED => 'GCP_SUSPENDED', self::LOCATION_POLICY_VIOLATED => 'LOCATION_POLICY_VIOLATED'];
+    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/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/CheckRequest.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/CheckRequest.php
deleted file mode 100644
index e5de84660..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/CheckRequest.php
+++ /dev/null
@@ -1,174 +0,0 @@
-google.api.expr.v1alpha1.CheckRequest
- */
-class CheckRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. The parsed representation of the CEL program.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1 [(.google.api.field_behavior) = REQUIRED];
-     */
-    private $parsed_expr = null;
-    /**
-     * Declarations of types for external variables and functions.
-     * Required if program uses external variables or functions
-     * not in the default environment.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Decl type_env = 2;
-     */
-    private $type_env;
-    /**
-     * The protocol buffer context.  See "Name Resolution" in the
-     * Language Definition.
-     *
-     * Generated from protobuf field string container = 3;
-     */
-    private $container = '';
-    /**
-     * If true, use only the declarations in [type_env][google.api.expr.v1alpha1.CheckRequest.type_env].  If false (default),
-     * add declarations for the standard definitions to the type environment.  See
-     * "Standard Definitions" in the Language Definition.
-     *
-     * Generated from protobuf field bool no_std_env = 4;
-     */
-    private $no_std_env = \false;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\ParsedExpr $parsed_expr
-     *           Required. The parsed representation of the CEL program.
-     *     @type \Google\Api\Expr\V1alpha1\Decl[]|\Google\Protobuf\Internal\RepeatedField $type_env
-     *           Declarations of types for external variables and functions.
-     *           Required if program uses external variables or functions
-     *           not in the default environment.
-     *     @type string $container
-     *           The protocol buffer context.  See "Name Resolution" in the
-     *           Language Definition.
-     *     @type bool $no_std_env
-     *           If true, use only the declarations in [type_env][google.api.expr.v1alpha1.CheckRequest.type_env].  If false (default),
-     *           add declarations for the standard definitions to the type environment.  See
-     *           "Standard Definitions" in the Language Definition.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\ConformanceService::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. The parsed representation of the CEL program.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1 [(.google.api.field_behavior) = REQUIRED];
-     * @return \Google\Api\Expr\V1alpha1\ParsedExpr
-     */
-    public function getParsedExpr()
-    {
-        return $this->parsed_expr;
-    }
-    /**
-     * Required. The parsed representation of the CEL program.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1 [(.google.api.field_behavior) = REQUIRED];
-     * @param \Google\Api\Expr\V1alpha1\ParsedExpr $var
-     * @return $this
-     */
-    public function setParsedExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\ParsedExpr::class);
-        $this->parsed_expr = $var;
-        return $this;
-    }
-    /**
-     * Declarations of types for external variables and functions.
-     * Required if program uses external variables or functions
-     * not in the default environment.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Decl type_env = 2;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getTypeEnv()
-    {
-        return $this->type_env;
-    }
-    /**
-     * Declarations of types for external variables and functions.
-     * Required if program uses external variables or functions
-     * not in the default environment.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Decl type_env = 2;
-     * @param \Google\Api\Expr\V1alpha1\Decl[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setTypeEnv($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Decl::class);
-        $this->type_env = $arr;
-        return $this;
-    }
-    /**
-     * The protocol buffer context.  See "Name Resolution" in the
-     * Language Definition.
-     *
-     * Generated from protobuf field string container = 3;
-     * @return string
-     */
-    public function getContainer()
-    {
-        return $this->container;
-    }
-    /**
-     * The protocol buffer context.  See "Name Resolution" in the
-     * Language Definition.
-     *
-     * Generated from protobuf field string container = 3;
-     * @param string $var
-     * @return $this
-     */
-    public function setContainer($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->container = $var;
-        return $this;
-    }
-    /**
-     * If true, use only the declarations in [type_env][google.api.expr.v1alpha1.CheckRequest.type_env].  If false (default),
-     * add declarations for the standard definitions to the type environment.  See
-     * "Standard Definitions" in the Language Definition.
-     *
-     * Generated from protobuf field bool no_std_env = 4;
-     * @return bool
-     */
-    public function getNoStdEnv()
-    {
-        return $this->no_std_env;
-    }
-    /**
-     * If true, use only the declarations in [type_env][google.api.expr.v1alpha1.CheckRequest.type_env].  If false (default),
-     * add declarations for the standard definitions to the type environment.  See
-     * "Standard Definitions" in the Language Definition.
-     *
-     * Generated from protobuf field bool no_std_env = 4;
-     * @param bool $var
-     * @return $this
-     */
-    public function setNoStdEnv($var)
-    {
-        GPBUtil::checkBool($var);
-        $this->no_std_env = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/CheckResponse.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/CheckResponse.php
deleted file mode 100644
index d8458b3e4..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/CheckResponse.php
+++ /dev/null
@@ -1,92 +0,0 @@
-google.api.expr.v1alpha1.CheckResponse
- */
-class CheckResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The annotated representation, or unset if checking failed.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.CheckedExpr checked_expr = 1;
-     */
-    private $checked_expr = null;
-    /**
-     * Any number of issues with [StatusDetails][] as the details.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status issues = 2;
-     */
-    private $issues;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\CheckedExpr $checked_expr
-     *           The annotated representation, or unset if checking failed.
-     *     @type \Google\Rpc\Status[]|\Google\Protobuf\Internal\RepeatedField $issues
-     *           Any number of issues with [StatusDetails][] as the details.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\ConformanceService::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The annotated representation, or unset if checking failed.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.CheckedExpr checked_expr = 1;
-     * @return \Google\Api\Expr\V1alpha1\CheckedExpr
-     */
-    public function getCheckedExpr()
-    {
-        return $this->checked_expr;
-    }
-    /**
-     * The annotated representation, or unset if checking failed.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.CheckedExpr checked_expr = 1;
-     * @param \Google\Api\Expr\V1alpha1\CheckedExpr $var
-     * @return $this
-     */
-    public function setCheckedExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\CheckedExpr::class);
-        $this->checked_expr = $var;
-        return $this;
-    }
-    /**
-     * Any number of issues with [StatusDetails][] as the details.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status issues = 2;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getIssues()
-    {
-        return $this->issues;
-    }
-    /**
-     * Any number of issues with [StatusDetails][] as the details.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status issues = 2;
-     * @param \Google\Rpc\Status[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setIssues($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Status::class);
-        $this->issues = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/CheckedExpr.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/CheckedExpr.php
deleted file mode 100644
index d38147510..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/CheckedExpr.php
+++ /dev/null
@@ -1,222 +0,0 @@
-google.api.expr.v1alpha1.CheckedExpr
- */
-class CheckedExpr extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * A map from expression ids to resolved references.
-     * The following entries are in this table:
-     * - An Ident or Select expression is represented here if it resolves to a
-     *   declaration. For instance, if `a.b.c` is represented by
-     *   `select(select(id(a), b), c)`, and `a.b` resolves to a declaration,
-     *   while `c` is a field selection, then the reference is attached to the
-     *   nested select expression (but not to the id or or the outer select).
-     *   In turn, if `a` resolves to a declaration and `b.c` are field selections,
-     *   the reference is attached to the ident expression.
-     * - Every Call expression has an entry here, identifying the function being
-     *   called.
-     * - Every CreateStruct expression for a message has an entry, identifying
-     *   the message.
-     *
-     * Generated from protobuf field map reference_map = 2;
-     */
-    private $reference_map;
-    /**
-     * A map from expression ids to types.
-     * Every expression node which has a type different than DYN has a mapping
-     * here. If an expression has type DYN, it is omitted from this map to save
-     * space.
-     *
-     * Generated from protobuf field map type_map = 3;
-     */
-    private $type_map;
-    /**
-     * The source info derived from input that generated the parsed `expr` and
-     * any optimizations made during the type-checking pass.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.SourceInfo source_info = 5;
-     */
-    private $source_info = null;
-    /**
-     * The checked expression. Semantically equivalent to the parsed `expr`, but
-     * may have structural differences.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr expr = 4;
-     */
-    private $expr = null;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type array|\Google\Protobuf\Internal\MapField $reference_map
-     *           A map from expression ids to resolved references.
-     *           The following entries are in this table:
-     *           - An Ident or Select expression is represented here if it resolves to a
-     *             declaration. For instance, if `a.b.c` is represented by
-     *             `select(select(id(a), b), c)`, and `a.b` resolves to a declaration,
-     *             while `c` is a field selection, then the reference is attached to the
-     *             nested select expression (but not to the id or or the outer select).
-     *             In turn, if `a` resolves to a declaration and `b.c` are field selections,
-     *             the reference is attached to the ident expression.
-     *           - Every Call expression has an entry here, identifying the function being
-     *             called.
-     *           - Every CreateStruct expression for a message has an entry, identifying
-     *             the message.
-     *     @type array|\Google\Protobuf\Internal\MapField $type_map
-     *           A map from expression ids to types.
-     *           Every expression node which has a type different than DYN has a mapping
-     *           here. If an expression has type DYN, it is omitted from this map to save
-     *           space.
-     *     @type \Google\Api\Expr\V1alpha1\SourceInfo $source_info
-     *           The source info derived from input that generated the parsed `expr` and
-     *           any optimizations made during the type-checking pass.
-     *     @type \Google\Api\Expr\V1alpha1\Expr $expr
-     *           The checked expression. Semantically equivalent to the parsed `expr`, but
-     *           may have structural differences.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Checked::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * A map from expression ids to resolved references.
-     * The following entries are in this table:
-     * - An Ident or Select expression is represented here if it resolves to a
-     *   declaration. For instance, if `a.b.c` is represented by
-     *   `select(select(id(a), b), c)`, and `a.b` resolves to a declaration,
-     *   while `c` is a field selection, then the reference is attached to the
-     *   nested select expression (but not to the id or or the outer select).
-     *   In turn, if `a` resolves to a declaration and `b.c` are field selections,
-     *   the reference is attached to the ident expression.
-     * - Every Call expression has an entry here, identifying the function being
-     *   called.
-     * - Every CreateStruct expression for a message has an entry, identifying
-     *   the message.
-     *
-     * Generated from protobuf field map reference_map = 2;
-     * @return \Google\Protobuf\Internal\MapField
-     */
-    public function getReferenceMap()
-    {
-        return $this->reference_map;
-    }
-    /**
-     * A map from expression ids to resolved references.
-     * The following entries are in this table:
-     * - An Ident or Select expression is represented here if it resolves to a
-     *   declaration. For instance, if `a.b.c` is represented by
-     *   `select(select(id(a), b), c)`, and `a.b` resolves to a declaration,
-     *   while `c` is a field selection, then the reference is attached to the
-     *   nested select expression (but not to the id or or the outer select).
-     *   In turn, if `a` resolves to a declaration and `b.c` are field selections,
-     *   the reference is attached to the ident expression.
-     * - Every Call expression has an entry here, identifying the function being
-     *   called.
-     * - Every CreateStruct expression for a message has an entry, identifying
-     *   the message.
-     *
-     * Generated from protobuf field map reference_map = 2;
-     * @param array|\Google\Protobuf\Internal\MapField $var
-     * @return $this
-     */
-    public function setReferenceMap($var)
-    {
-        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT64, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Reference::class);
-        $this->reference_map = $arr;
-        return $this;
-    }
-    /**
-     * A map from expression ids to types.
-     * Every expression node which has a type different than DYN has a mapping
-     * here. If an expression has type DYN, it is omitted from this map to save
-     * space.
-     *
-     * Generated from protobuf field map type_map = 3;
-     * @return \Google\Protobuf\Internal\MapField
-     */
-    public function getTypeMap()
-    {
-        return $this->type_map;
-    }
-    /**
-     * A map from expression ids to types.
-     * Every expression node which has a type different than DYN has a mapping
-     * here. If an expression has type DYN, it is omitted from this map to save
-     * space.
-     *
-     * Generated from protobuf field map type_map = 3;
-     * @param array|\Google\Protobuf\Internal\MapField $var
-     * @return $this
-     */
-    public function setTypeMap($var)
-    {
-        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT64, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type::class);
-        $this->type_map = $arr;
-        return $this;
-    }
-    /**
-     * The source info derived from input that generated the parsed `expr` and
-     * any optimizations made during the type-checking pass.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.SourceInfo source_info = 5;
-     * @return \Google\Api\Expr\V1alpha1\SourceInfo
-     */
-    public function getSourceInfo()
-    {
-        return $this->source_info;
-    }
-    /**
-     * The source info derived from input that generated the parsed `expr` and
-     * any optimizations made during the type-checking pass.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.SourceInfo source_info = 5;
-     * @param \Google\Api\Expr\V1alpha1\SourceInfo $var
-     * @return $this
-     */
-    public function setSourceInfo($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\SourceInfo::class);
-        $this->source_info = $var;
-        return $this;
-    }
-    /**
-     * The checked expression. Semantically equivalent to the parsed `expr`, but
-     * may have structural differences.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr expr = 4;
-     * @return \Google\Api\Expr\V1alpha1\Expr
-     */
-    public function getExpr()
-    {
-        return $this->expr;
-    }
-    /**
-     * The checked expression. Semantically equivalent to the parsed `expr`, but
-     * may have structural differences.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr expr = 4;
-     * @param \Google\Api\Expr\V1alpha1\Expr $var
-     * @return $this
-     */
-    public function setExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->expr = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Constant.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Constant.php
deleted file mode 100644
index deacd3993..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Constant.php
+++ /dev/null
@@ -1,277 +0,0 @@
-google.api.expr.v1alpha1.Constant
- */
-class Constant extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    protected $constant_kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int $null_value
-     *           null value.
-     *     @type bool $bool_value
-     *           boolean value.
-     *     @type int|string $int64_value
-     *           int64 value.
-     *     @type int|string $uint64_value
-     *           uint64 value.
-     *     @type float $double_value
-     *           double value.
-     *     @type string $string_value
-     *           string value.
-     *     @type string $bytes_value
-     *           bytes value.
-     *     @type \Google\Protobuf\Duration $duration_value
-     *           protobuf.Duration value.
-     *           Deprecated: duration is no longer considered a builtin cel type.
-     *     @type \Google\Protobuf\Timestamp $timestamp_value
-     *           protobuf.Timestamp value.
-     *           Deprecated: timestamp is no longer considered a builtin cel type.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Syntax::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * null value.
-     *
-     * Generated from protobuf field .google.protobuf.NullValue null_value = 1;
-     * @return int
-     */
-    public function getNullValue()
-    {
-        return $this->readOneof(1);
-    }
-    /**
-     * null value.
-     *
-     * Generated from protobuf field .google.protobuf.NullValue null_value = 1;
-     * @param int $var
-     * @return $this
-     */
-    public function setNullValue($var)
-    {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\NullValue::class);
-        $this->writeOneof(1, $var);
-        return $this;
-    }
-    /**
-     * boolean value.
-     *
-     * Generated from protobuf field bool bool_value = 2;
-     * @return bool
-     */
-    public function getBoolValue()
-    {
-        return $this->readOneof(2);
-    }
-    /**
-     * boolean value.
-     *
-     * Generated from protobuf field bool bool_value = 2;
-     * @param bool $var
-     * @return $this
-     */
-    public function setBoolValue($var)
-    {
-        GPBUtil::checkBool($var);
-        $this->writeOneof(2, $var);
-        return $this;
-    }
-    /**
-     * int64 value.
-     *
-     * Generated from protobuf field int64 int64_value = 3;
-     * @return int|string
-     */
-    public function getInt64Value()
-    {
-        return $this->readOneof(3);
-    }
-    /**
-     * int64 value.
-     *
-     * Generated from protobuf field int64 int64_value = 3;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setInt64Value($var)
-    {
-        GPBUtil::checkInt64($var);
-        $this->writeOneof(3, $var);
-        return $this;
-    }
-    /**
-     * uint64 value.
-     *
-     * Generated from protobuf field uint64 uint64_value = 4;
-     * @return int|string
-     */
-    public function getUint64Value()
-    {
-        return $this->readOneof(4);
-    }
-    /**
-     * uint64 value.
-     *
-     * Generated from protobuf field uint64 uint64_value = 4;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setUint64Value($var)
-    {
-        GPBUtil::checkUint64($var);
-        $this->writeOneof(4, $var);
-        return $this;
-    }
-    /**
-     * double value.
-     *
-     * Generated from protobuf field double double_value = 5;
-     * @return float
-     */
-    public function getDoubleValue()
-    {
-        return $this->readOneof(5);
-    }
-    /**
-     * double value.
-     *
-     * Generated from protobuf field double double_value = 5;
-     * @param float $var
-     * @return $this
-     */
-    public function setDoubleValue($var)
-    {
-        GPBUtil::checkDouble($var);
-        $this->writeOneof(5, $var);
-        return $this;
-    }
-    /**
-     * string value.
-     *
-     * Generated from protobuf field string string_value = 6;
-     * @return string
-     */
-    public function getStringValue()
-    {
-        return $this->readOneof(6);
-    }
-    /**
-     * string value.
-     *
-     * Generated from protobuf field string string_value = 6;
-     * @param string $var
-     * @return $this
-     */
-    public function setStringValue($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->writeOneof(6, $var);
-        return $this;
-    }
-    /**
-     * bytes value.
-     *
-     * Generated from protobuf field bytes bytes_value = 7;
-     * @return string
-     */
-    public function getBytesValue()
-    {
-        return $this->readOneof(7);
-    }
-    /**
-     * bytes value.
-     *
-     * Generated from protobuf field bytes bytes_value = 7;
-     * @param string $var
-     * @return $this
-     */
-    public function setBytesValue($var)
-    {
-        GPBUtil::checkString($var, False);
-        $this->writeOneof(7, $var);
-        return $this;
-    }
-    /**
-     * protobuf.Duration value.
-     * Deprecated: duration is no longer considered a builtin cel type.
-     *
-     * Generated from protobuf field .google.protobuf.Duration duration_value = 8 [deprecated = true];
-     * @return \Google\Protobuf\Duration
-     */
-    public function getDurationValue()
-    {
-        return $this->readOneof(8);
-    }
-    /**
-     * protobuf.Duration value.
-     * Deprecated: duration is no longer considered a builtin cel type.
-     *
-     * Generated from protobuf field .google.protobuf.Duration duration_value = 8 [deprecated = true];
-     * @param \Google\Protobuf\Duration $var
-     * @return $this
-     */
-    public function setDurationValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Duration::class);
-        $this->writeOneof(8, $var);
-        return $this;
-    }
-    /**
-     * protobuf.Timestamp value.
-     * Deprecated: timestamp is no longer considered a builtin cel type.
-     *
-     * Generated from protobuf field .google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
-     * @return \Google\Protobuf\Timestamp
-     */
-    public function getTimestampValue()
-    {
-        return $this->readOneof(9);
-    }
-    /**
-     * protobuf.Timestamp value.
-     * Deprecated: timestamp is no longer considered a builtin cel type.
-     *
-     * Generated from protobuf field .google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
-     * @param \Google\Protobuf\Timestamp $var
-     * @return $this
-     */
-    public function setTimestampValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Timestamp::class);
-        $this->writeOneof(9, $var);
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getConstantKind()
-    {
-        return $this->whichOneof("constant_kind");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl.php
deleted file mode 100644
index e7cb8a850..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl.php
+++ /dev/null
@@ -1,141 +0,0 @@
-google.api.expr.v1alpha1.Decl
- */
-class Decl extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The fully qualified name of the declaration.
-     * Declarations are organized in containers and this represents the full path
-     * to the declaration in its container, as in `google.api.expr.Decl`.
-     * Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not
-     * have a name depending on whether the overload is function declaration or a
-     * function definition containing a result [Expr][google.api.expr.v1alpha1.Expr].
-     *
-     * Generated from protobuf field string name = 1;
-     */
-    private $name = '';
-    protected $decl_kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $name
-     *           The fully qualified name of the declaration.
-     *           Declarations are organized in containers and this represents the full path
-     *           to the declaration in its container, as in `google.api.expr.Decl`.
-     *           Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not
-     *           have a name depending on whether the overload is function declaration or a
-     *           function definition containing a result [Expr][google.api.expr.v1alpha1.Expr].
-     *     @type \Google\Api\Expr\V1alpha1\Decl\IdentDecl $ident
-     *           Identifier declaration.
-     *     @type \Google\Api\Expr\V1alpha1\Decl\FunctionDecl $function
-     *           Function declaration.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Checked::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The fully qualified name of the declaration.
-     * Declarations are organized in containers and this represents the full path
-     * to the declaration in its container, as in `google.api.expr.Decl`.
-     * Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not
-     * have a name depending on whether the overload is function declaration or a
-     * function definition containing a result [Expr][google.api.expr.v1alpha1.Expr].
-     *
-     * Generated from protobuf field string name = 1;
-     * @return string
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-    /**
-     * The fully qualified name of the declaration.
-     * Declarations are organized in containers and this represents the full path
-     * to the declaration in its container, as in `google.api.expr.Decl`.
-     * Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not
-     * have a name depending on whether the overload is function declaration or a
-     * function definition containing a result [Expr][google.api.expr.v1alpha1.Expr].
-     *
-     * 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;
-    }
-    /**
-     * Identifier declaration.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;
-     * @return \Google\Api\Expr\V1alpha1\Decl\IdentDecl
-     */
-    public function getIdent()
-    {
-        return $this->readOneof(2);
-    }
-    /**
-     * Identifier declaration.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;
-     * @param \Google\Api\Expr\V1alpha1\Decl\IdentDecl $var
-     * @return $this
-     */
-    public function setIdent($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Decl_IdentDecl::class);
-        $this->writeOneof(2, $var);
-        return $this;
-    }
-    /**
-     * Function declaration.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;
-     * @return \Google\Api\Expr\V1alpha1\Decl\FunctionDecl
-     */
-    public function getFunction()
-    {
-        return $this->readOneof(3);
-    }
-    /**
-     * Function declaration.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;
-     * @param \Google\Api\Expr\V1alpha1\Decl\FunctionDecl $var
-     * @return $this
-     */
-    public function setFunction($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Decl_FunctionDecl::class);
-        $this->writeOneof(3, $var);
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getDeclKind()
-    {
-        return $this->whichOneof("decl_kind");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl/FunctionDecl.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl/FunctionDecl.php
deleted file mode 100644
index 3bd061659..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl/FunctionDecl.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.api.expr.v1alpha1.Decl.FunctionDecl
- */
-class FunctionDecl extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. List of function overloads, must contain at least one overload.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1;
-     */
-    private $overloads;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Decl\FunctionDecl\Overload[]|\Google\Protobuf\Internal\RepeatedField $overloads
-     *           Required. List of function overloads, must contain at least one overload.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Checked::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. List of function overloads, must contain at least one overload.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getOverloads()
-    {
-        return $this->overloads;
-    }
-    /**
-     * Required. List of function overloads, must contain at least one overload.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1;
-     * @param \Google\Api\Expr\V1alpha1\Decl\FunctionDecl\Overload[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setOverloads($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Decl\FunctionDecl\Overload::class);
-        $this->overloads = $arr;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(FunctionDecl::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Decl_FunctionDecl::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl/FunctionDecl/Overload.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl/FunctionDecl/Overload.php
deleted file mode 100644
index 9798f42be..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl/FunctionDecl/Overload.php
+++ /dev/null
@@ -1,289 +0,0 @@
-google.api.expr.v1alpha1.Decl.FunctionDecl.Overload
- */
-class Overload extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. Globally unique overload name of the function which reflects
-     * the function name and argument types.
-     * This will be used by a [Reference][google.api.expr.v1alpha1.Reference] to indicate the `overload_id` that
-     * was resolved for the function `name`.
-     *
-     * Generated from protobuf field string overload_id = 1;
-     */
-    private $overload_id = '';
-    /**
-     * List of function parameter [Type][google.api.expr.v1alpha1.Type] values.
-     * Param types are disjoint after generic type parameters have been
-     * replaced with the type `DYN`. Since the `DYN` type is compatible with
-     * any other type, this means that if `A` is a type parameter, the
-     * function types `int` and `int` are not disjoint. Likewise,
-     * `map` is not disjoint from `map`.
-     * When the `result_type` of a function is a generic type param, the
-     * type param name also appears as the `type` of on at least one params.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Type params = 2;
-     */
-    private $params;
-    /**
-     * The type param names associated with the function declaration.
-     * For example, `function ex(K key, map map) : V` would yield
-     * the type params of `K, V`.
-     *
-     * Generated from protobuf field repeated string type_params = 3;
-     */
-    private $type_params;
-    /**
-     * Required. The result type of the function. For example, the operator
-     * `string.isEmpty()` would have `result_type` of `kind: BOOL`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type result_type = 4;
-     */
-    private $result_type = null;
-    /**
-     * Whether the function is to be used in a method call-style `x.f(...)`
-     * of a function call-style `f(x, ...)`.
-     * For methods, the first parameter declaration, `params[0]` is the
-     * expected type of the target receiver.
-     *
-     * Generated from protobuf field bool is_instance_function = 5;
-     */
-    private $is_instance_function = \false;
-    /**
-     * Documentation string for the overload.
-     *
-     * Generated from protobuf field string doc = 6;
-     */
-    private $doc = '';
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $overload_id
-     *           Required. Globally unique overload name of the function which reflects
-     *           the function name and argument types.
-     *           This will be used by a [Reference][google.api.expr.v1alpha1.Reference] to indicate the `overload_id` that
-     *           was resolved for the function `name`.
-     *     @type \Google\Api\Expr\V1alpha1\Type[]|\Google\Protobuf\Internal\RepeatedField $params
-     *           List of function parameter [Type][google.api.expr.v1alpha1.Type] values.
-     *           Param types are disjoint after generic type parameters have been
-     *           replaced with the type `DYN`. Since the `DYN` type is compatible with
-     *           any other type, this means that if `A` is a type parameter, the
-     *           function types `int` and `int` are not disjoint. Likewise,
-     *           `map` is not disjoint from `map`.
-     *           When the `result_type` of a function is a generic type param, the
-     *           type param name also appears as the `type` of on at least one params.
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $type_params
-     *           The type param names associated with the function declaration.
-     *           For example, `function ex(K key, map map) : V` would yield
-     *           the type params of `K, V`.
-     *     @type \Google\Api\Expr\V1alpha1\Type $result_type
-     *           Required. The result type of the function. For example, the operator
-     *           `string.isEmpty()` would have `result_type` of `kind: BOOL`.
-     *     @type bool $is_instance_function
-     *           Whether the function is to be used in a method call-style `x.f(...)`
-     *           of a function call-style `f(x, ...)`.
-     *           For methods, the first parameter declaration, `params[0]` is the
-     *           expected type of the target receiver.
-     *     @type string $doc
-     *           Documentation string for the overload.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Checked::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. Globally unique overload name of the function which reflects
-     * the function name and argument types.
-     * This will be used by a [Reference][google.api.expr.v1alpha1.Reference] to indicate the `overload_id` that
-     * was resolved for the function `name`.
-     *
-     * Generated from protobuf field string overload_id = 1;
-     * @return string
-     */
-    public function getOverloadId()
-    {
-        return $this->overload_id;
-    }
-    /**
-     * Required. Globally unique overload name of the function which reflects
-     * the function name and argument types.
-     * This will be used by a [Reference][google.api.expr.v1alpha1.Reference] to indicate the `overload_id` that
-     * was resolved for the function `name`.
-     *
-     * Generated from protobuf field string overload_id = 1;
-     * @param string $var
-     * @return $this
-     */
-    public function setOverloadId($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->overload_id = $var;
-        return $this;
-    }
-    /**
-     * List of function parameter [Type][google.api.expr.v1alpha1.Type] values.
-     * Param types are disjoint after generic type parameters have been
-     * replaced with the type `DYN`. Since the `DYN` type is compatible with
-     * any other type, this means that if `A` is a type parameter, the
-     * function types `int` and `int` are not disjoint. Likewise,
-     * `map` is not disjoint from `map`.
-     * When the `result_type` of a function is a generic type param, the
-     * type param name also appears as the `type` of on at least one params.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Type params = 2;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getParams()
-    {
-        return $this->params;
-    }
-    /**
-     * List of function parameter [Type][google.api.expr.v1alpha1.Type] values.
-     * Param types are disjoint after generic type parameters have been
-     * replaced with the type `DYN`. Since the `DYN` type is compatible with
-     * any other type, this means that if `A` is a type parameter, the
-     * function types `int` and `int` are not disjoint. Likewise,
-     * `map` is not disjoint from `map`.
-     * When the `result_type` of a function is a generic type param, the
-     * type param name also appears as the `type` of on at least one params.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Type params = 2;
-     * @param \Google\Api\Expr\V1alpha1\Type[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setParams($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type::class);
-        $this->params = $arr;
-        return $this;
-    }
-    /**
-     * The type param names associated with the function declaration.
-     * For example, `function ex(K key, map map) : V` would yield
-     * the type params of `K, V`.
-     *
-     * Generated from protobuf field repeated string type_params = 3;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getTypeParams()
-    {
-        return $this->type_params;
-    }
-    /**
-     * The type param names associated with the function declaration.
-     * For example, `function ex(K key, map map) : V` would yield
-     * the type params of `K, V`.
-     *
-     * Generated from protobuf field repeated string type_params = 3;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setTypeParams($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
-        $this->type_params = $arr;
-        return $this;
-    }
-    /**
-     * Required. The result type of the function. For example, the operator
-     * `string.isEmpty()` would have `result_type` of `kind: BOOL`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type result_type = 4;
-     * @return \Google\Api\Expr\V1alpha1\Type
-     */
-    public function getResultType()
-    {
-        return $this->result_type;
-    }
-    /**
-     * Required. The result type of the function. For example, the operator
-     * `string.isEmpty()` would have `result_type` of `kind: BOOL`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type result_type = 4;
-     * @param \Google\Api\Expr\V1alpha1\Type $var
-     * @return $this
-     */
-    public function setResultType($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type::class);
-        $this->result_type = $var;
-        return $this;
-    }
-    /**
-     * Whether the function is to be used in a method call-style `x.f(...)`
-     * of a function call-style `f(x, ...)`.
-     * For methods, the first parameter declaration, `params[0]` is the
-     * expected type of the target receiver.
-     *
-     * Generated from protobuf field bool is_instance_function = 5;
-     * @return bool
-     */
-    public function getIsInstanceFunction()
-    {
-        return $this->is_instance_function;
-    }
-    /**
-     * Whether the function is to be used in a method call-style `x.f(...)`
-     * of a function call-style `f(x, ...)`.
-     * For methods, the first parameter declaration, `params[0]` is the
-     * expected type of the target receiver.
-     *
-     * Generated from protobuf field bool is_instance_function = 5;
-     * @param bool $var
-     * @return $this
-     */
-    public function setIsInstanceFunction($var)
-    {
-        GPBUtil::checkBool($var);
-        $this->is_instance_function = $var;
-        return $this;
-    }
-    /**
-     * Documentation string for the overload.
-     *
-     * Generated from protobuf field string doc = 6;
-     * @return string
-     */
-    public function getDoc()
-    {
-        return $this->doc;
-    }
-    /**
-     * Documentation string for the overload.
-     *
-     * Generated from protobuf field string doc = 6;
-     * @param string $var
-     * @return $this
-     */
-    public function setDoc($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->doc = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Overload::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Decl_FunctionDecl_Overload::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl/IdentDecl.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl/IdentDecl.php
deleted file mode 100644
index 3fb306624..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl/IdentDecl.php
+++ /dev/null
@@ -1,133 +0,0 @@
-google.api.expr.v1alpha1.Decl.IdentDecl
- */
-class IdentDecl extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. The type of the identifier.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type type = 1;
-     */
-    private $type = null;
-    /**
-     * The constant value of the identifier. If not specified, the identifier
-     * must be supplied at evaluation time.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Constant value = 2;
-     */
-    private $value = null;
-    /**
-     * Documentation string for the identifier.
-     *
-     * Generated from protobuf field string doc = 3;
-     */
-    private $doc = '';
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Type $type
-     *           Required. The type of the identifier.
-     *     @type \Google\Api\Expr\V1alpha1\Constant $value
-     *           The constant value of the identifier. If not specified, the identifier
-     *           must be supplied at evaluation time.
-     *     @type string $doc
-     *           Documentation string for the identifier.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Checked::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. The type of the identifier.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type type = 1;
-     * @return \Google\Api\Expr\V1alpha1\Type
-     */
-    public function getType()
-    {
-        return $this->type;
-    }
-    /**
-     * Required. The type of the identifier.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type type = 1;
-     * @param \Google\Api\Expr\V1alpha1\Type $var
-     * @return $this
-     */
-    public function setType($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type::class);
-        $this->type = $var;
-        return $this;
-    }
-    /**
-     * The constant value of the identifier. If not specified, the identifier
-     * must be supplied at evaluation time.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Constant value = 2;
-     * @return \Google\Api\Expr\V1alpha1\Constant
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-    /**
-     * The constant value of the identifier. If not specified, the identifier
-     * must be supplied at evaluation time.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Constant value = 2;
-     * @param \Google\Api\Expr\V1alpha1\Constant $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Constant::class);
-        $this->value = $var;
-        return $this;
-    }
-    /**
-     * Documentation string for the identifier.
-     *
-     * Generated from protobuf field string doc = 3;
-     * @return string
-     */
-    public function getDoc()
-    {
-        return $this->doc;
-    }
-    /**
-     * Documentation string for the identifier.
-     *
-     * Generated from protobuf field string doc = 3;
-     * @param string $var
-     * @return $this
-     */
-    public function setDoc($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->doc = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(IdentDecl::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Decl_IdentDecl::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl_FunctionDecl.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl_FunctionDecl.php
deleted file mode 100644
index c669753b6..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Decl_FunctionDecl.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.expr.v1alpha1.EnumValue
- */
-class EnumValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The fully qualified name of the enum type.
-     *
-     * Generated from protobuf field string type = 1;
-     */
-    private $type = '';
-    /**
-     * The value of the enum.
-     *
-     * Generated from protobuf field int32 value = 2;
-     */
-    private $value = 0;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $type
-     *           The fully qualified name of the enum type.
-     *     @type int $value
-     *           The value of the enum.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Value::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The fully qualified name of the enum type.
-     *
-     * Generated from protobuf field string type = 1;
-     * @return string
-     */
-    public function getType()
-    {
-        return $this->type;
-    }
-    /**
-     * The fully qualified name of the enum type.
-     *
-     * Generated from protobuf field string type = 1;
-     * @param string $var
-     * @return $this
-     */
-    public function setType($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->type = $var;
-        return $this;
-    }
-    /**
-     * The value of the enum.
-     *
-     * Generated from protobuf field int32 value = 2;
-     * @return int
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-    /**
-     * The value of the enum.
-     *
-     * Generated from protobuf field int32 value = 2;
-     * @param int $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->value = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/ErrorSet.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/ErrorSet.php
deleted file mode 100644
index 25748f944..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/ErrorSet.php
+++ /dev/null
@@ -1,62 +0,0 @@
-google.api.expr.v1alpha1.ErrorSet
- */
-class ErrorSet extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The errors in the set.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status errors = 1;
-     */
-    private $errors;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Rpc\Status[]|\Google\Protobuf\Internal\RepeatedField $errors
-     *           The errors in the set.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\PBEval::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The errors in the set.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status errors = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getErrors()
-    {
-        return $this->errors;
-    }
-    /**
-     * The errors in the set.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status errors = 1;
-     * @param \Google\Rpc\Status[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setErrors($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Status::class);
-        $this->errors = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalRequest.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalRequest.php
deleted file mode 100644
index b2e4b27a7..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalRequest.php
+++ /dev/null
@@ -1,154 +0,0 @@
-google.api.expr.v1alpha1.EvalRequest
- */
-class EvalRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Bindings for the external variables.  The types SHOULD be compatible
-     * with the type environment in [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked.
-     *
-     * Generated from protobuf field map bindings = 3;
-     */
-    private $bindings;
-    /**
-     * SHOULD be the same container as used in [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked.
-     *
-     * Generated from protobuf field string container = 4;
-     */
-    private $container = '';
-    protected $expr_kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\ParsedExpr $parsed_expr
-     *           Evaluate based on the parsed representation.
-     *     @type \Google\Api\Expr\V1alpha1\CheckedExpr $checked_expr
-     *           Evaluate based on the checked representation.
-     *     @type array|\Google\Protobuf\Internal\MapField $bindings
-     *           Bindings for the external variables.  The types SHOULD be compatible
-     *           with the type environment in [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked.
-     *     @type string $container
-     *           SHOULD be the same container as used in [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\ConformanceService::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Evaluate based on the parsed representation.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1;
-     * @return \Google\Api\Expr\V1alpha1\ParsedExpr
-     */
-    public function getParsedExpr()
-    {
-        return $this->readOneof(1);
-    }
-    /**
-     * Evaluate based on the parsed representation.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1;
-     * @param \Google\Api\Expr\V1alpha1\ParsedExpr $var
-     * @return $this
-     */
-    public function setParsedExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\ParsedExpr::class);
-        $this->writeOneof(1, $var);
-        return $this;
-    }
-    /**
-     * Evaluate based on the checked representation.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.CheckedExpr checked_expr = 2;
-     * @return \Google\Api\Expr\V1alpha1\CheckedExpr
-     */
-    public function getCheckedExpr()
-    {
-        return $this->readOneof(2);
-    }
-    /**
-     * Evaluate based on the checked representation.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.CheckedExpr checked_expr = 2;
-     * @param \Google\Api\Expr\V1alpha1\CheckedExpr $var
-     * @return $this
-     */
-    public function setCheckedExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\CheckedExpr::class);
-        $this->writeOneof(2, $var);
-        return $this;
-    }
-    /**
-     * Bindings for the external variables.  The types SHOULD be compatible
-     * with the type environment in [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked.
-     *
-     * Generated from protobuf field map bindings = 3;
-     * @return \Google\Protobuf\Internal\MapField
-     */
-    public function getBindings()
-    {
-        return $this->bindings;
-    }
-    /**
-     * Bindings for the external variables.  The types SHOULD be compatible
-     * with the type environment in [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked.
-     *
-     * Generated from protobuf field map bindings = 3;
-     * @param array|\Google\Protobuf\Internal\MapField $var
-     * @return $this
-     */
-    public function setBindings($var)
-    {
-        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\ExprValue::class);
-        $this->bindings = $arr;
-        return $this;
-    }
-    /**
-     * SHOULD be the same container as used in [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked.
-     *
-     * Generated from protobuf field string container = 4;
-     * @return string
-     */
-    public function getContainer()
-    {
-        return $this->container;
-    }
-    /**
-     * SHOULD be the same container as used in [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked.
-     *
-     * Generated from protobuf field string container = 4;
-     * @param string $var
-     * @return $this
-     */
-    public function setContainer($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->container = $var;
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getExprKind()
-    {
-        return $this->whichOneof("expr_kind");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalResponse.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalResponse.php
deleted file mode 100644
index ea1c7c190..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalResponse.php
+++ /dev/null
@@ -1,104 +0,0 @@
-google.api.expr.v1alpha1.EvalResponse
- */
-class EvalResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The execution result, or unset if execution couldn't start.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ExprValue result = 1;
-     */
-    private $result = null;
-    /**
-     * Any number of issues with [StatusDetails][] as the details.
-     * Note that CEL execution errors are reified into [ExprValue][google.api.expr.v1alpha1.ExprValue].
-     * Nevertheless, we'll allow out-of-band issues to be raised,
-     * which also makes the replies more regular.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status issues = 2;
-     */
-    private $issues;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\ExprValue $result
-     *           The execution result, or unset if execution couldn't start.
-     *     @type \Google\Rpc\Status[]|\Google\Protobuf\Internal\RepeatedField $issues
-     *           Any number of issues with [StatusDetails][] as the details.
-     *           Note that CEL execution errors are reified into [ExprValue][google.api.expr.v1alpha1.ExprValue].
-     *           Nevertheless, we'll allow out-of-band issues to be raised,
-     *           which also makes the replies more regular.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\ConformanceService::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The execution result, or unset if execution couldn't start.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ExprValue result = 1;
-     * @return \Google\Api\Expr\V1alpha1\ExprValue
-     */
-    public function getResult()
-    {
-        return $this->result;
-    }
-    /**
-     * The execution result, or unset if execution couldn't start.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ExprValue result = 1;
-     * @param \Google\Api\Expr\V1alpha1\ExprValue $var
-     * @return $this
-     */
-    public function setResult($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\ExprValue::class);
-        $this->result = $var;
-        return $this;
-    }
-    /**
-     * Any number of issues with [StatusDetails][] as the details.
-     * Note that CEL execution errors are reified into [ExprValue][google.api.expr.v1alpha1.ExprValue].
-     * Nevertheless, we'll allow out-of-band issues to be raised,
-     * which also makes the replies more regular.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status issues = 2;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getIssues()
-    {
-        return $this->issues;
-    }
-    /**
-     * Any number of issues with [StatusDetails][] as the details.
-     * Note that CEL execution errors are reified into [ExprValue][google.api.expr.v1alpha1.ExprValue].
-     * Nevertheless, we'll allow out-of-band issues to be raised,
-     * which also makes the replies more regular.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status issues = 2;
-     * @param \Google\Rpc\Status[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setIssues($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Status::class);
-        $this->issues = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalState.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalState.php
deleted file mode 100644
index ba2d5e0ad..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalState.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.api.expr.v1alpha1.EvalState
- */
-class EvalState extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The unique values referenced in this message.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.ExprValue values = 1;
-     */
-    private $values;
-    /**
-     * An ordered list of results.
-     * Tracks the flow of evaluation through the expression.
-     * May be sparse.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.EvalState.Result results = 3;
-     */
-    private $results;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\ExprValue[]|\Google\Protobuf\Internal\RepeatedField $values
-     *           The unique values referenced in this message.
-     *     @type \Google\Api\Expr\V1alpha1\EvalState\Result[]|\Google\Protobuf\Internal\RepeatedField $results
-     *           An ordered list of results.
-     *           Tracks the flow of evaluation through the expression.
-     *           May be sparse.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\PBEval::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The unique values referenced in this message.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.ExprValue values = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getValues()
-    {
-        return $this->values;
-    }
-    /**
-     * The unique values referenced in this message.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.ExprValue values = 1;
-     * @param \Google\Api\Expr\V1alpha1\ExprValue[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setValues($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\ExprValue::class);
-        $this->values = $arr;
-        return $this;
-    }
-    /**
-     * An ordered list of results.
-     * Tracks the flow of evaluation through the expression.
-     * May be sparse.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.EvalState.Result results = 3;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getResults()
-    {
-        return $this->results;
-    }
-    /**
-     * An ordered list of results.
-     * Tracks the flow of evaluation through the expression.
-     * May be sparse.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.EvalState.Result results = 3;
-     * @param \Google\Api\Expr\V1alpha1\EvalState\Result[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setResults($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\EvalState\Result::class);
-        $this->results = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalState/Result.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalState/Result.php
deleted file mode 100644
index fadd254ae..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalState/Result.php
+++ /dev/null
@@ -1,94 +0,0 @@
-google.api.expr.v1alpha1.EvalState.Result
- */
-class Result extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The id of the expression this result if for.
-     *
-     * Generated from protobuf field int64 expr = 1;
-     */
-    private $expr = 0;
-    /**
-     * The index in `values` of the resulting value.
-     *
-     * Generated from protobuf field int64 value = 2;
-     */
-    private $value = 0;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int|string $expr
-     *           The id of the expression this result if for.
-     *     @type int|string $value
-     *           The index in `values` of the resulting value.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\PBEval::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The id of the expression this result if for.
-     *
-     * Generated from protobuf field int64 expr = 1;
-     * @return int|string
-     */
-    public function getExpr()
-    {
-        return $this->expr;
-    }
-    /**
-     * The id of the expression this result if for.
-     *
-     * Generated from protobuf field int64 expr = 1;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setExpr($var)
-    {
-        GPBUtil::checkInt64($var);
-        $this->expr = $var;
-        return $this;
-    }
-    /**
-     * The index in `values` of the resulting value.
-     *
-     * Generated from protobuf field int64 value = 2;
-     * @return int|string
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-    /**
-     * The index in `values` of the resulting value.
-     *
-     * Generated from protobuf field int64 value = 2;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkInt64($var);
-        $this->value = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Result::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\EvalState_Result::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalState_Result.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalState_Result.php
deleted file mode 100644
index 36a3f5c9f..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/EvalState_Result.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.expr.v1alpha1.Explain
- */
-class Explain extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * All of the observed values.
-     * The field value_index is an index in the values list.
-     * Separating values from steps is needed to remove redundant values.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Value values = 1;
-     */
-    private $values;
-    /**
-     * List of steps.
-     * Repeated evaluations of the same expression generate new ExprStep
-     * instances. The order of such ExprStep instances matches the order of
-     * elements returned by Comprehension.iter_range.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2;
-     */
-    private $expr_steps;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Value[]|\Google\Protobuf\Internal\RepeatedField $values
-     *           All of the observed values.
-     *           The field value_index is an index in the values list.
-     *           Separating values from steps is needed to remove redundant values.
-     *     @type \Google\Api\Expr\V1alpha1\Explain\ExprStep[]|\Google\Protobuf\Internal\RepeatedField $expr_steps
-     *           List of steps.
-     *           Repeated evaluations of the same expression generate new ExprStep
-     *           instances. The order of such ExprStep instances matches the order of
-     *           elements returned by Comprehension.iter_range.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Explain::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * All of the observed values.
-     * The field value_index is an index in the values list.
-     * Separating values from steps is needed to remove redundant values.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Value values = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getValues()
-    {
-        return $this->values;
-    }
-    /**
-     * All of the observed values.
-     * The field value_index is an index in the values list.
-     * Separating values from steps is needed to remove redundant values.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Value values = 1;
-     * @param \Google\Api\Expr\V1alpha1\Value[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setValues($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Value::class);
-        $this->values = $arr;
-        return $this;
-    }
-    /**
-     * List of steps.
-     * Repeated evaluations of the same expression generate new ExprStep
-     * instances. The order of such ExprStep instances matches the order of
-     * elements returned by Comprehension.iter_range.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getExprSteps()
-    {
-        return $this->expr_steps;
-    }
-    /**
-     * List of steps.
-     * Repeated evaluations of the same expression generate new ExprStep
-     * instances. The order of such ExprStep instances matches the order of
-     * elements returned by Comprehension.iter_range.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2;
-     * @param \Google\Api\Expr\V1alpha1\Explain\ExprStep[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setExprSteps($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Explain\ExprStep::class);
-        $this->expr_steps = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Explain/ExprStep.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Explain/ExprStep.php
deleted file mode 100644
index 187c1ce90..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Explain/ExprStep.php
+++ /dev/null
@@ -1,94 +0,0 @@
-google.api.expr.v1alpha1.Explain.ExprStep
- */
-class ExprStep extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * ID of corresponding Expr node.
-     *
-     * Generated from protobuf field int64 id = 1;
-     */
-    private $id = 0;
-    /**
-     * Index of the value in the values list.
-     *
-     * Generated from protobuf field int32 value_index = 2;
-     */
-    private $value_index = 0;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int|string $id
-     *           ID of corresponding Expr node.
-     *     @type int $value_index
-     *           Index of the value in the values list.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Explain::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * ID of corresponding Expr node.
-     *
-     * Generated from protobuf field int64 id = 1;
-     * @return int|string
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-    /**
-     * ID of corresponding Expr node.
-     *
-     * Generated from protobuf field int64 id = 1;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setId($var)
-    {
-        GPBUtil::checkInt64($var);
-        $this->id = $var;
-        return $this;
-    }
-    /**
-     * Index of the value in the values list.
-     *
-     * Generated from protobuf field int32 value_index = 2;
-     * @return int
-     */
-    public function getValueIndex()
-    {
-        return $this->value_index;
-    }
-    /**
-     * Index of the value in the values list.
-     *
-     * Generated from protobuf field int32 value_index = 2;
-     * @param int $var
-     * @return $this
-     */
-    public function setValueIndex($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->value_index = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ExprStep::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Explain_ExprStep::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Explain_ExprStep.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Explain_ExprStep.php
deleted file mode 100644
index efb24dc32..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Explain_ExprStep.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.expr.v1alpha1.Expr
- */
-class Expr extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. An id assigned to this node by the parser which is unique in a
-     * given expression tree. This is used to associate type information and other
-     * attributes to a node in the parse tree.
-     *
-     * Generated from protobuf field int64 id = 2;
-     */
-    private $id = 0;
-    protected $expr_kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int|string $id
-     *           Required. An id assigned to this node by the parser which is unique in a
-     *           given expression tree. This is used to associate type information and other
-     *           attributes to a node in the parse tree.
-     *     @type \Google\Api\Expr\V1alpha1\Constant $const_expr
-     *           A literal expression.
-     *     @type \Google\Api\Expr\V1alpha1\Expr\Ident $ident_expr
-     *           An identifier expression.
-     *     @type \Google\Api\Expr\V1alpha1\Expr\Select $select_expr
-     *           A field selection expression, e.g. `request.auth`.
-     *     @type \Google\Api\Expr\V1alpha1\Expr\Call $call_expr
-     *           A call expression, including calls to predefined functions and operators.
-     *     @type \Google\Api\Expr\V1alpha1\Expr\CreateList $list_expr
-     *           A list creation expression.
-     *     @type \Google\Api\Expr\V1alpha1\Expr\CreateStruct $struct_expr
-     *           A map or message creation expression.
-     *     @type \Google\Api\Expr\V1alpha1\Expr\Comprehension $comprehension_expr
-     *           A comprehension expression.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Syntax::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. An id assigned to this node by the parser which is unique in a
-     * given expression tree. This is used to associate type information and other
-     * attributes to a node in the parse tree.
-     *
-     * Generated from protobuf field int64 id = 2;
-     * @return int|string
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-    /**
-     * Required. An id assigned to this node by the parser which is unique in a
-     * given expression tree. This is used to associate type information and other
-     * attributes to a node in the parse tree.
-     *
-     * Generated from protobuf field int64 id = 2;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setId($var)
-    {
-        GPBUtil::checkInt64($var);
-        $this->id = $var;
-        return $this;
-    }
-    /**
-     * A literal expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Constant const_expr = 3;
-     * @return \Google\Api\Expr\V1alpha1\Constant
-     */
-    public function getConstExpr()
-    {
-        return $this->readOneof(3);
-    }
-    /**
-     * A literal expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Constant const_expr = 3;
-     * @param \Google\Api\Expr\V1alpha1\Constant $var
-     * @return $this
-     */
-    public function setConstExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Constant::class);
-        $this->writeOneof(3, $var);
-        return $this;
-    }
-    /**
-     * An identifier expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr.Ident ident_expr = 4;
-     * @return \Google\Api\Expr\V1alpha1\Expr\Ident
-     */
-    public function getIdentExpr()
-    {
-        return $this->readOneof(4);
-    }
-    /**
-     * An identifier expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr.Ident ident_expr = 4;
-     * @param \Google\Api\Expr\V1alpha1\Expr\Ident $var
-     * @return $this
-     */
-    public function setIdentExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_Ident::class);
-        $this->writeOneof(4, $var);
-        return $this;
-    }
-    /**
-     * A field selection expression, e.g. `request.auth`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr.Select select_expr = 5;
-     * @return \Google\Api\Expr\V1alpha1\Expr\Select
-     */
-    public function getSelectExpr()
-    {
-        return $this->readOneof(5);
-    }
-    /**
-     * A field selection expression, e.g. `request.auth`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr.Select select_expr = 5;
-     * @param \Google\Api\Expr\V1alpha1\Expr\Select $var
-     * @return $this
-     */
-    public function setSelectExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_Select::class);
-        $this->writeOneof(5, $var);
-        return $this;
-    }
-    /**
-     * A call expression, including calls to predefined functions and operators.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr.Call call_expr = 6;
-     * @return \Google\Api\Expr\V1alpha1\Expr\Call
-     */
-    public function getCallExpr()
-    {
-        return $this->readOneof(6);
-    }
-    /**
-     * A call expression, including calls to predefined functions and operators.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr.Call call_expr = 6;
-     * @param \Google\Api\Expr\V1alpha1\Expr\Call $var
-     * @return $this
-     */
-    public function setCallExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_Call::class);
-        $this->writeOneof(6, $var);
-        return $this;
-    }
-    /**
-     * A list creation expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr.CreateList list_expr = 7;
-     * @return \Google\Api\Expr\V1alpha1\Expr\CreateList
-     */
-    public function getListExpr()
-    {
-        return $this->readOneof(7);
-    }
-    /**
-     * A list creation expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr.CreateList list_expr = 7;
-     * @param \Google\Api\Expr\V1alpha1\Expr\CreateList $var
-     * @return $this
-     */
-    public function setListExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_CreateList::class);
-        $this->writeOneof(7, $var);
-        return $this;
-    }
-    /**
-     * A map or message creation expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr.CreateStruct struct_expr = 8;
-     * @return \Google\Api\Expr\V1alpha1\Expr\CreateStruct
-     */
-    public function getStructExpr()
-    {
-        return $this->readOneof(8);
-    }
-    /**
-     * A map or message creation expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr.CreateStruct struct_expr = 8;
-     * @param \Google\Api\Expr\V1alpha1\Expr\CreateStruct $var
-     * @return $this
-     */
-    public function setStructExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_CreateStruct::class);
-        $this->writeOneof(8, $var);
-        return $this;
-    }
-    /**
-     * A comprehension expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr.Comprehension comprehension_expr = 9;
-     * @return \Google\Api\Expr\V1alpha1\Expr\Comprehension
-     */
-    public function getComprehensionExpr()
-    {
-        return $this->readOneof(9);
-    }
-    /**
-     * A comprehension expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr.Comprehension comprehension_expr = 9;
-     * @param \Google\Api\Expr\V1alpha1\Expr\Comprehension $var
-     * @return $this
-     */
-    public function setComprehensionExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_Comprehension::class);
-        $this->writeOneof(9, $var);
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getExprKind()
-    {
-        return $this->whichOneof("expr_kind");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/Call.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/Call.php
deleted file mode 100644
index ed1c6ba0f..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/Call.php
+++ /dev/null
@@ -1,130 +0,0 @@
-google.api.expr.v1alpha1.Expr.Call
- */
-class Call extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The target of an method call-style expression. For example, `x` in
-     * `x.f()`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr target = 1;
-     */
-    private $target = null;
-    /**
-     * Required. The name of the function or method being called.
-     *
-     * Generated from protobuf field string function = 2;
-     */
-    private $function = '';
-    /**
-     * The arguments.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Expr args = 3;
-     */
-    private $args;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Expr $target
-     *           The target of an method call-style expression. For example, `x` in
-     *           `x.f()`.
-     *     @type string $function
-     *           Required. The name of the function or method being called.
-     *     @type \Google\Api\Expr\V1alpha1\Expr[]|\Google\Protobuf\Internal\RepeatedField $args
-     *           The arguments.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Syntax::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The target of an method call-style expression. For example, `x` in
-     * `x.f()`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr target = 1;
-     * @return \Google\Api\Expr\V1alpha1\Expr
-     */
-    public function getTarget()
-    {
-        return $this->target;
-    }
-    /**
-     * The target of an method call-style expression. For example, `x` in
-     * `x.f()`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr target = 1;
-     * @param \Google\Api\Expr\V1alpha1\Expr $var
-     * @return $this
-     */
-    public function setTarget($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->target = $var;
-        return $this;
-    }
-    /**
-     * Required. The name of the function or method being called.
-     *
-     * Generated from protobuf field string function = 2;
-     * @return string
-     */
-    public function getFunction()
-    {
-        return $this->function;
-    }
-    /**
-     * Required. The name of the function or method being called.
-     *
-     * Generated from protobuf field string function = 2;
-     * @param string $var
-     * @return $this
-     */
-    public function setFunction($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->function = $var;
-        return $this;
-    }
-    /**
-     * The arguments.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Expr args = 3;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getArgs()
-    {
-        return $this->args;
-    }
-    /**
-     * The arguments.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Expr args = 3;
-     * @param \Google\Api\Expr\V1alpha1\Expr[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setArgs($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->args = $arr;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Call::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_Call::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/Comprehension.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/Comprehension.php
deleted file mode 100644
index d5ef732d5..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/Comprehension.php
+++ /dev/null
@@ -1,285 +0,0 @@
- 1000)`.
- * *  `map` - apply an expression to all elements in the input and return the
- *    output aggregate type: `[1, 2, 3].map(i, i * i)`.
- * The `has(m.x)` macro tests whether the property `x` is present in struct
- * `m`. The semantics of this macro depend on the type of `m`. For proto2
- * messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the
- * macro tests whether the property is set to its default. For map and struct
- * types, the macro tests whether the property `x` is defined on `m`.
- *
- * Generated from protobuf message google.api.expr.v1alpha1.Expr.Comprehension
- */
-class Comprehension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The name of the iteration variable.
-     *
-     * Generated from protobuf field string iter_var = 1;
-     */
-    private $iter_var = '';
-    /**
-     * The range over which var iterates.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr iter_range = 2;
-     */
-    private $iter_range = null;
-    /**
-     * The name of the variable used for accumulation of the result.
-     *
-     * Generated from protobuf field string accu_var = 3;
-     */
-    private $accu_var = '';
-    /**
-     * The initial value of the accumulator.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr accu_init = 4;
-     */
-    private $accu_init = null;
-    /**
-     * An expression which can contain iter_var and accu_var.
-     * Returns false when the result has been computed and may be used as
-     * a hint to short-circuit the remainder of the comprehension.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr loop_condition = 5;
-     */
-    private $loop_condition = null;
-    /**
-     * An expression which can contain iter_var and accu_var.
-     * Computes the next value of accu_var.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr loop_step = 6;
-     */
-    private $loop_step = null;
-    /**
-     * An expression which can contain accu_var.
-     * Computes the result.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr result = 7;
-     */
-    private $result = null;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $iter_var
-     *           The name of the iteration variable.
-     *     @type \Google\Api\Expr\V1alpha1\Expr $iter_range
-     *           The range over which var iterates.
-     *     @type string $accu_var
-     *           The name of the variable used for accumulation of the result.
-     *     @type \Google\Api\Expr\V1alpha1\Expr $accu_init
-     *           The initial value of the accumulator.
-     *     @type \Google\Api\Expr\V1alpha1\Expr $loop_condition
-     *           An expression which can contain iter_var and accu_var.
-     *           Returns false when the result has been computed and may be used as
-     *           a hint to short-circuit the remainder of the comprehension.
-     *     @type \Google\Api\Expr\V1alpha1\Expr $loop_step
-     *           An expression which can contain iter_var and accu_var.
-     *           Computes the next value of accu_var.
-     *     @type \Google\Api\Expr\V1alpha1\Expr $result
-     *           An expression which can contain accu_var.
-     *           Computes the result.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Syntax::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The name of the iteration variable.
-     *
-     * Generated from protobuf field string iter_var = 1;
-     * @return string
-     */
-    public function getIterVar()
-    {
-        return $this->iter_var;
-    }
-    /**
-     * The name of the iteration variable.
-     *
-     * Generated from protobuf field string iter_var = 1;
-     * @param string $var
-     * @return $this
-     */
-    public function setIterVar($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->iter_var = $var;
-        return $this;
-    }
-    /**
-     * The range over which var iterates.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr iter_range = 2;
-     * @return \Google\Api\Expr\V1alpha1\Expr
-     */
-    public function getIterRange()
-    {
-        return $this->iter_range;
-    }
-    /**
-     * The range over which var iterates.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr iter_range = 2;
-     * @param \Google\Api\Expr\V1alpha1\Expr $var
-     * @return $this
-     */
-    public function setIterRange($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->iter_range = $var;
-        return $this;
-    }
-    /**
-     * The name of the variable used for accumulation of the result.
-     *
-     * Generated from protobuf field string accu_var = 3;
-     * @return string
-     */
-    public function getAccuVar()
-    {
-        return $this->accu_var;
-    }
-    /**
-     * The name of the variable used for accumulation of the result.
-     *
-     * Generated from protobuf field string accu_var = 3;
-     * @param string $var
-     * @return $this
-     */
-    public function setAccuVar($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->accu_var = $var;
-        return $this;
-    }
-    /**
-     * The initial value of the accumulator.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr accu_init = 4;
-     * @return \Google\Api\Expr\V1alpha1\Expr
-     */
-    public function getAccuInit()
-    {
-        return $this->accu_init;
-    }
-    /**
-     * The initial value of the accumulator.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr accu_init = 4;
-     * @param \Google\Api\Expr\V1alpha1\Expr $var
-     * @return $this
-     */
-    public function setAccuInit($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->accu_init = $var;
-        return $this;
-    }
-    /**
-     * An expression which can contain iter_var and accu_var.
-     * Returns false when the result has been computed and may be used as
-     * a hint to short-circuit the remainder of the comprehension.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr loop_condition = 5;
-     * @return \Google\Api\Expr\V1alpha1\Expr
-     */
-    public function getLoopCondition()
-    {
-        return $this->loop_condition;
-    }
-    /**
-     * An expression which can contain iter_var and accu_var.
-     * Returns false when the result has been computed and may be used as
-     * a hint to short-circuit the remainder of the comprehension.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr loop_condition = 5;
-     * @param \Google\Api\Expr\V1alpha1\Expr $var
-     * @return $this
-     */
-    public function setLoopCondition($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->loop_condition = $var;
-        return $this;
-    }
-    /**
-     * An expression which can contain iter_var and accu_var.
-     * Computes the next value of accu_var.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr loop_step = 6;
-     * @return \Google\Api\Expr\V1alpha1\Expr
-     */
-    public function getLoopStep()
-    {
-        return $this->loop_step;
-    }
-    /**
-     * An expression which can contain iter_var and accu_var.
-     * Computes the next value of accu_var.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr loop_step = 6;
-     * @param \Google\Api\Expr\V1alpha1\Expr $var
-     * @return $this
-     */
-    public function setLoopStep($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->loop_step = $var;
-        return $this;
-    }
-    /**
-     * An expression which can contain accu_var.
-     * Computes the result.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr result = 7;
-     * @return \Google\Api\Expr\V1alpha1\Expr
-     */
-    public function getResult()
-    {
-        return $this->result;
-    }
-    /**
-     * An expression which can contain accu_var.
-     * Computes the result.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr result = 7;
-     * @param \Google\Api\Expr\V1alpha1\Expr $var
-     * @return $this
-     */
-    public function setResult($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->result = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Comprehension::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_Comprehension::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateList.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateList.php
deleted file mode 100644
index 7da515ecb..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateList.php
+++ /dev/null
@@ -1,65 +0,0 @@
-google.api.expr.v1alpha1.Expr.CreateList
- */
-class CreateList extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The elements part of the list.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Expr elements = 1;
-     */
-    private $elements;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Expr[]|\Google\Protobuf\Internal\RepeatedField $elements
-     *           The elements part of the list.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Syntax::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The elements part of the list.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Expr elements = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getElements()
-    {
-        return $this->elements;
-    }
-    /**
-     * The elements part of the list.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Expr elements = 1;
-     * @param \Google\Api\Expr\V1alpha1\Expr[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setElements($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->elements = $arr;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(CreateList::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_CreateList::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateStruct.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateStruct.php
deleted file mode 100644
index bd082a593..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateStruct.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.api.expr.v1alpha1.Expr.CreateStruct
- */
-class CreateStruct extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The type name of the message to be created, empty when creating map
-     * literals.
-     *
-     * Generated from protobuf field string message_name = 1;
-     */
-    private $message_name = '';
-    /**
-     * The entries in the creation expression.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2;
-     */
-    private $entries;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $message_name
-     *           The type name of the message to be created, empty when creating map
-     *           literals.
-     *     @type \Google\Api\Expr\V1alpha1\Expr\CreateStruct\Entry[]|\Google\Protobuf\Internal\RepeatedField $entries
-     *           The entries in the creation expression.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Syntax::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The type name of the message to be created, empty when creating map
-     * literals.
-     *
-     * Generated from protobuf field string message_name = 1;
-     * @return string
-     */
-    public function getMessageName()
-    {
-        return $this->message_name;
-    }
-    /**
-     * The type name of the message to be created, empty when creating map
-     * literals.
-     *
-     * Generated from protobuf field string message_name = 1;
-     * @param string $var
-     * @return $this
-     */
-    public function setMessageName($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->message_name = $var;
-        return $this;
-    }
-    /**
-     * The entries in the creation expression.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getEntries()
-    {
-        return $this->entries;
-    }
-    /**
-     * The entries in the creation expression.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2;
-     * @param \Google\Api\Expr\V1alpha1\Expr\CreateStruct\Entry[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setEntries($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr\CreateStruct\Entry::class);
-        $this->entries = $arr;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(CreateStruct::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_CreateStruct::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateStruct/Entry.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateStruct/Entry.php
deleted file mode 100644
index 684a8fccb..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateStruct/Entry.php
+++ /dev/null
@@ -1,160 +0,0 @@
-google.api.expr.v1alpha1.Expr.CreateStruct.Entry
- */
-class Entry extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. An id assigned to this node by the parser which is unique
-     * in a given expression tree. This is used to associate type
-     * information and other attributes to the node.
-     *
-     * Generated from protobuf field int64 id = 1;
-     */
-    private $id = 0;
-    /**
-     * Required. The value assigned to the key.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr value = 4;
-     */
-    private $value = null;
-    protected $key_kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int|string $id
-     *           Required. An id assigned to this node by the parser which is unique
-     *           in a given expression tree. This is used to associate type
-     *           information and other attributes to the node.
-     *     @type string $field_key
-     *           The field key for a message creator statement.
-     *     @type \Google\Api\Expr\V1alpha1\Expr $map_key
-     *           The key expression for a map creation statement.
-     *     @type \Google\Api\Expr\V1alpha1\Expr $value
-     *           Required. The value assigned to the key.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Syntax::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. An id assigned to this node by the parser which is unique
-     * in a given expression tree. This is used to associate type
-     * information and other attributes to the node.
-     *
-     * Generated from protobuf field int64 id = 1;
-     * @return int|string
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-    /**
-     * Required. An id assigned to this node by the parser which is unique
-     * in a given expression tree. This is used to associate type
-     * information and other attributes to the node.
-     *
-     * Generated from protobuf field int64 id = 1;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setId($var)
-    {
-        GPBUtil::checkInt64($var);
-        $this->id = $var;
-        return $this;
-    }
-    /**
-     * The field key for a message creator statement.
-     *
-     * Generated from protobuf field string field_key = 2;
-     * @return string
-     */
-    public function getFieldKey()
-    {
-        return $this->readOneof(2);
-    }
-    /**
-     * The field key for a message creator statement.
-     *
-     * Generated from protobuf field string field_key = 2;
-     * @param string $var
-     * @return $this
-     */
-    public function setFieldKey($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->writeOneof(2, $var);
-        return $this;
-    }
-    /**
-     * The key expression for a map creation statement.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr map_key = 3;
-     * @return \Google\Api\Expr\V1alpha1\Expr
-     */
-    public function getMapKey()
-    {
-        return $this->readOneof(3);
-    }
-    /**
-     * The key expression for a map creation statement.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr map_key = 3;
-     * @param \Google\Api\Expr\V1alpha1\Expr $var
-     * @return $this
-     */
-    public function setMapKey($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->writeOneof(3, $var);
-        return $this;
-    }
-    /**
-     * Required. The value assigned to the key.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr value = 4;
-     * @return \Google\Api\Expr\V1alpha1\Expr
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-    /**
-     * Required. The value assigned to the key.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr value = 4;
-     * @param \Google\Api\Expr\V1alpha1\Expr $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->value = $var;
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getKeyKind()
-    {
-        return $this->whichOneof("key_kind");
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Entry::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_CreateStruct_Entry::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/Ident.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/Ident.php
deleted file mode 100644
index 56207e789..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/Ident.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.api.expr.v1alpha1.Expr.Ident
- */
-class Ident extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. Holds a single, unqualified identifier, possibly preceded by a
-     * '.'.
-     * Qualified names are represented by the [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
-     *
-     * Generated from protobuf field string name = 1;
-     */
-    private $name = '';
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $name
-     *           Required. Holds a single, unqualified identifier, possibly preceded by a
-     *           '.'.
-     *           Qualified names are represented by the [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Syntax::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. Holds a single, unqualified identifier, possibly preceded by a
-     * '.'.
-     * Qualified names are represented by the [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
-     *
-     * Generated from protobuf field string name = 1;
-     * @return string
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-    /**
-     * Required. Holds a single, unqualified identifier, possibly preceded by a
-     * '.'.
-     * Qualified names are represented by the [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
-     *
-     * 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;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Ident::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_Ident::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/Select.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/Select.php
deleted file mode 100644
index 11bcbba0f..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr/Select.php
+++ /dev/null
@@ -1,145 +0,0 @@
-google.api.expr.v1alpha1.Expr.Select
- */
-class Select extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. The target of the selection expression.
-     * For example, in the select expression `request.auth`, the `request`
-     * portion of the expression is the `operand`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr operand = 1;
-     */
-    private $operand = null;
-    /**
-     * Required. The name of the field to select.
-     * For example, in the select expression `request.auth`, the `auth` portion
-     * of the expression would be the `field`.
-     *
-     * Generated from protobuf field string field = 2;
-     */
-    private $field = '';
-    /**
-     * Whether the select is to be interpreted as a field presence test.
-     * This results from the macro `has(request.auth)`.
-     *
-     * Generated from protobuf field bool test_only = 3;
-     */
-    private $test_only = \false;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Expr $operand
-     *           Required. The target of the selection expression.
-     *           For example, in the select expression `request.auth`, the `request`
-     *           portion of the expression is the `operand`.
-     *     @type string $field
-     *           Required. The name of the field to select.
-     *           For example, in the select expression `request.auth`, the `auth` portion
-     *           of the expression would be the `field`.
-     *     @type bool $test_only
-     *           Whether the select is to be interpreted as a field presence test.
-     *           This results from the macro `has(request.auth)`.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Syntax::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. The target of the selection expression.
-     * For example, in the select expression `request.auth`, the `request`
-     * portion of the expression is the `operand`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr operand = 1;
-     * @return \Google\Api\Expr\V1alpha1\Expr
-     */
-    public function getOperand()
-    {
-        return $this->operand;
-    }
-    /**
-     * Required. The target of the selection expression.
-     * For example, in the select expression `request.auth`, the `request`
-     * portion of the expression is the `operand`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr operand = 1;
-     * @param \Google\Api\Expr\V1alpha1\Expr $var
-     * @return $this
-     */
-    public function setOperand($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->operand = $var;
-        return $this;
-    }
-    /**
-     * Required. The name of the field to select.
-     * For example, in the select expression `request.auth`, the `auth` portion
-     * of the expression would be the `field`.
-     *
-     * Generated from protobuf field string field = 2;
-     * @return string
-     */
-    public function getField()
-    {
-        return $this->field;
-    }
-    /**
-     * Required. The name of the field to select.
-     * For example, in the select expression `request.auth`, the `auth` portion
-     * of the expression would be the `field`.
-     *
-     * Generated from protobuf field string field = 2;
-     * @param string $var
-     * @return $this
-     */
-    public function setField($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->field = $var;
-        return $this;
-    }
-    /**
-     * Whether the select is to be interpreted as a field presence test.
-     * This results from the macro `has(request.auth)`.
-     *
-     * Generated from protobuf field bool test_only = 3;
-     * @return bool
-     */
-    public function getTestOnly()
-    {
-        return $this->test_only;
-    }
-    /**
-     * Whether the select is to be interpreted as a field presence test.
-     * This results from the macro `has(request.auth)`.
-     *
-     * Generated from protobuf field bool test_only = 3;
-     * @param bool $var
-     * @return $this
-     */
-    public function setTestOnly($var)
-    {
-        GPBUtil::checkBool($var);
-        $this->test_only = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Select::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr_Select::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/ExprValue.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/ExprValue.php
deleted file mode 100644
index dd553fc81..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/ExprValue.php
+++ /dev/null
@@ -1,200 +0,0 @@
-google.api.expr.v1alpha1.ExprValue
- */
-class ExprValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    protected $kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Value $value
-     *           A concrete value.
-     *     @type \Google\Api\Expr\V1alpha1\ErrorSet $error
-     *           The set of errors in the critical path of evalution.
-     *           Only errors in the critical path are included. For example,
-     *           `( || true) && ` will only result in ``,
-     *           while ` || ` will result in both `` and
-     *           ``.
-     *           Errors cause by the presence of other errors are not included in the
-     *           set. For example `.foo`, `foo()`, and ` + 1` will
-     *           only result in ``.
-     *           Multiple errors *might* be included when evaluation could result
-     *           in different errors. For example ` + ` and
-     *           `foo(, )` may result in ``, `` or both.
-     *           The exact subset of errors included for this case is unspecified and
-     *           depends on the implementation details of the evaluator.
-     *     @type \Google\Api\Expr\V1alpha1\UnknownSet $unknown
-     *           The set of unknowns in the critical path of evaluation.
-     *           Unknown behaves identically to Error with regards to propagation.
-     *           Specifically, only unknowns in the critical path are included, unknowns
-     *           caused by the presence of other unknowns are not included, and multiple
-     *           unknowns *might* be included included when evaluation could result in
-     *           different unknowns. For example:
-     *               ( || true) &&  -> 
-     *                ||  -> 
-     *               .foo -> 
-     *               foo() -> 
-     *                +  ->  or 
-     *           Unknown takes precidence over Error in cases where a `Value` can short
-     *           circuit the result:
-     *                ||  -> 
-     *                &&  -> 
-     *           Errors take precidence in all other cases:
-     *                +  -> 
-     *               foo(, ) -> 
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\PBEval::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * A concrete value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Value value = 1;
-     * @return \Google\Api\Expr\V1alpha1\Value
-     */
-    public function getValue()
-    {
-        return $this->readOneof(1);
-    }
-    /**
-     * A concrete value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Value value = 1;
-     * @param \Google\Api\Expr\V1alpha1\Value $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Value::class);
-        $this->writeOneof(1, $var);
-        return $this;
-    }
-    /**
-     * The set of errors in the critical path of evalution.
-     * Only errors in the critical path are included. For example,
-     * `( || true) && ` will only result in ``,
-     * while ` || ` will result in both `` and
-     * ``.
-     * Errors cause by the presence of other errors are not included in the
-     * set. For example `.foo`, `foo()`, and ` + 1` will
-     * only result in ``.
-     * Multiple errors *might* be included when evaluation could result
-     * in different errors. For example ` + ` and
-     * `foo(, )` may result in ``, `` or both.
-     * The exact subset of errors included for this case is unspecified and
-     * depends on the implementation details of the evaluator.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ErrorSet error = 2;
-     * @return \Google\Api\Expr\V1alpha1\ErrorSet
-     */
-    public function getError()
-    {
-        return $this->readOneof(2);
-    }
-    /**
-     * The set of errors in the critical path of evalution.
-     * Only errors in the critical path are included. For example,
-     * `( || true) && ` will only result in ``,
-     * while ` || ` will result in both `` and
-     * ``.
-     * Errors cause by the presence of other errors are not included in the
-     * set. For example `.foo`, `foo()`, and ` + 1` will
-     * only result in ``.
-     * Multiple errors *might* be included when evaluation could result
-     * in different errors. For example ` + ` and
-     * `foo(, )` may result in ``, `` or both.
-     * The exact subset of errors included for this case is unspecified and
-     * depends on the implementation details of the evaluator.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ErrorSet error = 2;
-     * @param \Google\Api\Expr\V1alpha1\ErrorSet $var
-     * @return $this
-     */
-    public function setError($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\ErrorSet::class);
-        $this->writeOneof(2, $var);
-        return $this;
-    }
-    /**
-     * The set of unknowns in the critical path of evaluation.
-     * Unknown behaves identically to Error with regards to propagation.
-     * Specifically, only unknowns in the critical path are included, unknowns
-     * caused by the presence of other unknowns are not included, and multiple
-     * unknowns *might* be included included when evaluation could result in
-     * different unknowns. For example:
-     *     ( || true) &&  -> 
-     *      ||  -> 
-     *     .foo -> 
-     *     foo() -> 
-     *      +  ->  or 
-     * Unknown takes precidence over Error in cases where a `Value` can short
-     * circuit the result:
-     *      ||  -> 
-     *      &&  -> 
-     * Errors take precidence in all other cases:
-     *      +  -> 
-     *     foo(, ) -> 
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.UnknownSet unknown = 3;
-     * @return \Google\Api\Expr\V1alpha1\UnknownSet
-     */
-    public function getUnknown()
-    {
-        return $this->readOneof(3);
-    }
-    /**
-     * The set of unknowns in the critical path of evaluation.
-     * Unknown behaves identically to Error with regards to propagation.
-     * Specifically, only unknowns in the critical path are included, unknowns
-     * caused by the presence of other unknowns are not included, and multiple
-     * unknowns *might* be included included when evaluation could result in
-     * different unknowns. For example:
-     *     ( || true) &&  -> 
-     *      ||  -> 
-     *     .foo -> 
-     *     foo() -> 
-     *      +  ->  or 
-     * Unknown takes precidence over Error in cases where a `Value` can short
-     * circuit the result:
-     *      ||  -> 
-     *      &&  -> 
-     * Errors take precidence in all other cases:
-     *      +  -> 
-     *     foo(, ) -> 
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.UnknownSet unknown = 3;
-     * @param \Google\Api\Expr\V1alpha1\UnknownSet $var
-     * @return $this
-     */
-    public function setUnknown($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\UnknownSet::class);
-        $this->writeOneof(3, $var);
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getKind()
-    {
-        return $this->whichOneof("kind");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr_Call.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr_Call.php
deleted file mode 100644
index 0175bdeb5..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Expr_Call.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.expr.v1alpha1.IssueDetails
- */
-class IssueDetails extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The severity of the issue.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.IssueDetails.Severity severity = 1;
-     */
-    private $severity = 0;
-    /**
-     * Position in the source, if known.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.SourcePosition position = 2;
-     */
-    private $position = null;
-    /**
-     * Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown.
-     *
-     * Generated from protobuf field int64 id = 3;
-     */
-    private $id = 0;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int $severity
-     *           The severity of the issue.
-     *     @type \Google\Api\Expr\V1alpha1\SourcePosition $position
-     *           Position in the source, if known.
-     *     @type int|string $id
-     *           Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\ConformanceService::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The severity of the issue.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.IssueDetails.Severity severity = 1;
-     * @return int
-     */
-    public function getSeverity()
-    {
-        return $this->severity;
-    }
-    /**
-     * The severity of the issue.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.IssueDetails.Severity severity = 1;
-     * @param int $var
-     * @return $this
-     */
-    public function setSeverity($var)
-    {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\IssueDetails_Severity::class);
-        $this->severity = $var;
-        return $this;
-    }
-    /**
-     * Position in the source, if known.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.SourcePosition position = 2;
-     * @return \Google\Api\Expr\V1alpha1\SourcePosition
-     */
-    public function getPosition()
-    {
-        return $this->position;
-    }
-    /**
-     * Position in the source, if known.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.SourcePosition position = 2;
-     * @param \Google\Api\Expr\V1alpha1\SourcePosition $var
-     * @return $this
-     */
-    public function setPosition($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\SourcePosition::class);
-        $this->position = $var;
-        return $this;
-    }
-    /**
-     * Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown.
-     *
-     * Generated from protobuf field int64 id = 3;
-     * @return int|string
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-    /**
-     * Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown.
-     *
-     * Generated from protobuf field int64 id = 3;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setId($var)
-    {
-        GPBUtil::checkInt64($var);
-        $this->id = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/IssueDetails/Severity.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/IssueDetails/Severity.php
deleted file mode 100644
index 1ae5fb5d8..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/IssueDetails/Severity.php
+++ /dev/null
@@ -1,58 +0,0 @@
-google.api.expr.v1alpha1.IssueDetails.Severity
- */
-class Severity
-{
-    /**
-     * An unspecified severity.
-     *
-     * Generated from protobuf enum SEVERITY_UNSPECIFIED = 0;
-     */
-    const SEVERITY_UNSPECIFIED = 0;
-    /**
-     * Deprecation issue for statements and method that may no longer be
-     * supported or maintained.
-     *
-     * Generated from protobuf enum DEPRECATION = 1;
-     */
-    const DEPRECATION = 1;
-    /**
-     * Warnings such as: unused variables.
-     *
-     * Generated from protobuf enum WARNING = 2;
-     */
-    const WARNING = 2;
-    /**
-     * Errors such as: unmatched curly braces or variable redefinition.
-     *
-     * Generated from protobuf enum ERROR = 3;
-     */
-    const ERROR = 3;
-    private static $valueToName = [self::SEVERITY_UNSPECIFIED => 'SEVERITY_UNSPECIFIED', self::DEPRECATION => 'DEPRECATION', self::WARNING => 'WARNING', self::ERROR => 'ERROR'];
-    public static function name($value)
-    {
-        if (!isset(self::$valueToName[$value])) {
-            throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value));
-        }
-        return self::$valueToName[$value];
-    }
-    public static function value($name)
-    {
-        $const = __CLASS__ . '::' . strtoupper($name);
-        if (!defined($const)) {
-            throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name));
-        }
-        return constant($const);
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Severity::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\IssueDetails_Severity::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/IssueDetails_Severity.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/IssueDetails_Severity.php
deleted file mode 100644
index 089c0aa0a..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/IssueDetails_Severity.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.expr.v1alpha1.ListValue
- */
-class ListValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The ordered values in the list.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Value values = 1;
-     */
-    private $values;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Value[]|\Google\Protobuf\Internal\RepeatedField $values
-     *           The ordered values in the list.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Value::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The ordered values in the list.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Value values = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getValues()
-    {
-        return $this->values;
-    }
-    /**
-     * The ordered values in the list.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Value values = 1;
-     * @param \Google\Api\Expr\V1alpha1\Value[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setValues($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Value::class);
-        $this->values = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/MapValue.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/MapValue.php
deleted file mode 100644
index f9c06fb68..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/MapValue.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.api.expr.v1alpha1.MapValue
- */
-class MapValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The set of map entries.
-     * CEL has fewer restrictions on keys, so a protobuf map represenation
-     * cannot be used.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.MapValue.Entry entries = 1;
-     */
-    private $entries;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\MapValue\Entry[]|\Google\Protobuf\Internal\RepeatedField $entries
-     *           The set of map entries.
-     *           CEL has fewer restrictions on keys, so a protobuf map represenation
-     *           cannot be used.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Value::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The set of map entries.
-     * CEL has fewer restrictions on keys, so a protobuf map represenation
-     * cannot be used.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.MapValue.Entry entries = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getEntries()
-    {
-        return $this->entries;
-    }
-    /**
-     * The set of map entries.
-     * CEL has fewer restrictions on keys, so a protobuf map represenation
-     * cannot be used.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.MapValue.Entry entries = 1;
-     * @param \Google\Api\Expr\V1alpha1\MapValue\Entry[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setEntries($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\MapValue\Entry::class);
-        $this->entries = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/MapValue/Entry.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/MapValue/Entry.php
deleted file mode 100644
index b565cc6b4..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/MapValue/Entry.php
+++ /dev/null
@@ -1,102 +0,0 @@
-google.api.expr.v1alpha1.MapValue.Entry
- */
-class Entry extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The key.
-     * Must be unique with in the map.
-     * Currently only boolean, int, uint, and string values can be keys.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Value key = 1;
-     */
-    private $key = null;
-    /**
-     * The value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Value value = 2;
-     */
-    private $value = null;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Value $key
-     *           The key.
-     *           Must be unique with in the map.
-     *           Currently only boolean, int, uint, and string values can be keys.
-     *     @type \Google\Api\Expr\V1alpha1\Value $value
-     *           The value.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Value::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The key.
-     * Must be unique with in the map.
-     * Currently only boolean, int, uint, and string values can be keys.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Value key = 1;
-     * @return \Google\Api\Expr\V1alpha1\Value
-     */
-    public function getKey()
-    {
-        return $this->key;
-    }
-    /**
-     * The key.
-     * Must be unique with in the map.
-     * Currently only boolean, int, uint, and string values can be keys.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Value key = 1;
-     * @param \Google\Api\Expr\V1alpha1\Value $var
-     * @return $this
-     */
-    public function setKey($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Value::class);
-        $this->key = $var;
-        return $this;
-    }
-    /**
-     * The value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Value value = 2;
-     * @return \Google\Api\Expr\V1alpha1\Value
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-    /**
-     * The value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Value value = 2;
-     * @param \Google\Api\Expr\V1alpha1\Value $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Value::class);
-        $this->value = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Entry::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\MapValue_Entry::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/MapValue_Entry.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/MapValue_Entry.php
deleted file mode 100644
index 1de3c15e9..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/MapValue_Entry.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.expr.v1alpha1.ParseRequest
- */
-class ParseRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. Source text in CEL syntax.
-     *
-     * Generated from protobuf field string cel_source = 1 [(.google.api.field_behavior) = REQUIRED];
-     */
-    private $cel_source = '';
-    /**
-     * Tag for version of CEL syntax, for future use.
-     *
-     * Generated from protobuf field string syntax_version = 2;
-     */
-    private $syntax_version = '';
-    /**
-     * File or resource for source text, used in [SourceInfo][google.api.expr.v1alpha1.SourceInfo].
-     *
-     * Generated from protobuf field string source_location = 3;
-     */
-    private $source_location = '';
-    /**
-     * Prevent macro expansion.  See "Macros" in Language Defiinition.
-     *
-     * Generated from protobuf field bool disable_macros = 4;
-     */
-    private $disable_macros = \false;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $cel_source
-     *           Required. Source text in CEL syntax.
-     *     @type string $syntax_version
-     *           Tag for version of CEL syntax, for future use.
-     *     @type string $source_location
-     *           File or resource for source text, used in [SourceInfo][google.api.expr.v1alpha1.SourceInfo].
-     *     @type bool $disable_macros
-     *           Prevent macro expansion.  See "Macros" in Language Defiinition.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\ConformanceService::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. Source text in CEL syntax.
-     *
-     * Generated from protobuf field string cel_source = 1 [(.google.api.field_behavior) = REQUIRED];
-     * @return string
-     */
-    public function getCelSource()
-    {
-        return $this->cel_source;
-    }
-    /**
-     * Required. Source text in CEL syntax.
-     *
-     * Generated from protobuf field string cel_source = 1 [(.google.api.field_behavior) = REQUIRED];
-     * @param string $var
-     * @return $this
-     */
-    public function setCelSource($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->cel_source = $var;
-        return $this;
-    }
-    /**
-     * Tag for version of CEL syntax, for future use.
-     *
-     * Generated from protobuf field string syntax_version = 2;
-     * @return string
-     */
-    public function getSyntaxVersion()
-    {
-        return $this->syntax_version;
-    }
-    /**
-     * Tag for version of CEL syntax, for future use.
-     *
-     * Generated from protobuf field string syntax_version = 2;
-     * @param string $var
-     * @return $this
-     */
-    public function setSyntaxVersion($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->syntax_version = $var;
-        return $this;
-    }
-    /**
-     * File or resource for source text, used in [SourceInfo][google.api.expr.v1alpha1.SourceInfo].
-     *
-     * Generated from protobuf field string source_location = 3;
-     * @return string
-     */
-    public function getSourceLocation()
-    {
-        return $this->source_location;
-    }
-    /**
-     * File or resource for source text, used in [SourceInfo][google.api.expr.v1alpha1.SourceInfo].
-     *
-     * Generated from protobuf field string source_location = 3;
-     * @param string $var
-     * @return $this
-     */
-    public function setSourceLocation($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->source_location = $var;
-        return $this;
-    }
-    /**
-     * Prevent macro expansion.  See "Macros" in Language Defiinition.
-     *
-     * Generated from protobuf field bool disable_macros = 4;
-     * @return bool
-     */
-    public function getDisableMacros()
-    {
-        return $this->disable_macros;
-    }
-    /**
-     * Prevent macro expansion.  See "Macros" in Language Defiinition.
-     *
-     * Generated from protobuf field bool disable_macros = 4;
-     * @param bool $var
-     * @return $this
-     */
-    public function setDisableMacros($var)
-    {
-        GPBUtil::checkBool($var);
-        $this->disable_macros = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/ParseResponse.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/ParseResponse.php
deleted file mode 100644
index a46d0ae86..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/ParseResponse.php
+++ /dev/null
@@ -1,92 +0,0 @@
-google.api.expr.v1alpha1.ParseResponse
- */
-class ParseResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The parsed representation, or unset if parsing failed.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1;
-     */
-    private $parsed_expr = null;
-    /**
-     * Any number of issues with [StatusDetails][] as the details.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status issues = 2;
-     */
-    private $issues;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\ParsedExpr $parsed_expr
-     *           The parsed representation, or unset if parsing failed.
-     *     @type \Google\Rpc\Status[]|\Google\Protobuf\Internal\RepeatedField $issues
-     *           Any number of issues with [StatusDetails][] as the details.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\ConformanceService::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The parsed representation, or unset if parsing failed.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1;
-     * @return \Google\Api\Expr\V1alpha1\ParsedExpr
-     */
-    public function getParsedExpr()
-    {
-        return $this->parsed_expr;
-    }
-    /**
-     * The parsed representation, or unset if parsing failed.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1;
-     * @param \Google\Api\Expr\V1alpha1\ParsedExpr $var
-     * @return $this
-     */
-    public function setParsedExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\ParsedExpr::class);
-        $this->parsed_expr = $var;
-        return $this;
-    }
-    /**
-     * Any number of issues with [StatusDetails][] as the details.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status issues = 2;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getIssues()
-    {
-        return $this->issues;
-    }
-    /**
-     * Any number of issues with [StatusDetails][] as the details.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status issues = 2;
-     * @param \Google\Rpc\Status[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setIssues($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Status::class);
-        $this->issues = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/ParsedExpr.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/ParsedExpr.php
deleted file mode 100644
index e2729bcf7..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/ParsedExpr.php
+++ /dev/null
@@ -1,92 +0,0 @@
-google.api.expr.v1alpha1.ParsedExpr
- */
-class ParsedExpr extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The parsed expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr expr = 2;
-     */
-    private $expr = null;
-    /**
-     * The source info derived from input that generated the parsed `expr`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.SourceInfo source_info = 3;
-     */
-    private $source_info = null;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Expr $expr
-     *           The parsed expression.
-     *     @type \Google\Api\Expr\V1alpha1\SourceInfo $source_info
-     *           The source info derived from input that generated the parsed `expr`.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Syntax::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The parsed expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr expr = 2;
-     * @return \Google\Api\Expr\V1alpha1\Expr
-     */
-    public function getExpr()
-    {
-        return $this->expr;
-    }
-    /**
-     * The parsed expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Expr expr = 2;
-     * @param \Google\Api\Expr\V1alpha1\Expr $var
-     * @return $this
-     */
-    public function setExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->expr = $var;
-        return $this;
-    }
-    /**
-     * The source info derived from input that generated the parsed `expr`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.SourceInfo source_info = 3;
-     * @return \Google\Api\Expr\V1alpha1\SourceInfo
-     */
-    public function getSourceInfo()
-    {
-        return $this->source_info;
-    }
-    /**
-     * The source info derived from input that generated the parsed `expr`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.SourceInfo source_info = 3;
-     * @param \Google\Api\Expr\V1alpha1\SourceInfo $var
-     * @return $this
-     */
-    public function setSourceInfo($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\SourceInfo::class);
-        $this->source_info = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Reference.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Reference.php
deleted file mode 100644
index 1d281620a..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Reference.php
+++ /dev/null
@@ -1,147 +0,0 @@
-google.api.expr.v1alpha1.Reference
- */
-class Reference extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The fully qualified name of the declaration.
-     *
-     * Generated from protobuf field string name = 1;
-     */
-    private $name = '';
-    /**
-     * For references to functions, this is a list of `Overload.overload_id`
-     * values which match according to typing rules.
-     * If the list has more than one element, overload resolution among the
-     * presented candidates must happen at runtime because of dynamic types. The
-     * type checker attempts to narrow down this list as much as possible.
-     * Empty if this is not a reference to a [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
-     *
-     * Generated from protobuf field repeated string overload_id = 3;
-     */
-    private $overload_id;
-    /**
-     * For references to constants, this may contain the value of the
-     * constant if known at compile time.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Constant value = 4;
-     */
-    private $value = null;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $name
-     *           The fully qualified name of the declaration.
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $overload_id
-     *           For references to functions, this is a list of `Overload.overload_id`
-     *           values which match according to typing rules.
-     *           If the list has more than one element, overload resolution among the
-     *           presented candidates must happen at runtime because of dynamic types. The
-     *           type checker attempts to narrow down this list as much as possible.
-     *           Empty if this is not a reference to a [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
-     *     @type \Google\Api\Expr\V1alpha1\Constant $value
-     *           For references to constants, this may contain the value of the
-     *           constant if known at compile time.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Checked::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The fully qualified name of the declaration.
-     *
-     * Generated from protobuf field string name = 1;
-     * @return string
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-    /**
-     * The fully qualified name of the declaration.
-     *
-     * 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;
-    }
-    /**
-     * For references to functions, this is a list of `Overload.overload_id`
-     * values which match according to typing rules.
-     * If the list has more than one element, overload resolution among the
-     * presented candidates must happen at runtime because of dynamic types. The
-     * type checker attempts to narrow down this list as much as possible.
-     * Empty if this is not a reference to a [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
-     *
-     * Generated from protobuf field repeated string overload_id = 3;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getOverloadId()
-    {
-        return $this->overload_id;
-    }
-    /**
-     * For references to functions, this is a list of `Overload.overload_id`
-     * values which match according to typing rules.
-     * If the list has more than one element, overload resolution among the
-     * presented candidates must happen at runtime because of dynamic types. The
-     * type checker attempts to narrow down this list as much as possible.
-     * Empty if this is not a reference to a [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
-     *
-     * Generated from protobuf field repeated string overload_id = 3;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setOverloadId($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
-        $this->overload_id = $arr;
-        return $this;
-    }
-    /**
-     * For references to constants, this may contain the value of the
-     * constant if known at compile time.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Constant value = 4;
-     * @return \Google\Api\Expr\V1alpha1\Constant
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-    /**
-     * For references to constants, this may contain the value of the
-     * constant if known at compile time.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Constant value = 4;
-     * @param \Google\Api\Expr\V1alpha1\Constant $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Constant::class);
-        $this->value = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/SourceInfo.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/SourceInfo.php
deleted file mode 100644
index e6f8ce9a3..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/SourceInfo.php
+++ /dev/null
@@ -1,237 +0,0 @@
-google.api.expr.v1alpha1.SourceInfo
- */
-class SourceInfo extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The syntax version of the source, e.g. `cel1`.
-     *
-     * Generated from protobuf field string syntax_version = 1;
-     */
-    private $syntax_version = '';
-    /**
-     * The location name. All position information attached to an expression is
-     * relative to this location.
-     * The location could be a file, UI element, or similar. For example,
-     * `acme/app/AnvilPolicy.cel`.
-     *
-     * Generated from protobuf field string location = 2;
-     */
-    private $location = '';
-    /**
-     * Monotonically increasing list of character offsets where newlines appear.
-     * The line number of a given position is the index `i` where for a given
-     * `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
-     * column may be derivd from `id_positions[id] - line_offsets[i]`.
-     *
-     * Generated from protobuf field repeated int32 line_offsets = 3;
-     */
-    private $line_offsets;
-    /**
-     * A map from the parse node id (e.g. `Expr.id`) to the character offset
-     * within source.
-     *
-     * Generated from protobuf field map positions = 4;
-     */
-    private $positions;
-    /**
-     * A map from the parse node id where a macro replacement was made to the
-     * call `Expr` that resulted in a macro expansion.
-     * For example, `has(value.field)` is a function call that is replaced by a
-     * `test_only` field selection in the AST. Likewise, the call
-     * `list.exists(e, e > 10)` translates to a comprehension expression. The key
-     * in the map corresponds to the expression id of the expanded macro, and the
-     * value is the call `Expr` that was replaced.
-     *
-     * Generated from protobuf field map macro_calls = 5;
-     */
-    private $macro_calls;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $syntax_version
-     *           The syntax version of the source, e.g. `cel1`.
-     *     @type string $location
-     *           The location name. All position information attached to an expression is
-     *           relative to this location.
-     *           The location could be a file, UI element, or similar. For example,
-     *           `acme/app/AnvilPolicy.cel`.
-     *     @type int[]|\Google\Protobuf\Internal\RepeatedField $line_offsets
-     *           Monotonically increasing list of character offsets where newlines appear.
-     *           The line number of a given position is the index `i` where for a given
-     *           `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
-     *           column may be derivd from `id_positions[id] - line_offsets[i]`.
-     *     @type array|\Google\Protobuf\Internal\MapField $positions
-     *           A map from the parse node id (e.g. `Expr.id`) to the character offset
-     *           within source.
-     *     @type array|\Google\Protobuf\Internal\MapField $macro_calls
-     *           A map from the parse node id where a macro replacement was made to the
-     *           call `Expr` that resulted in a macro expansion.
-     *           For example, `has(value.field)` is a function call that is replaced by a
-     *           `test_only` field selection in the AST. Likewise, the call
-     *           `list.exists(e, e > 10)` translates to a comprehension expression. The key
-     *           in the map corresponds to the expression id of the expanded macro, and the
-     *           value is the call `Expr` that was replaced.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Syntax::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The syntax version of the source, e.g. `cel1`.
-     *
-     * Generated from protobuf field string syntax_version = 1;
-     * @return string
-     */
-    public function getSyntaxVersion()
-    {
-        return $this->syntax_version;
-    }
-    /**
-     * The syntax version of the source, e.g. `cel1`.
-     *
-     * Generated from protobuf field string syntax_version = 1;
-     * @param string $var
-     * @return $this
-     */
-    public function setSyntaxVersion($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->syntax_version = $var;
-        return $this;
-    }
-    /**
-     * The location name. All position information attached to an expression is
-     * relative to this location.
-     * The location could be a file, UI element, or similar. For example,
-     * `acme/app/AnvilPolicy.cel`.
-     *
-     * Generated from protobuf field string location = 2;
-     * @return string
-     */
-    public function getLocation()
-    {
-        return $this->location;
-    }
-    /**
-     * The location name. All position information attached to an expression is
-     * relative to this location.
-     * The location could be a file, UI element, or similar. For example,
-     * `acme/app/AnvilPolicy.cel`.
-     *
-     * Generated from protobuf field string location = 2;
-     * @param string $var
-     * @return $this
-     */
-    public function setLocation($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->location = $var;
-        return $this;
-    }
-    /**
-     * Monotonically increasing list of character offsets where newlines appear.
-     * The line number of a given position is the index `i` where for a given
-     * `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
-     * column may be derivd from `id_positions[id] - line_offsets[i]`.
-     *
-     * Generated from protobuf field repeated int32 line_offsets = 3;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getLineOffsets()
-    {
-        return $this->line_offsets;
-    }
-    /**
-     * Monotonically increasing list of character offsets where newlines appear.
-     * The line number of a given position is the index `i` where for a given
-     * `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
-     * column may be derivd from `id_positions[id] - line_offsets[i]`.
-     *
-     * Generated from protobuf field repeated int32 line_offsets = 3;
-     * @param int[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setLineOffsets($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32);
-        $this->line_offsets = $arr;
-        return $this;
-    }
-    /**
-     * A map from the parse node id (e.g. `Expr.id`) to the character offset
-     * within source.
-     *
-     * Generated from protobuf field map positions = 4;
-     * @return \Google\Protobuf\Internal\MapField
-     */
-    public function getPositions()
-    {
-        return $this->positions;
-    }
-    /**
-     * A map from the parse node id (e.g. `Expr.id`) to the character offset
-     * within source.
-     *
-     * Generated from protobuf field map positions = 4;
-     * @param array|\Google\Protobuf\Internal\MapField $var
-     * @return $this
-     */
-    public function setPositions($var)
-    {
-        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT64, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32);
-        $this->positions = $arr;
-        return $this;
-    }
-    /**
-     * A map from the parse node id where a macro replacement was made to the
-     * call `Expr` that resulted in a macro expansion.
-     * For example, `has(value.field)` is a function call that is replaced by a
-     * `test_only` field selection in the AST. Likewise, the call
-     * `list.exists(e, e > 10)` translates to a comprehension expression. The key
-     * in the map corresponds to the expression id of the expanded macro, and the
-     * value is the call `Expr` that was replaced.
-     *
-     * Generated from protobuf field map macro_calls = 5;
-     * @return \Google\Protobuf\Internal\MapField
-     */
-    public function getMacroCalls()
-    {
-        return $this->macro_calls;
-    }
-    /**
-     * A map from the parse node id where a macro replacement was made to the
-     * call `Expr` that resulted in a macro expansion.
-     * For example, `has(value.field)` is a function call that is replaced by a
-     * `test_only` field selection in the AST. Likewise, the call
-     * `list.exists(e, e > 10)` translates to a comprehension expression. The key
-     * in the map corresponds to the expression id of the expanded macro, and the
-     * value is the call `Expr` that was replaced.
-     *
-     * Generated from protobuf field map macro_calls = 5;
-     * @param array|\Google\Protobuf\Internal\MapField $var
-     * @return $this
-     */
-    public function setMacroCalls($var)
-    {
-        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT64, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Expr::class);
-        $this->macro_calls = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/SourcePosition.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/SourcePosition.php
deleted file mode 100644
index a2cf4ca47..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/SourcePosition.php
+++ /dev/null
@@ -1,162 +0,0 @@
-google.api.expr.v1alpha1.SourcePosition
- */
-class SourcePosition extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The soucre location name (e.g. file name).
-     *
-     * Generated from protobuf field string location = 1;
-     */
-    private $location = '';
-    /**
-     * The character offset.
-     *
-     * Generated from protobuf field int32 offset = 2;
-     */
-    private $offset = 0;
-    /**
-     * The 1-based index of the starting line in the source text
-     * where the issue occurs, or 0 if unknown.
-     *
-     * Generated from protobuf field int32 line = 3;
-     */
-    private $line = 0;
-    /**
-     * The 0-based index of the starting position within the line of source text
-     * where the issue occurs.  Only meaningful if line is nonzero.
-     *
-     * Generated from protobuf field int32 column = 4;
-     */
-    private $column = 0;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $location
-     *           The soucre location name (e.g. file name).
-     *     @type int $offset
-     *           The character offset.
-     *     @type int $line
-     *           The 1-based index of the starting line in the source text
-     *           where the issue occurs, or 0 if unknown.
-     *     @type int $column
-     *           The 0-based index of the starting position within the line of source text
-     *           where the issue occurs.  Only meaningful if line is nonzero.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Syntax::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The soucre location name (e.g. file name).
-     *
-     * Generated from protobuf field string location = 1;
-     * @return string
-     */
-    public function getLocation()
-    {
-        return $this->location;
-    }
-    /**
-     * The soucre location name (e.g. file name).
-     *
-     * Generated from protobuf field string location = 1;
-     * @param string $var
-     * @return $this
-     */
-    public function setLocation($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->location = $var;
-        return $this;
-    }
-    /**
-     * The character offset.
-     *
-     * Generated from protobuf field int32 offset = 2;
-     * @return int
-     */
-    public function getOffset()
-    {
-        return $this->offset;
-    }
-    /**
-     * The character offset.
-     *
-     * Generated from protobuf field int32 offset = 2;
-     * @param int $var
-     * @return $this
-     */
-    public function setOffset($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->offset = $var;
-        return $this;
-    }
-    /**
-     * The 1-based index of the starting line in the source text
-     * where the issue occurs, or 0 if unknown.
-     *
-     * Generated from protobuf field int32 line = 3;
-     * @return int
-     */
-    public function getLine()
-    {
-        return $this->line;
-    }
-    /**
-     * The 1-based index of the starting line in the source text
-     * where the issue occurs, or 0 if unknown.
-     *
-     * Generated from protobuf field int32 line = 3;
-     * @param int $var
-     * @return $this
-     */
-    public function setLine($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->line = $var;
-        return $this;
-    }
-    /**
-     * The 0-based index of the starting position within the line of source text
-     * where the issue occurs.  Only meaningful if line is nonzero.
-     *
-     * Generated from protobuf field int32 column = 4;
-     * @return int
-     */
-    public function getColumn()
-    {
-        return $this->column;
-    }
-    /**
-     * The 0-based index of the starting position within the line of source text
-     * where the issue occurs.  Only meaningful if line is nonzero.
-     *
-     * Generated from protobuf field int32 column = 4;
-     * @param int $var
-     * @return $this
-     */
-    public function setColumn($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->column = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type.php
deleted file mode 100644
index c9119cd9a..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type.php
+++ /dev/null
@@ -1,393 +0,0 @@
-google.api.expr.v1alpha1.Type
- */
-class Type extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    protected $type_kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Protobuf\GPBEmpty $dyn
-     *           Dynamic type.
-     *     @type int $null
-     *           Null value.
-     *     @type int $primitive
-     *           Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
-     *     @type int $wrapper
-     *           Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
-     *     @type int $well_known
-     *           Well-known protobuf type such as `google.protobuf.Timestamp`.
-     *     @type \Google\Api\Expr\V1alpha1\Type\ListType $list_type
-     *           Parameterized list with elements of `list_type`, e.g. `list`.
-     *     @type \Google\Api\Expr\V1alpha1\Type\MapType $map_type
-     *           Parameterized map with typed keys and values.
-     *     @type \Google\Api\Expr\V1alpha1\Type\FunctionType $function
-     *           Function type.
-     *     @type string $message_type
-     *           Protocol buffer message type.
-     *           The `message_type` string specifies the qualified message type name. For
-     *           example, `google.plus.Profile`.
-     *     @type string $type_param
-     *           Type param type.
-     *           The `type_param` string specifies the type parameter name, e.g. `list`
-     *           would be a `list_type` whose element type was a `type_param` type
-     *           named `E`.
-     *     @type \Google\Api\Expr\V1alpha1\Type $type
-     *           Type type.
-     *           The `type` value specifies the target type. e.g. int is type with a
-     *           target type of `Primitive.INT`.
-     *     @type \Google\Protobuf\GPBEmpty $error
-     *           Error type.
-     *           During type-checking if an expression is an error, its type is propagated
-     *           as the `ERROR` type. This permits the type-checker to discover other
-     *           errors present in the expression.
-     *     @type \Google\Api\Expr\V1alpha1\Type\AbstractType $abstract_type
-     *           Abstract, application defined type.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Checked::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Dynamic type.
-     *
-     * Generated from protobuf field .google.protobuf.Empty dyn = 1;
-     * @return \Google\Protobuf\GPBEmpty
-     */
-    public function getDyn()
-    {
-        return $this->readOneof(1);
-    }
-    /**
-     * Dynamic type.
-     *
-     * Generated from protobuf field .google.protobuf.Empty dyn = 1;
-     * @param \Google\Protobuf\GPBEmpty $var
-     * @return $this
-     */
-    public function setDyn($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\GPBEmpty::class);
-        $this->writeOneof(1, $var);
-        return $this;
-    }
-    /**
-     * Null value.
-     *
-     * Generated from protobuf field .google.protobuf.NullValue null = 2;
-     * @return int
-     */
-    public function getNull()
-    {
-        return $this->readOneof(2);
-    }
-    /**
-     * Null value.
-     *
-     * Generated from protobuf field .google.protobuf.NullValue null = 2;
-     * @param int $var
-     * @return $this
-     */
-    public function setNull($var)
-    {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\NullValue::class);
-        $this->writeOneof(2, $var);
-        return $this;
-    }
-    /**
-     * Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3;
-     * @return int
-     */
-    public function getPrimitive()
-    {
-        return $this->readOneof(3);
-    }
-    /**
-     * Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3;
-     * @param int $var
-     * @return $this
-     */
-    public function setPrimitive($var)
-    {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_PrimitiveType::class);
-        $this->writeOneof(3, $var);
-        return $this;
-    }
-    /**
-     * Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4;
-     * @return int
-     */
-    public function getWrapper()
-    {
-        return $this->readOneof(4);
-    }
-    /**
-     * Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4;
-     * @param int $var
-     * @return $this
-     */
-    public function setWrapper($var)
-    {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_PrimitiveType::class);
-        $this->writeOneof(4, $var);
-        return $this;
-    }
-    /**
-     * Well-known protobuf type such as `google.protobuf.Timestamp`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.WellKnownType well_known = 5;
-     * @return int
-     */
-    public function getWellKnown()
-    {
-        return $this->readOneof(5);
-    }
-    /**
-     * Well-known protobuf type such as `google.protobuf.Timestamp`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.WellKnownType well_known = 5;
-     * @param int $var
-     * @return $this
-     */
-    public function setWellKnown($var)
-    {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_WellKnownType::class);
-        $this->writeOneof(5, $var);
-        return $this;
-    }
-    /**
-     * Parameterized list with elements of `list_type`, e.g. `list`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.ListType list_type = 6;
-     * @return \Google\Api\Expr\V1alpha1\Type\ListType
-     */
-    public function getListType()
-    {
-        return $this->readOneof(6);
-    }
-    /**
-     * Parameterized list with elements of `list_type`, e.g. `list`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.ListType list_type = 6;
-     * @param \Google\Api\Expr\V1alpha1\Type\ListType $var
-     * @return $this
-     */
-    public function setListType($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_ListType::class);
-        $this->writeOneof(6, $var);
-        return $this;
-    }
-    /**
-     * Parameterized map with typed keys and values.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.MapType map_type = 7;
-     * @return \Google\Api\Expr\V1alpha1\Type\MapType
-     */
-    public function getMapType()
-    {
-        return $this->readOneof(7);
-    }
-    /**
-     * Parameterized map with typed keys and values.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.MapType map_type = 7;
-     * @param \Google\Api\Expr\V1alpha1\Type\MapType $var
-     * @return $this
-     */
-    public function setMapType($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_MapType::class);
-        $this->writeOneof(7, $var);
-        return $this;
-    }
-    /**
-     * Function type.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.FunctionType function = 8;
-     * @return \Google\Api\Expr\V1alpha1\Type\FunctionType
-     */
-    public function getFunction()
-    {
-        return $this->readOneof(8);
-    }
-    /**
-     * Function type.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.FunctionType function = 8;
-     * @param \Google\Api\Expr\V1alpha1\Type\FunctionType $var
-     * @return $this
-     */
-    public function setFunction($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_FunctionType::class);
-        $this->writeOneof(8, $var);
-        return $this;
-    }
-    /**
-     * Protocol buffer message type.
-     * The `message_type` string specifies the qualified message type name. For
-     * example, `google.plus.Profile`.
-     *
-     * Generated from protobuf field string message_type = 9;
-     * @return string
-     */
-    public function getMessageType()
-    {
-        return $this->readOneof(9);
-    }
-    /**
-     * Protocol buffer message type.
-     * The `message_type` string specifies the qualified message type name. For
-     * example, `google.plus.Profile`.
-     *
-     * Generated from protobuf field string message_type = 9;
-     * @param string $var
-     * @return $this
-     */
-    public function setMessageType($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->writeOneof(9, $var);
-        return $this;
-    }
-    /**
-     * Type param type.
-     * The `type_param` string specifies the type parameter name, e.g. `list`
-     * would be a `list_type` whose element type was a `type_param` type
-     * named `E`.
-     *
-     * Generated from protobuf field string type_param = 10;
-     * @return string
-     */
-    public function getTypeParam()
-    {
-        return $this->readOneof(10);
-    }
-    /**
-     * Type param type.
-     * The `type_param` string specifies the type parameter name, e.g. `list`
-     * would be a `list_type` whose element type was a `type_param` type
-     * named `E`.
-     *
-     * Generated from protobuf field string type_param = 10;
-     * @param string $var
-     * @return $this
-     */
-    public function setTypeParam($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->writeOneof(10, $var);
-        return $this;
-    }
-    /**
-     * Type type.
-     * The `type` value specifies the target type. e.g. int is type with a
-     * target type of `Primitive.INT`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type type = 11;
-     * @return \Google\Api\Expr\V1alpha1\Type
-     */
-    public function getType()
-    {
-        return $this->readOneof(11);
-    }
-    /**
-     * Type type.
-     * The `type` value specifies the target type. e.g. int is type with a
-     * target type of `Primitive.INT`.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type type = 11;
-     * @param \Google\Api\Expr\V1alpha1\Type $var
-     * @return $this
-     */
-    public function setType($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type::class);
-        $this->writeOneof(11, $var);
-        return $this;
-    }
-    /**
-     * Error type.
-     * During type-checking if an expression is an error, its type is propagated
-     * as the `ERROR` type. This permits the type-checker to discover other
-     * errors present in the expression.
-     *
-     * Generated from protobuf field .google.protobuf.Empty error = 12;
-     * @return \Google\Protobuf\GPBEmpty
-     */
-    public function getError()
-    {
-        return $this->readOneof(12);
-    }
-    /**
-     * Error type.
-     * During type-checking if an expression is an error, its type is propagated
-     * as the `ERROR` type. This permits the type-checker to discover other
-     * errors present in the expression.
-     *
-     * Generated from protobuf field .google.protobuf.Empty error = 12;
-     * @param \Google\Protobuf\GPBEmpty $var
-     * @return $this
-     */
-    public function setError($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\GPBEmpty::class);
-        $this->writeOneof(12, $var);
-        return $this;
-    }
-    /**
-     * Abstract, application defined type.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;
-     * @return \Google\Api\Expr\V1alpha1\Type\AbstractType
-     */
-    public function getAbstractType()
-    {
-        return $this->readOneof(14);
-    }
-    /**
-     * Abstract, application defined type.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;
-     * @param \Google\Api\Expr\V1alpha1\Type\AbstractType $var
-     * @return $this
-     */
-    public function setAbstractType($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_AbstractType::class);
-        $this->writeOneof(14, $var);
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getTypeKind()
-    {
-        return $this->whichOneof("type_kind");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/AbstractType.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/AbstractType.php
deleted file mode 100644
index 13a2628a6..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/AbstractType.php
+++ /dev/null
@@ -1,94 +0,0 @@
-google.api.expr.v1alpha1.Type.AbstractType
- */
-class AbstractType extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The fully qualified name of this abstract type.
-     *
-     * Generated from protobuf field string name = 1;
-     */
-    private $name = '';
-    /**
-     * Parameter types for this abstract type.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Type parameter_types = 2;
-     */
-    private $parameter_types;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $name
-     *           The fully qualified name of this abstract type.
-     *     @type \Google\Api\Expr\V1alpha1\Type[]|\Google\Protobuf\Internal\RepeatedField $parameter_types
-     *           Parameter types for this abstract type.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Checked::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The fully qualified name of this abstract type.
-     *
-     * Generated from protobuf field string name = 1;
-     * @return string
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-    /**
-     * The fully qualified name of this abstract type.
-     *
-     * 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;
-    }
-    /**
-     * Parameter types for this abstract type.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Type parameter_types = 2;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getParameterTypes()
-    {
-        return $this->parameter_types;
-    }
-    /**
-     * Parameter types for this abstract type.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Type parameter_types = 2;
-     * @param \Google\Api\Expr\V1alpha1\Type[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setParameterTypes($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type::class);
-        $this->parameter_types = $arr;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(AbstractType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_AbstractType::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/FunctionType.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/FunctionType.php
deleted file mode 100644
index 91e794c12..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/FunctionType.php
+++ /dev/null
@@ -1,94 +0,0 @@
-google.api.expr.v1alpha1.Type.FunctionType
- */
-class FunctionType extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Result type of the function.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type result_type = 1;
-     */
-    private $result_type = null;
-    /**
-     * Argument types of the function.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Type arg_types = 2;
-     */
-    private $arg_types;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Type $result_type
-     *           Result type of the function.
-     *     @type \Google\Api\Expr\V1alpha1\Type[]|\Google\Protobuf\Internal\RepeatedField $arg_types
-     *           Argument types of the function.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Checked::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Result type of the function.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type result_type = 1;
-     * @return \Google\Api\Expr\V1alpha1\Type
-     */
-    public function getResultType()
-    {
-        return $this->result_type;
-    }
-    /**
-     * Result type of the function.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type result_type = 1;
-     * @param \Google\Api\Expr\V1alpha1\Type $var
-     * @return $this
-     */
-    public function setResultType($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type::class);
-        $this->result_type = $var;
-        return $this;
-    }
-    /**
-     * Argument types of the function.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Type arg_types = 2;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getArgTypes()
-    {
-        return $this->arg_types;
-    }
-    /**
-     * Argument types of the function.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1alpha1.Type arg_types = 2;
-     * @param \Google\Api\Expr\V1alpha1\Type[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setArgTypes($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type::class);
-        $this->arg_types = $arr;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(FunctionType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_FunctionType::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/ListType.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/ListType.php
deleted file mode 100644
index 2b30aae07..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/ListType.php
+++ /dev/null
@@ -1,63 +0,0 @@
-`.
- *
- * Generated from protobuf message google.api.expr.v1alpha1.Type.ListType
- */
-class ListType extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The element type.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type elem_type = 1;
-     */
-    private $elem_type = null;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Type $elem_type
-     *           The element type.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Checked::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The element type.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type elem_type = 1;
-     * @return \Google\Api\Expr\V1alpha1\Type
-     */
-    public function getElemType()
-    {
-        return $this->elem_type;
-    }
-    /**
-     * The element type.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type elem_type = 1;
-     * @param \Google\Api\Expr\V1alpha1\Type $var
-     * @return $this
-     */
-    public function setElemType($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type::class);
-        $this->elem_type = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ListType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_ListType::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/MapType.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/MapType.php
deleted file mode 100644
index da0f6fdb6..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/MapType.php
+++ /dev/null
@@ -1,94 +0,0 @@
-`.
- *
- * Generated from protobuf message google.api.expr.v1alpha1.Type.MapType
- */
-class MapType extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The type of the key.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type key_type = 1;
-     */
-    private $key_type = null;
-    /**
-     * The type of the value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type value_type = 2;
-     */
-    private $value_type = null;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1alpha1\Type $key_type
-     *           The type of the key.
-     *     @type \Google\Api\Expr\V1alpha1\Type $value_type
-     *           The type of the value.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Checked::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The type of the key.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type key_type = 1;
-     * @return \Google\Api\Expr\V1alpha1\Type
-     */
-    public function getKeyType()
-    {
-        return $this->key_type;
-    }
-    /**
-     * The type of the key.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type key_type = 1;
-     * @param \Google\Api\Expr\V1alpha1\Type $var
-     * @return $this
-     */
-    public function setKeyType($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type::class);
-        $this->key_type = $var;
-        return $this;
-    }
-    /**
-     * The type of the value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type value_type = 2;
-     * @return \Google\Api\Expr\V1alpha1\Type
-     */
-    public function getValueType()
-    {
-        return $this->value_type;
-    }
-    /**
-     * The type of the value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.Type value_type = 2;
-     * @param \Google\Api\Expr\V1alpha1\Type $var
-     * @return $this
-     */
-    public function setValueType($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type::class);
-        $this->value_type = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(MapType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_MapType::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/PrimitiveType.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/PrimitiveType.php
deleted file mode 100644
index 73df41c48..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/PrimitiveType.php
+++ /dev/null
@@ -1,78 +0,0 @@
-google.api.expr.v1alpha1.Type.PrimitiveType
- */
-class PrimitiveType
-{
-    /**
-     * Unspecified type.
-     *
-     * Generated from protobuf enum PRIMITIVE_TYPE_UNSPECIFIED = 0;
-     */
-    const PRIMITIVE_TYPE_UNSPECIFIED = 0;
-    /**
-     * Boolean type.
-     *
-     * Generated from protobuf enum BOOL = 1;
-     */
-    const BOOL = 1;
-    /**
-     * Int64 type.
-     * Proto-based integer values are widened to int64.
-     *
-     * Generated from protobuf enum INT64 = 2;
-     */
-    const INT64 = 2;
-    /**
-     * Uint64 type.
-     * Proto-based unsigned integer values are widened to uint64.
-     *
-     * Generated from protobuf enum UINT64 = 3;
-     */
-    const UINT64 = 3;
-    /**
-     * Double type.
-     * Proto-based float values are widened to double values.
-     *
-     * Generated from protobuf enum DOUBLE = 4;
-     */
-    const DOUBLE = 4;
-    /**
-     * String type.
-     *
-     * Generated from protobuf enum STRING = 5;
-     */
-    const STRING = 5;
-    /**
-     * Bytes type.
-     *
-     * Generated from protobuf enum BYTES = 6;
-     */
-    const BYTES = 6;
-    private static $valueToName = [self::PRIMITIVE_TYPE_UNSPECIFIED => 'PRIMITIVE_TYPE_UNSPECIFIED', self::BOOL => 'BOOL', self::INT64 => 'INT64', self::UINT64 => 'UINT64', self::DOUBLE => 'DOUBLE', self::STRING => 'STRING', self::BYTES => 'BYTES'];
-    public static function name($value)
-    {
-        if (!isset(self::$valueToName[$value])) {
-            throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value));
-        }
-        return self::$valueToName[$value];
-    }
-    public static function value($name)
-    {
-        $const = __CLASS__ . '::' . strtoupper($name);
-        if (!defined($const)) {
-            throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name));
-        }
-        return constant($const);
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(PrimitiveType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_PrimitiveType::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/WellKnownType.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/WellKnownType.php
deleted file mode 100644
index fc7c62810..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type/WellKnownType.php
+++ /dev/null
@@ -1,60 +0,0 @@
-google.api.expr.v1alpha1.Type.WellKnownType
- */
-class WellKnownType
-{
-    /**
-     * Unspecified type.
-     *
-     * Generated from protobuf enum WELL_KNOWN_TYPE_UNSPECIFIED = 0;
-     */
-    const WELL_KNOWN_TYPE_UNSPECIFIED = 0;
-    /**
-     * Well-known protobuf.Any type.
-     * Any types are a polymorphic message type. During type-checking they are
-     * treated like `DYN` types, but at runtime they are resolved to a specific
-     * message type specified at evaluation time.
-     *
-     * Generated from protobuf enum ANY = 1;
-     */
-    const ANY = 1;
-    /**
-     * Well-known protobuf.Timestamp type, internally referenced as `timestamp`.
-     *
-     * Generated from protobuf enum TIMESTAMP = 2;
-     */
-    const TIMESTAMP = 2;
-    /**
-     * Well-known protobuf.Duration type, internally referenced as `duration`.
-     *
-     * Generated from protobuf enum DURATION = 3;
-     */
-    const DURATION = 3;
-    private static $valueToName = [self::WELL_KNOWN_TYPE_UNSPECIFIED => 'WELL_KNOWN_TYPE_UNSPECIFIED', self::ANY => 'ANY', self::TIMESTAMP => 'TIMESTAMP', self::DURATION => 'DURATION'];
-    public static function name($value)
-    {
-        if (!isset(self::$valueToName[$value])) {
-            throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value));
-        }
-        return self::$valueToName[$value];
-    }
-    public static function value($name)
-    {
-        $const = __CLASS__ . '::' . strtoupper($name);
-        if (!defined($const)) {
-            throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name));
-        }
-        return constant($const);
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(WellKnownType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\Type_WellKnownType::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type_AbstractType.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type_AbstractType.php
deleted file mode 100644
index 5a4fbfc99..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Type_AbstractType.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.expr.v1alpha1.UnknownSet
- */
-class UnknownSet extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The ids of the expressions with unknown values.
-     *
-     * Generated from protobuf field repeated int64 exprs = 1;
-     */
-    private $exprs;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int[]|string[]|\Google\Protobuf\Internal\RepeatedField $exprs
-     *           The ids of the expressions with unknown values.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\PBEval::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The ids of the expressions with unknown values.
-     *
-     * Generated from protobuf field repeated int64 exprs = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getExprs()
-    {
-        return $this->exprs;
-    }
-    /**
-     * The ids of the expressions with unknown values.
-     *
-     * Generated from protobuf field repeated int64 exprs = 1;
-     * @param int[]|string[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setExprs($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT64);
-        $this->exprs = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Value.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Value.php
deleted file mode 100644
index b82621c16..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1alpha1/Value.php
+++ /dev/null
@@ -1,340 +0,0 @@
-google.api.expr.v1alpha1.Value
- */
-class Value extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    protected $kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int $null_value
-     *           Null value.
-     *     @type bool $bool_value
-     *           Boolean value.
-     *     @type int|string $int64_value
-     *           Signed integer value.
-     *     @type int|string $uint64_value
-     *           Unsigned integer value.
-     *     @type float $double_value
-     *           Floating point value.
-     *     @type string $string_value
-     *           UTF-8 string value.
-     *     @type string $bytes_value
-     *           Byte string value.
-     *     @type \Google\Api\Expr\V1alpha1\EnumValue $enum_value
-     *           An enum value.
-     *     @type \Google\Protobuf\Any $object_value
-     *           The proto message backing an object value.
-     *     @type \Google\Api\Expr\V1alpha1\MapValue $map_value
-     *           Map value.
-     *     @type \Google\Api\Expr\V1alpha1\ListValue $list_value
-     *           List value.
-     *     @type string $type_value
-     *           Type value.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Alpha1\Value::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Null value.
-     *
-     * Generated from protobuf field .google.protobuf.NullValue null_value = 1;
-     * @return int
-     */
-    public function getNullValue()
-    {
-        return $this->readOneof(1);
-    }
-    /**
-     * Null value.
-     *
-     * Generated from protobuf field .google.protobuf.NullValue null_value = 1;
-     * @param int $var
-     * @return $this
-     */
-    public function setNullValue($var)
-    {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\NullValue::class);
-        $this->writeOneof(1, $var);
-        return $this;
-    }
-    /**
-     * Boolean value.
-     *
-     * Generated from protobuf field bool bool_value = 2;
-     * @return bool
-     */
-    public function getBoolValue()
-    {
-        return $this->readOneof(2);
-    }
-    /**
-     * Boolean value.
-     *
-     * Generated from protobuf field bool bool_value = 2;
-     * @param bool $var
-     * @return $this
-     */
-    public function setBoolValue($var)
-    {
-        GPBUtil::checkBool($var);
-        $this->writeOneof(2, $var);
-        return $this;
-    }
-    /**
-     * Signed integer value.
-     *
-     * Generated from protobuf field int64 int64_value = 3;
-     * @return int|string
-     */
-    public function getInt64Value()
-    {
-        return $this->readOneof(3);
-    }
-    /**
-     * Signed integer value.
-     *
-     * Generated from protobuf field int64 int64_value = 3;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setInt64Value($var)
-    {
-        GPBUtil::checkInt64($var);
-        $this->writeOneof(3, $var);
-        return $this;
-    }
-    /**
-     * Unsigned integer value.
-     *
-     * Generated from protobuf field uint64 uint64_value = 4;
-     * @return int|string
-     */
-    public function getUint64Value()
-    {
-        return $this->readOneof(4);
-    }
-    /**
-     * Unsigned integer value.
-     *
-     * Generated from protobuf field uint64 uint64_value = 4;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setUint64Value($var)
-    {
-        GPBUtil::checkUint64($var);
-        $this->writeOneof(4, $var);
-        return $this;
-    }
-    /**
-     * Floating point value.
-     *
-     * Generated from protobuf field double double_value = 5;
-     * @return float
-     */
-    public function getDoubleValue()
-    {
-        return $this->readOneof(5);
-    }
-    /**
-     * Floating point value.
-     *
-     * Generated from protobuf field double double_value = 5;
-     * @param float $var
-     * @return $this
-     */
-    public function setDoubleValue($var)
-    {
-        GPBUtil::checkDouble($var);
-        $this->writeOneof(5, $var);
-        return $this;
-    }
-    /**
-     * UTF-8 string value.
-     *
-     * Generated from protobuf field string string_value = 6;
-     * @return string
-     */
-    public function getStringValue()
-    {
-        return $this->readOneof(6);
-    }
-    /**
-     * UTF-8 string value.
-     *
-     * Generated from protobuf field string string_value = 6;
-     * @param string $var
-     * @return $this
-     */
-    public function setStringValue($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->writeOneof(6, $var);
-        return $this;
-    }
-    /**
-     * Byte string value.
-     *
-     * Generated from protobuf field bytes bytes_value = 7;
-     * @return string
-     */
-    public function getBytesValue()
-    {
-        return $this->readOneof(7);
-    }
-    /**
-     * Byte string value.
-     *
-     * Generated from protobuf field bytes bytes_value = 7;
-     * @param string $var
-     * @return $this
-     */
-    public function setBytesValue($var)
-    {
-        GPBUtil::checkString($var, False);
-        $this->writeOneof(7, $var);
-        return $this;
-    }
-    /**
-     * An enum value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.EnumValue enum_value = 9;
-     * @return \Google\Api\Expr\V1alpha1\EnumValue
-     */
-    public function getEnumValue()
-    {
-        return $this->readOneof(9);
-    }
-    /**
-     * An enum value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.EnumValue enum_value = 9;
-     * @param \Google\Api\Expr\V1alpha1\EnumValue $var
-     * @return $this
-     */
-    public function setEnumValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\EnumValue::class);
-        $this->writeOneof(9, $var);
-        return $this;
-    }
-    /**
-     * The proto message backing an object value.
-     *
-     * Generated from protobuf field .google.protobuf.Any object_value = 10;
-     * @return \Google\Protobuf\Any
-     */
-    public function getObjectValue()
-    {
-        return $this->readOneof(10);
-    }
-    /**
-     * The proto message backing an object value.
-     *
-     * Generated from protobuf field .google.protobuf.Any object_value = 10;
-     * @param \Google\Protobuf\Any $var
-     * @return $this
-     */
-    public function setObjectValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Any::class);
-        $this->writeOneof(10, $var);
-        return $this;
-    }
-    /**
-     * Map value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.MapValue map_value = 11;
-     * @return \Google\Api\Expr\V1alpha1\MapValue
-     */
-    public function getMapValue()
-    {
-        return $this->readOneof(11);
-    }
-    /**
-     * Map value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.MapValue map_value = 11;
-     * @param \Google\Api\Expr\V1alpha1\MapValue $var
-     * @return $this
-     */
-    public function setMapValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\MapValue::class);
-        $this->writeOneof(11, $var);
-        return $this;
-    }
-    /**
-     * List value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ListValue list_value = 12;
-     * @return \Google\Api\Expr\V1alpha1\ListValue
-     */
-    public function getListValue()
-    {
-        return $this->readOneof(12);
-    }
-    /**
-     * List value.
-     *
-     * Generated from protobuf field .google.api.expr.v1alpha1.ListValue list_value = 12;
-     * @param \Google\Api\Expr\V1alpha1\ListValue $var
-     * @return $this
-     */
-    public function setListValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1alpha1\ListValue::class);
-        $this->writeOneof(12, $var);
-        return $this;
-    }
-    /**
-     * Type value.
-     *
-     * Generated from protobuf field string type_value = 15;
-     * @return string
-     */
-    public function getTypeValue()
-    {
-        return $this->readOneof(15);
-    }
-    /**
-     * Type value.
-     *
-     * Generated from protobuf field string type_value = 15;
-     * @param string $var
-     * @return $this
-     */
-    public function setTypeValue($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->writeOneof(15, $var);
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getKind()
-    {
-        return $this->whichOneof("kind");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Decl.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Decl.php
deleted file mode 100644
index 53db87b2d..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Decl.php
+++ /dev/null
@@ -1,181 +0,0 @@
-google.api.expr.v1beta1.Decl
- */
-class Decl extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The id of the declaration.
-     *
-     * Generated from protobuf field int32 id = 1;
-     */
-    private $id = 0;
-    /**
-     * The name of the declaration.
-     *
-     * Generated from protobuf field string name = 2;
-     */
-    private $name = '';
-    /**
-     * The documentation string for the declaration.
-     *
-     * Generated from protobuf field string doc = 3;
-     */
-    private $doc = '';
-    protected $kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int $id
-     *           The id of the declaration.
-     *     @type string $name
-     *           The name of the declaration.
-     *     @type string $doc
-     *           The documentation string for the declaration.
-     *     @type \Google\Api\Expr\V1beta1\IdentDecl $ident
-     *           An identifier declaration.
-     *     @type \Google\Api\Expr\V1beta1\FunctionDecl $function
-     *           A function declaration.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Decl::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The id of the declaration.
-     *
-     * Generated from protobuf field int32 id = 1;
-     * @return int
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-    /**
-     * The id of the declaration.
-     *
-     * Generated from protobuf field int32 id = 1;
-     * @param int $var
-     * @return $this
-     */
-    public function setId($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->id = $var;
-        return $this;
-    }
-    /**
-     * The name of the declaration.
-     *
-     * Generated from protobuf field string name = 2;
-     * @return string
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-    /**
-     * The name of the declaration.
-     *
-     * Generated from protobuf field string name = 2;
-     * @param string $var
-     * @return $this
-     */
-    public function setName($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->name = $var;
-        return $this;
-    }
-    /**
-     * The documentation string for the declaration.
-     *
-     * Generated from protobuf field string doc = 3;
-     * @return string
-     */
-    public function getDoc()
-    {
-        return $this->doc;
-    }
-    /**
-     * The documentation string for the declaration.
-     *
-     * Generated from protobuf field string doc = 3;
-     * @param string $var
-     * @return $this
-     */
-    public function setDoc($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->doc = $var;
-        return $this;
-    }
-    /**
-     * An identifier declaration.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.IdentDecl ident = 4;
-     * @return \Google\Api\Expr\V1beta1\IdentDecl
-     */
-    public function getIdent()
-    {
-        return $this->readOneof(4);
-    }
-    /**
-     * An identifier declaration.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.IdentDecl ident = 4;
-     * @param \Google\Api\Expr\V1beta1\IdentDecl $var
-     * @return $this
-     */
-    public function setIdent($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\IdentDecl::class);
-        $this->writeOneof(4, $var);
-        return $this;
-    }
-    /**
-     * A function declaration.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.FunctionDecl function = 5;
-     * @return \Google\Api\Expr\V1beta1\FunctionDecl
-     */
-    public function getFunction()
-    {
-        return $this->readOneof(5);
-    }
-    /**
-     * A function declaration.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.FunctionDecl function = 5;
-     * @param \Google\Api\Expr\V1beta1\FunctionDecl $var
-     * @return $this
-     */
-    public function setFunction($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\FunctionDecl::class);
-        $this->writeOneof(5, $var);
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getKind()
-    {
-        return $this->whichOneof("kind");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/DeclType.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/DeclType.php
deleted file mode 100644
index 62a315293..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/DeclType.php
+++ /dev/null
@@ -1,129 +0,0 @@
-google.api.expr.v1beta1.DeclType
- */
-class DeclType extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The expression id of the declared type, if applicable.
-     *
-     * Generated from protobuf field int32 id = 1;
-     */
-    private $id = 0;
-    /**
-     * The type name, e.g. 'int', 'my.type.Type' or 'T'
-     *
-     * Generated from protobuf field string type = 2;
-     */
-    private $type = '';
-    /**
-     * An ordered list of type parameters, e.g. ``.
-     * Only applies to a subset of types, e.g. `map`, `list`.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.DeclType type_params = 4;
-     */
-    private $type_params;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int $id
-     *           The expression id of the declared type, if applicable.
-     *     @type string $type
-     *           The type name, e.g. 'int', 'my.type.Type' or 'T'
-     *     @type \Google\Api\Expr\V1beta1\DeclType[]|\Google\Protobuf\Internal\RepeatedField $type_params
-     *           An ordered list of type parameters, e.g. ``.
-     *           Only applies to a subset of types, e.g. `map`, `list`.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Decl::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The expression id of the declared type, if applicable.
-     *
-     * Generated from protobuf field int32 id = 1;
-     * @return int
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-    /**
-     * The expression id of the declared type, if applicable.
-     *
-     * Generated from protobuf field int32 id = 1;
-     * @param int $var
-     * @return $this
-     */
-    public function setId($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->id = $var;
-        return $this;
-    }
-    /**
-     * The type name, e.g. 'int', 'my.type.Type' or 'T'
-     *
-     * Generated from protobuf field string type = 2;
-     * @return string
-     */
-    public function getType()
-    {
-        return $this->type;
-    }
-    /**
-     * The type name, e.g. 'int', 'my.type.Type' or 'T'
-     *
-     * Generated from protobuf field string type = 2;
-     * @param string $var
-     * @return $this
-     */
-    public function setType($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->type = $var;
-        return $this;
-    }
-    /**
-     * An ordered list of type parameters, e.g. ``.
-     * Only applies to a subset of types, e.g. `map`, `list`.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.DeclType type_params = 4;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getTypeParams()
-    {
-        return $this->type_params;
-    }
-    /**
-     * An ordered list of type parameters, e.g. ``.
-     * Only applies to a subset of types, e.g. `map`, `list`.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.DeclType type_params = 4;
-     * @param \Google\Api\Expr\V1beta1\DeclType[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setTypeParams($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\DeclType::class);
-        $this->type_params = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/EnumValue.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/EnumValue.php
deleted file mode 100644
index 31041becb..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/EnumValue.php
+++ /dev/null
@@ -1,92 +0,0 @@
-google.api.expr.v1beta1.EnumValue
- */
-class EnumValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The fully qualified name of the enum type.
-     *
-     * Generated from protobuf field string type = 1;
-     */
-    private $type = '';
-    /**
-     * The value of the enum.
-     *
-     * Generated from protobuf field int32 value = 2;
-     */
-    private $value = 0;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $type
-     *           The fully qualified name of the enum type.
-     *     @type int $value
-     *           The value of the enum.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Value::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The fully qualified name of the enum type.
-     *
-     * Generated from protobuf field string type = 1;
-     * @return string
-     */
-    public function getType()
-    {
-        return $this->type;
-    }
-    /**
-     * The fully qualified name of the enum type.
-     *
-     * Generated from protobuf field string type = 1;
-     * @param string $var
-     * @return $this
-     */
-    public function setType($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->type = $var;
-        return $this;
-    }
-    /**
-     * The value of the enum.
-     *
-     * Generated from protobuf field int32 value = 2;
-     * @return int
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-    /**
-     * The value of the enum.
-     *
-     * Generated from protobuf field int32 value = 2;
-     * @param int $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->value = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/ErrorSet.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/ErrorSet.php
deleted file mode 100644
index 971aea9dc..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/ErrorSet.php
+++ /dev/null
@@ -1,62 +0,0 @@
-google.api.expr.v1beta1.ErrorSet
- */
-class ErrorSet extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The errors in the set.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status errors = 1;
-     */
-    private $errors;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Rpc\Status[]|\Google\Protobuf\Internal\RepeatedField $errors
-     *           The errors in the set.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\PBEval::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The errors in the set.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status errors = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getErrors()
-    {
-        return $this->errors;
-    }
-    /**
-     * The errors in the set.
-     *
-     * Generated from protobuf field repeated .google.rpc.Status errors = 1;
-     * @param \Google\Rpc\Status[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setErrors($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Status::class);
-        $this->errors = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/EvalState.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/EvalState.php
deleted file mode 100644
index 852a43048..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/EvalState.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.api.expr.v1beta1.EvalState
- */
-class EvalState extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The unique values referenced in this message.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.ExprValue values = 1;
-     */
-    private $values;
-    /**
-     * An ordered list of results.
-     * Tracks the flow of evaluation through the expression.
-     * May be sparse.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.EvalState.Result results = 3;
-     */
-    private $results;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\ExprValue[]|\Google\Protobuf\Internal\RepeatedField $values
-     *           The unique values referenced in this message.
-     *     @type \Google\Api\Expr\V1beta1\EvalState\Result[]|\Google\Protobuf\Internal\RepeatedField $results
-     *           An ordered list of results.
-     *           Tracks the flow of evaluation through the expression.
-     *           May be sparse.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\PBEval::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The unique values referenced in this message.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.ExprValue values = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getValues()
-    {
-        return $this->values;
-    }
-    /**
-     * The unique values referenced in this message.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.ExprValue values = 1;
-     * @param \Google\Api\Expr\V1beta1\ExprValue[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setValues($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\ExprValue::class);
-        $this->values = $arr;
-        return $this;
-    }
-    /**
-     * An ordered list of results.
-     * Tracks the flow of evaluation through the expression.
-     * May be sparse.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.EvalState.Result results = 3;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getResults()
-    {
-        return $this->results;
-    }
-    /**
-     * An ordered list of results.
-     * Tracks the flow of evaluation through the expression.
-     * May be sparse.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.EvalState.Result results = 3;
-     * @param \Google\Api\Expr\V1beta1\EvalState\Result[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setResults($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\EvalState\Result::class);
-        $this->results = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/EvalState/Result.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/EvalState/Result.php
deleted file mode 100644
index 91dfe95f5..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/EvalState/Result.php
+++ /dev/null
@@ -1,94 +0,0 @@
-google.api.expr.v1beta1.EvalState.Result
- */
-class Result extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The expression this result is for.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.IdRef expr = 1;
-     */
-    private $expr = null;
-    /**
-     * The index in `values` of the resulting value.
-     *
-     * Generated from protobuf field int32 value = 2;
-     */
-    private $value = 0;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\IdRef $expr
-     *           The expression this result is for.
-     *     @type int $value
-     *           The index in `values` of the resulting value.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\PBEval::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The expression this result is for.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.IdRef expr = 1;
-     * @return \Google\Api\Expr\V1beta1\IdRef
-     */
-    public function getExpr()
-    {
-        return $this->expr;
-    }
-    /**
-     * The expression this result is for.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.IdRef expr = 1;
-     * @param \Google\Api\Expr\V1beta1\IdRef $var
-     * @return $this
-     */
-    public function setExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\IdRef::class);
-        $this->expr = $var;
-        return $this;
-    }
-    /**
-     * The index in `values` of the resulting value.
-     *
-     * Generated from protobuf field int32 value = 2;
-     * @return int
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-    /**
-     * The index in `values` of the resulting value.
-     *
-     * Generated from protobuf field int32 value = 2;
-     * @param int $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->value = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Result::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\EvalState_Result::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/EvalState_Result.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/EvalState_Result.php
deleted file mode 100644
index 03735af1b..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/EvalState_Result.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.expr.v1beta1.Expr
- */
-class Expr extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. An id assigned to this node by the parser which is unique in a
-     * given expression tree. This is used to associate type information and other
-     * attributes to a node in the parse tree.
-     *
-     * Generated from protobuf field int32 id = 2;
-     */
-    private $id = 0;
-    protected $expr_kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int $id
-     *           Required. An id assigned to this node by the parser which is unique in a
-     *           given expression tree. This is used to associate type information and other
-     *           attributes to a node in the parse tree.
-     *     @type \Google\Api\Expr\V1beta1\Literal $literal_expr
-     *           A literal expression.
-     *     @type \Google\Api\Expr\V1beta1\Expr\Ident $ident_expr
-     *           An identifier expression.
-     *     @type \Google\Api\Expr\V1beta1\Expr\Select $select_expr
-     *           A field selection expression, e.g. `request.auth`.
-     *     @type \Google\Api\Expr\V1beta1\Expr\Call $call_expr
-     *           A call expression, including calls to predefined functions and operators.
-     *     @type \Google\Api\Expr\V1beta1\Expr\CreateList $list_expr
-     *           A list creation expression.
-     *     @type \Google\Api\Expr\V1beta1\Expr\CreateStruct $struct_expr
-     *           A map or object creation expression.
-     *     @type \Google\Api\Expr\V1beta1\Expr\Comprehension $comprehension_expr
-     *           A comprehension expression.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Expr::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. An id assigned to this node by the parser which is unique in a
-     * given expression tree. This is used to associate type information and other
-     * attributes to a node in the parse tree.
-     *
-     * Generated from protobuf field int32 id = 2;
-     * @return int
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-    /**
-     * Required. An id assigned to this node by the parser which is unique in a
-     * given expression tree. This is used to associate type information and other
-     * attributes to a node in the parse tree.
-     *
-     * Generated from protobuf field int32 id = 2;
-     * @param int $var
-     * @return $this
-     */
-    public function setId($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->id = $var;
-        return $this;
-    }
-    /**
-     * A literal expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Literal literal_expr = 3;
-     * @return \Google\Api\Expr\V1beta1\Literal
-     */
-    public function getLiteralExpr()
-    {
-        return $this->readOneof(3);
-    }
-    /**
-     * A literal expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Literal literal_expr = 3;
-     * @param \Google\Api\Expr\V1beta1\Literal $var
-     * @return $this
-     */
-    public function setLiteralExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Literal::class);
-        $this->writeOneof(3, $var);
-        return $this;
-    }
-    /**
-     * An identifier expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr.Ident ident_expr = 4;
-     * @return \Google\Api\Expr\V1beta1\Expr\Ident
-     */
-    public function getIdentExpr()
-    {
-        return $this->readOneof(4);
-    }
-    /**
-     * An identifier expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr.Ident ident_expr = 4;
-     * @param \Google\Api\Expr\V1beta1\Expr\Ident $var
-     * @return $this
-     */
-    public function setIdentExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_Ident::class);
-        $this->writeOneof(4, $var);
-        return $this;
-    }
-    /**
-     * A field selection expression, e.g. `request.auth`.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr.Select select_expr = 5;
-     * @return \Google\Api\Expr\V1beta1\Expr\Select
-     */
-    public function getSelectExpr()
-    {
-        return $this->readOneof(5);
-    }
-    /**
-     * A field selection expression, e.g. `request.auth`.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr.Select select_expr = 5;
-     * @param \Google\Api\Expr\V1beta1\Expr\Select $var
-     * @return $this
-     */
-    public function setSelectExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_Select::class);
-        $this->writeOneof(5, $var);
-        return $this;
-    }
-    /**
-     * A call expression, including calls to predefined functions and operators.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr.Call call_expr = 6;
-     * @return \Google\Api\Expr\V1beta1\Expr\Call
-     */
-    public function getCallExpr()
-    {
-        return $this->readOneof(6);
-    }
-    /**
-     * A call expression, including calls to predefined functions and operators.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr.Call call_expr = 6;
-     * @param \Google\Api\Expr\V1beta1\Expr\Call $var
-     * @return $this
-     */
-    public function setCallExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_Call::class);
-        $this->writeOneof(6, $var);
-        return $this;
-    }
-    /**
-     * A list creation expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr.CreateList list_expr = 7;
-     * @return \Google\Api\Expr\V1beta1\Expr\CreateList
-     */
-    public function getListExpr()
-    {
-        return $this->readOneof(7);
-    }
-    /**
-     * A list creation expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr.CreateList list_expr = 7;
-     * @param \Google\Api\Expr\V1beta1\Expr\CreateList $var
-     * @return $this
-     */
-    public function setListExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_CreateList::class);
-        $this->writeOneof(7, $var);
-        return $this;
-    }
-    /**
-     * A map or object creation expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr.CreateStruct struct_expr = 8;
-     * @return \Google\Api\Expr\V1beta1\Expr\CreateStruct
-     */
-    public function getStructExpr()
-    {
-        return $this->readOneof(8);
-    }
-    /**
-     * A map or object creation expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr.CreateStruct struct_expr = 8;
-     * @param \Google\Api\Expr\V1beta1\Expr\CreateStruct $var
-     * @return $this
-     */
-    public function setStructExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_CreateStruct::class);
-        $this->writeOneof(8, $var);
-        return $this;
-    }
-    /**
-     * A comprehension expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr.Comprehension comprehension_expr = 9;
-     * @return \Google\Api\Expr\V1beta1\Expr\Comprehension
-     */
-    public function getComprehensionExpr()
-    {
-        return $this->readOneof(9);
-    }
-    /**
-     * A comprehension expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr.Comprehension comprehension_expr = 9;
-     * @param \Google\Api\Expr\V1beta1\Expr\Comprehension $var
-     * @return $this
-     */
-    public function setComprehensionExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_Comprehension::class);
-        $this->writeOneof(9, $var);
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getExprKind()
-    {
-        return $this->whichOneof("expr_kind");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/Call.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/Call.php
deleted file mode 100644
index 4af1fc355..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/Call.php
+++ /dev/null
@@ -1,130 +0,0 @@
-google.api.expr.v1beta1.Expr.Call
- */
-class Call extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The target of an method call-style expression. For example, `x` in
-     * `x.f()`.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr target = 1;
-     */
-    private $target = null;
-    /**
-     * Required. The name of the function or method being called.
-     *
-     * Generated from protobuf field string function = 2;
-     */
-    private $function = '';
-    /**
-     * The arguments.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.Expr args = 3;
-     */
-    private $args;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\Expr $target
-     *           The target of an method call-style expression. For example, `x` in
-     *           `x.f()`.
-     *     @type string $function
-     *           Required. The name of the function or method being called.
-     *     @type \Google\Api\Expr\V1beta1\Expr[]|\Google\Protobuf\Internal\RepeatedField $args
-     *           The arguments.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Expr::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The target of an method call-style expression. For example, `x` in
-     * `x.f()`.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr target = 1;
-     * @return \Google\Api\Expr\V1beta1\Expr
-     */
-    public function getTarget()
-    {
-        return $this->target;
-    }
-    /**
-     * The target of an method call-style expression. For example, `x` in
-     * `x.f()`.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr target = 1;
-     * @param \Google\Api\Expr\V1beta1\Expr $var
-     * @return $this
-     */
-    public function setTarget($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->target = $var;
-        return $this;
-    }
-    /**
-     * Required. The name of the function or method being called.
-     *
-     * Generated from protobuf field string function = 2;
-     * @return string
-     */
-    public function getFunction()
-    {
-        return $this->function;
-    }
-    /**
-     * Required. The name of the function or method being called.
-     *
-     * Generated from protobuf field string function = 2;
-     * @param string $var
-     * @return $this
-     */
-    public function setFunction($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->function = $var;
-        return $this;
-    }
-    /**
-     * The arguments.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.Expr args = 3;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getArgs()
-    {
-        return $this->args;
-    }
-    /**
-     * The arguments.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.Expr args = 3;
-     * @param \Google\Api\Expr\V1beta1\Expr[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setArgs($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->args = $arr;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Call::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_Call::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/Comprehension.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/Comprehension.php
deleted file mode 100644
index 3f407445a..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/Comprehension.php
+++ /dev/null
@@ -1,285 +0,0 @@
- 1000)`.
- * *  `map` - apply an expression to all elements in the input and return the
- *    output aggregate type: `[1, 2, 3].map(i, i * i)`.
- * The `has(m.x)` macro tests whether the property `x` is present in struct
- * `m`. The semantics of this macro depend on the type of `m`. For proto2
- * messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the
- * macro tests whether the property is set to its default. For map and struct
- * types, the macro tests whether the property `x` is defined on `m`.
- *
- * Generated from protobuf message google.api.expr.v1beta1.Expr.Comprehension
- */
-class Comprehension extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The name of the iteration variable.
-     *
-     * Generated from protobuf field string iter_var = 1;
-     */
-    private $iter_var = '';
-    /**
-     * The range over which var iterates.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr iter_range = 2;
-     */
-    private $iter_range = null;
-    /**
-     * The name of the variable used for accumulation of the result.
-     *
-     * Generated from protobuf field string accu_var = 3;
-     */
-    private $accu_var = '';
-    /**
-     * The initial value of the accumulator.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr accu_init = 4;
-     */
-    private $accu_init = null;
-    /**
-     * An expression which can contain iter_var and accu_var.
-     * Returns false when the result has been computed and may be used as
-     * a hint to short-circuit the remainder of the comprehension.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr loop_condition = 5;
-     */
-    private $loop_condition = null;
-    /**
-     * An expression which can contain iter_var and accu_var.
-     * Computes the next value of accu_var.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr loop_step = 6;
-     */
-    private $loop_step = null;
-    /**
-     * An expression which can contain accu_var.
-     * Computes the result.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr result = 7;
-     */
-    private $result = null;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $iter_var
-     *           The name of the iteration variable.
-     *     @type \Google\Api\Expr\V1beta1\Expr $iter_range
-     *           The range over which var iterates.
-     *     @type string $accu_var
-     *           The name of the variable used for accumulation of the result.
-     *     @type \Google\Api\Expr\V1beta1\Expr $accu_init
-     *           The initial value of the accumulator.
-     *     @type \Google\Api\Expr\V1beta1\Expr $loop_condition
-     *           An expression which can contain iter_var and accu_var.
-     *           Returns false when the result has been computed and may be used as
-     *           a hint to short-circuit the remainder of the comprehension.
-     *     @type \Google\Api\Expr\V1beta1\Expr $loop_step
-     *           An expression which can contain iter_var and accu_var.
-     *           Computes the next value of accu_var.
-     *     @type \Google\Api\Expr\V1beta1\Expr $result
-     *           An expression which can contain accu_var.
-     *           Computes the result.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Expr::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The name of the iteration variable.
-     *
-     * Generated from protobuf field string iter_var = 1;
-     * @return string
-     */
-    public function getIterVar()
-    {
-        return $this->iter_var;
-    }
-    /**
-     * The name of the iteration variable.
-     *
-     * Generated from protobuf field string iter_var = 1;
-     * @param string $var
-     * @return $this
-     */
-    public function setIterVar($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->iter_var = $var;
-        return $this;
-    }
-    /**
-     * The range over which var iterates.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr iter_range = 2;
-     * @return \Google\Api\Expr\V1beta1\Expr
-     */
-    public function getIterRange()
-    {
-        return $this->iter_range;
-    }
-    /**
-     * The range over which var iterates.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr iter_range = 2;
-     * @param \Google\Api\Expr\V1beta1\Expr $var
-     * @return $this
-     */
-    public function setIterRange($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->iter_range = $var;
-        return $this;
-    }
-    /**
-     * The name of the variable used for accumulation of the result.
-     *
-     * Generated from protobuf field string accu_var = 3;
-     * @return string
-     */
-    public function getAccuVar()
-    {
-        return $this->accu_var;
-    }
-    /**
-     * The name of the variable used for accumulation of the result.
-     *
-     * Generated from protobuf field string accu_var = 3;
-     * @param string $var
-     * @return $this
-     */
-    public function setAccuVar($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->accu_var = $var;
-        return $this;
-    }
-    /**
-     * The initial value of the accumulator.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr accu_init = 4;
-     * @return \Google\Api\Expr\V1beta1\Expr
-     */
-    public function getAccuInit()
-    {
-        return $this->accu_init;
-    }
-    /**
-     * The initial value of the accumulator.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr accu_init = 4;
-     * @param \Google\Api\Expr\V1beta1\Expr $var
-     * @return $this
-     */
-    public function setAccuInit($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->accu_init = $var;
-        return $this;
-    }
-    /**
-     * An expression which can contain iter_var and accu_var.
-     * Returns false when the result has been computed and may be used as
-     * a hint to short-circuit the remainder of the comprehension.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr loop_condition = 5;
-     * @return \Google\Api\Expr\V1beta1\Expr
-     */
-    public function getLoopCondition()
-    {
-        return $this->loop_condition;
-    }
-    /**
-     * An expression which can contain iter_var and accu_var.
-     * Returns false when the result has been computed and may be used as
-     * a hint to short-circuit the remainder of the comprehension.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr loop_condition = 5;
-     * @param \Google\Api\Expr\V1beta1\Expr $var
-     * @return $this
-     */
-    public function setLoopCondition($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->loop_condition = $var;
-        return $this;
-    }
-    /**
-     * An expression which can contain iter_var and accu_var.
-     * Computes the next value of accu_var.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr loop_step = 6;
-     * @return \Google\Api\Expr\V1beta1\Expr
-     */
-    public function getLoopStep()
-    {
-        return $this->loop_step;
-    }
-    /**
-     * An expression which can contain iter_var and accu_var.
-     * Computes the next value of accu_var.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr loop_step = 6;
-     * @param \Google\Api\Expr\V1beta1\Expr $var
-     * @return $this
-     */
-    public function setLoopStep($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->loop_step = $var;
-        return $this;
-    }
-    /**
-     * An expression which can contain accu_var.
-     * Computes the result.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr result = 7;
-     * @return \Google\Api\Expr\V1beta1\Expr
-     */
-    public function getResult()
-    {
-        return $this->result;
-    }
-    /**
-     * An expression which can contain accu_var.
-     * Computes the result.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr result = 7;
-     * @param \Google\Api\Expr\V1beta1\Expr $var
-     * @return $this
-     */
-    public function setResult($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->result = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Comprehension::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_Comprehension::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateList.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateList.php
deleted file mode 100644
index a695b3c81..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateList.php
+++ /dev/null
@@ -1,65 +0,0 @@
-google.api.expr.v1beta1.Expr.CreateList
- */
-class CreateList extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The elements part of the list.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.Expr elements = 1;
-     */
-    private $elements;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\Expr[]|\Google\Protobuf\Internal\RepeatedField $elements
-     *           The elements part of the list.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Expr::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The elements part of the list.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.Expr elements = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getElements()
-    {
-        return $this->elements;
-    }
-    /**
-     * The elements part of the list.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.Expr elements = 1;
-     * @param \Google\Api\Expr\V1beta1\Expr[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setElements($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->elements = $arr;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(CreateList::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_CreateList::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateStruct.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateStruct.php
deleted file mode 100644
index 8c5cea02b..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateStruct.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.api.expr.v1beta1.Expr.CreateStruct
- */
-class CreateStruct extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The type name of the message to be created, empty when creating map
-     * literals.
-     *
-     * Generated from protobuf field string type = 1;
-     */
-    private $type = '';
-    /**
-     * The entries in the creation expression.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.Expr.CreateStruct.Entry entries = 2;
-     */
-    private $entries;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $type
-     *           The type name of the message to be created, empty when creating map
-     *           literals.
-     *     @type \Google\Api\Expr\V1beta1\Expr\CreateStruct\Entry[]|\Google\Protobuf\Internal\RepeatedField $entries
-     *           The entries in the creation expression.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Expr::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The type name of the message to be created, empty when creating map
-     * literals.
-     *
-     * Generated from protobuf field string type = 1;
-     * @return string
-     */
-    public function getType()
-    {
-        return $this->type;
-    }
-    /**
-     * The type name of the message to be created, empty when creating map
-     * literals.
-     *
-     * Generated from protobuf field string type = 1;
-     * @param string $var
-     * @return $this
-     */
-    public function setType($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->type = $var;
-        return $this;
-    }
-    /**
-     * The entries in the creation expression.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.Expr.CreateStruct.Entry entries = 2;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getEntries()
-    {
-        return $this->entries;
-    }
-    /**
-     * The entries in the creation expression.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.Expr.CreateStruct.Entry entries = 2;
-     * @param \Google\Api\Expr\V1beta1\Expr\CreateStruct\Entry[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setEntries($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr\CreateStruct\Entry::class);
-        $this->entries = $arr;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(CreateStruct::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_CreateStruct::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateStruct/Entry.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateStruct/Entry.php
deleted file mode 100644
index 1455b0288..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateStruct/Entry.php
+++ /dev/null
@@ -1,160 +0,0 @@
-google.api.expr.v1beta1.Expr.CreateStruct.Entry
- */
-class Entry extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. An id assigned to this node by the parser which is unique
-     * in a given expression tree. This is used to associate type
-     * information and other attributes to the node.
-     *
-     * Generated from protobuf field int32 id = 1;
-     */
-    private $id = 0;
-    /**
-     * Required. The value assigned to the key.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr value = 4;
-     */
-    private $value = null;
-    protected $key_kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int $id
-     *           Required. An id assigned to this node by the parser which is unique
-     *           in a given expression tree. This is used to associate type
-     *           information and other attributes to the node.
-     *     @type string $field_key
-     *           The field key for a message creator statement.
-     *     @type \Google\Api\Expr\V1beta1\Expr $map_key
-     *           The key expression for a map creation statement.
-     *     @type \Google\Api\Expr\V1beta1\Expr $value
-     *           Required. The value assigned to the key.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Expr::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. An id assigned to this node by the parser which is unique
-     * in a given expression tree. This is used to associate type
-     * information and other attributes to the node.
-     *
-     * Generated from protobuf field int32 id = 1;
-     * @return int
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-    /**
-     * Required. An id assigned to this node by the parser which is unique
-     * in a given expression tree. This is used to associate type
-     * information and other attributes to the node.
-     *
-     * Generated from protobuf field int32 id = 1;
-     * @param int $var
-     * @return $this
-     */
-    public function setId($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->id = $var;
-        return $this;
-    }
-    /**
-     * The field key for a message creator statement.
-     *
-     * Generated from protobuf field string field_key = 2;
-     * @return string
-     */
-    public function getFieldKey()
-    {
-        return $this->readOneof(2);
-    }
-    /**
-     * The field key for a message creator statement.
-     *
-     * Generated from protobuf field string field_key = 2;
-     * @param string $var
-     * @return $this
-     */
-    public function setFieldKey($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->writeOneof(2, $var);
-        return $this;
-    }
-    /**
-     * The key expression for a map creation statement.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr map_key = 3;
-     * @return \Google\Api\Expr\V1beta1\Expr
-     */
-    public function getMapKey()
-    {
-        return $this->readOneof(3);
-    }
-    /**
-     * The key expression for a map creation statement.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr map_key = 3;
-     * @param \Google\Api\Expr\V1beta1\Expr $var
-     * @return $this
-     */
-    public function setMapKey($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->writeOneof(3, $var);
-        return $this;
-    }
-    /**
-     * Required. The value assigned to the key.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr value = 4;
-     * @return \Google\Api\Expr\V1beta1\Expr
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-    /**
-     * Required. The value assigned to the key.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr value = 4;
-     * @param \Google\Api\Expr\V1beta1\Expr $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->value = $var;
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getKeyKind()
-    {
-        return $this->whichOneof("key_kind");
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Entry::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_CreateStruct_Entry::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/Ident.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/Ident.php
deleted file mode 100644
index b6c5c8204..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/Ident.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.api.expr.v1beta1.Expr.Ident
- */
-class Ident extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. Holds a single, unqualified identifier, possibly preceded by a
-     * '.'.
-     * Qualified names are represented by the [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression.
-     *
-     * Generated from protobuf field string name = 1;
-     */
-    private $name = '';
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $name
-     *           Required. Holds a single, unqualified identifier, possibly preceded by a
-     *           '.'.
-     *           Qualified names are represented by the [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Expr::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. Holds a single, unqualified identifier, possibly preceded by a
-     * '.'.
-     * Qualified names are represented by the [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression.
-     *
-     * Generated from protobuf field string name = 1;
-     * @return string
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-    /**
-     * Required. Holds a single, unqualified identifier, possibly preceded by a
-     * '.'.
-     * Qualified names are represented by the [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression.
-     *
-     * 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;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Ident::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_Ident::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/Select.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/Select.php
deleted file mode 100644
index 8d5721546..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr/Select.php
+++ /dev/null
@@ -1,145 +0,0 @@
-google.api.expr.v1beta1.Expr.Select
- */
-class Select extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. The target of the selection expression.
-     * For example, in the select expression `request.auth`, the `request`
-     * portion of the expression is the `operand`.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr operand = 1;
-     */
-    private $operand = null;
-    /**
-     * Required. The name of the field to select.
-     * For example, in the select expression `request.auth`, the `auth` portion
-     * of the expression would be the `field`.
-     *
-     * Generated from protobuf field string field = 2;
-     */
-    private $field = '';
-    /**
-     * Whether the select is to be interpreted as a field presence test.
-     * This results from the macro `has(request.auth)`.
-     *
-     * Generated from protobuf field bool test_only = 3;
-     */
-    private $test_only = \false;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\Expr $operand
-     *           Required. The target of the selection expression.
-     *           For example, in the select expression `request.auth`, the `request`
-     *           portion of the expression is the `operand`.
-     *     @type string $field
-     *           Required. The name of the field to select.
-     *           For example, in the select expression `request.auth`, the `auth` portion
-     *           of the expression would be the `field`.
-     *     @type bool $test_only
-     *           Whether the select is to be interpreted as a field presence test.
-     *           This results from the macro `has(request.auth)`.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Expr::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. The target of the selection expression.
-     * For example, in the select expression `request.auth`, the `request`
-     * portion of the expression is the `operand`.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr operand = 1;
-     * @return \Google\Api\Expr\V1beta1\Expr
-     */
-    public function getOperand()
-    {
-        return $this->operand;
-    }
-    /**
-     * Required. The target of the selection expression.
-     * For example, in the select expression `request.auth`, the `request`
-     * portion of the expression is the `operand`.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr operand = 1;
-     * @param \Google\Api\Expr\V1beta1\Expr $var
-     * @return $this
-     */
-    public function setOperand($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->operand = $var;
-        return $this;
-    }
-    /**
-     * Required. The name of the field to select.
-     * For example, in the select expression `request.auth`, the `auth` portion
-     * of the expression would be the `field`.
-     *
-     * Generated from protobuf field string field = 2;
-     * @return string
-     */
-    public function getField()
-    {
-        return $this->field;
-    }
-    /**
-     * Required. The name of the field to select.
-     * For example, in the select expression `request.auth`, the `auth` portion
-     * of the expression would be the `field`.
-     *
-     * Generated from protobuf field string field = 2;
-     * @param string $var
-     * @return $this
-     */
-    public function setField($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->field = $var;
-        return $this;
-    }
-    /**
-     * Whether the select is to be interpreted as a field presence test.
-     * This results from the macro `has(request.auth)`.
-     *
-     * Generated from protobuf field bool test_only = 3;
-     * @return bool
-     */
-    public function getTestOnly()
-    {
-        return $this->test_only;
-    }
-    /**
-     * Whether the select is to be interpreted as a field presence test.
-     * This results from the macro `has(request.auth)`.
-     *
-     * Generated from protobuf field bool test_only = 3;
-     * @param bool $var
-     * @return $this
-     */
-    public function setTestOnly($var)
-    {
-        GPBUtil::checkBool($var);
-        $this->test_only = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Select::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr_Select::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/ExprValue.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/ExprValue.php
deleted file mode 100644
index 4ce9e7dc3..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/ExprValue.php
+++ /dev/null
@@ -1,200 +0,0 @@
-google.api.expr.v1beta1.ExprValue
- */
-class ExprValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    protected $kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\Value $value
-     *           A concrete value.
-     *     @type \Google\Api\Expr\V1beta1\ErrorSet $error
-     *           The set of errors in the critical path of evalution.
-     *           Only errors in the critical path are included. For example,
-     *           `( || true) && ` will only result in ``,
-     *           while ` || ` will result in both `` and
-     *           ``.
-     *           Errors cause by the presence of other errors are not included in the
-     *           set. For example `.foo`, `foo()`, and ` + 1` will
-     *           only result in ``.
-     *           Multiple errors *might* be included when evaluation could result
-     *           in different errors. For example ` + ` and
-     *           `foo(, )` may result in ``, `` or both.
-     *           The exact subset of errors included for this case is unspecified and
-     *           depends on the implementation details of the evaluator.
-     *     @type \Google\Api\Expr\V1beta1\UnknownSet $unknown
-     *           The set of unknowns in the critical path of evaluation.
-     *           Unknown behaves identically to Error with regards to propagation.
-     *           Specifically, only unknowns in the critical path are included, unknowns
-     *           caused by the presence of other unknowns are not included, and multiple
-     *           unknowns *might* be included included when evaluation could result in
-     *           different unknowns. For example:
-     *               ( || true) &&  -> 
-     *                ||  -> 
-     *               .foo -> 
-     *               foo() -> 
-     *                +  ->  or 
-     *           Unknown takes precidence over Error in cases where a `Value` can short
-     *           circuit the result:
-     *                ||  -> 
-     *                &&  -> 
-     *           Errors take precidence in all other cases:
-     *                +  -> 
-     *               foo(, ) -> 
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\PBEval::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * A concrete value.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Value value = 1;
-     * @return \Google\Api\Expr\V1beta1\Value
-     */
-    public function getValue()
-    {
-        return $this->readOneof(1);
-    }
-    /**
-     * A concrete value.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Value value = 1;
-     * @param \Google\Api\Expr\V1beta1\Value $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Value::class);
-        $this->writeOneof(1, $var);
-        return $this;
-    }
-    /**
-     * The set of errors in the critical path of evalution.
-     * Only errors in the critical path are included. For example,
-     * `( || true) && ` will only result in ``,
-     * while ` || ` will result in both `` and
-     * ``.
-     * Errors cause by the presence of other errors are not included in the
-     * set. For example `.foo`, `foo()`, and ` + 1` will
-     * only result in ``.
-     * Multiple errors *might* be included when evaluation could result
-     * in different errors. For example ` + ` and
-     * `foo(, )` may result in ``, `` or both.
-     * The exact subset of errors included for this case is unspecified and
-     * depends on the implementation details of the evaluator.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.ErrorSet error = 2;
-     * @return \Google\Api\Expr\V1beta1\ErrorSet
-     */
-    public function getError()
-    {
-        return $this->readOneof(2);
-    }
-    /**
-     * The set of errors in the critical path of evalution.
-     * Only errors in the critical path are included. For example,
-     * `( || true) && ` will only result in ``,
-     * while ` || ` will result in both `` and
-     * ``.
-     * Errors cause by the presence of other errors are not included in the
-     * set. For example `.foo`, `foo()`, and ` + 1` will
-     * only result in ``.
-     * Multiple errors *might* be included when evaluation could result
-     * in different errors. For example ` + ` and
-     * `foo(, )` may result in ``, `` or both.
-     * The exact subset of errors included for this case is unspecified and
-     * depends on the implementation details of the evaluator.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.ErrorSet error = 2;
-     * @param \Google\Api\Expr\V1beta1\ErrorSet $var
-     * @return $this
-     */
-    public function setError($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\ErrorSet::class);
-        $this->writeOneof(2, $var);
-        return $this;
-    }
-    /**
-     * The set of unknowns in the critical path of evaluation.
-     * Unknown behaves identically to Error with regards to propagation.
-     * Specifically, only unknowns in the critical path are included, unknowns
-     * caused by the presence of other unknowns are not included, and multiple
-     * unknowns *might* be included included when evaluation could result in
-     * different unknowns. For example:
-     *     ( || true) &&  -> 
-     *      ||  -> 
-     *     .foo -> 
-     *     foo() -> 
-     *      +  ->  or 
-     * Unknown takes precidence over Error in cases where a `Value` can short
-     * circuit the result:
-     *      ||  -> 
-     *      &&  -> 
-     * Errors take precidence in all other cases:
-     *      +  -> 
-     *     foo(, ) -> 
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.UnknownSet unknown = 3;
-     * @return \Google\Api\Expr\V1beta1\UnknownSet
-     */
-    public function getUnknown()
-    {
-        return $this->readOneof(3);
-    }
-    /**
-     * The set of unknowns in the critical path of evaluation.
-     * Unknown behaves identically to Error with regards to propagation.
-     * Specifically, only unknowns in the critical path are included, unknowns
-     * caused by the presence of other unknowns are not included, and multiple
-     * unknowns *might* be included included when evaluation could result in
-     * different unknowns. For example:
-     *     ( || true) &&  -> 
-     *      ||  -> 
-     *     .foo -> 
-     *     foo() -> 
-     *      +  ->  or 
-     * Unknown takes precidence over Error in cases where a `Value` can short
-     * circuit the result:
-     *      ||  -> 
-     *      &&  -> 
-     * Errors take precidence in all other cases:
-     *      +  -> 
-     *     foo(, ) -> 
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.UnknownSet unknown = 3;
-     * @param \Google\Api\Expr\V1beta1\UnknownSet $var
-     * @return $this
-     */
-    public function setUnknown($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\UnknownSet::class);
-        $this->writeOneof(3, $var);
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getKind()
-    {
-        return $this->whichOneof("kind");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr_Call.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr_Call.php
deleted file mode 100644
index f9d8d4621..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Expr_Call.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.expr.v1beta1.FunctionDecl
- */
-class FunctionDecl extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The function arguments.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.IdentDecl args = 1;
-     */
-    private $args;
-    /**
-     * Optional declared return type.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.DeclType return_type = 2;
-     */
-    private $return_type = null;
-    /**
-     * If the first argument of the function is the receiver.
-     *
-     * Generated from protobuf field bool receiver_function = 3;
-     */
-    private $receiver_function = \false;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\IdentDecl[]|\Google\Protobuf\Internal\RepeatedField $args
-     *           The function arguments.
-     *     @type \Google\Api\Expr\V1beta1\DeclType $return_type
-     *           Optional declared return type.
-     *     @type bool $receiver_function
-     *           If the first argument of the function is the receiver.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Decl::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The function arguments.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.IdentDecl args = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getArgs()
-    {
-        return $this->args;
-    }
-    /**
-     * The function arguments.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.IdentDecl args = 1;
-     * @param \Google\Api\Expr\V1beta1\IdentDecl[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setArgs($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\IdentDecl::class);
-        $this->args = $arr;
-        return $this;
-    }
-    /**
-     * Optional declared return type.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.DeclType return_type = 2;
-     * @return \Google\Api\Expr\V1beta1\DeclType
-     */
-    public function getReturnType()
-    {
-        return $this->return_type;
-    }
-    /**
-     * Optional declared return type.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.DeclType return_type = 2;
-     * @param \Google\Api\Expr\V1beta1\DeclType $var
-     * @return $this
-     */
-    public function setReturnType($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\DeclType::class);
-        $this->return_type = $var;
-        return $this;
-    }
-    /**
-     * If the first argument of the function is the receiver.
-     *
-     * Generated from protobuf field bool receiver_function = 3;
-     * @return bool
-     */
-    public function getReceiverFunction()
-    {
-        return $this->receiver_function;
-    }
-    /**
-     * If the first argument of the function is the receiver.
-     *
-     * Generated from protobuf field bool receiver_function = 3;
-     * @param bool $var
-     * @return $this
-     */
-    public function setReceiverFunction($var)
-    {
-        GPBUtil::checkBool($var);
-        $this->receiver_function = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/IdRef.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/IdRef.php
deleted file mode 100644
index 2713671bf..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/IdRef.php
+++ /dev/null
@@ -1,61 +0,0 @@
-google.api.expr.v1beta1.IdRef
- */
-class IdRef extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The expression id.
-     *
-     * Generated from protobuf field int32 id = 1;
-     */
-    private $id = 0;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int $id
-     *           The expression id.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\PBEval::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The expression id.
-     *
-     * Generated from protobuf field int32 id = 1;
-     * @return int
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-    /**
-     * The expression id.
-     *
-     * Generated from protobuf field int32 id = 1;
-     * @param int $var
-     * @return $this
-     */
-    public function setId($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->id = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/IdentDecl.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/IdentDecl.php
deleted file mode 100644
index bec090623..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/IdentDecl.php
+++ /dev/null
@@ -1,92 +0,0 @@
-google.api.expr.v1beta1.IdentDecl
- */
-class IdentDecl extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Optional type of the identifier.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.DeclType type = 3;
-     */
-    private $type = null;
-    /**
-     * Optional value of the identifier.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr value = 4;
-     */
-    private $value = null;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\DeclType $type
-     *           Optional type of the identifier.
-     *     @type \Google\Api\Expr\V1beta1\Expr $value
-     *           Optional value of the identifier.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Decl::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Optional type of the identifier.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.DeclType type = 3;
-     * @return \Google\Api\Expr\V1beta1\DeclType
-     */
-    public function getType()
-    {
-        return $this->type;
-    }
-    /**
-     * Optional type of the identifier.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.DeclType type = 3;
-     * @param \Google\Api\Expr\V1beta1\DeclType $var
-     * @return $this
-     */
-    public function setType($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\DeclType::class);
-        $this->type = $var;
-        return $this;
-    }
-    /**
-     * Optional value of the identifier.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr value = 4;
-     * @return \Google\Api\Expr\V1beta1\Expr
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-    /**
-     * Optional value of the identifier.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr value = 4;
-     * @param \Google\Api\Expr\V1beta1\Expr $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->value = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/ListValue.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/ListValue.php
deleted file mode 100644
index 5874b9722..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/ListValue.php
+++ /dev/null
@@ -1,63 +0,0 @@
-google.api.expr.v1beta1.ListValue
- */
-class ListValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The ordered values in the list.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.Value values = 1;
-     */
-    private $values;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\Value[]|\Google\Protobuf\Internal\RepeatedField $values
-     *           The ordered values in the list.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Value::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The ordered values in the list.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.Value values = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getValues()
-    {
-        return $this->values;
-    }
-    /**
-     * The ordered values in the list.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.Value values = 1;
-     * @param \Google\Api\Expr\V1beta1\Value[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setValues($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Value::class);
-        $this->values = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Literal.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Literal.php
deleted file mode 100644
index a4122bf89..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Literal.php
+++ /dev/null
@@ -1,220 +0,0 @@
-google.api.expr.v1beta1.Literal
- */
-class Literal extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    protected $constant_kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int $null_value
-     *           null value.
-     *     @type bool $bool_value
-     *           boolean value.
-     *     @type int|string $int64_value
-     *           int64 value.
-     *     @type int|string $uint64_value
-     *           uint64 value.
-     *     @type float $double_value
-     *           double value.
-     *     @type string $string_value
-     *           string value.
-     *     @type string $bytes_value
-     *           bytes value.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Expr::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * null value.
-     *
-     * Generated from protobuf field .google.protobuf.NullValue null_value = 1;
-     * @return int
-     */
-    public function getNullValue()
-    {
-        return $this->readOneof(1);
-    }
-    /**
-     * null value.
-     *
-     * Generated from protobuf field .google.protobuf.NullValue null_value = 1;
-     * @param int $var
-     * @return $this
-     */
-    public function setNullValue($var)
-    {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\NullValue::class);
-        $this->writeOneof(1, $var);
-        return $this;
-    }
-    /**
-     * boolean value.
-     *
-     * Generated from protobuf field bool bool_value = 2;
-     * @return bool
-     */
-    public function getBoolValue()
-    {
-        return $this->readOneof(2);
-    }
-    /**
-     * boolean value.
-     *
-     * Generated from protobuf field bool bool_value = 2;
-     * @param bool $var
-     * @return $this
-     */
-    public function setBoolValue($var)
-    {
-        GPBUtil::checkBool($var);
-        $this->writeOneof(2, $var);
-        return $this;
-    }
-    /**
-     * int64 value.
-     *
-     * Generated from protobuf field int64 int64_value = 3;
-     * @return int|string
-     */
-    public function getInt64Value()
-    {
-        return $this->readOneof(3);
-    }
-    /**
-     * int64 value.
-     *
-     * Generated from protobuf field int64 int64_value = 3;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setInt64Value($var)
-    {
-        GPBUtil::checkInt64($var);
-        $this->writeOneof(3, $var);
-        return $this;
-    }
-    /**
-     * uint64 value.
-     *
-     * Generated from protobuf field uint64 uint64_value = 4;
-     * @return int|string
-     */
-    public function getUint64Value()
-    {
-        return $this->readOneof(4);
-    }
-    /**
-     * uint64 value.
-     *
-     * Generated from protobuf field uint64 uint64_value = 4;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setUint64Value($var)
-    {
-        GPBUtil::checkUint64($var);
-        $this->writeOneof(4, $var);
-        return $this;
-    }
-    /**
-     * double value.
-     *
-     * Generated from protobuf field double double_value = 5;
-     * @return float
-     */
-    public function getDoubleValue()
-    {
-        return $this->readOneof(5);
-    }
-    /**
-     * double value.
-     *
-     * Generated from protobuf field double double_value = 5;
-     * @param float $var
-     * @return $this
-     */
-    public function setDoubleValue($var)
-    {
-        GPBUtil::checkDouble($var);
-        $this->writeOneof(5, $var);
-        return $this;
-    }
-    /**
-     * string value.
-     *
-     * Generated from protobuf field string string_value = 6;
-     * @return string
-     */
-    public function getStringValue()
-    {
-        return $this->readOneof(6);
-    }
-    /**
-     * string value.
-     *
-     * Generated from protobuf field string string_value = 6;
-     * @param string $var
-     * @return $this
-     */
-    public function setStringValue($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->writeOneof(6, $var);
-        return $this;
-    }
-    /**
-     * bytes value.
-     *
-     * Generated from protobuf field bytes bytes_value = 7;
-     * @return string
-     */
-    public function getBytesValue()
-    {
-        return $this->readOneof(7);
-    }
-    /**
-     * bytes value.
-     *
-     * Generated from protobuf field bytes bytes_value = 7;
-     * @param string $var
-     * @return $this
-     */
-    public function setBytesValue($var)
-    {
-        GPBUtil::checkString($var, False);
-        $this->writeOneof(7, $var);
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getConstantKind()
-    {
-        return $this->whichOneof("constant_kind");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/MapValue.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/MapValue.php
deleted file mode 100644
index 34c255953..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/MapValue.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.api.expr.v1beta1.MapValue
- */
-class MapValue extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The set of map entries.
-     * CEL has fewer restrictions on keys, so a protobuf map represenation
-     * cannot be used.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.MapValue.Entry entries = 1;
-     */
-    private $entries;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\MapValue\Entry[]|\Google\Protobuf\Internal\RepeatedField $entries
-     *           The set of map entries.
-     *           CEL has fewer restrictions on keys, so a protobuf map represenation
-     *           cannot be used.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Value::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The set of map entries.
-     * CEL has fewer restrictions on keys, so a protobuf map represenation
-     * cannot be used.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.MapValue.Entry entries = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getEntries()
-    {
-        return $this->entries;
-    }
-    /**
-     * The set of map entries.
-     * CEL has fewer restrictions on keys, so a protobuf map represenation
-     * cannot be used.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.MapValue.Entry entries = 1;
-     * @param \Google\Api\Expr\V1beta1\MapValue\Entry[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setEntries($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\MapValue\Entry::class);
-        $this->entries = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/MapValue/Entry.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/MapValue/Entry.php
deleted file mode 100644
index 02b7164e3..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/MapValue/Entry.php
+++ /dev/null
@@ -1,102 +0,0 @@
-google.api.expr.v1beta1.MapValue.Entry
- */
-class Entry extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The key.
-     * Must be unique with in the map.
-     * Currently only boolean, int, uint, and string values can be keys.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Value key = 1;
-     */
-    private $key = null;
-    /**
-     * The value.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Value value = 2;
-     */
-    private $value = null;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\Value $key
-     *           The key.
-     *           Must be unique with in the map.
-     *           Currently only boolean, int, uint, and string values can be keys.
-     *     @type \Google\Api\Expr\V1beta1\Value $value
-     *           The value.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Value::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The key.
-     * Must be unique with in the map.
-     * Currently only boolean, int, uint, and string values can be keys.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Value key = 1;
-     * @return \Google\Api\Expr\V1beta1\Value
-     */
-    public function getKey()
-    {
-        return $this->key;
-    }
-    /**
-     * The key.
-     * Must be unique with in the map.
-     * Currently only boolean, int, uint, and string values can be keys.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Value key = 1;
-     * @param \Google\Api\Expr\V1beta1\Value $var
-     * @return $this
-     */
-    public function setKey($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Value::class);
-        $this->key = $var;
-        return $this;
-    }
-    /**
-     * The value.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Value value = 2;
-     * @return \Google\Api\Expr\V1beta1\Value
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-    /**
-     * The value.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Value value = 2;
-     * @param \Google\Api\Expr\V1beta1\Value $var
-     * @return $this
-     */
-    public function setValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Value::class);
-        $this->value = $var;
-        return $this;
-    }
-}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Entry::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\MapValue_Entry::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/MapValue_Entry.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/MapValue_Entry.php
deleted file mode 100644
index 9a8de4248..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/MapValue_Entry.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.expr.v1beta1.ParsedExpr
- */
-class ParsedExpr extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The parsed expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr expr = 2;
-     */
-    private $expr = null;
-    /**
-     * The source info derived from input that generated the parsed `expr`.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.SourceInfo source_info = 3;
-     */
-    private $source_info = null;
-    /**
-     * The syntax version of the source, e.g. `cel1`.
-     *
-     * Generated from protobuf field string syntax_version = 4;
-     */
-    private $syntax_version = '';
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\Expr $expr
-     *           The parsed expression.
-     *     @type \Google\Api\Expr\V1beta1\SourceInfo $source_info
-     *           The source info derived from input that generated the parsed `expr`.
-     *     @type string $syntax_version
-     *           The syntax version of the source, e.g. `cel1`.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Expr::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The parsed expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr expr = 2;
-     * @return \Google\Api\Expr\V1beta1\Expr
-     */
-    public function getExpr()
-    {
-        return $this->expr;
-    }
-    /**
-     * The parsed expression.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.Expr expr = 2;
-     * @param \Google\Api\Expr\V1beta1\Expr $var
-     * @return $this
-     */
-    public function setExpr($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\Expr::class);
-        $this->expr = $var;
-        return $this;
-    }
-    /**
-     * The source info derived from input that generated the parsed `expr`.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.SourceInfo source_info = 3;
-     * @return \Google\Api\Expr\V1beta1\SourceInfo
-     */
-    public function getSourceInfo()
-    {
-        return $this->source_info;
-    }
-    /**
-     * The source info derived from input that generated the parsed `expr`.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.SourceInfo source_info = 3;
-     * @param \Google\Api\Expr\V1beta1\SourceInfo $var
-     * @return $this
-     */
-    public function setSourceInfo($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\SourceInfo::class);
-        $this->source_info = $var;
-        return $this;
-    }
-    /**
-     * The syntax version of the source, e.g. `cel1`.
-     *
-     * Generated from protobuf field string syntax_version = 4;
-     * @return string
-     */
-    public function getSyntaxVersion()
-    {
-        return $this->syntax_version;
-    }
-    /**
-     * The syntax version of the source, e.g. `cel1`.
-     *
-     * Generated from protobuf field string syntax_version = 4;
-     * @param string $var
-     * @return $this
-     */
-    public function setSyntaxVersion($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->syntax_version = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/SourceInfo.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/SourceInfo.php
deleted file mode 100644
index 17d30e3e6..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/SourceInfo.php
+++ /dev/null
@@ -1,151 +0,0 @@
-google.api.expr.v1beta1.SourceInfo
- */
-class SourceInfo extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The location name. All position information attached to an expression is
-     * relative to this location.
-     * The location could be a file, UI element, or similar. For example,
-     * `acme/app/AnvilPolicy.cel`.
-     *
-     * Generated from protobuf field string location = 2;
-     */
-    private $location = '';
-    /**
-     * Monotonically increasing list of character offsets where newlines appear.
-     * The line number of a given position is the index `i` where for a given
-     * `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
-     * column may be derivd from `id_positions[id] - line_offsets[i]`.
-     *
-     * Generated from protobuf field repeated int32 line_offsets = 3;
-     */
-    private $line_offsets;
-    /**
-     * A map from the parse node id (e.g. `Expr.id`) to the character offset
-     * within source.
-     *
-     * Generated from protobuf field map positions = 4;
-     */
-    private $positions;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $location
-     *           The location name. All position information attached to an expression is
-     *           relative to this location.
-     *           The location could be a file, UI element, or similar. For example,
-     *           `acme/app/AnvilPolicy.cel`.
-     *     @type int[]|\Google\Protobuf\Internal\RepeatedField $line_offsets
-     *           Monotonically increasing list of character offsets where newlines appear.
-     *           The line number of a given position is the index `i` where for a given
-     *           `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
-     *           column may be derivd from `id_positions[id] - line_offsets[i]`.
-     *     @type array|\Google\Protobuf\Internal\MapField $positions
-     *           A map from the parse node id (e.g. `Expr.id`) to the character offset
-     *           within source.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Source::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The location name. All position information attached to an expression is
-     * relative to this location.
-     * The location could be a file, UI element, or similar. For example,
-     * `acme/app/AnvilPolicy.cel`.
-     *
-     * Generated from protobuf field string location = 2;
-     * @return string
-     */
-    public function getLocation()
-    {
-        return $this->location;
-    }
-    /**
-     * The location name. All position information attached to an expression is
-     * relative to this location.
-     * The location could be a file, UI element, or similar. For example,
-     * `acme/app/AnvilPolicy.cel`.
-     *
-     * Generated from protobuf field string location = 2;
-     * @param string $var
-     * @return $this
-     */
-    public function setLocation($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->location = $var;
-        return $this;
-    }
-    /**
-     * Monotonically increasing list of character offsets where newlines appear.
-     * The line number of a given position is the index `i` where for a given
-     * `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
-     * column may be derivd from `id_positions[id] - line_offsets[i]`.
-     *
-     * Generated from protobuf field repeated int32 line_offsets = 3;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getLineOffsets()
-    {
-        return $this->line_offsets;
-    }
-    /**
-     * Monotonically increasing list of character offsets where newlines appear.
-     * The line number of a given position is the index `i` where for a given
-     * `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
-     * column may be derivd from `id_positions[id] - line_offsets[i]`.
-     *
-     * Generated from protobuf field repeated int32 line_offsets = 3;
-     * @param int[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setLineOffsets($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32);
-        $this->line_offsets = $arr;
-        return $this;
-    }
-    /**
-     * A map from the parse node id (e.g. `Expr.id`) to the character offset
-     * within source.
-     *
-     * Generated from protobuf field map positions = 4;
-     * @return \Google\Protobuf\Internal\MapField
-     */
-    public function getPositions()
-    {
-        return $this->positions;
-    }
-    /**
-     * A map from the parse node id (e.g. `Expr.id`) to the character offset
-     * within source.
-     *
-     * Generated from protobuf field map positions = 4;
-     * @param array|\Google\Protobuf\Internal\MapField $var
-     * @return $this
-     */
-    public function setPositions($var)
-    {
-        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::INT32);
-        $this->positions = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/SourcePosition.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/SourcePosition.php
deleted file mode 100644
index 29245fef7..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/SourcePosition.php
+++ /dev/null
@@ -1,162 +0,0 @@
-google.api.expr.v1beta1.SourcePosition
- */
-class SourcePosition extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The soucre location name (e.g. file name).
-     *
-     * Generated from protobuf field string location = 1;
-     */
-    private $location = '';
-    /**
-     * The character offset.
-     *
-     * Generated from protobuf field int32 offset = 2;
-     */
-    private $offset = 0;
-    /**
-     * The 1-based index of the starting line in the source text
-     * where the issue occurs, or 0 if unknown.
-     *
-     * Generated from protobuf field int32 line = 3;
-     */
-    private $line = 0;
-    /**
-     * The 0-based index of the starting position within the line of source text
-     * where the issue occurs.  Only meaningful if line is nonzer..
-     *
-     * Generated from protobuf field int32 column = 4;
-     */
-    private $column = 0;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $location
-     *           The soucre location name (e.g. file name).
-     *     @type int $offset
-     *           The character offset.
-     *     @type int $line
-     *           The 1-based index of the starting line in the source text
-     *           where the issue occurs, or 0 if unknown.
-     *     @type int $column
-     *           The 0-based index of the starting position within the line of source text
-     *           where the issue occurs.  Only meaningful if line is nonzer..
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Source::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The soucre location name (e.g. file name).
-     *
-     * Generated from protobuf field string location = 1;
-     * @return string
-     */
-    public function getLocation()
-    {
-        return $this->location;
-    }
-    /**
-     * The soucre location name (e.g. file name).
-     *
-     * Generated from protobuf field string location = 1;
-     * @param string $var
-     * @return $this
-     */
-    public function setLocation($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->location = $var;
-        return $this;
-    }
-    /**
-     * The character offset.
-     *
-     * Generated from protobuf field int32 offset = 2;
-     * @return int
-     */
-    public function getOffset()
-    {
-        return $this->offset;
-    }
-    /**
-     * The character offset.
-     *
-     * Generated from protobuf field int32 offset = 2;
-     * @param int $var
-     * @return $this
-     */
-    public function setOffset($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->offset = $var;
-        return $this;
-    }
-    /**
-     * The 1-based index of the starting line in the source text
-     * where the issue occurs, or 0 if unknown.
-     *
-     * Generated from protobuf field int32 line = 3;
-     * @return int
-     */
-    public function getLine()
-    {
-        return $this->line;
-    }
-    /**
-     * The 1-based index of the starting line in the source text
-     * where the issue occurs, or 0 if unknown.
-     *
-     * Generated from protobuf field int32 line = 3;
-     * @param int $var
-     * @return $this
-     */
-    public function setLine($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->line = $var;
-        return $this;
-    }
-    /**
-     * The 0-based index of the starting position within the line of source text
-     * where the issue occurs.  Only meaningful if line is nonzer..
-     *
-     * Generated from protobuf field int32 column = 4;
-     * @return int
-     */
-    public function getColumn()
-    {
-        return $this->column;
-    }
-    /**
-     * The 0-based index of the starting position within the line of source text
-     * where the issue occurs.  Only meaningful if line is nonzer..
-     *
-     * Generated from protobuf field int32 column = 4;
-     * @param int $var
-     * @return $this
-     */
-    public function setColumn($var)
-    {
-        GPBUtil::checkInt32($var);
-        $this->column = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/UnknownSet.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/UnknownSet.php
deleted file mode 100644
index 6e3f3bb99..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/UnknownSet.php
+++ /dev/null
@@ -1,62 +0,0 @@
-google.api.expr.v1beta1.UnknownSet
- */
-class UnknownSet extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The ids of the expressions with unknown values.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.IdRef exprs = 1;
-     */
-    private $exprs;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\Api\Expr\V1beta1\IdRef[]|\Google\Protobuf\Internal\RepeatedField $exprs
-     *           The ids of the expressions with unknown values.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\PBEval::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The ids of the expressions with unknown values.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.IdRef exprs = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getExprs()
-    {
-        return $this->exprs;
-    }
-    /**
-     * The ids of the expressions with unknown values.
-     *
-     * Generated from protobuf field repeated .google.api.expr.v1beta1.IdRef exprs = 1;
-     * @param \Google\Api\Expr\V1beta1\IdRef[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setExprs($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\IdRef::class);
-        $this->exprs = $arr;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Value.php b/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Value.php
deleted file mode 100644
index 16aba6de7..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Expr/V1beta1/Value.php
+++ /dev/null
@@ -1,340 +0,0 @@
-google.api.expr.v1beta1.Value
- */
-class Value extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    protected $kind;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type int $null_value
-     *           Null value.
-     *     @type bool $bool_value
-     *           Boolean value.
-     *     @type int|string $int64_value
-     *           Signed integer value.
-     *     @type int|string $uint64_value
-     *           Unsigned integer value.
-     *     @type float $double_value
-     *           Floating point value.
-     *     @type string $string_value
-     *           UTF-8 string value.
-     *     @type string $bytes_value
-     *           Byte string value.
-     *     @type \Google\Api\Expr\V1beta1\EnumValue $enum_value
-     *           An enum value.
-     *     @type \Google\Protobuf\Any $object_value
-     *           The proto message backing an object value.
-     *     @type \Google\Api\Expr\V1beta1\MapValue $map_value
-     *           Map value.
-     *     @type \Google\Api\Expr\V1beta1\ListValue $list_value
-     *           List value.
-     *     @type string $type_value
-     *           A Type value represented by the fully qualified name of the type.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Expr\V1Beta1\Value::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Null value.
-     *
-     * Generated from protobuf field .google.protobuf.NullValue null_value = 1;
-     * @return int
-     */
-    public function getNullValue()
-    {
-        return $this->readOneof(1);
-    }
-    /**
-     * Null value.
-     *
-     * Generated from protobuf field .google.protobuf.NullValue null_value = 1;
-     * @param int $var
-     * @return $this
-     */
-    public function setNullValue($var)
-    {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\NullValue::class);
-        $this->writeOneof(1, $var);
-        return $this;
-    }
-    /**
-     * Boolean value.
-     *
-     * Generated from protobuf field bool bool_value = 2;
-     * @return bool
-     */
-    public function getBoolValue()
-    {
-        return $this->readOneof(2);
-    }
-    /**
-     * Boolean value.
-     *
-     * Generated from protobuf field bool bool_value = 2;
-     * @param bool $var
-     * @return $this
-     */
-    public function setBoolValue($var)
-    {
-        GPBUtil::checkBool($var);
-        $this->writeOneof(2, $var);
-        return $this;
-    }
-    /**
-     * Signed integer value.
-     *
-     * Generated from protobuf field int64 int64_value = 3;
-     * @return int|string
-     */
-    public function getInt64Value()
-    {
-        return $this->readOneof(3);
-    }
-    /**
-     * Signed integer value.
-     *
-     * Generated from protobuf field int64 int64_value = 3;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setInt64Value($var)
-    {
-        GPBUtil::checkInt64($var);
-        $this->writeOneof(3, $var);
-        return $this;
-    }
-    /**
-     * Unsigned integer value.
-     *
-     * Generated from protobuf field uint64 uint64_value = 4;
-     * @return int|string
-     */
-    public function getUint64Value()
-    {
-        return $this->readOneof(4);
-    }
-    /**
-     * Unsigned integer value.
-     *
-     * Generated from protobuf field uint64 uint64_value = 4;
-     * @param int|string $var
-     * @return $this
-     */
-    public function setUint64Value($var)
-    {
-        GPBUtil::checkUint64($var);
-        $this->writeOneof(4, $var);
-        return $this;
-    }
-    /**
-     * Floating point value.
-     *
-     * Generated from protobuf field double double_value = 5;
-     * @return float
-     */
-    public function getDoubleValue()
-    {
-        return $this->readOneof(5);
-    }
-    /**
-     * Floating point value.
-     *
-     * Generated from protobuf field double double_value = 5;
-     * @param float $var
-     * @return $this
-     */
-    public function setDoubleValue($var)
-    {
-        GPBUtil::checkDouble($var);
-        $this->writeOneof(5, $var);
-        return $this;
-    }
-    /**
-     * UTF-8 string value.
-     *
-     * Generated from protobuf field string string_value = 6;
-     * @return string
-     */
-    public function getStringValue()
-    {
-        return $this->readOneof(6);
-    }
-    /**
-     * UTF-8 string value.
-     *
-     * Generated from protobuf field string string_value = 6;
-     * @param string $var
-     * @return $this
-     */
-    public function setStringValue($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->writeOneof(6, $var);
-        return $this;
-    }
-    /**
-     * Byte string value.
-     *
-     * Generated from protobuf field bytes bytes_value = 7;
-     * @return string
-     */
-    public function getBytesValue()
-    {
-        return $this->readOneof(7);
-    }
-    /**
-     * Byte string value.
-     *
-     * Generated from protobuf field bytes bytes_value = 7;
-     * @param string $var
-     * @return $this
-     */
-    public function setBytesValue($var)
-    {
-        GPBUtil::checkString($var, False);
-        $this->writeOneof(7, $var);
-        return $this;
-    }
-    /**
-     * An enum value.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.EnumValue enum_value = 9;
-     * @return \Google\Api\Expr\V1beta1\EnumValue
-     */
-    public function getEnumValue()
-    {
-        return $this->readOneof(9);
-    }
-    /**
-     * An enum value.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.EnumValue enum_value = 9;
-     * @param \Google\Api\Expr\V1beta1\EnumValue $var
-     * @return $this
-     */
-    public function setEnumValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\EnumValue::class);
-        $this->writeOneof(9, $var);
-        return $this;
-    }
-    /**
-     * The proto message backing an object value.
-     *
-     * Generated from protobuf field .google.protobuf.Any object_value = 10;
-     * @return \Google\Protobuf\Any
-     */
-    public function getObjectValue()
-    {
-        return $this->readOneof(10);
-    }
-    /**
-     * The proto message backing an object value.
-     *
-     * Generated from protobuf field .google.protobuf.Any object_value = 10;
-     * @param \Google\Protobuf\Any $var
-     * @return $this
-     */
-    public function setObjectValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Any::class);
-        $this->writeOneof(10, $var);
-        return $this;
-    }
-    /**
-     * Map value.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.MapValue map_value = 11;
-     * @return \Google\Api\Expr\V1beta1\MapValue
-     */
-    public function getMapValue()
-    {
-        return $this->readOneof(11);
-    }
-    /**
-     * Map value.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.MapValue map_value = 11;
-     * @param \Google\Api\Expr\V1beta1\MapValue $var
-     * @return $this
-     */
-    public function setMapValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\MapValue::class);
-        $this->writeOneof(11, $var);
-        return $this;
-    }
-    /**
-     * List value.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.ListValue list_value = 12;
-     * @return \Google\Api\Expr\V1beta1\ListValue
-     */
-    public function getListValue()
-    {
-        return $this->readOneof(12);
-    }
-    /**
-     * List value.
-     *
-     * Generated from protobuf field .google.api.expr.v1beta1.ListValue list_value = 12;
-     * @param \Google\Api\Expr\V1beta1\ListValue $var
-     * @return $this
-     */
-    public function setListValue($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Expr\V1beta1\ListValue::class);
-        $this->writeOneof(12, $var);
-        return $this;
-    }
-    /**
-     * A Type value represented by the fully qualified name of the type.
-     *
-     * Generated from protobuf field string type_value = 15;
-     * @return string
-     */
-    public function getTypeValue()
-    {
-        return $this->readOneof(15);
-    }
-    /**
-     * A Type value represented by the fully qualified name of the type.
-     *
-     * Generated from protobuf field string type_value = 15;
-     * @param string $var
-     * @return $this
-     */
-    public function setTypeValue($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->writeOneof(15, $var);
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getKind()
-    {
-        return $this->whichOneof("kind");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Api/FieldBehavior.php b/vendor/prefixed/google/common-protos/src/Api/FieldBehavior.php
index 05ad1cf23..81c408df8 100644
--- a/vendor/prefixed/google/common-protos/src/Api/FieldBehavior.php
+++ b/vendor/prefixed/google/common-protos/src/Api/FieldBehavior.php
@@ -63,7 +63,40 @@ class FieldBehavior
      * Generated from protobuf enum IMMUTABLE = 5;
      */
     const IMMUTABLE = 5;
-    private static $valueToName = [self::FIELD_BEHAVIOR_UNSPECIFIED => 'FIELD_BEHAVIOR_UNSPECIFIED', self::OPTIONAL => 'OPTIONAL', self::REQUIRED => 'REQUIRED', self::OUTPUT_ONLY => 'OUTPUT_ONLY', self::INPUT_ONLY => 'INPUT_ONLY', self::IMMUTABLE => 'IMMUTABLE'];
+    /**
+     * Denotes that a (repeated) field is an unordered list.
+     * This indicates that the service may provide the elements of the list
+     * in any arbitrary  order, rather than the order the user originally
+     * provided. Additionally, the list's order may or may not be stable.
+     *
+     * Generated from protobuf enum UNORDERED_LIST = 6;
+     */
+    const UNORDERED_LIST = 6;
+    /**
+     * Denotes that this field returns a non-empty default value if not set.
+     * This indicates that if the user provides the empty value in a request,
+     * a non-empty value will be returned. The user will not be aware of what
+     * non-empty value to expect.
+     *
+     * Generated from protobuf enum NON_EMPTY_DEFAULT = 7;
+     */
+    const NON_EMPTY_DEFAULT = 7;
+    /**
+     * Denotes that the field in a resource (a message annotated with
+     * google.api.resource) is used in the resource name to uniquely identify the
+     * resource. For AIP-compliant APIs, this should only be applied to the
+     * `name` field on the resource.
+     * This behavior should not be applied to references to other resources within
+     * the message.
+     * The identifier field of resources often have different field behavior
+     * depending on the request it is embedded in (e.g. for Create methods name
+     * is optional and unused, while for Update methods it is required). Instead
+     * of method-specific annotations, only `IDENTIFIER` is required.
+     *
+     * Generated from protobuf enum IDENTIFIER = 8;
+     */
+    const IDENTIFIER = 8;
+    private static $valueToName = [self::FIELD_BEHAVIOR_UNSPECIFIED => 'FIELD_BEHAVIOR_UNSPECIFIED', self::OPTIONAL => 'OPTIONAL', self::REQUIRED => 'REQUIRED', self::OUTPUT_ONLY => 'OUTPUT_ONLY', self::INPUT_ONLY => 'INPUT_ONLY', self::IMMUTABLE => 'IMMUTABLE', self::UNORDERED_LIST => 'UNORDERED_LIST', self::NON_EMPTY_DEFAULT => 'NON_EMPTY_DEFAULT', self::IDENTIFIER => 'IDENTIFIER'];
     public static function name($value)
     {
         if (!isset(self::$valueToName[$value])) {
diff --git a/vendor/prefixed/google/common-protos/src/Api/FieldInfo.php b/vendor/prefixed/google/common-protos/src/Api/FieldInfo.php
new file mode 100644
index 000000000..e80f68392
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/FieldInfo.php
@@ -0,0 +1,108 @@
+google.api.FieldInfo
+ */
+class FieldInfo extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The standard format of a field value. This does not explicitly configure
+     * any API consumer, just documents the API's format for the field it is
+     * applied to.
+     *
+     * Generated from protobuf field .google.api.FieldInfo.Format format = 1;
+     */
+    protected $format = 0;
+    /**
+     * The type(s) that the annotated, generic field may represent.
+     * Currently, this must only be used on fields of type `google.protobuf.Any`.
+     * Supporting other generic types may be considered in the future.
+     *
+     * Generated from protobuf field repeated .google.api.TypeReference referenced_types = 2;
+     */
+    private $referenced_types;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type int $format
+     *           The standard format of a field value. This does not explicitly configure
+     *           any API consumer, just documents the API's format for the field it is
+     *           applied to.
+     *     @type array<\Google\Api\TypeReference>|\Google\Protobuf\Internal\RepeatedField $referenced_types
+     *           The type(s) that the annotated, generic field may represent.
+     *           Currently, this must only be used on fields of type `google.protobuf.Any`.
+     *           Supporting other generic types may be considered in the future.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\FieldInfo::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The standard format of a field value. This does not explicitly configure
+     * any API consumer, just documents the API's format for the field it is
+     * applied to.
+     *
+     * Generated from protobuf field .google.api.FieldInfo.Format format = 1;
+     * @return int
+     */
+    public function getFormat()
+    {
+        return $this->format;
+    }
+    /**
+     * The standard format of a field value. This does not explicitly configure
+     * any API consumer, just documents the API's format for the field it is
+     * applied to.
+     *
+     * Generated from protobuf field .google.api.FieldInfo.Format format = 1;
+     * @param int $var
+     * @return $this
+     */
+    public function setFormat($var)
+    {
+        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\FieldInfo\Format::class);
+        $this->format = $var;
+        return $this;
+    }
+    /**
+     * The type(s) that the annotated, generic field may represent.
+     * Currently, this must only be used on fields of type `google.protobuf.Any`.
+     * Supporting other generic types may be considered in the future.
+     *
+     * Generated from protobuf field repeated .google.api.TypeReference referenced_types = 2;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getReferencedTypes()
+    {
+        return $this->referenced_types;
+    }
+    /**
+     * The type(s) that the annotated, generic field may represent.
+     * Currently, this must only be used on fields of type `google.protobuf.Any`.
+     * Supporting other generic types may be considered in the future.
+     *
+     * Generated from protobuf field repeated .google.api.TypeReference referenced_types = 2;
+     * @param array<\Google\Api\TypeReference>|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setReferencedTypes($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\TypeReference::class);
+        $this->referenced_types = $arr;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/FieldInfo/Format.php b/vendor/prefixed/google/common-protos/src/Api/FieldInfo/Format.php
new file mode 100644
index 000000000..4c9106291
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/FieldInfo/Format.php
@@ -0,0 +1,75 @@
+google.api.FieldInfo.Format
+ */
+class Format
+{
+    /**
+     * Default, unspecified value.
+     *
+     * Generated from protobuf enum FORMAT_UNSPECIFIED = 0;
+     */
+    const FORMAT_UNSPECIFIED = 0;
+    /**
+     * Universally Unique Identifier, version 4, value as defined by
+     * https://datatracker.ietf.org/doc/html/rfc4122. The value may be
+     * normalized to entirely lowercase letters. For example, the value
+     * `F47AC10B-58CC-0372-8567-0E02B2C3D479` would be normalized to
+     * `f47ac10b-58cc-0372-8567-0e02b2c3d479`.
+     *
+     * Generated from protobuf enum UUID4 = 1;
+     */
+    const UUID4 = 1;
+    /**
+     * Internet Protocol v4 value as defined by [RFC
+     * 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
+     * condensed, with leading zeros in each octet stripped. For example,
+     * `001.022.233.040` would be condensed to `1.22.233.40`.
+     *
+     * Generated from protobuf enum IPV4 = 2;
+     */
+    const IPV4 = 2;
+    /**
+     * Internet Protocol v6 value as defined by [RFC
+     * 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
+     * normalized to entirely lowercase letters with zeros compressed, following
+     * [RFC 5952](https://datatracker.ietf.org/doc/html/rfc5952). For example,
+     * the value `2001:0DB8:0::0` would be normalized to `2001:db8::`.
+     *
+     * Generated from protobuf enum IPV6 = 3;
+     */
+    const IPV6 = 3;
+    /**
+     * An IP address in either v4 or v6 format as described by the individual
+     * values defined herein. See the comments on the IPV4 and IPV6 types for
+     * allowed normalizations of each.
+     *
+     * Generated from protobuf enum IPV4_OR_IPV6 = 4;
+     */
+    const IPV4_OR_IPV6 = 4;
+    private static $valueToName = [self::FORMAT_UNSPECIFIED => 'FORMAT_UNSPECIFIED', self::UUID4 => 'UUID4', self::IPV4 => 'IPV4', self::IPV6 => 'IPV6', self::IPV4_OR_IPV6 => 'IPV4_OR_IPV6'];
+    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/vendor/prefixed/google/common-protos/src/Api/FieldPolicy.php b/vendor/prefixed/google/common-protos/src/Api/FieldPolicy.php
new file mode 100644
index 000000000..e99108f65
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/FieldPolicy.php
@@ -0,0 +1,169 @@
+google.api.FieldPolicy
+ */
+class FieldPolicy extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Selects one or more request or response message fields to apply this
+     * `FieldPolicy`.
+     * When a `FieldPolicy` is used in proto annotation, the selector must
+     * be left as empty. The service config generator will automatically fill
+     * the correct value.
+     * When a `FieldPolicy` is used in service config, the selector must be a
+     * comma-separated string with valid request or response field paths,
+     * such as "foo.bar" or "foo.bar,foo.baz".
+     *
+     * Generated from protobuf field string selector = 1;
+     */
+    protected $selector = '';
+    /**
+     * Specifies the required permission(s) for the resource referred to by the
+     * field. It requires the field contains a valid resource reference, and
+     * the request must pass the permission checks to proceed. For example,
+     * "resourcemanager.projects.get".
+     *
+     * Generated from protobuf field string resource_permission = 2;
+     */
+    protected $resource_permission = '';
+    /**
+     * Specifies the resource type for the resource referred to by the field.
+     *
+     * Generated from protobuf field string resource_type = 3;
+     */
+    protected $resource_type = '';
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $selector
+     *           Selects one or more request or response message fields to apply this
+     *           `FieldPolicy`.
+     *           When a `FieldPolicy` is used in proto annotation, the selector must
+     *           be left as empty. The service config generator will automatically fill
+     *           the correct value.
+     *           When a `FieldPolicy` is used in service config, the selector must be a
+     *           comma-separated string with valid request or response field paths,
+     *           such as "foo.bar" or "foo.bar,foo.baz".
+     *     @type string $resource_permission
+     *           Specifies the required permission(s) for the resource referred to by the
+     *           field. It requires the field contains a valid resource reference, and
+     *           the request must pass the permission checks to proceed. For example,
+     *           "resourcemanager.projects.get".
+     *     @type string $resource_type
+     *           Specifies the resource type for the resource referred to by the field.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Policy::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Selects one or more request or response message fields to apply this
+     * `FieldPolicy`.
+     * When a `FieldPolicy` is used in proto annotation, the selector must
+     * be left as empty. The service config generator will automatically fill
+     * the correct value.
+     * When a `FieldPolicy` is used in service config, the selector must be a
+     * comma-separated string with valid request or response field paths,
+     * such as "foo.bar" or "foo.bar,foo.baz".
+     *
+     * Generated from protobuf field string selector = 1;
+     * @return string
+     */
+    public function getSelector()
+    {
+        return $this->selector;
+    }
+    /**
+     * Selects one or more request or response message fields to apply this
+     * `FieldPolicy`.
+     * When a `FieldPolicy` is used in proto annotation, the selector must
+     * be left as empty. The service config generator will automatically fill
+     * the correct value.
+     * When a `FieldPolicy` is used in service config, the selector must be a
+     * comma-separated string with valid request or response field paths,
+     * such as "foo.bar" or "foo.bar,foo.baz".
+     *
+     * Generated from protobuf field string selector = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setSelector($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->selector = $var;
+        return $this;
+    }
+    /**
+     * Specifies the required permission(s) for the resource referred to by the
+     * field. It requires the field contains a valid resource reference, and
+     * the request must pass the permission checks to proceed. For example,
+     * "resourcemanager.projects.get".
+     *
+     * Generated from protobuf field string resource_permission = 2;
+     * @return string
+     */
+    public function getResourcePermission()
+    {
+        return $this->resource_permission;
+    }
+    /**
+     * Specifies the required permission(s) for the resource referred to by the
+     * field. It requires the field contains a valid resource reference, and
+     * the request must pass the permission checks to proceed. For example,
+     * "resourcemanager.projects.get".
+     *
+     * Generated from protobuf field string resource_permission = 2;
+     * @param string $var
+     * @return $this
+     */
+    public function setResourcePermission($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->resource_permission = $var;
+        return $this;
+    }
+    /**
+     * Specifies the resource type for the resource referred to by the field.
+     *
+     * Generated from protobuf field string resource_type = 3;
+     * @return string
+     */
+    public function getResourceType()
+    {
+        return $this->resource_type;
+    }
+    /**
+     * Specifies the resource type for the resource referred to by the field.
+     *
+     * Generated from protobuf field string resource_type = 3;
+     * @param string $var
+     * @return $this
+     */
+    public function setResourceType($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->resource_type = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/GoSettings.php b/vendor/prefixed/google/common-protos/src/Api/GoSettings.php
new file mode 100644
index 000000000..3f03cc0f4
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/GoSettings.php
@@ -0,0 +1,69 @@
+google.api.GoSettings
+ */
+class GoSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     */
+    protected $common = null;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type \Google\Api\CommonLanguageSettings $common
+     *           Some settings.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     * @return \Google\Api\CommonLanguageSettings|null
+     */
+    public function getCommon()
+    {
+        return $this->common;
+    }
+    public function hasCommon()
+    {
+        return isset($this->common);
+    }
+    public function clearCommon()
+    {
+        unset($this->common);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     * @param \Google\Api\CommonLanguageSettings $var
+     * @return $this
+     */
+    public function setCommon($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\CommonLanguageSettings::class);
+        $this->common = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Http.php b/vendor/prefixed/google/common-protos/src/Api/Http.php
index 52137e350..fa4ea76e6 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Http.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Http.php
@@ -24,7 +24,7 @@ class Http extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\
      */
     private $rules;
     /**
-     * When set to true, URL path parmeters will be fully URI-decoded except in
+     * When set to true, URL path parameters will be fully URI-decoded except in
      * cases of single segment matches in reserved expansion, where "%2F" will be
      * left encoded.
      * The default behavior is to not decode RFC 6570 reserved characters in multi
@@ -32,18 +32,18 @@ class Http extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\
      *
      * Generated from protobuf field bool fully_decode_reserved_expansion = 2;
      */
-    private $fully_decode_reserved_expansion = \false;
+    protected $fully_decode_reserved_expansion = \false;
     /**
      * Constructor.
      *
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Api\HttpRule[]|\Google\Protobuf\Internal\RepeatedField $rules
+     *     @type array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $rules
      *           A list of HTTP configuration rules that apply to individual API methods.
      *           **NOTE:** All service configuration rules follow "last one wins" order.
      *     @type bool $fully_decode_reserved_expansion
-     *           When set to true, URL path parmeters will be fully URI-decoded except in
+     *           When set to true, URL path parameters will be fully URI-decoded except in
      *           cases of single segment matches in reserved expansion, where "%2F" will be
      *           left encoded.
      *           The default behavior is to not decode RFC 6570 reserved characters in multi
@@ -71,7 +71,7 @@ public function getRules()
      * **NOTE:** All service configuration rules follow "last one wins" order.
      *
      * Generated from protobuf field repeated .google.api.HttpRule rules = 1;
-     * @param \Google\Api\HttpRule[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setRules($var)
@@ -81,7 +81,7 @@ public function setRules($var)
         return $this;
     }
     /**
-     * When set to true, URL path parmeters will be fully URI-decoded except in
+     * When set to true, URL path parameters will be fully URI-decoded except in
      * cases of single segment matches in reserved expansion, where "%2F" will be
      * left encoded.
      * The default behavior is to not decode RFC 6570 reserved characters in multi
@@ -95,7 +95,7 @@ public function getFullyDecodeReservedExpansion()
         return $this->fully_decode_reserved_expansion;
     }
     /**
-     * When set to true, URL path parmeters will be fully URI-decoded except in
+     * When set to true, URL path parameters will be fully URI-decoded except in
      * cases of single segment matches in reserved expansion, where "%2F" will be
      * left encoded.
      * The default behavior is to not decode RFC 6570 reserved characters in multi
diff --git a/vendor/prefixed/google/common-protos/src/Api/HttpBody.php b/vendor/prefixed/google/common-protos/src/Api/HttpBody.php
index 5c74aacdc..133484b63 100644
--- a/vendor/prefixed/google/common-protos/src/Api/HttpBody.php
+++ b/vendor/prefixed/google/common-protos/src/Api/HttpBody.php
@@ -24,8 +24,10 @@
  *       google.api.HttpBody http_body = 2;
  *     }
  *     service ResourceService {
- *       rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
- *       rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty);
+ *       rpc GetResource(GetResourceRequest)
+ *         returns (google.api.HttpBody);
+ *       rpc UpdateResource(google.api.HttpBody)
+ *         returns (google.protobuf.Empty);
  *     }
  * Example with streaming methods:
  *     service CaldavService {
@@ -42,17 +44,17 @@
 class HttpBody extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * The HTTP Content-Type string representing the content type of the body.
+     * The HTTP Content-Type header value specifying the content type of the body.
      *
      * Generated from protobuf field string content_type = 1;
      */
-    private $content_type = '';
+    protected $content_type = '';
     /**
-     * HTTP body binary data.
+     * The HTTP request/response body as raw binary.
      *
      * Generated from protobuf field bytes data = 2;
      */
-    private $data = '';
+    protected $data = '';
     /**
      * Application specific response metadata. Must be set in the first response
      * for streaming APIs.
@@ -67,10 +69,10 @@ class HttpBody extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto
      *     Optional. Data for populating the Message object.
      *
      *     @type string $content_type
-     *           The HTTP Content-Type string representing the content type of the body.
+     *           The HTTP Content-Type header value specifying the content type of the body.
      *     @type string $data
-     *           HTTP body binary data.
-     *     @type \Google\Protobuf\Any[]|\Google\Protobuf\Internal\RepeatedField $extensions
+     *           The HTTP request/response body as raw binary.
+     *     @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $extensions
      *           Application specific response metadata. Must be set in the first response
      *           for streaming APIs.
      * }
@@ -81,7 +83,7 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * The HTTP Content-Type string representing the content type of the body.
+     * The HTTP Content-Type header value specifying the content type of the body.
      *
      * Generated from protobuf field string content_type = 1;
      * @return string
@@ -91,7 +93,7 @@ public function getContentType()
         return $this->content_type;
     }
     /**
-     * The HTTP Content-Type string representing the content type of the body.
+     * The HTTP Content-Type header value specifying the content type of the body.
      *
      * Generated from protobuf field string content_type = 1;
      * @param string $var
@@ -104,7 +106,7 @@ public function setContentType($var)
         return $this;
     }
     /**
-     * HTTP body binary data.
+     * The HTTP request/response body as raw binary.
      *
      * Generated from protobuf field bytes data = 2;
      * @return string
@@ -114,7 +116,7 @@ public function getData()
         return $this->data;
     }
     /**
-     * HTTP body binary data.
+     * The HTTP request/response body as raw binary.
      *
      * Generated from protobuf field bytes data = 2;
      * @param string $var
@@ -142,7 +144,7 @@ public function getExtensions()
      * for streaming APIs.
      *
      * Generated from protobuf field repeated .google.protobuf.Any extensions = 3;
-     * @param \Google\Protobuf\Any[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setExtensions($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/HttpRule.php b/vendor/prefixed/google/common-protos/src/Api/HttpRule.php
index 5af4f80d1..c1482f68a 100644
--- a/vendor/prefixed/google/common-protos/src/Api/HttpRule.php
+++ b/vendor/prefixed/google/common-protos/src/Api/HttpRule.php
@@ -8,76 +8,77 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
- * `HttpRule` defines the mapping of an RPC method to one or more HTTP
- * REST API methods. The mapping specifies how different portions of the RPC
- * request message are mapped to URL path, URL query parameters, and
- * HTTP request body. The mapping is typically specified as an
- * `google.api.http` annotation on the RPC method,
- * see "google/api/annotations.proto" for details.
- * The mapping consists of a field specifying the path template and
- * method kind.  The path template can refer to fields in the request
- * message, as in the example below which describes a REST GET
- * operation on a resource collection of messages:
+ * gRPC Transcoding
+ * gRPC Transcoding is a feature for mapping between a gRPC method and one or
+ * more HTTP REST endpoints. It allows developers to build a single API service
+ * that supports both gRPC APIs and REST APIs. Many systems, including [Google
+ * APIs](https://github.com/googleapis/googleapis),
+ * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
+ * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
+ * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
+ * and use it for large scale production services.
+ * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
+ * how different portions of the gRPC request message are mapped to the URL
+ * path, URL query parameters, and HTTP request body. It also controls how the
+ * gRPC response message is mapped to the HTTP response body. `HttpRule` is
+ * typically specified as an `google.api.http` annotation on the gRPC method.
+ * Each mapping specifies a URL path template and an HTTP method. The path
+ * template may refer to one or more fields in the gRPC request message, as long
+ * as each field is a non-repeated field with a primitive (non-message) type.
+ * The path template controls how fields of the request message are mapped to
+ * the URL path.
+ * Example:
  *     service Messaging {
  *       rpc GetMessage(GetMessageRequest) returns (Message) {
- *         option (google.api.http).get = "/v1/messages/{message_id}/{sub.subfield}";
+ *         option (google.api.http) = {
+ *             get: "/v1/{name=messages/*}"
+ *         };
  *       }
  *     }
  *     message GetMessageRequest {
- *       message SubMessage {
- *         string subfield = 1;
- *       }
- *       string message_id = 1; // mapped to the URL
- *       SubMessage sub = 2;    // `sub.subfield` is url-mapped
+ *       string name = 1; // Mapped to URL path.
  *     }
  *     message Message {
- *       string text = 1; // content of the resource
+ *       string text = 1; // The resource content.
  *     }
- * The same http annotation can alternatively be expressed inside the
- * `GRPC API Configuration` YAML file.
- *     http:
- *       rules:
- *         - selector: .Messaging.GetMessage
- *           get: /v1/messages/{message_id}/{sub.subfield}
- * This definition enables an automatic, bidrectional mapping of HTTP
- * JSON to RPC. Example:
- * HTTP | RPC
- * -----|-----
- * `GET /v1/messages/123456/foo`  | `GetMessage(message_id: "123456" sub: SubMessage(subfield: "foo"))`
- * In general, not only fields but also field paths can be referenced
- * from a path pattern. Fields mapped to the path pattern cannot be
- * repeated and must have a primitive (non-message) type.
- * Any fields in the request message which are not bound by the path
- * pattern automatically become (optional) HTTP query
- * parameters. Assume the following definition of the request message:
+ * This enables an HTTP REST to gRPC mapping as below:
+ * - HTTP: `GET /v1/messages/123456`
+ * - gRPC: `GetMessage(name: "messages/123456")`
+ * Any fields in the request message which are not bound by the path template
+ * automatically become HTTP query parameters if there is no HTTP request body.
+ * For example:
  *     service Messaging {
  *       rpc GetMessage(GetMessageRequest) returns (Message) {
- *         option (google.api.http).get = "/v1/messages/{message_id}";
+ *         option (google.api.http) = {
+ *             get:"/v1/messages/{message_id}"
+ *         };
  *       }
  *     }
  *     message GetMessageRequest {
  *       message SubMessage {
  *         string subfield = 1;
  *       }
- *       string message_id = 1; // mapped to the URL
- *       int64 revision = 2;    // becomes a parameter
- *       SubMessage sub = 3;    // `sub.subfield` becomes a parameter
+ *       string message_id = 1; // Mapped to URL path.
+ *       int64 revision = 2;    // Mapped to URL query parameter `revision`.
+ *       SubMessage sub = 3;    // Mapped to URL query parameter `sub.subfield`.
  *     }
  * This enables a HTTP JSON to RPC mapping as below:
- * HTTP | RPC
- * -----|-----
- * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))`
- * Note that fields which are mapped to HTTP parameters must have a
- * primitive type or a repeated primitive type. Message types are not
- * allowed. In the case of a repeated type, the parameter can be
- * repeated in the URL, as in `...?param=A¶m=B`.
- * For HTTP method kinds which allow a request body, the `body` field
+ * - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo`
+ * - gRPC: `GetMessage(message_id: "123456" revision: 2 sub:
+ * SubMessage(subfield: "foo"))`
+ * Note that fields which are mapped to URL query parameters must have a
+ * primitive type or a repeated primitive type or a non-repeated message type.
+ * In the case of a repeated type, the parameter can be repeated in the URL
+ * as `...?param=A¶m=B`. In the case of a message type, each field of the
+ * message is mapped to a separate parameter, such as
+ * `...?foo.a=A&foo.b=B&foo.c=C`.
+ * For HTTP methods that allow a request body, the `body` field
  * specifies the mapping. Consider a REST update method on the
  * message resource collection:
  *     service Messaging {
  *       rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
  *         option (google.api.http) = {
- *           put: "/v1/messages/{message_id}"
+ *           patch: "/v1/messages/{message_id}"
  *           body: "message"
  *         };
  *       }
@@ -89,9 +90,8 @@
  * The following HTTP JSON to RPC mapping is enabled, where the
  * representation of the JSON in the request body is determined by
  * protos JSON encoding:
- * HTTP | RPC
- * -----|-----
- * `PUT /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
+ * - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
+ * - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
  * The special name `*` can be used in the body mapping to define that
  * every field not bound by the path template should be mapped to the
  * request body.  This enables the following alternative definition of
@@ -99,7 +99,7 @@
  *     service Messaging {
  *       rpc UpdateMessage(Message) returns (Message) {
  *         option (google.api.http) = {
- *           put: "/v1/messages/{message_id}"
+ *           patch: "/v1/messages/{message_id}"
  *           body: "*"
  *         };
  *       }
@@ -109,12 +109,11 @@
  *       string text = 2;
  *     }
  * The following HTTP JSON to RPC mapping is enabled:
- * HTTP | RPC
- * -----|-----
- * `PUT /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")`
+ * - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
+ * - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")`
  * Note that when using `*` in the body mapping, it is not possible to
  * have HTTP parameters, as all fields not bound by the path end in
- * the body. This makes this option more rarely used in practice of
+ * the body. This makes this option more rarely used in practice when
  * defining REST APIs. The common usage of `*` is in custom methods
  * which don't use the URL at all for transferring data.
  * It is possible to define multiple HTTP methods for one RPC by using
@@ -133,84 +132,131 @@
  *       string message_id = 1;
  *       string user_id = 2;
  *     }
- * This enables the following two alternative HTTP JSON to RPC
- * mappings:
- * HTTP | RPC
- * -----|-----
- * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
- * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")`
- * # Rules for HTTP mapping
- * The rules for mapping HTTP path, query parameters, and body fields
- * to the request message are as follows:
- * 1. The `body` field specifies either `*` or a field path, or is
- *    omitted. If omitted, it indicates there is no HTTP request body.
- * 2. Leaf fields (recursive expansion of nested messages in the
- *    request) can be classified into three types:
- *     (a) Matched in the URL template.
- *     (b) Covered by body (if body is `*`, everything except (a) fields;
- *         else everything under the body field)
- *     (c) All other fields.
- * 3. URL query parameters found in the HTTP request are mapped to (c) fields.
- * 4. Any body sent with an HTTP request can contain only (b) fields.
- * The syntax of the path template is as follows:
+ * This enables the following two alternative HTTP JSON to RPC mappings:
+ * - HTTP: `GET /v1/messages/123456`
+ * - gRPC: `GetMessage(message_id: "123456")`
+ * - HTTP: `GET /v1/users/me/messages/123456`
+ * - gRPC: `GetMessage(user_id: "me" message_id: "123456")`
+ * Rules for HTTP mapping
+ * 1. Leaf request fields (recursive expansion nested messages in the request
+ *    message) are classified into three categories:
+ *    - Fields referred by the path template. They are passed via the URL path.
+ *    - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They
+ *    are passed via the HTTP
+ *      request body.
+ *    - All other fields are passed via the URL query parameters, and the
+ *      parameter name is the field path in the request message. A repeated
+ *      field can be represented as multiple query parameters under the same
+ *      name.
+ *  2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL
+ *  query parameter, all fields
+ *     are passed via URL path and HTTP request body.
+ *  3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
+ *  request body, all
+ *     fields are passed via URL path and URL query parameters.
+ * Path template syntax
  *     Template = "/" Segments [ Verb ] ;
  *     Segments = Segment { "/" Segment } ;
  *     Segment  = "*" | "**" | LITERAL | Variable ;
  *     Variable = "{" FieldPath [ "=" Segments ] "}" ;
  *     FieldPath = IDENT { "." IDENT } ;
  *     Verb     = ":" LITERAL ;
- * The syntax `*` matches a single path segment. The syntax `**` matches zero
- * or more path segments, which must be the last part of the path except the
- * `Verb`. The syntax `LITERAL` matches literal text in the path.
+ * The syntax `*` matches a single URL path segment. The syntax `**` matches
+ * zero or more URL path segments, which must be the last part of the URL path
+ * except the `Verb`.
  * The syntax `Variable` matches part of the URL path as specified by its
  * template. A variable template must not contain other variables. If a variable
  * matches a single path segment, its template may be omitted, e.g. `{var}`
  * is equivalent to `{var=*}`.
+ * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
+ * contains any reserved character, such characters should be percent-encoded
+ * before the matching.
  * If a variable contains exactly one path segment, such as `"{var}"` or
- * `"{var=*}"`, when such a variable is expanded into a URL path, all characters
- * except `[-_.~0-9a-zA-Z]` are percent-encoded. Such variables show up in the
- * Discovery Document as `{var}`.
- * If a variable contains one or more path segments, such as `"{var=foo/*}"`
- * or `"{var=**}"`, when such a variable is expanded into a URL path, all
- * characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. Such variables
- * show up in the Discovery Document as `{+var}`.
- * NOTE: While the single segment variable matches the semantics of
- * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
- * Simple String Expansion, the multi segment variable **does not** match
- * RFC 6570 Reserved Expansion. The reason is that the Reserved Expansion
+ * `"{var=*}"`, when such a variable is expanded into a URL path on the client
+ * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
+ * server side does the reverse decoding. Such variables show up in the
+ * [Discovery
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
+ * `{var}`.
+ * If a variable contains multiple path segments, such as `"{var=foo/*}"`
+ * or `"{var=**}"`, when such a variable is expanded into a URL path on the
+ * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
+ * The server side does the reverse decoding, except "%2F" and "%2f" are left
+ * unchanged. Such variables show up in the
+ * [Discovery
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
+ * `{+var}`.
+ * Using gRPC API Service Configuration
+ * gRPC API Service Configuration (service config) is a configuration language
+ * for configuring a gRPC service to become a user-facing product. The
+ * service config is simply the YAML representation of the `google.api.Service`
+ * proto message.
+ * As an alternative to annotating your proto file, you can configure gRPC
+ * transcoding in your service config YAML files. You do this by specifying a
+ * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
+ * effect as the proto annotation. This can be particularly useful if you
+ * have a proto that is reused in multiple services. Note that any transcoding
+ * specified in the service config will override any matching transcoding
+ * configuration in the proto.
+ * The following example selects a gRPC method and applies an `HttpRule` to it:
+ *     http:
+ *       rules:
+ *         - selector: example.v1.Messaging.GetMessage
+ *           get: /v1/messages/{message_id}/{sub.subfield}
+ * Special notes
+ * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
+ * proto to JSON conversion must follow the [proto3
+ * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
+ * While the single segment variable follows the semantics of
+ * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
+ * Expansion, the multi segment variable **does not** follow RFC 6570 Section
+ * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
  * does not expand special characters like `?` and `#`, which would lead
- * to invalid URLs.
- * NOTE: the field paths in variables and in the `body` must not refer to
- * repeated fields or map fields.
+ * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
+ * for multi segment variables.
+ * The path variables **must not** refer to any repeated or mapped field,
+ * because client libraries are not capable of handling such variable expansion.
+ * The path variables **must not** capture the leading "/" character. The reason
+ * is that the most common use case "{var}" does not capture the leading "/"
+ * character. For consistency, all path variables must share the same behavior.
+ * Repeated message fields must not be mapped to URL query parameters, because
+ * no client library can support such complicated mapping.
+ * If an API needs to use a JSON array for request or response body, it can map
+ * the request or response body to a repeated field. However, some gRPC
+ * Transcoding implementations may not support this feature.
  *
  * Generated from protobuf message google.api.HttpRule
  */
 class HttpRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * Selects methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Selects a method to which this rule applies.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      *
      * Generated from protobuf field string selector = 1;
      */
-    private $selector = '';
+    protected $selector = '';
     /**
-     * The name of the request field whose value is mapped to the HTTP body, or
-     * `*` for mapping all fields not captured by the path pattern to the HTTP
-     * body. NOTE: the referred field must not be a repeated field and must be
-     * present at the top-level of request message type.
+     * The name of the request field whose value is mapped to the HTTP request
+     * body, or `*` for mapping all request fields not captured by the path
+     * pattern to the HTTP body, or omitted for not having any HTTP request body.
+     * NOTE: the referred field must be present at the top-level of the request
+     * message type.
      *
      * Generated from protobuf field string body = 7;
      */
-    private $body = '';
+    protected $body = '';
     /**
      * Optional. The name of the response field whose value is mapped to the HTTP
-     * body of response. Other response fields are ignored. When
-     * not set, the response message will be used as HTTP body of response.
+     * response body. When omitted, the entire response message will be used
+     * as the HTTP response body.
+     * NOTE: The referred field must be present at the top-level of the response
+     * message type.
      *
      * Generated from protobuf field string response_body = 12;
      */
-    private $response_body = '';
+    protected $response_body = '';
     /**
      * Additional HTTP bindings for the selector. Nested bindings must
      * not contain an `additional_bindings` field themselves (that is,
@@ -227,33 +273,38 @@ class HttpRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto
      *     Optional. Data for populating the Message object.
      *
      *     @type string $selector
-     *           Selects methods to which this rule applies.
-     *           Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     *           Selects a method to which this rule applies.
+     *           Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     *           details.
      *     @type string $get
-     *           Used for listing and getting information about resources.
+     *           Maps to HTTP GET. Used for listing and getting information about
+     *           resources.
      *     @type string $put
-     *           Used for updating a resource.
+     *           Maps to HTTP PUT. Used for replacing a resource.
      *     @type string $post
-     *           Used for creating a resource.
+     *           Maps to HTTP POST. Used for creating a resource or performing an action.
      *     @type string $delete
-     *           Used for deleting a resource.
+     *           Maps to HTTP DELETE. Used for deleting a resource.
      *     @type string $patch
-     *           Used for updating a resource.
+     *           Maps to HTTP PATCH. Used for updating a resource.
      *     @type \Google\Api\CustomHttpPattern $custom
      *           The custom pattern is used for specifying an HTTP method that is not
      *           included in the `pattern` field, such as HEAD, or "*" to leave the
      *           HTTP method unspecified for this rule. The wild-card rule is useful
      *           for services that provide content to Web (HTML) clients.
      *     @type string $body
-     *           The name of the request field whose value is mapped to the HTTP body, or
-     *           `*` for mapping all fields not captured by the path pattern to the HTTP
-     *           body. NOTE: the referred field must not be a repeated field and must be
-     *           present at the top-level of request message type.
+     *           The name of the request field whose value is mapped to the HTTP request
+     *           body, or `*` for mapping all request fields not captured by the path
+     *           pattern to the HTTP body, or omitted for not having any HTTP request body.
+     *           NOTE: the referred field must be present at the top-level of the request
+     *           message type.
      *     @type string $response_body
      *           Optional. The name of the response field whose value is mapped to the HTTP
-     *           body of response. Other response fields are ignored. When
-     *           not set, the response message will be used as HTTP body of response.
-     *     @type \Google\Api\HttpRule[]|\Google\Protobuf\Internal\RepeatedField $additional_bindings
+     *           response body. When omitted, the entire response message will be used
+     *           as the HTTP response body.
+     *           NOTE: The referred field must be present at the top-level of the response
+     *           message type.
+     *     @type array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $additional_bindings
      *           Additional HTTP bindings for the selector. Nested bindings must
      *           not contain an `additional_bindings` field themselves (that is,
      *           the nesting may only be one level deep).
@@ -265,8 +316,9 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * Selects methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Selects a method to which this rule applies.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      *
      * Generated from protobuf field string selector = 1;
      * @return string
@@ -276,8 +328,9 @@ public function getSelector()
         return $this->selector;
     }
     /**
-     * Selects methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Selects a method to which this rule applies.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      *
      * Generated from protobuf field string selector = 1;
      * @param string $var
@@ -290,7 +343,8 @@ public function setSelector($var)
         return $this;
     }
     /**
-     * Used for listing and getting information about resources.
+     * Maps to HTTP GET. Used for listing and getting information about
+     * resources.
      *
      * Generated from protobuf field string get = 2;
      * @return string
@@ -299,8 +353,13 @@ public function getGet()
     {
         return $this->readOneof(2);
     }
+    public function hasGet()
+    {
+        return $this->hasOneof(2);
+    }
     /**
-     * Used for listing and getting information about resources.
+     * Maps to HTTP GET. Used for listing and getting information about
+     * resources.
      *
      * Generated from protobuf field string get = 2;
      * @param string $var
@@ -313,7 +372,7 @@ public function setGet($var)
         return $this;
     }
     /**
-     * Used for updating a resource.
+     * Maps to HTTP PUT. Used for replacing a resource.
      *
      * Generated from protobuf field string put = 3;
      * @return string
@@ -322,8 +381,12 @@ public function getPut()
     {
         return $this->readOneof(3);
     }
+    public function hasPut()
+    {
+        return $this->hasOneof(3);
+    }
     /**
-     * Used for updating a resource.
+     * Maps to HTTP PUT. Used for replacing a resource.
      *
      * Generated from protobuf field string put = 3;
      * @param string $var
@@ -336,7 +399,7 @@ public function setPut($var)
         return $this;
     }
     /**
-     * Used for creating a resource.
+     * Maps to HTTP POST. Used for creating a resource or performing an action.
      *
      * Generated from protobuf field string post = 4;
      * @return string
@@ -345,8 +408,12 @@ public function getPost()
     {
         return $this->readOneof(4);
     }
+    public function hasPost()
+    {
+        return $this->hasOneof(4);
+    }
     /**
-     * Used for creating a resource.
+     * Maps to HTTP POST. Used for creating a resource or performing an action.
      *
      * Generated from protobuf field string post = 4;
      * @param string $var
@@ -359,7 +426,7 @@ public function setPost($var)
         return $this;
     }
     /**
-     * Used for deleting a resource.
+     * Maps to HTTP DELETE. Used for deleting a resource.
      *
      * Generated from protobuf field string delete = 5;
      * @return string
@@ -368,8 +435,12 @@ public function getDelete()
     {
         return $this->readOneof(5);
     }
+    public function hasDelete()
+    {
+        return $this->hasOneof(5);
+    }
     /**
-     * Used for deleting a resource.
+     * Maps to HTTP DELETE. Used for deleting a resource.
      *
      * Generated from protobuf field string delete = 5;
      * @param string $var
@@ -382,7 +453,7 @@ public function setDelete($var)
         return $this;
     }
     /**
-     * Used for updating a resource.
+     * Maps to HTTP PATCH. Used for updating a resource.
      *
      * Generated from protobuf field string patch = 6;
      * @return string
@@ -391,8 +462,12 @@ public function getPatch()
     {
         return $this->readOneof(6);
     }
+    public function hasPatch()
+    {
+        return $this->hasOneof(6);
+    }
     /**
-     * Used for updating a resource.
+     * Maps to HTTP PATCH. Used for updating a resource.
      *
      * Generated from protobuf field string patch = 6;
      * @param string $var
@@ -411,12 +486,16 @@ public function setPatch($var)
      * for services that provide content to Web (HTML) clients.
      *
      * Generated from protobuf field .google.api.CustomHttpPattern custom = 8;
-     * @return \Google\Api\CustomHttpPattern
+     * @return \Google\Api\CustomHttpPattern|null
      */
     public function getCustom()
     {
         return $this->readOneof(8);
     }
+    public function hasCustom()
+    {
+        return $this->hasOneof(8);
+    }
     /**
      * The custom pattern is used for specifying an HTTP method that is not
      * included in the `pattern` field, such as HEAD, or "*" to leave the
@@ -434,10 +513,11 @@ public function setCustom($var)
         return $this;
     }
     /**
-     * The name of the request field whose value is mapped to the HTTP body, or
-     * `*` for mapping all fields not captured by the path pattern to the HTTP
-     * body. NOTE: the referred field must not be a repeated field and must be
-     * present at the top-level of request message type.
+     * The name of the request field whose value is mapped to the HTTP request
+     * body, or `*` for mapping all request fields not captured by the path
+     * pattern to the HTTP body, or omitted for not having any HTTP request body.
+     * NOTE: the referred field must be present at the top-level of the request
+     * message type.
      *
      * Generated from protobuf field string body = 7;
      * @return string
@@ -447,10 +527,11 @@ public function getBody()
         return $this->body;
     }
     /**
-     * The name of the request field whose value is mapped to the HTTP body, or
-     * `*` for mapping all fields not captured by the path pattern to the HTTP
-     * body. NOTE: the referred field must not be a repeated field and must be
-     * present at the top-level of request message type.
+     * The name of the request field whose value is mapped to the HTTP request
+     * body, or `*` for mapping all request fields not captured by the path
+     * pattern to the HTTP body, or omitted for not having any HTTP request body.
+     * NOTE: the referred field must be present at the top-level of the request
+     * message type.
      *
      * Generated from protobuf field string body = 7;
      * @param string $var
@@ -464,8 +545,10 @@ public function setBody($var)
     }
     /**
      * Optional. The name of the response field whose value is mapped to the HTTP
-     * body of response. Other response fields are ignored. When
-     * not set, the response message will be used as HTTP body of response.
+     * response body. When omitted, the entire response message will be used
+     * as the HTTP response body.
+     * NOTE: The referred field must be present at the top-level of the response
+     * message type.
      *
      * Generated from protobuf field string response_body = 12;
      * @return string
@@ -476,8 +559,10 @@ public function getResponseBody()
     }
     /**
      * Optional. The name of the response field whose value is mapped to the HTTP
-     * body of response. Other response fields are ignored. When
-     * not set, the response message will be used as HTTP body of response.
+     * response body. When omitted, the entire response message will be used
+     * as the HTTP response body.
+     * NOTE: The referred field must be present at the top-level of the response
+     * message type.
      *
      * Generated from protobuf field string response_body = 12;
      * @param string $var
@@ -507,7 +592,7 @@ public function getAdditionalBindings()
      * the nesting may only be one level deep).
      *
      * Generated from protobuf field repeated .google.api.HttpRule additional_bindings = 11;
-     * @param \Google\Api\HttpRule[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setAdditionalBindings($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/JavaSettings.php b/vendor/prefixed/google/common-protos/src/Api/JavaSettings.php
new file mode 100644
index 000000000..37ac90f62
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/JavaSettings.php
@@ -0,0 +1,207 @@
+google.api.JavaSettings
+ */
+class JavaSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The package name to use in Java. Clobbers the java_package option
+     * set in the protobuf. This should be used **only** by APIs
+     * who have already set the language_settings.java.package_name" field
+     * in gapic.yaml. API teams should use the protobuf java_package option
+     * where possible.
+     * Example of a YAML configuration::
+     *  publishing:
+     *    java_settings:
+     *      library_package: com.google.cloud.pubsub.v1
+     *
+     * Generated from protobuf field string library_package = 1;
+     */
+    protected $library_package = '';
+    /**
+     * Configure the Java class name to use instead of the service's for its
+     * corresponding generated GAPIC client. Keys are fully-qualified
+     * service names as they appear in the protobuf (including the full
+     * the language_settings.java.interface_names" field in gapic.yaml. API
+     * teams should otherwise use the service name as it appears in the
+     * protobuf.
+     * Example of a YAML configuration::
+     *  publishing:
+     *    java_settings:
+     *      service_class_names:
+     *        - google.pubsub.v1.Publisher: TopicAdmin
+     *        - google.pubsub.v1.Subscriber: SubscriptionAdmin
+     *
+     * Generated from protobuf field map service_class_names = 2;
+     */
+    private $service_class_names;
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 3;
+     */
+    protected $common = null;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $library_package
+     *           The package name to use in Java. Clobbers the java_package option
+     *           set in the protobuf. This should be used **only** by APIs
+     *           who have already set the language_settings.java.package_name" field
+     *           in gapic.yaml. API teams should use the protobuf java_package option
+     *           where possible.
+     *           Example of a YAML configuration::
+     *            publishing:
+     *              java_settings:
+     *                library_package: com.google.cloud.pubsub.v1
+     *     @type array|\Google\Protobuf\Internal\MapField $service_class_names
+     *           Configure the Java class name to use instead of the service's for its
+     *           corresponding generated GAPIC client. Keys are fully-qualified
+     *           service names as they appear in the protobuf (including the full
+     *           the language_settings.java.interface_names" field in gapic.yaml. API
+     *           teams should otherwise use the service name as it appears in the
+     *           protobuf.
+     *           Example of a YAML configuration::
+     *            publishing:
+     *              java_settings:
+     *                service_class_names:
+     *                  - google.pubsub.v1.Publisher: TopicAdmin
+     *                  - google.pubsub.v1.Subscriber: SubscriptionAdmin
+     *     @type \Google\Api\CommonLanguageSettings $common
+     *           Some settings.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The package name to use in Java. Clobbers the java_package option
+     * set in the protobuf. This should be used **only** by APIs
+     * who have already set the language_settings.java.package_name" field
+     * in gapic.yaml. API teams should use the protobuf java_package option
+     * where possible.
+     * Example of a YAML configuration::
+     *  publishing:
+     *    java_settings:
+     *      library_package: com.google.cloud.pubsub.v1
+     *
+     * Generated from protobuf field string library_package = 1;
+     * @return string
+     */
+    public function getLibraryPackage()
+    {
+        return $this->library_package;
+    }
+    /**
+     * The package name to use in Java. Clobbers the java_package option
+     * set in the protobuf. This should be used **only** by APIs
+     * who have already set the language_settings.java.package_name" field
+     * in gapic.yaml. API teams should use the protobuf java_package option
+     * where possible.
+     * Example of a YAML configuration::
+     *  publishing:
+     *    java_settings:
+     *      library_package: com.google.cloud.pubsub.v1
+     *
+     * Generated from protobuf field string library_package = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setLibraryPackage($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->library_package = $var;
+        return $this;
+    }
+    /**
+     * Configure the Java class name to use instead of the service's for its
+     * corresponding generated GAPIC client. Keys are fully-qualified
+     * service names as they appear in the protobuf (including the full
+     * the language_settings.java.interface_names" field in gapic.yaml. API
+     * teams should otherwise use the service name as it appears in the
+     * protobuf.
+     * Example of a YAML configuration::
+     *  publishing:
+     *    java_settings:
+     *      service_class_names:
+     *        - google.pubsub.v1.Publisher: TopicAdmin
+     *        - google.pubsub.v1.Subscriber: SubscriptionAdmin
+     *
+     * Generated from protobuf field map service_class_names = 2;
+     * @return \Google\Protobuf\Internal\MapField
+     */
+    public function getServiceClassNames()
+    {
+        return $this->service_class_names;
+    }
+    /**
+     * Configure the Java class name to use instead of the service's for its
+     * corresponding generated GAPIC client. Keys are fully-qualified
+     * service names as they appear in the protobuf (including the full
+     * the language_settings.java.interface_names" field in gapic.yaml. API
+     * teams should otherwise use the service name as it appears in the
+     * protobuf.
+     * Example of a YAML configuration::
+     *  publishing:
+     *    java_settings:
+     *      service_class_names:
+     *        - google.pubsub.v1.Publisher: TopicAdmin
+     *        - google.pubsub.v1.Subscriber: SubscriptionAdmin
+     *
+     * Generated from protobuf field map service_class_names = 2;
+     * @param array|\Google\Protobuf\Internal\MapField $var
+     * @return $this
+     */
+    public function setServiceClassNames($var)
+    {
+        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->service_class_names = $arr;
+        return $this;
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 3;
+     * @return \Google\Api\CommonLanguageSettings|null
+     */
+    public function getCommon()
+    {
+        return $this->common;
+    }
+    public function hasCommon()
+    {
+        return isset($this->common);
+    }
+    public function clearCommon()
+    {
+        unset($this->common);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 3;
+     * @param \Google\Api\CommonLanguageSettings $var
+     * @return $this
+     */
+    public function setCommon($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\CommonLanguageSettings::class);
+        $this->common = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/JwtLocation.php b/vendor/prefixed/google/common-protos/src/Api/JwtLocation.php
new file mode 100644
index 000000000..14755593b
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/JwtLocation.php
@@ -0,0 +1,180 @@
+google.api.JwtLocation
+ */
+class JwtLocation extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The value prefix. The value format is "value_prefix{token}"
+     * Only applies to "in" header type. Must be empty for "in" query type.
+     * If not empty, the header value has to match (case sensitive) this prefix.
+     * If not matched, JWT will not be extracted. If matched, JWT will be
+     * extracted after the prefix is removed.
+     * For example, for "Authorization: Bearer {JWT}",
+     * value_prefix="Bearer " with a space at the end.
+     *
+     * Generated from protobuf field string value_prefix = 3;
+     */
+    protected $value_prefix = '';
+    protected $in;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $header
+     *           Specifies HTTP header name to extract JWT token.
+     *     @type string $query
+     *           Specifies URL query parameter name to extract JWT token.
+     *     @type string $cookie
+     *           Specifies cookie name to extract JWT token.
+     *     @type string $value_prefix
+     *           The value prefix. The value format is "value_prefix{token}"
+     *           Only applies to "in" header type. Must be empty for "in" query type.
+     *           If not empty, the header value has to match (case sensitive) this prefix.
+     *           If not matched, JWT will not be extracted. If matched, JWT will be
+     *           extracted after the prefix is removed.
+     *           For example, for "Authorization: Bearer {JWT}",
+     *           value_prefix="Bearer " with a space at the end.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Auth::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Specifies HTTP header name to extract JWT token.
+     *
+     * Generated from protobuf field string header = 1;
+     * @return string
+     */
+    public function getHeader()
+    {
+        return $this->readOneof(1);
+    }
+    public function hasHeader()
+    {
+        return $this->hasOneof(1);
+    }
+    /**
+     * Specifies HTTP header name to extract JWT token.
+     *
+     * Generated from protobuf field string header = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setHeader($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->writeOneof(1, $var);
+        return $this;
+    }
+    /**
+     * Specifies URL query parameter name to extract JWT token.
+     *
+     * Generated from protobuf field string query = 2;
+     * @return string
+     */
+    public function getQuery()
+    {
+        return $this->readOneof(2);
+    }
+    public function hasQuery()
+    {
+        return $this->hasOneof(2);
+    }
+    /**
+     * Specifies URL query parameter name to extract JWT token.
+     *
+     * Generated from protobuf field string query = 2;
+     * @param string $var
+     * @return $this
+     */
+    public function setQuery($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->writeOneof(2, $var);
+        return $this;
+    }
+    /**
+     * Specifies cookie name to extract JWT token.
+     *
+     * Generated from protobuf field string cookie = 4;
+     * @return string
+     */
+    public function getCookie()
+    {
+        return $this->readOneof(4);
+    }
+    public function hasCookie()
+    {
+        return $this->hasOneof(4);
+    }
+    /**
+     * Specifies cookie name to extract JWT token.
+     *
+     * Generated from protobuf field string cookie = 4;
+     * @param string $var
+     * @return $this
+     */
+    public function setCookie($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->writeOneof(4, $var);
+        return $this;
+    }
+    /**
+     * The value prefix. The value format is "value_prefix{token}"
+     * Only applies to "in" header type. Must be empty for "in" query type.
+     * If not empty, the header value has to match (case sensitive) this prefix.
+     * If not matched, JWT will not be extracted. If matched, JWT will be
+     * extracted after the prefix is removed.
+     * For example, for "Authorization: Bearer {JWT}",
+     * value_prefix="Bearer " with a space at the end.
+     *
+     * Generated from protobuf field string value_prefix = 3;
+     * @return string
+     */
+    public function getValuePrefix()
+    {
+        return $this->value_prefix;
+    }
+    /**
+     * The value prefix. The value format is "value_prefix{token}"
+     * Only applies to "in" header type. Must be empty for "in" query type.
+     * If not empty, the header value has to match (case sensitive) this prefix.
+     * If not matched, JWT will not be extracted. If matched, JWT will be
+     * extracted after the prefix is removed.
+     * For example, for "Authorization: Bearer {JWT}",
+     * value_prefix="Bearer " with a space at the end.
+     *
+     * Generated from protobuf field string value_prefix = 3;
+     * @param string $var
+     * @return $this
+     */
+    public function setValuePrefix($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->value_prefix = $var;
+        return $this;
+    }
+    /**
+     * @return string
+     */
+    public function getIn()
+    {
+        return $this->whichOneof("in");
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/LabelDescriptor.php b/vendor/prefixed/google/common-protos/src/Api/LabelDescriptor.php
index fff177623..fc38667d0 100644
--- a/vendor/prefixed/google/common-protos/src/Api/LabelDescriptor.php
+++ b/vendor/prefixed/google/common-protos/src/Api/LabelDescriptor.php
@@ -19,19 +19,19 @@ class LabelDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl
      *
      * Generated from protobuf field string key = 1;
      */
-    private $key = '';
+    protected $key = '';
     /**
      * The type of data that can be assigned to the label.
      *
      * Generated from protobuf field .google.api.LabelDescriptor.ValueType value_type = 2;
      */
-    private $value_type = 0;
+    protected $value_type = 0;
     /**
      * A human-readable description for the label.
      *
      * Generated from protobuf field string description = 3;
      */
-    private $description = '';
+    protected $description = '';
     /**
      * Constructor.
      *
@@ -93,7 +93,7 @@ public function getValueType()
      */
     public function setValueType($var)
     {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\LabelDescriptor_ValueType::class);
+        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\LabelDescriptor\ValueType::class);
         $this->value_type = $var;
         return $this;
     }
diff --git a/vendor/prefixed/google/common-protos/src/Api/LabelDescriptor/ValueType.php b/vendor/prefixed/google/common-protos/src/Api/LabelDescriptor/ValueType.php
index 67a5807f4..23bcfdb60 100644
--- a/vendor/prefixed/google/common-protos/src/Api/LabelDescriptor/ValueType.php
+++ b/vendor/prefixed/google/common-protos/src/Api/LabelDescriptor/ValueType.php
@@ -47,5 +47,3 @@ public static function value($name)
         return constant($const);
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ValueType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\LabelDescriptor_ValueType::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/LabelDescriptor_ValueType.php b/vendor/prefixed/google/common-protos/src/Api/LabelDescriptor_ValueType.php
deleted file mode 100644
index 7fb7c66c0..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/LabelDescriptor_ValueType.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.LaunchStage
  */
@@ -19,6 +19,18 @@ class LaunchStage
      * Generated from protobuf enum LAUNCH_STAGE_UNSPECIFIED = 0;
      */
     const LAUNCH_STAGE_UNSPECIFIED = 0;
+    /**
+     * The feature is not yet implemented. Users can not use it.
+     *
+     * Generated from protobuf enum UNIMPLEMENTED = 6;
+     */
+    const UNIMPLEMENTED = 6;
+    /**
+     * Prelaunch features are hidden from users and are only visible internally.
+     *
+     * Generated from protobuf enum PRELAUNCH = 7;
+     */
+    const PRELAUNCH = 7;
     /**
      * Early Access features are limited to a closed group of testers. To use
      * these features, you must sign up in advance and sign a Trusted Tester
@@ -34,7 +46,7 @@ class LaunchStage
      * for widespread use. By Alpha, all significant design issues are resolved
      * and we are in the process of verifying functionality. Alpha customers
      * need to apply for access, agree to applicable terms, and have their
-     * projects whitelisted. Alpha releases don’t have to be feature complete,
+     * projects allowlisted. Alpha releases don't have to be feature complete,
      * no SLAs are provided, and there are no technical support obligations, but
      * they will be far enough along that customers can actually use them in
      * test environments or for limited-use tests -- just like they would in
@@ -62,7 +74,7 @@ class LaunchStage
     const GA = 4;
     /**
      * Deprecated features are scheduled to be shut down and removed. For more
-     * information, see the “Deprecation Policy†section of our [Terms of
+     * information, see the "Deprecation Policy" section of our [Terms of
      * Service](https://cloud.google.com/terms/)
      * and the [Google Cloud Platform Subject to the Deprecation
      * Policy](https://cloud.google.com/terms/deprecation) documentation.
@@ -70,7 +82,7 @@ class LaunchStage
      * Generated from protobuf enum DEPRECATED = 5;
      */
     const DEPRECATED = 5;
-    private static $valueToName = [self::LAUNCH_STAGE_UNSPECIFIED => 'LAUNCH_STAGE_UNSPECIFIED', self::EARLY_ACCESS => 'EARLY_ACCESS', self::ALPHA => 'ALPHA', self::BETA => 'BETA', self::GA => 'GA', self::DEPRECATED => 'DEPRECATED'];
+    private static $valueToName = [self::LAUNCH_STAGE_UNSPECIFIED => 'LAUNCH_STAGE_UNSPECIFIED', self::UNIMPLEMENTED => 'UNIMPLEMENTED', self::PRELAUNCH => 'PRELAUNCH', self::EARLY_ACCESS => 'EARLY_ACCESS', self::ALPHA => 'ALPHA', self::BETA => 'BETA', self::GA => 'GA', self::DEPRECATED => 'DEPRECATED'];
     public static function name($value)
     {
         if (!isset(self::$valueToName[$value])) {
diff --git a/vendor/prefixed/google/common-protos/src/Api/LogDescriptor.php b/vendor/prefixed/google/common-protos/src/Api/LogDescriptor.php
index ed694d63f..9a12ad9f7 100644
--- a/vendor/prefixed/google/common-protos/src/Api/LogDescriptor.php
+++ b/vendor/prefixed/google/common-protos/src/Api/LogDescriptor.php
@@ -28,7 +28,7 @@ class LogDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *
      * Generated from protobuf field string name = 1;
      */
-    private $name = '';
+    protected $name = '';
     /**
      * The set of labels that are available to describe a specific log entry.
      * Runtime requests that contain labels not specified here are
@@ -43,14 +43,14 @@ class LogDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *
      * Generated from protobuf field string description = 3;
      */
-    private $description = '';
+    protected $description = '';
     /**
      * The human-readable name for this log. This information appears on
      * the user interface and should be concise.
      *
      * Generated from protobuf field string display_name = 4;
      */
-    private $display_name = '';
+    protected $display_name = '';
     /**
      * Constructor.
      *
@@ -62,7 +62,7 @@ class LogDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *           include the following characters: upper- and lower-case alphanumeric
      *           characters [A-Za-z0-9], and punctuation characters including
      *           slash, underscore, hyphen, period [/_-.].
-     *     @type \Google\Api\LabelDescriptor[]|\Google\Protobuf\Internal\RepeatedField $labels
+     *     @type array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $labels
      *           The set of labels that are available to describe a specific log entry.
      *           Runtime requests that contain labels not specified here are
      *           considered invalid.
@@ -126,7 +126,7 @@ public function getLabels()
      * considered invalid.
      *
      * Generated from protobuf field repeated .google.api.LabelDescriptor labels = 2;
-     * @param \Google\Api\LabelDescriptor[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setLabels($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/Logging.php b/vendor/prefixed/google/common-protos/src/Api/Logging.php
index a59c2c75a..f29a64260 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Logging.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Logging.php
@@ -64,12 +64,12 @@ class Logging extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Api\Logging\LoggingDestination[]|\Google\Protobuf\Internal\RepeatedField $producer_destinations
+     *     @type array<\Google\Api\Logging\LoggingDestination>|\Google\Protobuf\Internal\RepeatedField $producer_destinations
      *           Logging configurations for sending logs to the producer project.
      *           There can be multiple producer destinations, each one must have a
      *           different monitored resource type. A log can be used in at most
      *           one producer destination.
-     *     @type \Google\Api\Logging\LoggingDestination[]|\Google\Protobuf\Internal\RepeatedField $consumer_destinations
+     *     @type array<\Google\Api\Logging\LoggingDestination>|\Google\Protobuf\Internal\RepeatedField $consumer_destinations
      *           Logging configurations for sending logs to the consumer project.
      *           There can be multiple consumer destinations, each one must have a
      *           different monitored resource type. A log can be used in at most
@@ -101,7 +101,7 @@ public function getProducerDestinations()
      * one producer destination.
      *
      * Generated from protobuf field repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-     * @param \Google\Api\Logging\LoggingDestination[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\Logging\LoggingDestination>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setProducerDestinations($var)
@@ -130,7 +130,7 @@ public function getConsumerDestinations()
      * one consumer destination.
      *
      * Generated from protobuf field repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-     * @param \Google\Api\Logging\LoggingDestination[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\Logging\LoggingDestination>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setConsumerDestinations($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/Logging/LoggingDestination.php b/vendor/prefixed/google/common-protos/src/Api/Logging/LoggingDestination.php
index 7f3932d43..57cc3ac04 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Logging/LoggingDestination.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Logging/LoggingDestination.php
@@ -17,16 +17,17 @@ class LoggingDestination extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go
 {
     /**
      * The monitored resource type. The type must be defined in the
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      *
      * Generated from protobuf field string monitored_resource = 3;
      */
-    private $monitored_resource = '';
+    protected $monitored_resource = '';
     /**
      * Names of the logs to be sent to this destination. Each name must
-     * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-     * not a domain scoped name, it will be automatically prefixed with
-     * the service name followed by "/".
+     * be defined in the [Service.logs][google.api.Service.logs] section. If the
+     * log name is not a domain scoped name, it will be automatically prefixed
+     * with the service name followed by "/".
      *
      * Generated from protobuf field repeated string logs = 1;
      */
@@ -39,12 +40,13 @@ class LoggingDestination extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go
      *
      *     @type string $monitored_resource
      *           The monitored resource type. The type must be defined in the
-     *           [Service.monitored_resources][google.api.Service.monitored_resources] section.
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $logs
+     *           [Service.monitored_resources][google.api.Service.monitored_resources]
+     *           section.
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $logs
      *           Names of the logs to be sent to this destination. Each name must
-     *           be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-     *           not a domain scoped name, it will be automatically prefixed with
-     *           the service name followed by "/".
+     *           be defined in the [Service.logs][google.api.Service.logs] section. If the
+     *           log name is not a domain scoped name, it will be automatically prefixed
+     *           with the service name followed by "/".
      * }
      */
     public function __construct($data = NULL)
@@ -54,7 +56,8 @@ public function __construct($data = NULL)
     }
     /**
      * The monitored resource type. The type must be defined in the
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      *
      * Generated from protobuf field string monitored_resource = 3;
      * @return string
@@ -65,7 +68,8 @@ public function getMonitoredResource()
     }
     /**
      * The monitored resource type. The type must be defined in the
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      *
      * Generated from protobuf field string monitored_resource = 3;
      * @param string $var
@@ -79,9 +83,9 @@ public function setMonitoredResource($var)
     }
     /**
      * Names of the logs to be sent to this destination. Each name must
-     * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-     * not a domain scoped name, it will be automatically prefixed with
-     * the service name followed by "/".
+     * be defined in the [Service.logs][google.api.Service.logs] section. If the
+     * log name is not a domain scoped name, it will be automatically prefixed
+     * with the service name followed by "/".
      *
      * Generated from protobuf field repeated string logs = 1;
      * @return \Google\Protobuf\Internal\RepeatedField
@@ -92,12 +96,12 @@ public function getLogs()
     }
     /**
      * Names of the logs to be sent to this destination. Each name must
-     * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
-     * not a domain scoped name, it will be automatically prefixed with
-     * the service name followed by "/".
+     * be defined in the [Service.logs][google.api.Service.logs] section. If the
+     * log name is not a domain scoped name, it will be automatically prefixed
+     * with the service name followed by "/".
      *
      * Generated from protobuf field repeated string logs = 1;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setLogs($var)
@@ -107,5 +111,3 @@ public function setLogs($var)
         return $this;
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(LoggingDestination::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Logging_LoggingDestination::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Logging_LoggingDestination.php b/vendor/prefixed/google/common-protos/src/Api/Logging_LoggingDestination.php
deleted file mode 100644
index 2e56a3566..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Logging_LoggingDestination.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.MethodPolicy
+ */
+class MethodPolicy extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Selects a method to which these policies should be enforced, for example,
+     * "google.pubsub.v1.Subscriber.CreateSubscription".
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
+     * NOTE: This field must not be set in the proto annotation. It will be
+     * automatically filled by the service config compiler .
+     *
+     * Generated from protobuf field string selector = 9;
+     */
+    protected $selector = '';
+    /**
+     * Policies that are applicable to the request message.
+     *
+     * Generated from protobuf field repeated .google.api.FieldPolicy request_policies = 2;
+     */
+    private $request_policies;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $selector
+     *           Selects a method to which these policies should be enforced, for example,
+     *           "google.pubsub.v1.Subscriber.CreateSubscription".
+     *           Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     *           details.
+     *           NOTE: This field must not be set in the proto annotation. It will be
+     *           automatically filled by the service config compiler .
+     *     @type array<\Google\Api\FieldPolicy>|\Google\Protobuf\Internal\RepeatedField $request_policies
+     *           Policies that are applicable to the request message.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Policy::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Selects a method to which these policies should be enforced, for example,
+     * "google.pubsub.v1.Subscriber.CreateSubscription".
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
+     * NOTE: This field must not be set in the proto annotation. It will be
+     * automatically filled by the service config compiler .
+     *
+     * Generated from protobuf field string selector = 9;
+     * @return string
+     */
+    public function getSelector()
+    {
+        return $this->selector;
+    }
+    /**
+     * Selects a method to which these policies should be enforced, for example,
+     * "google.pubsub.v1.Subscriber.CreateSubscription".
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
+     * NOTE: This field must not be set in the proto annotation. It will be
+     * automatically filled by the service config compiler .
+     *
+     * Generated from protobuf field string selector = 9;
+     * @param string $var
+     * @return $this
+     */
+    public function setSelector($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->selector = $var;
+        return $this;
+    }
+    /**
+     * Policies that are applicable to the request message.
+     *
+     * Generated from protobuf field repeated .google.api.FieldPolicy request_policies = 2;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getRequestPolicies()
+    {
+        return $this->request_policies;
+    }
+    /**
+     * Policies that are applicable to the request message.
+     *
+     * Generated from protobuf field repeated .google.api.FieldPolicy request_policies = 2;
+     * @param array<\Google\Api\FieldPolicy>|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setRequestPolicies($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\FieldPolicy::class);
+        $this->request_policies = $arr;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/MethodSettings.php b/vendor/prefixed/google/common-protos/src/Api/MethodSettings.php
new file mode 100644
index 000000000..c9bb21caf
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/MethodSettings.php
@@ -0,0 +1,231 @@
+google.api.MethodSettings
+ */
+class MethodSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The fully qualified name of the method, for which the options below apply.
+     * This is used to find the method to apply the options.
+     * Example:
+     *    publishing:
+     *      method_settings:
+     *      - selector: google.storage.control.v2.StorageControl.CreateFolder
+     *        # method settings for CreateFolder...
+     *
+     * Generated from protobuf field string selector = 1;
+     */
+    protected $selector = '';
+    /**
+     * Describes settings to use for long-running operations when generating
+     * API methods for RPCs. Complements RPCs that use the annotations in
+     * google/longrunning/operations.proto.
+     * Example of a YAML configuration::
+     *    publishing:
+     *      method_settings:
+     *      - selector: google.cloud.speech.v2.Speech.BatchRecognize
+     *        long_running:
+     *          initial_poll_delay: 60s # 1 minute
+     *          poll_delay_multiplier: 1.5
+     *          max_poll_delay: 360s # 6 minutes
+     *          total_poll_timeout: 54000s # 90 minutes
+     *
+     * Generated from protobuf field .google.api.MethodSettings.LongRunning long_running = 2;
+     */
+    protected $long_running = null;
+    /**
+     * List of top-level fields of the request message, that should be
+     * automatically populated by the client libraries based on their
+     * (google.api.field_info).format. Currently supported format: UUID4.
+     * Example of a YAML configuration:
+     *    publishing:
+     *      method_settings:
+     *      - selector: google.example.v1.ExampleService.CreateExample
+     *        auto_populated_fields:
+     *        - request_id
+     *
+     * Generated from protobuf field repeated string auto_populated_fields = 3;
+     */
+    private $auto_populated_fields;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $selector
+     *           The fully qualified name of the method, for which the options below apply.
+     *           This is used to find the method to apply the options.
+     *           Example:
+     *              publishing:
+     *                method_settings:
+     *                - selector: google.storage.control.v2.StorageControl.CreateFolder
+     *                  # method settings for CreateFolder...
+     *     @type \Google\Api\MethodSettings\LongRunning $long_running
+     *           Describes settings to use for long-running operations when generating
+     *           API methods for RPCs. Complements RPCs that use the annotations in
+     *           google/longrunning/operations.proto.
+     *           Example of a YAML configuration::
+     *              publishing:
+     *                method_settings:
+     *                - selector: google.cloud.speech.v2.Speech.BatchRecognize
+     *                  long_running:
+     *                    initial_poll_delay: 60s # 1 minute
+     *                    poll_delay_multiplier: 1.5
+     *                    max_poll_delay: 360s # 6 minutes
+     *                    total_poll_timeout: 54000s # 90 minutes
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $auto_populated_fields
+     *           List of top-level fields of the request message, that should be
+     *           automatically populated by the client libraries based on their
+     *           (google.api.field_info).format. Currently supported format: UUID4.
+     *           Example of a YAML configuration:
+     *              publishing:
+     *                method_settings:
+     *                - selector: google.example.v1.ExampleService.CreateExample
+     *                  auto_populated_fields:
+     *                  - request_id
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The fully qualified name of the method, for which the options below apply.
+     * This is used to find the method to apply the options.
+     * Example:
+     *    publishing:
+     *      method_settings:
+     *      - selector: google.storage.control.v2.StorageControl.CreateFolder
+     *        # method settings for CreateFolder...
+     *
+     * Generated from protobuf field string selector = 1;
+     * @return string
+     */
+    public function getSelector()
+    {
+        return $this->selector;
+    }
+    /**
+     * The fully qualified name of the method, for which the options below apply.
+     * This is used to find the method to apply the options.
+     * Example:
+     *    publishing:
+     *      method_settings:
+     *      - selector: google.storage.control.v2.StorageControl.CreateFolder
+     *        # method settings for CreateFolder...
+     *
+     * Generated from protobuf field string selector = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setSelector($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->selector = $var;
+        return $this;
+    }
+    /**
+     * Describes settings to use for long-running operations when generating
+     * API methods for RPCs. Complements RPCs that use the annotations in
+     * google/longrunning/operations.proto.
+     * Example of a YAML configuration::
+     *    publishing:
+     *      method_settings:
+     *      - selector: google.cloud.speech.v2.Speech.BatchRecognize
+     *        long_running:
+     *          initial_poll_delay: 60s # 1 minute
+     *          poll_delay_multiplier: 1.5
+     *          max_poll_delay: 360s # 6 minutes
+     *          total_poll_timeout: 54000s # 90 minutes
+     *
+     * Generated from protobuf field .google.api.MethodSettings.LongRunning long_running = 2;
+     * @return \Google\Api\MethodSettings\LongRunning|null
+     */
+    public function getLongRunning()
+    {
+        return $this->long_running;
+    }
+    public function hasLongRunning()
+    {
+        return isset($this->long_running);
+    }
+    public function clearLongRunning()
+    {
+        unset($this->long_running);
+    }
+    /**
+     * Describes settings to use for long-running operations when generating
+     * API methods for RPCs. Complements RPCs that use the annotations in
+     * google/longrunning/operations.proto.
+     * Example of a YAML configuration::
+     *    publishing:
+     *      method_settings:
+     *      - selector: google.cloud.speech.v2.Speech.BatchRecognize
+     *        long_running:
+     *          initial_poll_delay: 60s # 1 minute
+     *          poll_delay_multiplier: 1.5
+     *          max_poll_delay: 360s # 6 minutes
+     *          total_poll_timeout: 54000s # 90 minutes
+     *
+     * Generated from protobuf field .google.api.MethodSettings.LongRunning long_running = 2;
+     * @param \Google\Api\MethodSettings\LongRunning $var
+     * @return $this
+     */
+    public function setLongRunning($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\MethodSettings\LongRunning::class);
+        $this->long_running = $var;
+        return $this;
+    }
+    /**
+     * List of top-level fields of the request message, that should be
+     * automatically populated by the client libraries based on their
+     * (google.api.field_info).format. Currently supported format: UUID4.
+     * Example of a YAML configuration:
+     *    publishing:
+     *      method_settings:
+     *      - selector: google.example.v1.ExampleService.CreateExample
+     *        auto_populated_fields:
+     *        - request_id
+     *
+     * Generated from protobuf field repeated string auto_populated_fields = 3;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getAutoPopulatedFields()
+    {
+        return $this->auto_populated_fields;
+    }
+    /**
+     * List of top-level fields of the request message, that should be
+     * automatically populated by the client libraries based on their
+     * (google.api.field_info).format. Currently supported format: UUID4.
+     * Example of a YAML configuration:
+     *    publishing:
+     *      method_settings:
+     *      - selector: google.example.v1.ExampleService.CreateExample
+     *        auto_populated_fields:
+     *        - request_id
+     *
+     * Generated from protobuf field repeated string auto_populated_fields = 3;
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setAutoPopulatedFields($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->auto_populated_fields = $arr;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/MethodSettings/LongRunning.php b/vendor/prefixed/google/common-protos/src/Api/MethodSettings/LongRunning.php
new file mode 100644
index 000000000..be1081eac
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/MethodSettings/LongRunning.php
@@ -0,0 +1,202 @@
+google.api.MethodSettings.LongRunning
+ */
+class LongRunning extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Initial delay after which the first poll request will be made.
+     * Default value: 5 seconds.
+     *
+     * Generated from protobuf field .google.protobuf.Duration initial_poll_delay = 1;
+     */
+    protected $initial_poll_delay = null;
+    /**
+     * Multiplier to gradually increase delay between subsequent polls until it
+     * reaches max_poll_delay.
+     * Default value: 1.5.
+     *
+     * Generated from protobuf field float poll_delay_multiplier = 2;
+     */
+    protected $poll_delay_multiplier = 0.0;
+    /**
+     * Maximum time between two subsequent poll requests.
+     * Default value: 45 seconds.
+     *
+     * Generated from protobuf field .google.protobuf.Duration max_poll_delay = 3;
+     */
+    protected $max_poll_delay = null;
+    /**
+     * Total polling timeout.
+     * Default value: 5 minutes.
+     *
+     * Generated from protobuf field .google.protobuf.Duration total_poll_timeout = 4;
+     */
+    protected $total_poll_timeout = null;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type \Google\Protobuf\Duration $initial_poll_delay
+     *           Initial delay after which the first poll request will be made.
+     *           Default value: 5 seconds.
+     *     @type float $poll_delay_multiplier
+     *           Multiplier to gradually increase delay between subsequent polls until it
+     *           reaches max_poll_delay.
+     *           Default value: 1.5.
+     *     @type \Google\Protobuf\Duration $max_poll_delay
+     *           Maximum time between two subsequent poll requests.
+     *           Default value: 45 seconds.
+     *     @type \Google\Protobuf\Duration $total_poll_timeout
+     *           Total polling timeout.
+     *           Default value: 5 minutes.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Initial delay after which the first poll request will be made.
+     * Default value: 5 seconds.
+     *
+     * Generated from protobuf field .google.protobuf.Duration initial_poll_delay = 1;
+     * @return \Google\Protobuf\Duration|null
+     */
+    public function getInitialPollDelay()
+    {
+        return $this->initial_poll_delay;
+    }
+    public function hasInitialPollDelay()
+    {
+        return isset($this->initial_poll_delay);
+    }
+    public function clearInitialPollDelay()
+    {
+        unset($this->initial_poll_delay);
+    }
+    /**
+     * Initial delay after which the first poll request will be made.
+     * Default value: 5 seconds.
+     *
+     * Generated from protobuf field .google.protobuf.Duration initial_poll_delay = 1;
+     * @param \Google\Protobuf\Duration $var
+     * @return $this
+     */
+    public function setInitialPollDelay($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Duration::class);
+        $this->initial_poll_delay = $var;
+        return $this;
+    }
+    /**
+     * Multiplier to gradually increase delay between subsequent polls until it
+     * reaches max_poll_delay.
+     * Default value: 1.5.
+     *
+     * Generated from protobuf field float poll_delay_multiplier = 2;
+     * @return float
+     */
+    public function getPollDelayMultiplier()
+    {
+        return $this->poll_delay_multiplier;
+    }
+    /**
+     * Multiplier to gradually increase delay between subsequent polls until it
+     * reaches max_poll_delay.
+     * Default value: 1.5.
+     *
+     * Generated from protobuf field float poll_delay_multiplier = 2;
+     * @param float $var
+     * @return $this
+     */
+    public function setPollDelayMultiplier($var)
+    {
+        GPBUtil::checkFloat($var);
+        $this->poll_delay_multiplier = $var;
+        return $this;
+    }
+    /**
+     * Maximum time between two subsequent poll requests.
+     * Default value: 45 seconds.
+     *
+     * Generated from protobuf field .google.protobuf.Duration max_poll_delay = 3;
+     * @return \Google\Protobuf\Duration|null
+     */
+    public function getMaxPollDelay()
+    {
+        return $this->max_poll_delay;
+    }
+    public function hasMaxPollDelay()
+    {
+        return isset($this->max_poll_delay);
+    }
+    public function clearMaxPollDelay()
+    {
+        unset($this->max_poll_delay);
+    }
+    /**
+     * Maximum time between two subsequent poll requests.
+     * Default value: 45 seconds.
+     *
+     * Generated from protobuf field .google.protobuf.Duration max_poll_delay = 3;
+     * @param \Google\Protobuf\Duration $var
+     * @return $this
+     */
+    public function setMaxPollDelay($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Duration::class);
+        $this->max_poll_delay = $var;
+        return $this;
+    }
+    /**
+     * Total polling timeout.
+     * Default value: 5 minutes.
+     *
+     * Generated from protobuf field .google.protobuf.Duration total_poll_timeout = 4;
+     * @return \Google\Protobuf\Duration|null
+     */
+    public function getTotalPollTimeout()
+    {
+        return $this->total_poll_timeout;
+    }
+    public function hasTotalPollTimeout()
+    {
+        return isset($this->total_poll_timeout);
+    }
+    public function clearTotalPollTimeout()
+    {
+        unset($this->total_poll_timeout);
+    }
+    /**
+     * Total polling timeout.
+     * Default value: 5 minutes.
+     *
+     * Generated from protobuf field .google.protobuf.Duration total_poll_timeout = 4;
+     * @param \Google\Protobuf\Duration $var
+     * @return $this
+     */
+    public function setTotalPollTimeout($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Duration::class);
+        $this->total_poll_timeout = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Metric.php b/vendor/prefixed/google/common-protos/src/Api/Metric.php
index 96414066b..519168ec2 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Metric.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Metric.php
@@ -16,12 +16,13 @@
 class Metric extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-     * For example, `custom.googleapis.com/invoice/paid/amount`.
+     * An existing metric type, see
+     * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+     * `custom.googleapis.com/invoice/paid/amount`.
      *
      * Generated from protobuf field string type = 3;
      */
-    private $type = '';
+    protected $type = '';
     /**
      * The set of label values that uniquely identify this metric. All
      * labels listed in the `MetricDescriptor` must be assigned values.
@@ -36,8 +37,9 @@ class Metric extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu
      *     Optional. Data for populating the Message object.
      *
      *     @type string $type
-     *           An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-     *           For example, `custom.googleapis.com/invoice/paid/amount`.
+     *           An existing metric type, see
+     *           [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+     *           `custom.googleapis.com/invoice/paid/amount`.
      *     @type array|\Google\Protobuf\Internal\MapField $labels
      *           The set of label values that uniquely identify this metric. All
      *           labels listed in the `MetricDescriptor` must be assigned values.
@@ -49,8 +51,9 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-     * For example, `custom.googleapis.com/invoice/paid/amount`.
+     * An existing metric type, see
+     * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+     * `custom.googleapis.com/invoice/paid/amount`.
      *
      * Generated from protobuf field string type = 3;
      * @return string
@@ -60,8 +63,9 @@ public function getType()
         return $this->type;
     }
     /**
-     * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
-     * For example, `custom.googleapis.com/invoice/paid/amount`.
+     * An existing metric type, see
+     * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example,
+     * `custom.googleapis.com/invoice/paid/amount`.
      *
      * Generated from protobuf field string type = 3;
      * @param string $var
diff --git a/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor.php b/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor.php
index c1d91314e..de6a75a4b 100644
--- a/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor.php
+++ b/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor.php
@@ -21,11 +21,11 @@ class MetricDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *
      * Generated from protobuf field string name = 1;
      */
-    private $name = '';
+    protected $name = '';
     /**
      * The metric type, including its DNS name prefix. The type is not
-     * URL-encoded.  All user-defined metric types have the DNS name
-     * `custom.googleapis.com` or `external.googleapis.com`.  Metric types should
+     * URL-encoded. All user-defined metric types have the DNS name
+     * `custom.googleapis.com` or `external.googleapis.com`. Metric types should
      * use a natural hierarchical grouping. For example:
      *     "custom.googleapis.com/invoice/paid/amount"
      *     "external.googleapis.com/prometheus/up"
@@ -33,7 +33,7 @@ class MetricDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *
      * Generated from protobuf field string type = 8;
      */
-    private $type = '';
+    protected $type = '';
     /**
      * The set of labels that can be used to describe a specific
      * instance of this metric type. For example, the
@@ -51,33 +51,33 @@ class MetricDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *
      * Generated from protobuf field .google.api.MetricDescriptor.MetricKind metric_kind = 3;
      */
-    private $metric_kind = 0;
+    protected $metric_kind = 0;
     /**
      * Whether the measurement is an integer, a floating-point number, etc.
      * Some combinations of `metric_kind` and `value_type` might not be supported.
      *
      * Generated from protobuf field .google.api.MetricDescriptor.ValueType value_type = 4;
      */
-    private $value_type = 0;
+    protected $value_type = 0;
     /**
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
      * defines the representation of the stored metric values.
-     * Different systems may scale the values to be more easily displayed (so a
-     * value of `0.02KBy` _might_ be displayed as `20By`, and a value of
-     * `3523KBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
-     * `KBy`, then the value of the metric is always in thousands of bytes, no
-     * matter how it may be displayed..
+     * Different systems might scale the values to be more easily displayed (so a
+     * value of `0.02kBy` _might_ be displayed as `20By`, and a value of
+     * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
+     * `kBy`, then the value of the metric is always in thousands of bytes, no
+     * matter how it might be displayed.
      * If you want a custom metric to record the exact number of CPU-seconds used
      * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is
      * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005
      * CPU-seconds, then the value is written as `12005`.
-     * Alternatively, if you want a custome metric to record data in a more
+     * Alternatively, if you want a custom metric to record data in a more
      * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
      * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`),
      * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`).
      * The supported units are a subset of [The Unified Code for Units of
-     * Measure](http://unitsofmeasure.org/ucum.html) standard:
+     * Measure](https://unitsofmeasure.org/ucum.html) standard:
      * **Basic units (UNIT)**
      * * `bit`   bit
      * * `By`    byte
@@ -85,6 +85,7 @@ class MetricDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      * * `min`   minute
      * * `h`     hour
      * * `d`     day
+     * * `1`     dimensionless
      * **Prefixes (PREFIX)**
      * * `k`     kilo    (10^3)
      * * `M`     mega    (10^6)
@@ -145,13 +146,13 @@ class MetricDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *
      * Generated from protobuf field string unit = 5;
      */
-    private $unit = '';
+    protected $unit = '';
     /**
      * A detailed description of the metric, which can be used in documentation.
      *
      * Generated from protobuf field string description = 6;
      */
-    private $description = '';
+    protected $description = '';
     /**
      * A concise name for the metric, which can be displayed in user interfaces.
      * Use sentence case without an ending period, for example "Request count".
@@ -160,19 +161,30 @@ class MetricDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *
      * Generated from protobuf field string display_name = 7;
      */
-    private $display_name = '';
+    protected $display_name = '';
     /**
      * Optional. Metadata which can be used to guide usage of the metric.
      *
      * Generated from protobuf field .google.api.MetricDescriptor.MetricDescriptorMetadata metadata = 10;
      */
-    private $metadata = null;
+    protected $metadata = null;
     /**
      * Optional. The launch stage of the metric definition.
      *
      * Generated from protobuf field .google.api.LaunchStage launch_stage = 12;
      */
-    private $launch_stage = 0;
+    protected $launch_stage = 0;
+    /**
+     * Read-only. If present, then a [time
+     * series][google.monitoring.v3.TimeSeries], which is identified partially by
+     * a metric type and a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     * is associated with this metric type can only be associated with one of the
+     * monitored resource types listed here.
+     *
+     * Generated from protobuf field repeated string monitored_resource_types = 13;
+     */
+    private $monitored_resource_types;
     /**
      * Constructor.
      *
@@ -183,13 +195,13 @@ class MetricDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *           The resource name of the metric descriptor.
      *     @type string $type
      *           The metric type, including its DNS name prefix. The type is not
-     *           URL-encoded.  All user-defined metric types have the DNS name
-     *           `custom.googleapis.com` or `external.googleapis.com`.  Metric types should
+     *           URL-encoded. All user-defined metric types have the DNS name
+     *           `custom.googleapis.com` or `external.googleapis.com`. Metric types should
      *           use a natural hierarchical grouping. For example:
      *               "custom.googleapis.com/invoice/paid/amount"
      *               "external.googleapis.com/prometheus/up"
      *               "appengine.googleapis.com/http/server/response_latencies"
-     *     @type \Google\Api\LabelDescriptor[]|\Google\Protobuf\Internal\RepeatedField $labels
+     *     @type array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $labels
      *           The set of labels that can be used to describe a specific
      *           instance of this metric type. For example, the
      *           `appengine.googleapis.com/http/server/response_latencies` metric
@@ -206,21 +218,21 @@ class MetricDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *           The units in which the metric value is reported. It is only applicable
      *           if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
      *           defines the representation of the stored metric values.
-     *           Different systems may scale the values to be more easily displayed (so a
-     *           value of `0.02KBy` _might_ be displayed as `20By`, and a value of
-     *           `3523KBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
-     *           `KBy`, then the value of the metric is always in thousands of bytes, no
-     *           matter how it may be displayed..
+     *           Different systems might scale the values to be more easily displayed (so a
+     *           value of `0.02kBy` _might_ be displayed as `20By`, and a value of
+     *           `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
+     *           `kBy`, then the value of the metric is always in thousands of bytes, no
+     *           matter how it might be displayed.
      *           If you want a custom metric to record the exact number of CPU-seconds used
      *           by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is
      *           `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005
      *           CPU-seconds, then the value is written as `12005`.
-     *           Alternatively, if you want a custome metric to record data in a more
+     *           Alternatively, if you want a custom metric to record data in a more
      *           granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
      *           `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`),
      *           or use `Kis{CPU}` and write `11.723` (which is `12005/1024`).
      *           The supported units are a subset of [The Unified Code for Units of
-     *           Measure](http://unitsofmeasure.org/ucum.html) standard:
+     *           Measure](https://unitsofmeasure.org/ucum.html) standard:
      *           **Basic units (UNIT)**
      *           * `bit`   bit
      *           * `By`    byte
@@ -228,6 +240,7 @@ class MetricDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *           * `min`   minute
      *           * `h`     hour
      *           * `d`     day
+     *           * `1`     dimensionless
      *           **Prefixes (PREFIX)**
      *           * `k`     kilo    (10^3)
      *           * `M`     mega    (10^6)
@@ -296,6 +309,13 @@ class MetricDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *           Optional. Metadata which can be used to guide usage of the metric.
      *     @type int $launch_stage
      *           Optional. The launch stage of the metric definition.
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $monitored_resource_types
+     *           Read-only. If present, then a [time
+     *           series][google.monitoring.v3.TimeSeries], which is identified partially by
+     *           a metric type and a
+     *           [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     *           is associated with this metric type can only be associated with one of the
+     *           monitored resource types listed here.
      * }
      */
     public function __construct($data = NULL)
@@ -328,8 +348,8 @@ public function setName($var)
     }
     /**
      * The metric type, including its DNS name prefix. The type is not
-     * URL-encoded.  All user-defined metric types have the DNS name
-     * `custom.googleapis.com` or `external.googleapis.com`.  Metric types should
+     * URL-encoded. All user-defined metric types have the DNS name
+     * `custom.googleapis.com` or `external.googleapis.com`. Metric types should
      * use a natural hierarchical grouping. For example:
      *     "custom.googleapis.com/invoice/paid/amount"
      *     "external.googleapis.com/prometheus/up"
@@ -344,8 +364,8 @@ public function getType()
     }
     /**
      * The metric type, including its DNS name prefix. The type is not
-     * URL-encoded.  All user-defined metric types have the DNS name
-     * `custom.googleapis.com` or `external.googleapis.com`.  Metric types should
+     * URL-encoded. All user-defined metric types have the DNS name
+     * `custom.googleapis.com` or `external.googleapis.com`. Metric types should
      * use a natural hierarchical grouping. For example:
      *     "custom.googleapis.com/invoice/paid/amount"
      *     "external.googleapis.com/prometheus/up"
@@ -385,7 +405,7 @@ public function getLabels()
      * for responses that failed.
      *
      * Generated from protobuf field repeated .google.api.LabelDescriptor labels = 2;
-     * @param \Google\Api\LabelDescriptor[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setLabels($var)
@@ -415,7 +435,7 @@ public function getMetricKind()
      */
     public function setMetricKind($var)
     {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\MetricDescriptor_MetricKind::class);
+        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\MetricDescriptor\MetricKind::class);
         $this->metric_kind = $var;
         return $this;
     }
@@ -440,7 +460,7 @@ public function getValueType()
      */
     public function setValueType($var)
     {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\MetricDescriptor_ValueType::class);
+        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\MetricDescriptor\ValueType::class);
         $this->value_type = $var;
         return $this;
     }
@@ -448,21 +468,21 @@ public function setValueType($var)
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
      * defines the representation of the stored metric values.
-     * Different systems may scale the values to be more easily displayed (so a
-     * value of `0.02KBy` _might_ be displayed as `20By`, and a value of
-     * `3523KBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
-     * `KBy`, then the value of the metric is always in thousands of bytes, no
-     * matter how it may be displayed..
+     * Different systems might scale the values to be more easily displayed (so a
+     * value of `0.02kBy` _might_ be displayed as `20By`, and a value of
+     * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
+     * `kBy`, then the value of the metric is always in thousands of bytes, no
+     * matter how it might be displayed.
      * If you want a custom metric to record the exact number of CPU-seconds used
      * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is
      * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005
      * CPU-seconds, then the value is written as `12005`.
-     * Alternatively, if you want a custome metric to record data in a more
+     * Alternatively, if you want a custom metric to record data in a more
      * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
      * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`),
      * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`).
      * The supported units are a subset of [The Unified Code for Units of
-     * Measure](http://unitsofmeasure.org/ucum.html) standard:
+     * Measure](https://unitsofmeasure.org/ucum.html) standard:
      * **Basic units (UNIT)**
      * * `bit`   bit
      * * `By`    byte
@@ -470,6 +490,7 @@ public function setValueType($var)
      * * `min`   minute
      * * `h`     hour
      * * `d`     day
+     * * `1`     dimensionless
      * **Prefixes (PREFIX)**
      * * `k`     kilo    (10^3)
      * * `M`     mega    (10^6)
@@ -539,21 +560,21 @@ public function getUnit()
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
      * defines the representation of the stored metric values.
-     * Different systems may scale the values to be more easily displayed (so a
-     * value of `0.02KBy` _might_ be displayed as `20By`, and a value of
-     * `3523KBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
-     * `KBy`, then the value of the metric is always in thousands of bytes, no
-     * matter how it may be displayed..
+     * Different systems might scale the values to be more easily displayed (so a
+     * value of `0.02kBy` _might_ be displayed as `20By`, and a value of
+     * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
+     * `kBy`, then the value of the metric is always in thousands of bytes, no
+     * matter how it might be displayed.
      * If you want a custom metric to record the exact number of CPU-seconds used
      * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is
      * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005
      * CPU-seconds, then the value is written as `12005`.
-     * Alternatively, if you want a custome metric to record data in a more
+     * Alternatively, if you want a custom metric to record data in a more
      * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
      * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`),
      * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`).
      * The supported units are a subset of [The Unified Code for Units of
-     * Measure](http://unitsofmeasure.org/ucum.html) standard:
+     * Measure](https://unitsofmeasure.org/ucum.html) standard:
      * **Basic units (UNIT)**
      * * `bit`   bit
      * * `By`    byte
@@ -561,6 +582,7 @@ public function getUnit()
      * * `min`   minute
      * * `h`     hour
      * * `d`     day
+     * * `1`     dimensionless
      * **Prefixes (PREFIX)**
      * * `k`     kilo    (10^3)
      * * `M`     mega    (10^6)
@@ -685,12 +707,20 @@ public function setDisplayName($var)
      * Optional. Metadata which can be used to guide usage of the metric.
      *
      * Generated from protobuf field .google.api.MetricDescriptor.MetricDescriptorMetadata metadata = 10;
-     * @return \Google\Api\MetricDescriptor\MetricDescriptorMetadata
+     * @return \Google\Api\MetricDescriptor\MetricDescriptorMetadata|null
      */
     public function getMetadata()
     {
         return $this->metadata;
     }
+    public function hasMetadata()
+    {
+        return isset($this->metadata);
+    }
+    public function clearMetadata()
+    {
+        unset($this->metadata);
+    }
     /**
      * Optional. Metadata which can be used to guide usage of the metric.
      *
@@ -700,7 +730,7 @@ public function getMetadata()
      */
     public function setMetadata($var)
     {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\MetricDescriptor_MetricDescriptorMetadata::class);
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\MetricDescriptor\MetricDescriptorMetadata::class);
         $this->metadata = $var;
         return $this;
     }
@@ -727,4 +757,37 @@ public function setLaunchStage($var)
         $this->launch_stage = $var;
         return $this;
     }
+    /**
+     * Read-only. If present, then a [time
+     * series][google.monitoring.v3.TimeSeries], which is identified partially by
+     * a metric type and a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     * is associated with this metric type can only be associated with one of the
+     * monitored resource types listed here.
+     *
+     * Generated from protobuf field repeated string monitored_resource_types = 13;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getMonitoredResourceTypes()
+    {
+        return $this->monitored_resource_types;
+    }
+    /**
+     * Read-only. If present, then a [time
+     * series][google.monitoring.v3.TimeSeries], which is identified partially by
+     * a metric type and a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that
+     * is associated with this metric type can only be associated with one of the
+     * monitored resource types listed here.
+     *
+     * Generated from protobuf field repeated string monitored_resource_types = 13;
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setMonitoredResourceTypes($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->monitored_resource_types = $arr;
+        return $this;
+    }
 }
diff --git a/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor/MetricDescriptorMetadata.php b/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor/MetricDescriptorMetadata.php
index 12795d67a..6c4c3a6b0 100644
--- a/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor/MetricDescriptorMetadata.php
+++ b/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor/MetricDescriptorMetadata.php
@@ -15,12 +15,14 @@
 class MetricDescriptorMetadata extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * Deprecated. Please use the MetricDescriptor.launch_stage instead.
-     * The launch stage of the metric definition.
+     * Deprecated. Must use the
+     * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+     * instead.
      *
      * Generated from protobuf field .google.api.LaunchStage launch_stage = 1 [deprecated = true];
+     * @deprecated
      */
-    private $launch_stage = 0;
+    protected $launch_stage = 0;
     /**
      * The sampling period of metric data points. For metrics which are written
      * periodically, consecutive data points are stored at this time interval,
@@ -29,7 +31,7 @@ class MetricDescriptorMetadata extends \Matomo\Dependencies\GoogleAnalyticsImpor
      *
      * Generated from protobuf field .google.protobuf.Duration sample_period = 2;
      */
-    private $sample_period = null;
+    protected $sample_period = null;
     /**
      * The delay of data points caused by ingestion. Data points older than this
      * age are guaranteed to be ingested and available to be read, excluding
@@ -37,7 +39,7 @@ class MetricDescriptorMetadata extends \Matomo\Dependencies\GoogleAnalyticsImpor
      *
      * Generated from protobuf field .google.protobuf.Duration ingest_delay = 3;
      */
-    private $ingest_delay = null;
+    protected $ingest_delay = null;
     /**
      * Constructor.
      *
@@ -45,8 +47,9 @@ class MetricDescriptorMetadata extends \Matomo\Dependencies\GoogleAnalyticsImpor
      *     Optional. Data for populating the Message object.
      *
      *     @type int $launch_stage
-     *           Deprecated. Please use the MetricDescriptor.launch_stage instead.
-     *           The launch stage of the metric definition.
+     *           Deprecated. Must use the
+     *           [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+     *           instead.
      *     @type \Google\Protobuf\Duration $sample_period
      *           The sampling period of metric data points. For metrics which are written
      *           periodically, consecutive data points are stored at this time interval,
@@ -64,26 +67,32 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * Deprecated. Please use the MetricDescriptor.launch_stage instead.
-     * The launch stage of the metric definition.
+     * Deprecated. Must use the
+     * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+     * instead.
      *
      * Generated from protobuf field .google.api.LaunchStage launch_stage = 1 [deprecated = true];
      * @return int
+     * @deprecated
      */
     public function getLaunchStage()
     {
+        @trigger_error('launch_stage is deprecated.', \E_USER_DEPRECATED);
         return $this->launch_stage;
     }
     /**
-     * Deprecated. Please use the MetricDescriptor.launch_stage instead.
-     * The launch stage of the metric definition.
+     * Deprecated. Must use the
+     * [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
+     * instead.
      *
      * Generated from protobuf field .google.api.LaunchStage launch_stage = 1 [deprecated = true];
      * @param int $var
      * @return $this
+     * @deprecated
      */
     public function setLaunchStage($var)
     {
+        @trigger_error('launch_stage is deprecated.', \E_USER_DEPRECATED);
         GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\LaunchStage::class);
         $this->launch_stage = $var;
         return $this;
@@ -95,12 +104,20 @@ public function setLaunchStage($var)
      * a smaller sampling period.
      *
      * Generated from protobuf field .google.protobuf.Duration sample_period = 2;
-     * @return \Google\Protobuf\Duration
+     * @return \Google\Protobuf\Duration|null
      */
     public function getSamplePeriod()
     {
         return $this->sample_period;
     }
+    public function hasSamplePeriod()
+    {
+        return isset($this->sample_period);
+    }
+    public function clearSamplePeriod()
+    {
+        unset($this->sample_period);
+    }
     /**
      * The sampling period of metric data points. For metrics which are written
      * periodically, consecutive data points are stored at this time interval,
@@ -123,12 +140,20 @@ public function setSamplePeriod($var)
      * data loss due to errors.
      *
      * Generated from protobuf field .google.protobuf.Duration ingest_delay = 3;
-     * @return \Google\Protobuf\Duration
+     * @return \Google\Protobuf\Duration|null
      */
     public function getIngestDelay()
     {
         return $this->ingest_delay;
     }
+    public function hasIngestDelay()
+    {
+        return isset($this->ingest_delay);
+    }
+    public function clearIngestDelay()
+    {
+        unset($this->ingest_delay);
+    }
     /**
      * The delay of data points caused by ingestion. Data points older than this
      * age are guaranteed to be ingested and available to be read, excluding
@@ -145,5 +170,3 @@ public function setIngestDelay($var)
         return $this;
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(MetricDescriptorMetadata::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\MetricDescriptor_MetricDescriptorMetadata::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor/MetricKind.php b/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor/MetricKind.php
index a9453c48c..dd98ca91a 100644
--- a/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor/MetricKind.php
+++ b/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor/MetricKind.php
@@ -7,6 +7,8 @@
 use UnexpectedValueException;
 /**
  * The kind of measurement. It describes how the data is reported.
+ * For information on setting the start time and end time based on
+ * the MetricKind, see [TimeInterval][google.monitoring.v3.TimeInterval].
  *
  * Protobuf type google.api.MetricDescriptor.MetricKind
  */
@@ -57,5 +59,3 @@ public static function value($name)
         return constant($const);
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(MetricKind::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\MetricDescriptor_MetricKind::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor/ValueType.php b/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor/ValueType.php
index c4ba4ebb3..f039296d8 100644
--- a/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor/ValueType.php
+++ b/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor/ValueType.php
@@ -73,5 +73,3 @@ public static function value($name)
         return constant($const);
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ValueType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\MetricDescriptor_ValueType::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor_MetricDescriptorMetadata.php b/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor_MetricDescriptorMetadata.php
deleted file mode 100644
index d5e522eb7..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/MetricDescriptor_MetricDescriptorMetadata.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.MetricRule
  */
@@ -19,11 +17,12 @@ class MetricRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
 {
     /**
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      *
      * Generated from protobuf field string selector = 1;
      */
-    private $selector = '';
+    protected $selector = '';
     /**
      * Metrics to update when the selected methods are called, and the associated
      * cost applied to each metric.
@@ -42,7 +41,8 @@ class MetricRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
      *
      *     @type string $selector
      *           Selects the methods to which this rule applies.
-     *           Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     *           Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     *           details.
      *     @type array|\Google\Protobuf\Internal\MapField $metric_costs
      *           Metrics to update when the selected methods are called, and the associated
      *           cost applied to each metric.
@@ -58,7 +58,8 @@ public function __construct($data = NULL)
     }
     /**
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      *
      * Generated from protobuf field string selector = 1;
      * @return string
@@ -69,7 +70,8 @@ public function getSelector()
     }
     /**
      * Selects the methods to which this rule applies.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      *
      * Generated from protobuf field string selector = 1;
      * @param string $var
diff --git a/vendor/prefixed/google/common-protos/src/Api/MonitoredResource.php b/vendor/prefixed/google/common-protos/src/Api/MonitoredResource.php
index 0d8040005..5d5c516da 100644
--- a/vendor/prefixed/google/common-protos/src/Api/MonitoredResource.php
+++ b/vendor/prefixed/google/common-protos/src/Api/MonitoredResource.php
@@ -11,14 +11,17 @@
  * An object representing a resource that can be used for monitoring, logging,
  * billing, or other purposes. Examples include virtual machine instances,
  * databases, and storage devices such as disks. The `type` field identifies a
- * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's
- * schema. Information in the `labels` field identifies the actual resource and
- * its attributes according to the schema. For example, a particular Compute
- * Engine VM instance could be represented by the following object, because the
- * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels
- * `"instance_id"` and `"zone"`:
+ * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object
+ * that describes the resource's schema. Information in the `labels` field
+ * identifies the actual resource and its attributes according to the schema.
+ * For example, a particular Compute Engine VM instance could be represented by
+ * the following object, because the
+ * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for
+ * `"gce_instance"` has labels
+ * `"project_id"`, `"instance_id"` and `"zone"`:
  *     { "type": "gce_instance",
- *       "labels": { "instance_id": "12345678901234",
+ *       "labels": { "project_id": "my-project",
+ *                   "instance_id": "12345678901234",
  *                   "zone": "us-central1-a" }}
  *
  * Generated from protobuf message google.api.MonitoredResource
@@ -27,12 +30,16 @@ class MonitoredResource extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goo
 {
     /**
      * Required. The monitored resource type. This field must match
-     * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-     * example, the type of a Compute Engine VM instance is `gce_instance`.
+     * the `type` field of a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+     * object. For example, the type of a Compute Engine VM instance is
+     * `gce_instance`. Some descriptors include the service name in the type; for
+     * example, the type of a Datastream stream is
+     * `datastream.googleapis.com/Stream`.
      *
      * Generated from protobuf field string type = 1;
      */
-    private $type = '';
+    protected $type = '';
     /**
      * Required. Values for all of the labels listed in the associated monitored
      * resource descriptor. For example, Compute Engine VM instances use the
@@ -49,8 +56,12 @@ class MonitoredResource extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goo
      *
      *     @type string $type
      *           Required. The monitored resource type. This field must match
-     *           the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-     *           example, the type of a Compute Engine VM instance is `gce_instance`.
+     *           the `type` field of a
+     *           [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+     *           object. For example, the type of a Compute Engine VM instance is
+     *           `gce_instance`. Some descriptors include the service name in the type; for
+     *           example, the type of a Datastream stream is
+     *           `datastream.googleapis.com/Stream`.
      *     @type array|\Google\Protobuf\Internal\MapField $labels
      *           Required. Values for all of the labels listed in the associated monitored
      *           resource descriptor. For example, Compute Engine VM instances use the
@@ -64,8 +75,12 @@ public function __construct($data = NULL)
     }
     /**
      * Required. The monitored resource type. This field must match
-     * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-     * example, the type of a Compute Engine VM instance is `gce_instance`.
+     * the `type` field of a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+     * object. For example, the type of a Compute Engine VM instance is
+     * `gce_instance`. Some descriptors include the service name in the type; for
+     * example, the type of a Datastream stream is
+     * `datastream.googleapis.com/Stream`.
      *
      * Generated from protobuf field string type = 1;
      * @return string
@@ -76,8 +91,12 @@ public function getType()
     }
     /**
      * Required. The monitored resource type. This field must match
-     * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
-     * example, the type of a Compute Engine VM instance is `gce_instance`.
+     * the `type` field of a
+     * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor]
+     * object. For example, the type of a Compute Engine VM instance is
+     * `gce_instance`. Some descriptors include the service name in the type; for
+     * example, the type of a Datastream stream is
+     * `datastream.googleapis.com/Stream`.
      *
      * Generated from protobuf field string type = 1;
      * @param string $var
diff --git a/vendor/prefixed/google/common-protos/src/Api/MonitoredResourceDescriptor.php b/vendor/prefixed/google/common-protos/src/Api/MonitoredResourceDescriptor.php
index ad0f34405..b3fbde592 100644
--- a/vendor/prefixed/google/common-protos/src/Api/MonitoredResourceDescriptor.php
+++ b/vendor/prefixed/google/common-protos/src/Api/MonitoredResourceDescriptor.php
@@ -8,9 +8,10 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
- * An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a
- * type name and a set of labels.  For example, the monitored resource
- * descriptor for Google Compute Engine VM instances has a type of
+ * An object that describes the schema of a
+ * [MonitoredResource][google.api.MonitoredResource] object using a type name
+ * and a set of labels.  For example, the monitored resource descriptor for
+ * Google Compute Engine VM instances has a type of
  * `"gce_instance"` and specifies the use of the labels `"instance_id"` and
  * `"zone"` to identify particular VM instances.
  * Different APIs can support different monitored resource types. APIs generally
@@ -31,15 +32,18 @@ class MonitoredResourceDescriptor extends \Matomo\Dependencies\GoogleAnalyticsIm
      *
      * Generated from protobuf field string name = 5;
      */
-    private $name = '';
+    protected $name = '';
     /**
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
-     * The maximum length of this value is 256 characters.
+     *  For a list of types, see [Monitored resource
+     *  types](https://cloud.google.com/monitoring/api/resources)
+     * and [Logging resource
+     * types](https://cloud.google.com/logging/docs/api/v2/resource-list).
      *
      * Generated from protobuf field string type = 1;
      */
-    private $type = '';
+    protected $type = '';
     /**
      * Optional. A concise name for the monitored resource type that might be
      * displayed in user interfaces. It should be a Title Cased Noun Phrase,
@@ -48,14 +52,14 @@ class MonitoredResourceDescriptor extends \Matomo\Dependencies\GoogleAnalyticsIm
      *
      * Generated from protobuf field string display_name = 2;
      */
-    private $display_name = '';
+    protected $display_name = '';
     /**
      * Optional. A detailed description of the monitored resource type that might
      * be used in documentation.
      *
      * Generated from protobuf field string description = 3;
      */
-    private $description = '';
+    protected $description = '';
     /**
      * Required. A set of labels used to describe instances of this monitored
      * resource type. For example, an individual Google Cloud SQL database is
@@ -64,6 +68,12 @@ class MonitoredResourceDescriptor extends \Matomo\Dependencies\GoogleAnalyticsIm
      * Generated from protobuf field repeated .google.api.LabelDescriptor labels = 4;
      */
     private $labels;
+    /**
+     * Optional. The launch stage of the monitored resource definition.
+     *
+     * Generated from protobuf field .google.api.LaunchStage launch_stage = 7;
+     */
+    protected $launch_stage = 0;
     /**
      * Constructor.
      *
@@ -80,7 +90,10 @@ class MonitoredResourceDescriptor extends \Matomo\Dependencies\GoogleAnalyticsIm
      *     @type string $type
      *           Required. The monitored resource type. For example, the type
      *           `"cloudsql_database"` represents databases in Google Cloud SQL.
-     *           The maximum length of this value is 256 characters.
+     *            For a list of types, see [Monitored resource
+     *            types](https://cloud.google.com/monitoring/api/resources)
+     *           and [Logging resource
+     *           types](https://cloud.google.com/logging/docs/api/v2/resource-list).
      *     @type string $display_name
      *           Optional. A concise name for the monitored resource type that might be
      *           displayed in user interfaces. It should be a Title Cased Noun Phrase,
@@ -89,10 +102,12 @@ class MonitoredResourceDescriptor extends \Matomo\Dependencies\GoogleAnalyticsIm
      *     @type string $description
      *           Optional. A detailed description of the monitored resource type that might
      *           be used in documentation.
-     *     @type \Google\Api\LabelDescriptor[]|\Google\Protobuf\Internal\RepeatedField $labels
+     *     @type array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $labels
      *           Required. A set of labels used to describe instances of this monitored
      *           resource type. For example, an individual Google Cloud SQL database is
      *           identified by values for the labels `"database_id"` and `"zone"`.
+     *     @type int $launch_stage
+     *           Optional. The launch stage of the monitored resource definition.
      * }
      */
     public function __construct($data = NULL)
@@ -136,7 +151,10 @@ public function setName($var)
     /**
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
-     * The maximum length of this value is 256 characters.
+     *  For a list of types, see [Monitored resource
+     *  types](https://cloud.google.com/monitoring/api/resources)
+     * and [Logging resource
+     * types](https://cloud.google.com/logging/docs/api/v2/resource-list).
      *
      * Generated from protobuf field string type = 1;
      * @return string
@@ -148,7 +166,10 @@ public function getType()
     /**
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
-     * The maximum length of this value is 256 characters.
+     *  For a list of types, see [Monitored resource
+     *  types](https://cloud.google.com/monitoring/api/resources)
+     * and [Logging resource
+     * types](https://cloud.google.com/logging/docs/api/v2/resource-list).
      *
      * Generated from protobuf field string type = 1;
      * @param string $var
@@ -232,7 +253,7 @@ public function getLabels()
      * identified by values for the labels `"database_id"` and `"zone"`.
      *
      * Generated from protobuf field repeated .google.api.LabelDescriptor labels = 4;
-     * @param \Google\Api\LabelDescriptor[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setLabels($var)
@@ -241,4 +262,27 @@ public function setLabels($var)
         $this->labels = $arr;
         return $this;
     }
+    /**
+     * Optional. The launch stage of the monitored resource definition.
+     *
+     * Generated from protobuf field .google.api.LaunchStage launch_stage = 7;
+     * @return int
+     */
+    public function getLaunchStage()
+    {
+        return $this->launch_stage;
+    }
+    /**
+     * Optional. The launch stage of the monitored resource definition.
+     *
+     * Generated from protobuf field .google.api.LaunchStage launch_stage = 7;
+     * @param int $var
+     * @return $this
+     */
+    public function setLaunchStage($var)
+    {
+        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\LaunchStage::class);
+        $this->launch_stage = $var;
+        return $this;
+    }
 }
diff --git a/vendor/prefixed/google/common-protos/src/Api/MonitoredResourceMetadata.php b/vendor/prefixed/google/common-protos/src/Api/MonitoredResourceMetadata.php
index eeb9d06d2..5c5e4b764 100644
--- a/vendor/prefixed/google/common-protos/src/Api/MonitoredResourceMetadata.php
+++ b/vendor/prefixed/google/common-protos/src/Api/MonitoredResourceMetadata.php
@@ -8,12 +8,12 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
- * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object.
- * [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to
- * uniquely identify a monitored resource instance. There is some other useful
- * auxiliary metadata. Google Stackdriver Monitoring & Logging uses an ingestion
- * pipeline to extract metadata for cloud resources of all types , and stores
- * the metadata in this message.
+ * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource]
+ * object. [MonitoredResource][google.api.MonitoredResource] objects contain the
+ * minimum set of information to uniquely identify a monitored resource
+ * instance. There is some other useful auxiliary metadata. Monitoring and
+ * Logging use an ingestion pipeline to extract metadata for cloud resources of
+ * all types, and store the metadata in this message.
  *
  * Generated from protobuf message google.api.MonitoredResourceMetadata
  */
@@ -21,9 +21,8 @@ class MonitoredResourceMetadata extends \Matomo\Dependencies\GoogleAnalyticsImpo
 {
     /**
      * Output only. Values for predefined system metadata labels.
-     * System labels are a kind of metadata extracted by Google Stackdriver.
-     * Stackdriver determines what system labels are useful and how to obtain
-     * their values. Some examples: "machine_image", "vpc", "subnet_id",
+     * System labels are a kind of metadata extracted by Google, including
+     * "machine_image", "vpc", "subnet_id",
      * "security_group", "name", etc.
      * System label values can be only strings, Boolean values, or a list of
      * strings. For example:
@@ -33,7 +32,7 @@ class MonitoredResourceMetadata extends \Matomo\Dependencies\GoogleAnalyticsImpo
      *
      * Generated from protobuf field .google.protobuf.Struct system_labels = 1;
      */
-    private $system_labels = null;
+    protected $system_labels = null;
     /**
      * Output only. A map of user-defined metadata labels.
      *
@@ -48,9 +47,8 @@ class MonitoredResourceMetadata extends \Matomo\Dependencies\GoogleAnalyticsImpo
      *
      *     @type \Google\Protobuf\Struct $system_labels
      *           Output only. Values for predefined system metadata labels.
-     *           System labels are a kind of metadata extracted by Google Stackdriver.
-     *           Stackdriver determines what system labels are useful and how to obtain
-     *           their values. Some examples: "machine_image", "vpc", "subnet_id",
+     *           System labels are a kind of metadata extracted by Google, including
+     *           "machine_image", "vpc", "subnet_id",
      *           "security_group", "name", etc.
      *           System label values can be only strings, Boolean values, or a list of
      *           strings. For example:
@@ -68,9 +66,8 @@ public function __construct($data = NULL)
     }
     /**
      * Output only. Values for predefined system metadata labels.
-     * System labels are a kind of metadata extracted by Google Stackdriver.
-     * Stackdriver determines what system labels are useful and how to obtain
-     * their values. Some examples: "machine_image", "vpc", "subnet_id",
+     * System labels are a kind of metadata extracted by Google, including
+     * "machine_image", "vpc", "subnet_id",
      * "security_group", "name", etc.
      * System label values can be only strings, Boolean values, or a list of
      * strings. For example:
@@ -79,17 +76,24 @@ public function __construct($data = NULL)
      *       "spot_instance": false }
      *
      * Generated from protobuf field .google.protobuf.Struct system_labels = 1;
-     * @return \Google\Protobuf\Struct
+     * @return \Google\Protobuf\Struct|null
      */
     public function getSystemLabels()
     {
         return $this->system_labels;
     }
+    public function hasSystemLabels()
+    {
+        return isset($this->system_labels);
+    }
+    public function clearSystemLabels()
+    {
+        unset($this->system_labels);
+    }
     /**
      * Output only. Values for predefined system metadata labels.
-     * System labels are a kind of metadata extracted by Google Stackdriver.
-     * Stackdriver determines what system labels are useful and how to obtain
-     * their values. Some examples: "machine_image", "vpc", "subnet_id",
+     * System labels are a kind of metadata extracted by Google, including
+     * "machine_image", "vpc", "subnet_id",
      * "security_group", "name", etc.
      * System label values can be only strings, Boolean values, or a list of
      * strings. For example:
diff --git a/vendor/prefixed/google/common-protos/src/Api/Monitoring.php b/vendor/prefixed/google/common-protos/src/Api/Monitoring.php
index 5a4c15b2d..a8851413c 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Monitoring.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Monitoring.php
@@ -13,36 +13,51 @@
  * for monitoring. In the example, a monitored resource and two metrics are
  * defined. The `library.googleapis.com/book/returned_count` metric is sent
  * to both producer and consumer projects, whereas the
- * `library.googleapis.com/book/overdue_count` metric is only sent to the
+ * `library.googleapis.com/book/num_overdue` metric is only sent to the
  * consumer project.
  *     monitored_resources:
- *     - type: library.googleapis.com/branch
+ *     - type: library.googleapis.com/Branch
+ *       display_name: "Library Branch"
+ *       description: "A branch of a library."
+ *       launch_stage: GA
  *       labels:
- *       - key: /city
- *         description: The city where the library branch is located in.
- *       - key: /name
- *         description: The name of the branch.
+ *       - key: resource_container
+ *         description: "The Cloud container (ie. project id) for the Branch."
+ *       - key: location
+ *         description: "The location of the library branch."
+ *       - key: branch_id
+ *         description: "The id of the branch."
  *     metrics:
  *     - name: library.googleapis.com/book/returned_count
+ *       display_name: "Books Returned"
+ *       description: "The count of books that have been returned."
+ *       launch_stage: GA
  *       metric_kind: DELTA
  *       value_type: INT64
+ *       unit: "1"
  *       labels:
- *       - key: /customer_id
- *     - name: library.googleapis.com/book/overdue_count
+ *       - key: customer_id
+ *         description: "The id of the customer."
+ *     - name: library.googleapis.com/book/num_overdue
+ *       display_name: "Books Overdue"
+ *       description: "The current number of overdue books."
+ *       launch_stage: GA
  *       metric_kind: GAUGE
  *       value_type: INT64
+ *       unit: "1"
  *       labels:
- *       - key: /customer_id
+ *       - key: customer_id
+ *         description: "The id of the customer."
  *     monitoring:
  *       producer_destinations:
- *       - monitored_resource: library.googleapis.com/branch
+ *       - monitored_resource: library.googleapis.com/Branch
  *         metrics:
  *         - library.googleapis.com/book/returned_count
  *       consumer_destinations:
- *       - monitored_resource: library.googleapis.com/branch
+ *       - monitored_resource: library.googleapis.com/Branch
  *         metrics:
  *         - library.googleapis.com/book/returned_count
- *         - library.googleapis.com/book/overdue_count
+ *         - library.googleapis.com/book/num_overdue
  *
  * Generated from protobuf message google.api.Monitoring
  */
@@ -50,18 +65,22 @@ class Monitoring extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
 {
     /**
      * Monitoring configurations for sending metrics to the producer project.
-     * There can be multiple producer destinations, each one must have a
-     * different monitored resource type. A metric can be used in at most
-     * one producer destination.
+     * There can be multiple producer destinations. A monitored resource type may
+     * appear in multiple monitoring destinations if different aggregations are
+     * needed for different sets of metrics associated with that monitored
+     * resource type. A monitored resource and metric pair may only be used once
+     * in the Monitoring configuration.
      *
      * Generated from protobuf field repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
      */
     private $producer_destinations;
     /**
      * Monitoring configurations for sending metrics to the consumer project.
-     * There can be multiple consumer destinations, each one must have a
-     * different monitored resource type. A metric can be used in at most
-     * one consumer destination.
+     * There can be multiple consumer destinations. A monitored resource type may
+     * appear in multiple monitoring destinations if different aggregations are
+     * needed for different sets of metrics associated with that monitored
+     * resource type. A monitored resource and metric pair may only be used once
+     * in the Monitoring configuration.
      *
      * Generated from protobuf field repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
      */
@@ -72,16 +91,20 @@ class Monitoring extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Api\Monitoring\MonitoringDestination[]|\Google\Protobuf\Internal\RepeatedField $producer_destinations
+     *     @type array<\Google\Api\Monitoring\MonitoringDestination>|\Google\Protobuf\Internal\RepeatedField $producer_destinations
      *           Monitoring configurations for sending metrics to the producer project.
-     *           There can be multiple producer destinations, each one must have a
-     *           different monitored resource type. A metric can be used in at most
-     *           one producer destination.
-     *     @type \Google\Api\Monitoring\MonitoringDestination[]|\Google\Protobuf\Internal\RepeatedField $consumer_destinations
+     *           There can be multiple producer destinations. A monitored resource type may
+     *           appear in multiple monitoring destinations if different aggregations are
+     *           needed for different sets of metrics associated with that monitored
+     *           resource type. A monitored resource and metric pair may only be used once
+     *           in the Monitoring configuration.
+     *     @type array<\Google\Api\Monitoring\MonitoringDestination>|\Google\Protobuf\Internal\RepeatedField $consumer_destinations
      *           Monitoring configurations for sending metrics to the consumer project.
-     *           There can be multiple consumer destinations, each one must have a
-     *           different monitored resource type. A metric can be used in at most
-     *           one consumer destination.
+     *           There can be multiple consumer destinations. A monitored resource type may
+     *           appear in multiple monitoring destinations if different aggregations are
+     *           needed for different sets of metrics associated with that monitored
+     *           resource type. A monitored resource and metric pair may only be used once
+     *           in the Monitoring configuration.
      * }
      */
     public function __construct($data = NULL)
@@ -91,9 +114,11 @@ public function __construct($data = NULL)
     }
     /**
      * Monitoring configurations for sending metrics to the producer project.
-     * There can be multiple producer destinations, each one must have a
-     * different monitored resource type. A metric can be used in at most
-     * one producer destination.
+     * There can be multiple producer destinations. A monitored resource type may
+     * appear in multiple monitoring destinations if different aggregations are
+     * needed for different sets of metrics associated with that monitored
+     * resource type. A monitored resource and metric pair may only be used once
+     * in the Monitoring configuration.
      *
      * Generated from protobuf field repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
      * @return \Google\Protobuf\Internal\RepeatedField
@@ -104,12 +129,14 @@ public function getProducerDestinations()
     }
     /**
      * Monitoring configurations for sending metrics to the producer project.
-     * There can be multiple producer destinations, each one must have a
-     * different monitored resource type. A metric can be used in at most
-     * one producer destination.
+     * There can be multiple producer destinations. A monitored resource type may
+     * appear in multiple monitoring destinations if different aggregations are
+     * needed for different sets of metrics associated with that monitored
+     * resource type. A monitored resource and metric pair may only be used once
+     * in the Monitoring configuration.
      *
      * Generated from protobuf field repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
-     * @param \Google\Api\Monitoring\MonitoringDestination[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\Monitoring\MonitoringDestination>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setProducerDestinations($var)
@@ -120,9 +147,11 @@ public function setProducerDestinations($var)
     }
     /**
      * Monitoring configurations for sending metrics to the consumer project.
-     * There can be multiple consumer destinations, each one must have a
-     * different monitored resource type. A metric can be used in at most
-     * one consumer destination.
+     * There can be multiple consumer destinations. A monitored resource type may
+     * appear in multiple monitoring destinations if different aggregations are
+     * needed for different sets of metrics associated with that monitored
+     * resource type. A monitored resource and metric pair may only be used once
+     * in the Monitoring configuration.
      *
      * Generated from protobuf field repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
      * @return \Google\Protobuf\Internal\RepeatedField
@@ -133,12 +162,14 @@ public function getConsumerDestinations()
     }
     /**
      * Monitoring configurations for sending metrics to the consumer project.
-     * There can be multiple consumer destinations, each one must have a
-     * different monitored resource type. A metric can be used in at most
-     * one consumer destination.
+     * There can be multiple consumer destinations. A monitored resource type may
+     * appear in multiple monitoring destinations if different aggregations are
+     * needed for different sets of metrics associated with that monitored
+     * resource type. A monitored resource and metric pair may only be used once
+     * in the Monitoring configuration.
      *
      * Generated from protobuf field repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
-     * @param \Google\Api\Monitoring\MonitoringDestination[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\Monitoring\MonitoringDestination>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setConsumerDestinations($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/Monitoring/MonitoringDestination.php b/vendor/prefixed/google/common-protos/src/Api/Monitoring/MonitoringDestination.php
index 5d822994c..60848c2cd 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Monitoring/MonitoringDestination.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Monitoring/MonitoringDestination.php
@@ -17,14 +17,16 @@ class MonitoringDestination extends \Matomo\Dependencies\GoogleAnalyticsImporter
 {
     /**
      * The monitored resource type. The type must be defined in
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      *
      * Generated from protobuf field string monitored_resource = 1;
      */
-    private $monitored_resource = '';
+    protected $monitored_resource = '';
     /**
-     * Names of the metrics to report to this monitoring destination.
-     * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Types of the metrics to report to this monitoring destination.
+     * Each type must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      *
      * Generated from protobuf field repeated string metrics = 2;
      */
@@ -37,10 +39,12 @@ class MonitoringDestination extends \Matomo\Dependencies\GoogleAnalyticsImporter
      *
      *     @type string $monitored_resource
      *           The monitored resource type. The type must be defined in
-     *           [Service.monitored_resources][google.api.Service.monitored_resources] section.
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $metrics
-     *           Names of the metrics to report to this monitoring destination.
-     *           Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+     *           [Service.monitored_resources][google.api.Service.monitored_resources]
+     *           section.
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $metrics
+     *           Types of the metrics to report to this monitoring destination.
+     *           Each type must be defined in
+     *           [Service.metrics][google.api.Service.metrics] section.
      * }
      */
     public function __construct($data = NULL)
@@ -50,7 +54,8 @@ public function __construct($data = NULL)
     }
     /**
      * The monitored resource type. The type must be defined in
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      *
      * Generated from protobuf field string monitored_resource = 1;
      * @return string
@@ -61,7 +66,8 @@ public function getMonitoredResource()
     }
     /**
      * The monitored resource type. The type must be defined in
-     * [Service.monitored_resources][google.api.Service.monitored_resources] section.
+     * [Service.monitored_resources][google.api.Service.monitored_resources]
+     * section.
      *
      * Generated from protobuf field string monitored_resource = 1;
      * @param string $var
@@ -74,8 +80,9 @@ public function setMonitoredResource($var)
         return $this;
     }
     /**
-     * Names of the metrics to report to this monitoring destination.
-     * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Types of the metrics to report to this monitoring destination.
+     * Each type must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      *
      * Generated from protobuf field repeated string metrics = 2;
      * @return \Google\Protobuf\Internal\RepeatedField
@@ -85,11 +92,12 @@ public function getMetrics()
         return $this->metrics;
     }
     /**
-     * Names of the metrics to report to this monitoring destination.
-     * Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
+     * Types of the metrics to report to this monitoring destination.
+     * Each type must be defined in
+     * [Service.metrics][google.api.Service.metrics] section.
      *
      * Generated from protobuf field repeated string metrics = 2;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setMetrics($var)
@@ -99,5 +107,3 @@ public function setMetrics($var)
         return $this;
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(MonitoringDestination::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Monitoring_MonitoringDestination::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Monitoring_MonitoringDestination.php b/vendor/prefixed/google/common-protos/src/Api/Monitoring_MonitoringDestination.php
deleted file mode 100644
index a6b14a121..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Monitoring_MonitoringDestination.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.NodeSettings
+ */
+class NodeSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     */
+    protected $common = null;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type \Google\Api\CommonLanguageSettings $common
+     *           Some settings.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     * @return \Google\Api\CommonLanguageSettings|null
+     */
+    public function getCommon()
+    {
+        return $this->common;
+    }
+    public function hasCommon()
+    {
+        return isset($this->common);
+    }
+    public function clearCommon()
+    {
+        unset($this->common);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     * @param \Google\Api\CommonLanguageSettings $var
+     * @return $this
+     */
+    public function setCommon($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\CommonLanguageSettings::class);
+        $this->common = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/OAuthRequirements.php b/vendor/prefixed/google/common-protos/src/Api/OAuthRequirements.php
index bf771b7ee..142af578c 100644
--- a/vendor/prefixed/google/common-protos/src/Api/OAuthRequirements.php
+++ b/vendor/prefixed/google/common-protos/src/Api/OAuthRequirements.php
@@ -36,7 +36,7 @@ class OAuthRequirements extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goo
      *
      * Generated from protobuf field string canonical_scopes = 1;
      */
-    private $canonical_scopes = '';
+    protected $canonical_scopes = '';
     /**
      * Constructor.
      *
diff --git a/vendor/prefixed/google/common-protos/src/Api/Page.php b/vendor/prefixed/google/common-protos/src/Api/Page.php
index 1a5895e36..19ba19f2b 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Page.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Page.php
@@ -33,14 +33,15 @@ class Page extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\
      *
      * Generated from protobuf field string name = 1;
      */
-    private $name = '';
+    protected $name = '';
     /**
-     * The Markdown content of the page. You can use (== include {path} ==)
-     * to include content from a Markdown file.
+     * The Markdown content of the page. You can use (== include {path}
+     * ==) to include content from a Markdown file. The content can be
+     * used to produce the documentation page such as HTML format page.
      *
      * Generated from protobuf field string content = 2;
      */
-    private $content = '';
+    protected $content = '';
     /**
      * Subpages of this page. The order of subpages specified here will be
      * honored in the generated docset.
@@ -70,9 +71,10 @@ class Page extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\
      *           You can reference `Java` page using Markdown reference link syntax:
      *           `[Java][Tutorial.Java]`.
      *     @type string $content
-     *           The Markdown content of the page. You can use (== include {path} ==)
-     *           to include content from a Markdown file.
-     *     @type \Google\Api\Page[]|\Google\Protobuf\Internal\RepeatedField $subpages
+     *           The Markdown content of the page. You can use (== include {path}
+     *           ==) to include content from a Markdown file. The content can be
+     *           used to produce the documentation page such as HTML format page.
+     *     @type array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $subpages
      *           Subpages of this page. The order of subpages specified here will be
      *           honored in the generated docset.
      * }
@@ -132,8 +134,9 @@ public function setName($var)
         return $this;
     }
     /**
-     * The Markdown content of the page. You can use (== include {path} ==)
-     * to include content from a Markdown file.
+     * The Markdown content of the page. You can use (== include {path}
+     * ==) to include content from a Markdown file. The content can be
+     * used to produce the documentation page such as HTML format page.
      *
      * Generated from protobuf field string content = 2;
      * @return string
@@ -143,8 +146,9 @@ public function getContent()
         return $this->content;
     }
     /**
-     * The Markdown content of the page. You can use (== include {path} ==)
-     * to include content from a Markdown file.
+     * The Markdown content of the page. You can use (== include {path}
+     * ==) to include content from a Markdown file. The content can be
+     * used to produce the documentation page such as HTML format page.
      *
      * Generated from protobuf field string content = 2;
      * @param string $var
@@ -172,7 +176,7 @@ public function getSubpages()
      * honored in the generated docset.
      *
      * Generated from protobuf field repeated .google.api.Page subpages = 3;
-     * @param \Google\Api\Page[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setSubpages($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/PhpSettings.php b/vendor/prefixed/google/common-protos/src/Api/PhpSettings.php
new file mode 100644
index 000000000..6aeef37aa
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/PhpSettings.php
@@ -0,0 +1,69 @@
+google.api.PhpSettings
+ */
+class PhpSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     */
+    protected $common = null;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type \Google\Api\CommonLanguageSettings $common
+     *           Some settings.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     * @return \Google\Api\CommonLanguageSettings|null
+     */
+    public function getCommon()
+    {
+        return $this->common;
+    }
+    public function hasCommon()
+    {
+        return isset($this->common);
+    }
+    public function clearCommon()
+    {
+        unset($this->common);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     * @param \Google\Api\CommonLanguageSettings $var
+     * @return $this
+     */
+    public function setCommon($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\CommonLanguageSettings::class);
+        $this->common = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/ProjectProperties.php b/vendor/prefixed/google/common-protos/src/Api/ProjectProperties.php
index 151e42fdf..2194f0b13 100644
--- a/vendor/prefixed/google/common-protos/src/Api/ProjectProperties.php
+++ b/vendor/prefixed/google/common-protos/src/Api/ProjectProperties.php
@@ -39,7 +39,7 @@ class ProjectProperties extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goo
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Api\Property[]|\Google\Protobuf\Internal\RepeatedField $properties
+     *     @type array<\Google\Api\Property>|\Google\Protobuf\Internal\RepeatedField $properties
      *           List of per consumer project-specific properties.
      * }
      */
@@ -62,7 +62,7 @@ public function getProperties()
      * List of per consumer project-specific properties.
      *
      * Generated from protobuf field repeated .google.api.Property properties = 1;
-     * @param \Google\Api\Property[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\Property>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setProperties($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/Property.php b/vendor/prefixed/google/common-protos/src/Api/Property.php
index 6801559e0..8a852cff7 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Property.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Property.php
@@ -26,19 +26,19 @@ class Property extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto
      *
      * Generated from protobuf field string name = 1;
      */
-    private $name = '';
+    protected $name = '';
     /**
      * The type of this property.
      *
      * Generated from protobuf field .google.api.Property.PropertyType type = 2;
      */
-    private $type = 0;
+    protected $type = 0;
     /**
      * The description of the property
      *
      * Generated from protobuf field string description = 3;
      */
-    private $description = '';
+    protected $description = '';
     /**
      * Constructor.
      *
@@ -100,7 +100,7 @@ public function getType()
      */
     public function setType($var)
     {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Property_PropertyType::class);
+        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Property\PropertyType::class);
         $this->type = $var;
         return $this;
     }
diff --git a/vendor/prefixed/google/common-protos/src/Api/Property/PropertyType.php b/vendor/prefixed/google/common-protos/src/Api/Property/PropertyType.php
index ea32e2796..a9fef1674 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Property/PropertyType.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Property/PropertyType.php
@@ -59,5 +59,3 @@ public static function value($name)
         return constant($const);
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(PropertyType::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Property_PropertyType::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/Property_PropertyType.php b/vendor/prefixed/google/common-protos/src/Api/Property_PropertyType.php
deleted file mode 100644
index 4657d80e6..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/Property_PropertyType.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.api.Publishing
+ */
+class Publishing extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * A list of API method settings, e.g. the behavior for methods that use the
+     * long-running operation pattern.
+     *
+     * Generated from protobuf field repeated .google.api.MethodSettings method_settings = 2;
+     */
+    private $method_settings;
+    /**
+     * Link to a *public* URI where users can report issues.  Example:
+     * https://issuetracker.google.com/issues/new?component=190865&template=1161103
+     *
+     * Generated from protobuf field string new_issue_uri = 101;
+     */
+    protected $new_issue_uri = '';
+    /**
+     * Link to product home page.  Example:
+     * https://cloud.google.com/asset-inventory/docs/overview
+     *
+     * Generated from protobuf field string documentation_uri = 102;
+     */
+    protected $documentation_uri = '';
+    /**
+     * Used as a tracking tag when collecting data about the APIs developer
+     * relations artifacts like docs, packages delivered to package managers,
+     * etc.  Example: "speech".
+     *
+     * Generated from protobuf field string api_short_name = 103;
+     */
+    protected $api_short_name = '';
+    /**
+     * GitHub label to apply to issues and pull requests opened for this API.
+     *
+     * Generated from protobuf field string github_label = 104;
+     */
+    protected $github_label = '';
+    /**
+     * GitHub teams to be added to CODEOWNERS in the directory in GitHub
+     * containing source code for the client libraries for this API.
+     *
+     * Generated from protobuf field repeated string codeowner_github_teams = 105;
+     */
+    private $codeowner_github_teams;
+    /**
+     * A prefix used in sample code when demarking regions to be included in
+     * documentation.
+     *
+     * Generated from protobuf field string doc_tag_prefix = 106;
+     */
+    protected $doc_tag_prefix = '';
+    /**
+     * For whom the client library is being published.
+     *
+     * Generated from protobuf field .google.api.ClientLibraryOrganization organization = 107;
+     */
+    protected $organization = 0;
+    /**
+     * Client library settings.  If the same version string appears multiple
+     * times in this list, then the last one wins.  Settings from earlier
+     * settings with the same version string are discarded.
+     *
+     * Generated from protobuf field repeated .google.api.ClientLibrarySettings library_settings = 109;
+     */
+    private $library_settings;
+    /**
+     * Optional link to proto reference documentation.  Example:
+     * https://cloud.google.com/pubsub/lite/docs/reference/rpc
+     *
+     * Generated from protobuf field string proto_reference_documentation_uri = 110;
+     */
+    protected $proto_reference_documentation_uri = '';
+    /**
+     * Optional link to REST reference documentation.  Example:
+     * https://cloud.google.com/pubsub/lite/docs/reference/rest
+     *
+     * Generated from protobuf field string rest_reference_documentation_uri = 111;
+     */
+    protected $rest_reference_documentation_uri = '';
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type array<\Google\Api\MethodSettings>|\Google\Protobuf\Internal\RepeatedField $method_settings
+     *           A list of API method settings, e.g. the behavior for methods that use the
+     *           long-running operation pattern.
+     *     @type string $new_issue_uri
+     *           Link to a *public* URI where users can report issues.  Example:
+     *           https://issuetracker.google.com/issues/new?component=190865&template=1161103
+     *     @type string $documentation_uri
+     *           Link to product home page.  Example:
+     *           https://cloud.google.com/asset-inventory/docs/overview
+     *     @type string $api_short_name
+     *           Used as a tracking tag when collecting data about the APIs developer
+     *           relations artifacts like docs, packages delivered to package managers,
+     *           etc.  Example: "speech".
+     *     @type string $github_label
+     *           GitHub label to apply to issues and pull requests opened for this API.
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $codeowner_github_teams
+     *           GitHub teams to be added to CODEOWNERS in the directory in GitHub
+     *           containing source code for the client libraries for this API.
+     *     @type string $doc_tag_prefix
+     *           A prefix used in sample code when demarking regions to be included in
+     *           documentation.
+     *     @type int $organization
+     *           For whom the client library is being published.
+     *     @type array<\Google\Api\ClientLibrarySettings>|\Google\Protobuf\Internal\RepeatedField $library_settings
+     *           Client library settings.  If the same version string appears multiple
+     *           times in this list, then the last one wins.  Settings from earlier
+     *           settings with the same version string are discarded.
+     *     @type string $proto_reference_documentation_uri
+     *           Optional link to proto reference documentation.  Example:
+     *           https://cloud.google.com/pubsub/lite/docs/reference/rpc
+     *     @type string $rest_reference_documentation_uri
+     *           Optional link to REST reference documentation.  Example:
+     *           https://cloud.google.com/pubsub/lite/docs/reference/rest
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * A list of API method settings, e.g. the behavior for methods that use the
+     * long-running operation pattern.
+     *
+     * Generated from protobuf field repeated .google.api.MethodSettings method_settings = 2;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getMethodSettings()
+    {
+        return $this->method_settings;
+    }
+    /**
+     * A list of API method settings, e.g. the behavior for methods that use the
+     * long-running operation pattern.
+     *
+     * Generated from protobuf field repeated .google.api.MethodSettings method_settings = 2;
+     * @param array<\Google\Api\MethodSettings>|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setMethodSettings($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\MethodSettings::class);
+        $this->method_settings = $arr;
+        return $this;
+    }
+    /**
+     * Link to a *public* URI where users can report issues.  Example:
+     * https://issuetracker.google.com/issues/new?component=190865&template=1161103
+     *
+     * Generated from protobuf field string new_issue_uri = 101;
+     * @return string
+     */
+    public function getNewIssueUri()
+    {
+        return $this->new_issue_uri;
+    }
+    /**
+     * Link to a *public* URI where users can report issues.  Example:
+     * https://issuetracker.google.com/issues/new?component=190865&template=1161103
+     *
+     * Generated from protobuf field string new_issue_uri = 101;
+     * @param string $var
+     * @return $this
+     */
+    public function setNewIssueUri($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->new_issue_uri = $var;
+        return $this;
+    }
+    /**
+     * Link to product home page.  Example:
+     * https://cloud.google.com/asset-inventory/docs/overview
+     *
+     * Generated from protobuf field string documentation_uri = 102;
+     * @return string
+     */
+    public function getDocumentationUri()
+    {
+        return $this->documentation_uri;
+    }
+    /**
+     * Link to product home page.  Example:
+     * https://cloud.google.com/asset-inventory/docs/overview
+     *
+     * Generated from protobuf field string documentation_uri = 102;
+     * @param string $var
+     * @return $this
+     */
+    public function setDocumentationUri($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->documentation_uri = $var;
+        return $this;
+    }
+    /**
+     * Used as a tracking tag when collecting data about the APIs developer
+     * relations artifacts like docs, packages delivered to package managers,
+     * etc.  Example: "speech".
+     *
+     * Generated from protobuf field string api_short_name = 103;
+     * @return string
+     */
+    public function getApiShortName()
+    {
+        return $this->api_short_name;
+    }
+    /**
+     * Used as a tracking tag when collecting data about the APIs developer
+     * relations artifacts like docs, packages delivered to package managers,
+     * etc.  Example: "speech".
+     *
+     * Generated from protobuf field string api_short_name = 103;
+     * @param string $var
+     * @return $this
+     */
+    public function setApiShortName($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->api_short_name = $var;
+        return $this;
+    }
+    /**
+     * GitHub label to apply to issues and pull requests opened for this API.
+     *
+     * Generated from protobuf field string github_label = 104;
+     * @return string
+     */
+    public function getGithubLabel()
+    {
+        return $this->github_label;
+    }
+    /**
+     * GitHub label to apply to issues and pull requests opened for this API.
+     *
+     * Generated from protobuf field string github_label = 104;
+     * @param string $var
+     * @return $this
+     */
+    public function setGithubLabel($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->github_label = $var;
+        return $this;
+    }
+    /**
+     * GitHub teams to be added to CODEOWNERS in the directory in GitHub
+     * containing source code for the client libraries for this API.
+     *
+     * Generated from protobuf field repeated string codeowner_github_teams = 105;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getCodeownerGithubTeams()
+    {
+        return $this->codeowner_github_teams;
+    }
+    /**
+     * GitHub teams to be added to CODEOWNERS in the directory in GitHub
+     * containing source code for the client libraries for this API.
+     *
+     * Generated from protobuf field repeated string codeowner_github_teams = 105;
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setCodeownerGithubTeams($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->codeowner_github_teams = $arr;
+        return $this;
+    }
+    /**
+     * A prefix used in sample code when demarking regions to be included in
+     * documentation.
+     *
+     * Generated from protobuf field string doc_tag_prefix = 106;
+     * @return string
+     */
+    public function getDocTagPrefix()
+    {
+        return $this->doc_tag_prefix;
+    }
+    /**
+     * A prefix used in sample code when demarking regions to be included in
+     * documentation.
+     *
+     * Generated from protobuf field string doc_tag_prefix = 106;
+     * @param string $var
+     * @return $this
+     */
+    public function setDocTagPrefix($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->doc_tag_prefix = $var;
+        return $this;
+    }
+    /**
+     * For whom the client library is being published.
+     *
+     * Generated from protobuf field .google.api.ClientLibraryOrganization organization = 107;
+     * @return int
+     */
+    public function getOrganization()
+    {
+        return $this->organization;
+    }
+    /**
+     * For whom the client library is being published.
+     *
+     * Generated from protobuf field .google.api.ClientLibraryOrganization organization = 107;
+     * @param int $var
+     * @return $this
+     */
+    public function setOrganization($var)
+    {
+        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\ClientLibraryOrganization::class);
+        $this->organization = $var;
+        return $this;
+    }
+    /**
+     * Client library settings.  If the same version string appears multiple
+     * times in this list, then the last one wins.  Settings from earlier
+     * settings with the same version string are discarded.
+     *
+     * Generated from protobuf field repeated .google.api.ClientLibrarySettings library_settings = 109;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getLibrarySettings()
+    {
+        return $this->library_settings;
+    }
+    /**
+     * Client library settings.  If the same version string appears multiple
+     * times in this list, then the last one wins.  Settings from earlier
+     * settings with the same version string are discarded.
+     *
+     * Generated from protobuf field repeated .google.api.ClientLibrarySettings library_settings = 109;
+     * @param array<\Google\Api\ClientLibrarySettings>|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setLibrarySettings($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\ClientLibrarySettings::class);
+        $this->library_settings = $arr;
+        return $this;
+    }
+    /**
+     * Optional link to proto reference documentation.  Example:
+     * https://cloud.google.com/pubsub/lite/docs/reference/rpc
+     *
+     * Generated from protobuf field string proto_reference_documentation_uri = 110;
+     * @return string
+     */
+    public function getProtoReferenceDocumentationUri()
+    {
+        return $this->proto_reference_documentation_uri;
+    }
+    /**
+     * Optional link to proto reference documentation.  Example:
+     * https://cloud.google.com/pubsub/lite/docs/reference/rpc
+     *
+     * Generated from protobuf field string proto_reference_documentation_uri = 110;
+     * @param string $var
+     * @return $this
+     */
+    public function setProtoReferenceDocumentationUri($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->proto_reference_documentation_uri = $var;
+        return $this;
+    }
+    /**
+     * Optional link to REST reference documentation.  Example:
+     * https://cloud.google.com/pubsub/lite/docs/reference/rest
+     *
+     * Generated from protobuf field string rest_reference_documentation_uri = 111;
+     * @return string
+     */
+    public function getRestReferenceDocumentationUri()
+    {
+        return $this->rest_reference_documentation_uri;
+    }
+    /**
+     * Optional link to REST reference documentation.  Example:
+     * https://cloud.google.com/pubsub/lite/docs/reference/rest
+     *
+     * Generated from protobuf field string rest_reference_documentation_uri = 111;
+     * @param string $var
+     * @return $this
+     */
+    public function setRestReferenceDocumentationUri($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->rest_reference_documentation_uri = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/PythonSettings.php b/vendor/prefixed/google/common-protos/src/Api/PythonSettings.php
new file mode 100644
index 000000000..528d3577b
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/PythonSettings.php
@@ -0,0 +1,69 @@
+google.api.PythonSettings
+ */
+class PythonSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     */
+    protected $common = null;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type \Google\Api\CommonLanguageSettings $common
+     *           Some settings.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     * @return \Google\Api\CommonLanguageSettings|null
+     */
+    public function getCommon()
+    {
+        return $this->common;
+    }
+    public function hasCommon()
+    {
+        return isset($this->common);
+    }
+    public function clearCommon()
+    {
+        unset($this->common);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     * @param \Google\Api\CommonLanguageSettings $var
+     * @return $this
+     */
+    public function setCommon($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\CommonLanguageSettings::class);
+        $this->common = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Quota.php b/vendor/prefixed/google/common-protos/src/Api/Quota.php
index 43f0aab1e..9b89ab5fb 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Quota.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Quota.php
@@ -10,7 +10,7 @@
 /**
  * Quota configuration helps to achieve fairness and budgeting in service
  * usage.
- * The quota configuration works this way:
+ * The metric based quota configuration works this way:
  * - The service configuration defines a set of metrics.
  * - For API calls, the quota.metric_rules maps methods to metrics with
  *   corresponding costs.
@@ -24,10 +24,10 @@
  *        unit: "1/min/{project}"  # rate limit for consumer projects
  *        values:
  *          STANDARD: 10000
- *      # The metric rules bind all methods to the read_calls metric,
- *      # except for the UpdateBook and DeleteBook methods. These two methods
- *      # are mapped to the write_calls metric, with the UpdateBook method
- *      # consuming at twice rate as the DeleteBook method.
+ *      (The metric rules bind all methods to the read_calls metric,
+ *       except for the UpdateBook and DeleteBook methods. These two methods
+ *       are mapped to the write_calls metric, with the UpdateBook method
+ *       consuming at twice rate as the DeleteBook method.)
  *      metric_rules:
  *      - selector: "*"
  *        metric_costs:
@@ -54,16 +54,14 @@
 class Quota extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * List of `QuotaLimit` definitions for the service.
-     * Used by metric-based quotas only.
+     * List of QuotaLimit definitions for the service.
      *
      * Generated from protobuf field repeated .google.api.QuotaLimit limits = 3;
      */
     private $limits;
     /**
-     * List of `MetricRule` definitions, each one mapping a selected method to one
+     * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
-     * Used by metric-based quotas only.
      *
      * Generated from protobuf field repeated .google.api.MetricRule metric_rules = 4;
      */
@@ -74,13 +72,11 @@ class Quota extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Api\QuotaLimit[]|\Google\Protobuf\Internal\RepeatedField $limits
-     *           List of `QuotaLimit` definitions for the service.
-     *           Used by metric-based quotas only.
-     *     @type \Google\Api\MetricRule[]|\Google\Protobuf\Internal\RepeatedField $metric_rules
-     *           List of `MetricRule` definitions, each one mapping a selected method to one
+     *     @type array<\Google\Api\QuotaLimit>|\Google\Protobuf\Internal\RepeatedField $limits
+     *           List of QuotaLimit definitions for the service.
+     *     @type array<\Google\Api\MetricRule>|\Google\Protobuf\Internal\RepeatedField $metric_rules
+     *           List of MetricRule definitions, each one mapping a selected method to one
      *           or more metrics.
-     *           Used by metric-based quotas only.
      * }
      */
     public function __construct($data = NULL)
@@ -89,8 +85,7 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * List of `QuotaLimit` definitions for the service.
-     * Used by metric-based quotas only.
+     * List of QuotaLimit definitions for the service.
      *
      * Generated from protobuf field repeated .google.api.QuotaLimit limits = 3;
      * @return \Google\Protobuf\Internal\RepeatedField
@@ -100,11 +95,10 @@ public function getLimits()
         return $this->limits;
     }
     /**
-     * List of `QuotaLimit` definitions for the service.
-     * Used by metric-based quotas only.
+     * List of QuotaLimit definitions for the service.
      *
      * Generated from protobuf field repeated .google.api.QuotaLimit limits = 3;
-     * @param \Google\Api\QuotaLimit[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\QuotaLimit>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setLimits($var)
@@ -114,9 +108,8 @@ public function setLimits($var)
         return $this;
     }
     /**
-     * List of `MetricRule` definitions, each one mapping a selected method to one
+     * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
-     * Used by metric-based quotas only.
      *
      * Generated from protobuf field repeated .google.api.MetricRule metric_rules = 4;
      * @return \Google\Protobuf\Internal\RepeatedField
@@ -126,12 +119,11 @@ public function getMetricRules()
         return $this->metric_rules;
     }
     /**
-     * List of `MetricRule` definitions, each one mapping a selected method to one
+     * List of MetricRule definitions, each one mapping a selected method to one
      * or more metrics.
-     * Used by metric-based quotas only.
      *
      * Generated from protobuf field repeated .google.api.MetricRule metric_rules = 4;
-     * @param \Google\Api\MetricRule[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\MetricRule>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setMetricRules($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/QuotaLimit.php b/vendor/prefixed/google/common-protos/src/Api/QuotaLimit.php
index 390fc2ebe..b770a9306 100644
--- a/vendor/prefixed/google/common-protos/src/Api/QuotaLimit.php
+++ b/vendor/prefixed/google/common-protos/src/Api/QuotaLimit.php
@@ -17,24 +17,14 @@
 class QuotaLimit extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * Name of the quota limit. The name is used to refer to the limit when
-     * overriding the default limit on per-consumer basis.
-     * For group-based quota limits, the name must be unique within the quota
-     * group. If a name is not provided, it will be generated from the limit_by
-     * and duration fields.
-     * For metric-based quota limits, the name must be provided, and it must be
-     * unique within the service. The name can only include alphanumeric
-     * characters as well as '-'.
+     * Name of the quota limit.
+     * The name must be provided, and it must be unique within the service. The
+     * name can only include alphanumeric characters as well as '-'.
      * The maximum length of the limit name is 64 characters.
-     * The name of a limit is used as a unique identifier for this limit.
-     * Therefore, once a limit has been put into use, its name should be
-     * immutable. You can use the display_name field to provide a user-friendly
-     * name for the limit. The display name can be evolved over time without
-     * affecting the identity of the limit.
      *
      * Generated from protobuf field string name = 6;
      */
-    private $name = '';
+    protected $name = '';
     /**
      * Optional. User-visible, extended description for this quota limit.
      * Should be used only when more context is needed to understand this limit
@@ -42,7 +32,7 @@ class QuotaLimit extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
      *
      * Generated from protobuf field string description = 2;
      */
-    private $description = '';
+    protected $description = '';
     /**
      * Default number of tokens that can be consumed during the specified
      * duration. This is the number of tokens assigned when a client
@@ -55,7 +45,7 @@ class QuotaLimit extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
      *
      * Generated from protobuf field int64 default_limit = 3;
      */
-    private $default_limit = 0;
+    protected $default_limit = 0;
     /**
      * Maximum number of tokens that can be consumed during the specified
      * duration. Client application developers can override the default limit up
@@ -67,7 +57,7 @@ class QuotaLimit extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
      *
      * Generated from protobuf field int64 max_limit = 4;
      */
-    private $max_limit = 0;
+    protected $max_limit = 0;
     /**
      * Free tier value displayed in the Developers Console for this limit.
      * The free tier is the number of tokens that will be subtracted from the
@@ -79,84 +69,38 @@ class QuotaLimit extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
      *
      * Generated from protobuf field int64 free_tier = 7;
      */
-    private $free_tier = 0;
+    protected $free_tier = 0;
     /**
-     * Duration of this limit in textual notation. Example: "100s", "24h", "1d".
-     * For duration longer than a day, only multiple of days is supported. We
-     * support only "100s" and "1d" for now. Additional support will be added in
-     * the future. "0" indicates indefinite duration.
+     * Duration of this limit in textual notation. Must be "100s" or "1d".
      * Used by group-based quotas only.
      *
      * Generated from protobuf field string duration = 5;
      */
-    private $duration = '';
+    protected $duration = '';
     /**
      * The name of the metric this quota limit applies to. The quota limits with
      * the same metric will be checked together during runtime. The metric must be
      * defined within the service config.
-     * Used by metric-based quotas only.
      *
      * Generated from protobuf field string metric = 8;
      */
-    private $metric = '';
+    protected $metric = '';
     /**
      * Specify the unit of the quota limit. It uses the same syntax as
      * [Metric.unit][]. The supported unit kinds are determined by the quota
      * backend system.
-     * The [Google Service Control](https://cloud.google.com/service-control)
-     * supports the following unit components:
-     * * One of the time intevals:
-     *   * "/min"  for quota every minute.
-     *   * "/d"  for quota every 24 hours, starting 00:00 US Pacific Time.
-     *   * Otherwise the quota won't be reset by time, such as storage limit.
-     * * One and only one of the granted containers:
-     *   * "/{organization}" quota for an organization.
-     *   * "/{project}" quota for a project.
-     *   * "/{folder}" quota for a folder.
-     *   * "/{resource}" quota for a universal resource.
-     * * Zero or more quota segmentation dimension. Not all combos are valid.
-     *   * "/{region}" quota for every region. Not to be used with time intervals.
-     *   * Otherwise the resources granted on the target is not segmented.
-     *   * "/{zone}" quota for every zone. Not to be used with time intervals.
-     *   * Otherwise the resources granted on the target is not segmented.
-     *   * "/{resource}" quota for a resource associated with a project or org.
      * Here are some examples:
      * * "1/min/{project}" for quota per minute per project.
-     * * "1/min/{user}" for quota per minute per user.
-     * * "1/min/{organization}" for quota per minute per organization.
      * Note: the order of unit components is insignificant.
      * The "1" at the beginning is required to follow the metric unit syntax.
-     * Used by metric-based quotas only.
      *
      * Generated from protobuf field string unit = 9;
      */
-    private $unit = '';
+    protected $unit = '';
     /**
-     * Tiered limit values. Also allows for regional or zone overrides for these
-     * values if "/{region}" or "/{zone}" is specified in the unit field.
-     * Currently supported tiers from low to high:
-     * VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
-     * To apply different limit values for users according to their tiers, specify
-     * the values for the tiers you want to differentiate. For example:
-     * {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
-     * The limit value for each tier is optional except for the tier STANDARD.
-     * The limit value for an unspecified tier falls to the value of its next
-     * tier towards tier STANDARD. For the above example, the limit value for tier
-     * STANDARD is 500.
-     * To apply the same limit value for all users, just specify limit value for
-     * tier STANDARD. For example: {STANDARD:500}.
-     * To apply a regional overide for a tier, add a map entry with key
-     * "/", where  is a region name. Similarly, for a zone
-     * override, add a map entry with key "/{zone}".
-     * Further, a wildcard can be used at the end of a zone name in order to
-     * specify zone level overrides. For example:
-     * LOW: 10, STANDARD: 50, HIGH: 100,
-     * LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,
-     * LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80
-     * The regional overrides tier set for each region must be the same as
-     * the tier set for default limit values. Same rule applies for zone overrides
-     * tier as well.
-     * Used by metric-based quotas only.
+     * Tiered limit values. You must specify this as a key:value pair, with an
+     * integer value that is the maximum number of requests allowed for the
+     * specified unit. Currently only STANDARD is supported.
      *
      * Generated from protobuf field map values = 10;
      */
@@ -169,7 +113,7 @@ class QuotaLimit extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
      *
      * Generated from protobuf field string display_name = 12;
      */
-    private $display_name = '';
+    protected $display_name = '';
     /**
      * Constructor.
      *
@@ -177,20 +121,10 @@ class QuotaLimit extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
      *     Optional. Data for populating the Message object.
      *
      *     @type string $name
-     *           Name of the quota limit. The name is used to refer to the limit when
-     *           overriding the default limit on per-consumer basis.
-     *           For group-based quota limits, the name must be unique within the quota
-     *           group. If a name is not provided, it will be generated from the limit_by
-     *           and duration fields.
-     *           For metric-based quota limits, the name must be provided, and it must be
-     *           unique within the service. The name can only include alphanumeric
-     *           characters as well as '-'.
+     *           Name of the quota limit.
+     *           The name must be provided, and it must be unique within the service. The
+     *           name can only include alphanumeric characters as well as '-'.
      *           The maximum length of the limit name is 64 characters.
-     *           The name of a limit is used as a unique identifier for this limit.
-     *           Therefore, once a limit has been put into use, its name should be
-     *           immutable. You can use the display_name field to provide a user-friendly
-     *           name for the limit. The display name can be evolved over time without
-     *           affecting the identity of the limit.
      *     @type string $description
      *           Optional. User-visible, extended description for this quota limit.
      *           Should be used only when more context is needed to understand this limit
@@ -221,70 +155,24 @@ class QuotaLimit extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
      *           defaults to 0, indicating that there is no free tier for this service.
      *           Used by group-based quotas only.
      *     @type string $duration
-     *           Duration of this limit in textual notation. Example: "100s", "24h", "1d".
-     *           For duration longer than a day, only multiple of days is supported. We
-     *           support only "100s" and "1d" for now. Additional support will be added in
-     *           the future. "0" indicates indefinite duration.
+     *           Duration of this limit in textual notation. Must be "100s" or "1d".
      *           Used by group-based quotas only.
      *     @type string $metric
      *           The name of the metric this quota limit applies to. The quota limits with
      *           the same metric will be checked together during runtime. The metric must be
      *           defined within the service config.
-     *           Used by metric-based quotas only.
      *     @type string $unit
      *           Specify the unit of the quota limit. It uses the same syntax as
      *           [Metric.unit][]. The supported unit kinds are determined by the quota
      *           backend system.
-     *           The [Google Service Control](https://cloud.google.com/service-control)
-     *           supports the following unit components:
-     *           * One of the time intevals:
-     *             * "/min"  for quota every minute.
-     *             * "/d"  for quota every 24 hours, starting 00:00 US Pacific Time.
-     *             * Otherwise the quota won't be reset by time, such as storage limit.
-     *           * One and only one of the granted containers:
-     *             * "/{organization}" quota for an organization.
-     *             * "/{project}" quota for a project.
-     *             * "/{folder}" quota for a folder.
-     *             * "/{resource}" quota for a universal resource.
-     *           * Zero or more quota segmentation dimension. Not all combos are valid.
-     *             * "/{region}" quota for every region. Not to be used with time intervals.
-     *             * Otherwise the resources granted on the target is not segmented.
-     *             * "/{zone}" quota for every zone. Not to be used with time intervals.
-     *             * Otherwise the resources granted on the target is not segmented.
-     *             * "/{resource}" quota for a resource associated with a project or org.
      *           Here are some examples:
      *           * "1/min/{project}" for quota per minute per project.
-     *           * "1/min/{user}" for quota per minute per user.
-     *           * "1/min/{organization}" for quota per minute per organization.
      *           Note: the order of unit components is insignificant.
      *           The "1" at the beginning is required to follow the metric unit syntax.
-     *           Used by metric-based quotas only.
      *     @type array|\Google\Protobuf\Internal\MapField $values
-     *           Tiered limit values. Also allows for regional or zone overrides for these
-     *           values if "/{region}" or "/{zone}" is specified in the unit field.
-     *           Currently supported tiers from low to high:
-     *           VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
-     *           To apply different limit values for users according to their tiers, specify
-     *           the values for the tiers you want to differentiate. For example:
-     *           {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
-     *           The limit value for each tier is optional except for the tier STANDARD.
-     *           The limit value for an unspecified tier falls to the value of its next
-     *           tier towards tier STANDARD. For the above example, the limit value for tier
-     *           STANDARD is 500.
-     *           To apply the same limit value for all users, just specify limit value for
-     *           tier STANDARD. For example: {STANDARD:500}.
-     *           To apply a regional overide for a tier, add a map entry with key
-     *           "/", where  is a region name. Similarly, for a zone
-     *           override, add a map entry with key "/{zone}".
-     *           Further, a wildcard can be used at the end of a zone name in order to
-     *           specify zone level overrides. For example:
-     *           LOW: 10, STANDARD: 50, HIGH: 100,
-     *           LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,
-     *           LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80
-     *           The regional overrides tier set for each region must be the same as
-     *           the tier set for default limit values. Same rule applies for zone overrides
-     *           tier as well.
-     *           Used by metric-based quotas only.
+     *           Tiered limit values. You must specify this as a key:value pair, with an
+     *           integer value that is the maximum number of requests allowed for the
+     *           specified unit. Currently only STANDARD is supported.
      *     @type string $display_name
      *           User-visible display name for this limit.
      *           Optional. If not set, the UI will provide a default display name based on
@@ -298,20 +186,10 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * Name of the quota limit. The name is used to refer to the limit when
-     * overriding the default limit on per-consumer basis.
-     * For group-based quota limits, the name must be unique within the quota
-     * group. If a name is not provided, it will be generated from the limit_by
-     * and duration fields.
-     * For metric-based quota limits, the name must be provided, and it must be
-     * unique within the service. The name can only include alphanumeric
-     * characters as well as '-'.
+     * Name of the quota limit.
+     * The name must be provided, and it must be unique within the service. The
+     * name can only include alphanumeric characters as well as '-'.
      * The maximum length of the limit name is 64 characters.
-     * The name of a limit is used as a unique identifier for this limit.
-     * Therefore, once a limit has been put into use, its name should be
-     * immutable. You can use the display_name field to provide a user-friendly
-     * name for the limit. The display name can be evolved over time without
-     * affecting the identity of the limit.
      *
      * Generated from protobuf field string name = 6;
      * @return string
@@ -321,20 +199,10 @@ public function getName()
         return $this->name;
     }
     /**
-     * Name of the quota limit. The name is used to refer to the limit when
-     * overriding the default limit on per-consumer basis.
-     * For group-based quota limits, the name must be unique within the quota
-     * group. If a name is not provided, it will be generated from the limit_by
-     * and duration fields.
-     * For metric-based quota limits, the name must be provided, and it must be
-     * unique within the service. The name can only include alphanumeric
-     * characters as well as '-'.
+     * Name of the quota limit.
+     * The name must be provided, and it must be unique within the service. The
+     * name can only include alphanumeric characters as well as '-'.
      * The maximum length of the limit name is 64 characters.
-     * The name of a limit is used as a unique identifier for this limit.
-     * Therefore, once a limit has been put into use, its name should be
-     * immutable. You can use the display_name field to provide a user-friendly
-     * name for the limit. The display name can be evolved over time without
-     * affecting the identity of the limit.
      *
      * Generated from protobuf field string name = 6;
      * @param string $var
@@ -481,10 +349,7 @@ public function setFreeTier($var)
         return $this;
     }
     /**
-     * Duration of this limit in textual notation. Example: "100s", "24h", "1d".
-     * For duration longer than a day, only multiple of days is supported. We
-     * support only "100s" and "1d" for now. Additional support will be added in
-     * the future. "0" indicates indefinite duration.
+     * Duration of this limit in textual notation. Must be "100s" or "1d".
      * Used by group-based quotas only.
      *
      * Generated from protobuf field string duration = 5;
@@ -495,10 +360,7 @@ public function getDuration()
         return $this->duration;
     }
     /**
-     * Duration of this limit in textual notation. Example: "100s", "24h", "1d".
-     * For duration longer than a day, only multiple of days is supported. We
-     * support only "100s" and "1d" for now. Additional support will be added in
-     * the future. "0" indicates indefinite duration.
+     * Duration of this limit in textual notation. Must be "100s" or "1d".
      * Used by group-based quotas only.
      *
      * Generated from protobuf field string duration = 5;
@@ -515,7 +377,6 @@ public function setDuration($var)
      * The name of the metric this quota limit applies to. The quota limits with
      * the same metric will be checked together during runtime. The metric must be
      * defined within the service config.
-     * Used by metric-based quotas only.
      *
      * Generated from protobuf field string metric = 8;
      * @return string
@@ -528,7 +389,6 @@ public function getMetric()
      * The name of the metric this quota limit applies to. The quota limits with
      * the same metric will be checked together during runtime. The metric must be
      * defined within the service config.
-     * Used by metric-based quotas only.
      *
      * Generated from protobuf field string metric = 8;
      * @param string $var
@@ -544,30 +404,10 @@ public function setMetric($var)
      * Specify the unit of the quota limit. It uses the same syntax as
      * [Metric.unit][]. The supported unit kinds are determined by the quota
      * backend system.
-     * The [Google Service Control](https://cloud.google.com/service-control)
-     * supports the following unit components:
-     * * One of the time intevals:
-     *   * "/min"  for quota every minute.
-     *   * "/d"  for quota every 24 hours, starting 00:00 US Pacific Time.
-     *   * Otherwise the quota won't be reset by time, such as storage limit.
-     * * One and only one of the granted containers:
-     *   * "/{organization}" quota for an organization.
-     *   * "/{project}" quota for a project.
-     *   * "/{folder}" quota for a folder.
-     *   * "/{resource}" quota for a universal resource.
-     * * Zero or more quota segmentation dimension. Not all combos are valid.
-     *   * "/{region}" quota for every region. Not to be used with time intervals.
-     *   * Otherwise the resources granted on the target is not segmented.
-     *   * "/{zone}" quota for every zone. Not to be used with time intervals.
-     *   * Otherwise the resources granted on the target is not segmented.
-     *   * "/{resource}" quota for a resource associated with a project or org.
      * Here are some examples:
      * * "1/min/{project}" for quota per minute per project.
-     * * "1/min/{user}" for quota per minute per user.
-     * * "1/min/{organization}" for quota per minute per organization.
      * Note: the order of unit components is insignificant.
      * The "1" at the beginning is required to follow the metric unit syntax.
-     * Used by metric-based quotas only.
      *
      * Generated from protobuf field string unit = 9;
      * @return string
@@ -580,30 +420,10 @@ public function getUnit()
      * Specify the unit of the quota limit. It uses the same syntax as
      * [Metric.unit][]. The supported unit kinds are determined by the quota
      * backend system.
-     * The [Google Service Control](https://cloud.google.com/service-control)
-     * supports the following unit components:
-     * * One of the time intevals:
-     *   * "/min"  for quota every minute.
-     *   * "/d"  for quota every 24 hours, starting 00:00 US Pacific Time.
-     *   * Otherwise the quota won't be reset by time, such as storage limit.
-     * * One and only one of the granted containers:
-     *   * "/{organization}" quota for an organization.
-     *   * "/{project}" quota for a project.
-     *   * "/{folder}" quota for a folder.
-     *   * "/{resource}" quota for a universal resource.
-     * * Zero or more quota segmentation dimension. Not all combos are valid.
-     *   * "/{region}" quota for every region. Not to be used with time intervals.
-     *   * Otherwise the resources granted on the target is not segmented.
-     *   * "/{zone}" quota for every zone. Not to be used with time intervals.
-     *   * Otherwise the resources granted on the target is not segmented.
-     *   * "/{resource}" quota for a resource associated with a project or org.
      * Here are some examples:
      * * "1/min/{project}" for quota per minute per project.
-     * * "1/min/{user}" for quota per minute per user.
-     * * "1/min/{organization}" for quota per minute per organization.
      * Note: the order of unit components is insignificant.
      * The "1" at the beginning is required to follow the metric unit syntax.
-     * Used by metric-based quotas only.
      *
      * Generated from protobuf field string unit = 9;
      * @param string $var
@@ -616,31 +436,9 @@ public function setUnit($var)
         return $this;
     }
     /**
-     * Tiered limit values. Also allows for regional or zone overrides for these
-     * values if "/{region}" or "/{zone}" is specified in the unit field.
-     * Currently supported tiers from low to high:
-     * VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
-     * To apply different limit values for users according to their tiers, specify
-     * the values for the tiers you want to differentiate. For example:
-     * {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
-     * The limit value for each tier is optional except for the tier STANDARD.
-     * The limit value for an unspecified tier falls to the value of its next
-     * tier towards tier STANDARD. For the above example, the limit value for tier
-     * STANDARD is 500.
-     * To apply the same limit value for all users, just specify limit value for
-     * tier STANDARD. For example: {STANDARD:500}.
-     * To apply a regional overide for a tier, add a map entry with key
-     * "/", where  is a region name. Similarly, for a zone
-     * override, add a map entry with key "/{zone}".
-     * Further, a wildcard can be used at the end of a zone name in order to
-     * specify zone level overrides. For example:
-     * LOW: 10, STANDARD: 50, HIGH: 100,
-     * LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,
-     * LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80
-     * The regional overrides tier set for each region must be the same as
-     * the tier set for default limit values. Same rule applies for zone overrides
-     * tier as well.
-     * Used by metric-based quotas only.
+     * Tiered limit values. You must specify this as a key:value pair, with an
+     * integer value that is the maximum number of requests allowed for the
+     * specified unit. Currently only STANDARD is supported.
      *
      * Generated from protobuf field map values = 10;
      * @return \Google\Protobuf\Internal\MapField
@@ -650,31 +448,9 @@ public function getValues()
         return $this->values;
     }
     /**
-     * Tiered limit values. Also allows for regional or zone overrides for these
-     * values if "/{region}" or "/{zone}" is specified in the unit field.
-     * Currently supported tiers from low to high:
-     * VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
-     * To apply different limit values for users according to their tiers, specify
-     * the values for the tiers you want to differentiate. For example:
-     * {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
-     * The limit value for each tier is optional except for the tier STANDARD.
-     * The limit value for an unspecified tier falls to the value of its next
-     * tier towards tier STANDARD. For the above example, the limit value for tier
-     * STANDARD is 500.
-     * To apply the same limit value for all users, just specify limit value for
-     * tier STANDARD. For example: {STANDARD:500}.
-     * To apply a regional overide for a tier, add a map entry with key
-     * "/", where  is a region name. Similarly, for a zone
-     * override, add a map entry with key "/{zone}".
-     * Further, a wildcard can be used at the end of a zone name in order to
-     * specify zone level overrides. For example:
-     * LOW: 10, STANDARD: 50, HIGH: 100,
-     * LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,
-     * LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80
-     * The regional overrides tier set for each region must be the same as
-     * the tier set for default limit values. Same rule applies for zone overrides
-     * tier as well.
-     * Used by metric-based quotas only.
+     * Tiered limit values. You must specify this as a key:value pair, with an
+     * integer value that is the maximum number of requests allowed for the
+     * specified unit. Currently only STANDARD is supported.
      *
      * Generated from protobuf field map values = 10;
      * @param array|\Google\Protobuf\Internal\MapField $var
diff --git a/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor.php b/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor.php
index 2ba963ad7..47a9c6331 100644
--- a/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor.php
+++ b/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor.php
@@ -19,88 +19,32 @@
  *       // For Kubernetes resources, the format is {api group}/{kind}.
  *       option (google.api.resource) = {
  *         type: "pubsub.googleapis.com/Topic"
- *         name_descriptor: {
- *           pattern: "projects/{project}/topics/{topic}"
- *           parent_type: "cloudresourcemanager.googleapis.com/Project"
- *           parent_name_extractor: "projects/{project}"
- *         }
+ *         pattern: "projects/{project}/topics/{topic}"
  *       };
  *     }
  * The ResourceDescriptor Yaml config will look like:
- *    resources:
- *    - type: "pubsub.googleapis.com/Topic"
- *      name_descriptor:
- *        - pattern: "projects/{project}/topics/{topic}"
- *          parent_type: "cloudresourcemanager.googleapis.com/Project"
- *          parent_name_extractor: "projects/{project}"
+ *     resources:
+ *     - type: "pubsub.googleapis.com/Topic"
+ *       pattern: "projects/{project}/topics/{topic}"
  * Sometimes, resources have multiple patterns, typically because they can
  * live under multiple parents.
  * Example:
  *     message LogEntry {
  *       option (google.api.resource) = {
  *         type: "logging.googleapis.com/LogEntry"
- *         name_descriptor: {
- *           pattern: "projects/{project}/logs/{log}"
- *           parent_type: "cloudresourcemanager.googleapis.com/Project"
- *           parent_name_extractor: "projects/{project}"
- *         }
- *         name_descriptor: {
- *           pattern: "folders/{folder}/logs/{log}"
- *           parent_type: "cloudresourcemanager.googleapis.com/Folder"
- *           parent_name_extractor: "folders/{folder}"
- *         }
- *         name_descriptor: {
- *           pattern: "organizations/{organization}/logs/{log}"
- *           parent_type: "cloudresourcemanager.googleapis.com/Organization"
- *           parent_name_extractor: "organizations/{organization}"
- *         }
- *         name_descriptor: {
- *           pattern: "billingAccounts/{billing_account}/logs/{log}"
- *           parent_type: "billing.googleapis.com/BillingAccount"
- *           parent_name_extractor: "billingAccounts/{billing_account}"
- *         }
+ *         pattern: "projects/{project}/logs/{log}"
+ *         pattern: "folders/{folder}/logs/{log}"
+ *         pattern: "organizations/{organization}/logs/{log}"
+ *         pattern: "billingAccounts/{billing_account}/logs/{log}"
  *       };
  *     }
  * The ResourceDescriptor Yaml config will look like:
  *     resources:
  *     - type: 'logging.googleapis.com/LogEntry'
- *       name_descriptor:
- *         - pattern: "projects/{project}/logs/{log}"
- *           parent_type: "cloudresourcemanager.googleapis.com/Project"
- *           parent_name_extractor: "projects/{project}"
- *         - pattern: "folders/{folder}/logs/{log}"
- *           parent_type: "cloudresourcemanager.googleapis.com/Folder"
- *           parent_name_extractor: "folders/{folder}"
- *         - pattern: "organizations/{organization}/logs/{log}"
- *           parent_type: "cloudresourcemanager.googleapis.com/Organization"
- *           parent_name_extractor: "organizations/{organization}"
- *         - pattern: "billingAccounts/{billing_account}/logs/{log}"
- *           parent_type: "billing.googleapis.com/BillingAccount"
- *           parent_name_extractor: "billingAccounts/{billing_account}"
- * For flexible resources, the resource name doesn't contain parent names, but
- * the resource itself has parents for policy evaluation.
- * Example:
- *     message Shelf {
- *       option (google.api.resource) = {
- *         type: "library.googleapis.com/Shelf"
- *         name_descriptor: {
- *           pattern: "shelves/{shelf}"
- *           parent_type: "cloudresourcemanager.googleapis.com/Project"
- *         }
- *         name_descriptor: {
- *           pattern: "shelves/{shelf}"
- *           parent_type: "cloudresourcemanager.googleapis.com/Folder"
- *         }
- *       };
- *     }
- * The ResourceDescriptor Yaml config will look like:
- *     resources:
- *     - type: 'library.googleapis.com/Shelf'
- *       name_descriptor:
- *         - pattern: "shelves/{shelf}"
- *           parent_type: "cloudresourcemanager.googleapis.com/Project"
- *         - pattern: "shelves/{shelf}"
- *           parent_type: "cloudresourcemanager.googleapis.com/Folder"
+ *       pattern: "projects/{project}/logs/{log}"
+ *       pattern: "folders/{folder}/logs/{log}"
+ *       pattern: "organizations/{organization}/logs/{log}"
+ *       pattern: "billingAccounts/{billing_account}/logs/{log}"
  *
  * Generated from protobuf message google.api.ResourceDescriptor
  */
@@ -118,7 +62,7 @@ class ResourceDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go
      *
      * Generated from protobuf field string type = 1;
      */
-    private $type = '';
+    protected $type = '';
     /**
      * Optional. The relative resource name pattern associated with this resource
      * type. The DNS prefix of the full resource name shouldn't be specified here.
@@ -144,7 +88,7 @@ class ResourceDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go
      *
      * Generated from protobuf field string name_field = 3;
      */
-    private $name_field = '';
+    protected $name_field = '';
     /**
      * Optional. The historical or future-looking state of the resource pattern.
      * Example:
@@ -162,16 +106,23 @@ class ResourceDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go
      *
      * Generated from protobuf field .google.api.ResourceDescriptor.History history = 4;
      */
-    private $history = 0;
+    protected $history = 0;
     /**
-     * The plural name used in the resource name, such as 'projects' for
-     * the name of 'projects/{project}'. It is the same concept of the `plural`
-     * field in k8s CRD spec
+     * The plural name used in the resource name and permission names, such as
+     * 'projects' for the resource name of 'projects/{project}' and the permission
+     * name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
+     * to this is for Nested Collections that have stuttering names, as defined
+     * in [AIP-122](https://google.aip.dev/122#nested-collections), where the
+     * collection ID in the resource name pattern does not necessarily directly
+     * match the `plural` value.
+     * It is the same concept of the `plural` field in k8s CRD spec
      * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
+     * Note: The plural form is required even for singleton resources. See
+     * https://aip.dev/156
      *
      * Generated from protobuf field string plural = 5;
      */
-    private $plural = '';
+    protected $plural = '';
     /**
      * The same concept of the `singular` field in k8s CRD spec
      * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
@@ -179,7 +130,15 @@ class ResourceDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go
      *
      * Generated from protobuf field string singular = 6;
      */
-    private $singular = '';
+    protected $singular = '';
+    /**
+     * Style flag(s) for this resource.
+     * These indicate that a resource is expected to conform to a given
+     * style. See the specific style flags for additional information.
+     *
+     * Generated from protobuf field repeated .google.api.ResourceDescriptor.Style style = 10;
+     */
+    private $style;
     /**
      * Constructor.
      *
@@ -195,7 +154,7 @@ class ResourceDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go
      *           /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
      *           should use PascalCase (UpperCamelCase). The maximum number of
      *           characters allowed for the `resource_type_kind` is 100.
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $pattern
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $pattern
      *           Optional. The relative resource name pattern associated with this resource
      *           type. The DNS prefix of the full resource name shouldn't be specified here.
      *           The path pattern must follow the syntax, which aligns with HTTP binding
@@ -228,14 +187,25 @@ class ResourceDescriptor extends \Matomo\Dependencies\GoogleAnalyticsImporter\Go
      *                 };
      *               }
      *     @type string $plural
-     *           The plural name used in the resource name, such as 'projects' for
-     *           the name of 'projects/{project}'. It is the same concept of the `plural`
-     *           field in k8s CRD spec
+     *           The plural name used in the resource name and permission names, such as
+     *           'projects' for the resource name of 'projects/{project}' and the permission
+     *           name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
+     *           to this is for Nested Collections that have stuttering names, as defined
+     *           in [AIP-122](https://google.aip.dev/122#nested-collections), where the
+     *           collection ID in the resource name pattern does not necessarily directly
+     *           match the `plural` value.
+     *           It is the same concept of the `plural` field in k8s CRD spec
      *           https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
+     *           Note: The plural form is required even for singleton resources. See
+     *           https://aip.dev/156
      *     @type string $singular
      *           The same concept of the `singular` field in k8s CRD spec
      *           https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
      *           Such as "project" for the `resourcemanager.googleapis.com/Project` type.
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $style
+     *           Style flag(s) for this resource.
+     *           These indicate that a resource is expected to conform to a given
+     *           style. See the specific style flags for additional information.
      * }
      */
     public function __construct($data = NULL)
@@ -320,7 +290,7 @@ public function getPattern()
      * type of resource.
      *
      * Generated from protobuf field repeated string pattern = 2;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setPattern($var)
@@ -397,15 +367,22 @@ public function getHistory()
      */
     public function setHistory($var)
     {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\ResourceDescriptor_History::class);
+        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\ResourceDescriptor\History::class);
         $this->history = $var;
         return $this;
     }
     /**
-     * The plural name used in the resource name, such as 'projects' for
-     * the name of 'projects/{project}'. It is the same concept of the `plural`
-     * field in k8s CRD spec
+     * The plural name used in the resource name and permission names, such as
+     * 'projects' for the resource name of 'projects/{project}' and the permission
+     * name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
+     * to this is for Nested Collections that have stuttering names, as defined
+     * in [AIP-122](https://google.aip.dev/122#nested-collections), where the
+     * collection ID in the resource name pattern does not necessarily directly
+     * match the `plural` value.
+     * It is the same concept of the `plural` field in k8s CRD spec
      * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
+     * Note: The plural form is required even for singleton resources. See
+     * https://aip.dev/156
      *
      * Generated from protobuf field string plural = 5;
      * @return string
@@ -415,10 +392,17 @@ public function getPlural()
         return $this->plural;
     }
     /**
-     * The plural name used in the resource name, such as 'projects' for
-     * the name of 'projects/{project}'. It is the same concept of the `plural`
-     * field in k8s CRD spec
+     * The plural name used in the resource name and permission names, such as
+     * 'projects' for the resource name of 'projects/{project}' and the permission
+     * name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
+     * to this is for Nested Collections that have stuttering names, as defined
+     * in [AIP-122](https://google.aip.dev/122#nested-collections), where the
+     * collection ID in the resource name pattern does not necessarily directly
+     * match the `plural` value.
+     * It is the same concept of the `plural` field in k8s CRD spec
      * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
+     * Note: The plural form is required even for singleton resources. See
+     * https://aip.dev/156
      *
      * Generated from protobuf field string plural = 5;
      * @param string $var
@@ -457,4 +441,31 @@ public function setSingular($var)
         $this->singular = $var;
         return $this;
     }
+    /**
+     * Style flag(s) for this resource.
+     * These indicate that a resource is expected to conform to a given
+     * style. See the specific style flags for additional information.
+     *
+     * Generated from protobuf field repeated .google.api.ResourceDescriptor.Style style = 10;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getStyle()
+    {
+        return $this->style;
+    }
+    /**
+     * Style flag(s) for this resource.
+     * These indicate that a resource is expected to conform to a given
+     * style. See the specific style flags for additional information.
+     *
+     * Generated from protobuf field repeated .google.api.ResourceDescriptor.Style style = 10;
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setStyle($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::ENUM, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\ResourceDescriptor\Style::class);
+        $this->style = $arr;
+        return $this;
+    }
 }
diff --git a/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor/History.php b/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor/History.php
index 60722ed7e..f69182bf3 100644
--- a/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor/History.php
+++ b/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor/History.php
@@ -51,5 +51,3 @@ public static function value($name)
         return constant($const);
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(History::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\ResourceDescriptor_History::class);
diff --git a/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor/Style.php b/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor/Style.php
new file mode 100644
index 000000000..141c40148
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor/Style.php
@@ -0,0 +1,48 @@
+google.api.ResourceDescriptor.Style
+ */
+class Style
+{
+    /**
+     * The unspecified value. Do not use.
+     *
+     * Generated from protobuf enum STYLE_UNSPECIFIED = 0;
+     */
+    const STYLE_UNSPECIFIED = 0;
+    /**
+     * This resource is intended to be "declarative-friendly".
+     * Declarative-friendly resources must be more strictly consistent, and
+     * setting this to true communicates to tools that this resource should
+     * adhere to declarative-friendly expectations.
+     * Note: This is used by the API linter (linter.aip.dev) to enable
+     * additional checks.
+     *
+     * Generated from protobuf enum DECLARATIVE_FRIENDLY = 1;
+     */
+    const DECLARATIVE_FRIENDLY = 1;
+    private static $valueToName = [self::STYLE_UNSPECIFIED => 'STYLE_UNSPECIFIED', self::DECLARATIVE_FRIENDLY => 'DECLARATIVE_FRIENDLY'];
+    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/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor_History.php b/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor_History.php
deleted file mode 100644
index 0d6888ee6..000000000
--- a/vendor/prefixed/google/common-protos/src/Api/ResourceDescriptor_History.php
+++ /dev/null
@@ -1,17 +0,0 @@
-string type = 1;
      */
-    private $type = '';
+    protected $type = '';
     /**
      * The resource type of a child collection that the annotated field
      * references. This is useful for annotating the `parent` field that
      * doesn't have a fixed resource type.
      * Example:
-     *   message ListLogEntriesRequest {
-     *     string parent = 1 [(google.api.resource_reference) = {
-     *       child_type: "logging.googleapis.com/LogEntry"
-     *     };
-     *   }
+     *     message ListLogEntriesRequest {
+     *       string parent = 1 [(google.api.resource_reference) = {
+     *         child_type: "logging.googleapis.com/LogEntry"
+     *       };
+     *     }
      *
      * Generated from protobuf field string child_type = 2;
      */
-    private $child_type = '';
+    protected $child_type = '';
     /**
      * Constructor.
      *
@@ -55,16 +63,24 @@ class ResourceReference extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goo
      *                   type: "pubsub.googleapis.com/Topic"
      *                 }];
      *               }
+     *           Occasionally, a field may reference an arbitrary resource. In this case,
+     *           APIs use the special value * in their resource reference.
+     *           Example:
+     *               message GetIamPolicyRequest {
+     *                 string resource = 2 [(google.api.resource_reference) = {
+     *                   type: "*"
+     *                 }];
+     *               }
      *     @type string $child_type
      *           The resource type of a child collection that the annotated field
      *           references. This is useful for annotating the `parent` field that
      *           doesn't have a fixed resource type.
      *           Example:
-     *             message ListLogEntriesRequest {
-     *               string parent = 1 [(google.api.resource_reference) = {
-     *                 child_type: "logging.googleapis.com/LogEntry"
-     *               };
-     *             }
+     *               message ListLogEntriesRequest {
+     *                 string parent = 1 [(google.api.resource_reference) = {
+     *                   child_type: "logging.googleapis.com/LogEntry"
+     *                 };
+     *               }
      * }
      */
     public function __construct($data = NULL)
@@ -80,6 +96,14 @@ public function __construct($data = NULL)
      *         type: "pubsub.googleapis.com/Topic"
      *       }];
      *     }
+     * Occasionally, a field may reference an arbitrary resource. In this case,
+     * APIs use the special value * in their resource reference.
+     * Example:
+     *     message GetIamPolicyRequest {
+     *       string resource = 2 [(google.api.resource_reference) = {
+     *         type: "*"
+     *       }];
+     *     }
      *
      * Generated from protobuf field string type = 1;
      * @return string
@@ -96,6 +120,14 @@ public function getType()
      *         type: "pubsub.googleapis.com/Topic"
      *       }];
      *     }
+     * Occasionally, a field may reference an arbitrary resource. In this case,
+     * APIs use the special value * in their resource reference.
+     * Example:
+     *     message GetIamPolicyRequest {
+     *       string resource = 2 [(google.api.resource_reference) = {
+     *         type: "*"
+     *       }];
+     *     }
      *
      * Generated from protobuf field string type = 1;
      * @param string $var
@@ -112,11 +144,11 @@ public function setType($var)
      * references. This is useful for annotating the `parent` field that
      * doesn't have a fixed resource type.
      * Example:
-     *   message ListLogEntriesRequest {
-     *     string parent = 1 [(google.api.resource_reference) = {
-     *       child_type: "logging.googleapis.com/LogEntry"
-     *     };
-     *   }
+     *     message ListLogEntriesRequest {
+     *       string parent = 1 [(google.api.resource_reference) = {
+     *         child_type: "logging.googleapis.com/LogEntry"
+     *       };
+     *     }
      *
      * Generated from protobuf field string child_type = 2;
      * @return string
@@ -130,11 +162,11 @@ public function getChildType()
      * references. This is useful for annotating the `parent` field that
      * doesn't have a fixed resource type.
      * Example:
-     *   message ListLogEntriesRequest {
-     *     string parent = 1 [(google.api.resource_reference) = {
-     *       child_type: "logging.googleapis.com/LogEntry"
-     *     };
-     *   }
+     *     message ListLogEntriesRequest {
+     *       string parent = 1 [(google.api.resource_reference) = {
+     *         child_type: "logging.googleapis.com/LogEntry"
+     *       };
+     *     }
      *
      * Generated from protobuf field string child_type = 2;
      * @param string $var
diff --git a/vendor/prefixed/google/common-protos/src/Api/RoutingRule.php b/vendor/prefixed/google/common-protos/src/Api/RoutingRule.php
index 1ab0f6c9c..c224c2f3a 100644
--- a/vendor/prefixed/google/common-protos/src/Api/RoutingRule.php
+++ b/vendor/prefixed/google/common-protos/src/Api/RoutingRule.php
@@ -297,7 +297,7 @@ class RoutingRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Api\RoutingParameter[]|\Google\Protobuf\Internal\RepeatedField $routing_parameters
+     *     @type array<\Google\Api\RoutingParameter>|\Google\Protobuf\Internal\RepeatedField $routing_parameters
      *           A collection of Routing Parameter specifications.
      *           **NOTE:** If multiple Routing Parameters describe the same key
      *           (via the `path_template` field or via the `field` field when
@@ -335,7 +335,7 @@ public function getRoutingParameters()
      * See the examples for more details.
      *
      * Generated from protobuf field repeated .google.api.RoutingParameter routing_parameters = 2;
-     * @param \Google\Api\RoutingParameter[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\RoutingParameter>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setRoutingParameters($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/RubySettings.php b/vendor/prefixed/google/common-protos/src/Api/RubySettings.php
new file mode 100644
index 000000000..c9401144b
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/RubySettings.php
@@ -0,0 +1,69 @@
+google.api.RubySettings
+ */
+class RubySettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     */
+    protected $common = null;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type \Google\Api\CommonLanguageSettings $common
+     *           Some settings.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     * @return \Google\Api\CommonLanguageSettings|null
+     */
+    public function getCommon()
+    {
+        return $this->common;
+    }
+    public function hasCommon()
+    {
+        return isset($this->common);
+    }
+    public function clearCommon()
+    {
+        unset($this->common);
+    }
+    /**
+     * Some settings.
+     *
+     * Generated from protobuf field .google.api.CommonLanguageSettings common = 1;
+     * @param \Google\Api\CommonLanguageSettings $var
+     * @return $this
+     */
+    public function setCommon($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\CommonLanguageSettings::class);
+        $this->common = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Service.php b/vendor/prefixed/google/common-protos/src/Api/Service.php
index 6f4f81782..3fa7b4923 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Service.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Service.php
@@ -8,18 +8,26 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
- * `Service` is the root object of Google service configuration schema. It
- * describes basic information about a service, such as the name and the
- * title, and delegates other aspects to sub-sections. Each sub-section is
- * either a proto message or a repeated proto message that configures a
- * specific aspect, such as auth. See each proto message definition for details.
+ * `Service` is the root object of Google API service configuration (service
+ * config). It describes the basic information about a logical service,
+ * such as the service name and the user-facing title, and delegates other
+ * aspects to sub-sections. Each sub-section is either a proto message or a
+ * repeated proto message that configures a specific aspect, such as auth.
+ * For more information, see each proto message definition.
  * Example:
  *     type: google.api.Service
- *     config_version: 3
  *     name: calendar.googleapis.com
  *     title: Google Calendar API
  *     apis:
  *     - name: google.calendar.v3.Calendar
+ *     visibility:
+ *       rules:
+ *       - selector: "google.calendar.v3.*"
+ *         restriction: PREVIEW
+ *     backend:
+ *       rules:
+ *       - selector: "google.calendar.v3.*"
+ *         address: calendar.example.com
  *     authentication:
  *       providers:
  *       - id: google_calendar_auth
@@ -35,57 +43,52 @@
 class Service extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * The semantic version of the service configuration. The config version
-     * affects the interpretation of the service configuration. For example,
-     * certain features are enabled by default for certain config versions.
-     * The latest config version is `3`.
-     *
-     * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
-     */
-    private $config_version = null;
-    /**
-     * The DNS address at which this service is available,
-     * e.g. `calendar.googleapis.com`.
+     * The service name, which is a DNS-like logical identifier for the
+     * service, such as `calendar.googleapis.com`. The service name
+     * typically goes through DNS verification to make sure the owner
+     * of the service also owns the DNS name.
      *
      * Generated from protobuf field string name = 1;
      */
-    private $name = '';
-    /**
-     * A unique ID for a specific instance of this message, typically assigned
-     * by the client for tracking purpose. If empty, the server may choose to
-     * generate one instead.
-     *
-     * Generated from protobuf field string id = 33;
-     */
-    private $id = '';
+    protected $name = '';
     /**
-     * The product title for this service.
+     * The product title for this service, it is the name displayed in Google
+     * Cloud Console.
      *
      * Generated from protobuf field string title = 2;
      */
-    private $title = '';
+    protected $title = '';
     /**
      * The Google project that owns this service.
      *
      * Generated from protobuf field string producer_project_id = 22;
      */
-    private $producer_project_id = '';
+    protected $producer_project_id = '';
+    /**
+     * A unique ID for a specific instance of this message, typically assigned
+     * by the client for tracking purpose. Must be no longer than 63 characters
+     * and only lower case letters, digits, '.', '_' and '-' are allowed. If
+     * empty, the server may choose to generate one instead.
+     *
+     * Generated from protobuf field string id = 33;
+     */
+    protected $id = '';
     /**
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      *
      * Generated from protobuf field repeated .google.protobuf.Api apis = 3;
      */
     private $apis;
     /**
      * A list of all proto message types included in this API service.
-     * Types referenced directly or indirectly by the `apis` are
-     * automatically included.  Messages which are not referenced but
-     * shall be included, such as types used by the `google.protobuf.Any` type,
-     * should be listed here by name. Example:
+     * Types referenced directly or indirectly by the `apis` are automatically
+     * included.  Messages which are not referenced but shall be included, such as
+     * types used by the `google.protobuf.Any` type, should be listed here by
+     * name by the configuration author. Example:
      *     types:
      *     - name: google.protobuf.Int32
      *
@@ -93,10 +96,10 @@ class Service extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob
      */
     private $types;
     /**
-     * A list of all enum types included in this API service.  Enums
-     * referenced directly or indirectly by the `apis` are automatically
-     * included.  Enums which are not referenced but shall be included
-     * should be listed here by name. Example:
+     * A list of all enum types included in this API service.  Enums referenced
+     * directly or indirectly by the `apis` are automatically included.  Enums
+     * which are not referenced but shall be included should be listed here by
+     * name by the configuration author. Example:
      *     enums:
      *     - name: google.someapi.v1.SomeEnum
      *
@@ -108,43 +111,43 @@ class Service extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob
      *
      * Generated from protobuf field .google.api.Documentation documentation = 6;
      */
-    private $documentation = null;
+    protected $documentation = null;
     /**
      * API backend configuration.
      *
      * Generated from protobuf field .google.api.Backend backend = 8;
      */
-    private $backend = null;
+    protected $backend = null;
     /**
      * HTTP configuration.
      *
      * Generated from protobuf field .google.api.Http http = 9;
      */
-    private $http = null;
+    protected $http = null;
     /**
      * Quota configuration.
      *
      * Generated from protobuf field .google.api.Quota quota = 10;
      */
-    private $quota = null;
+    protected $quota = null;
     /**
      * Auth configuration.
      *
      * Generated from protobuf field .google.api.Authentication authentication = 11;
      */
-    private $authentication = null;
+    protected $authentication = null;
     /**
      * Context configuration.
      *
      * Generated from protobuf field .google.api.Context context = 12;
      */
-    private $context = null;
+    protected $context = null;
     /**
      * Configuration controlling usage of this service.
      *
      * Generated from protobuf field .google.api.Usage usage = 15;
      */
-    private $usage = null;
+    protected $usage = null;
     /**
      * Configuration for network endpoints.  If this is empty, then an endpoint
      * with the same name as the service is automatically generated to service all
@@ -158,7 +161,7 @@ class Service extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob
      *
      * Generated from protobuf field .google.api.Control control = 21;
      */
-    private $control = null;
+    protected $control = null;
     /**
      * Defines the logs used by this service.
      *
@@ -173,7 +176,8 @@ class Service extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob
     private $metrics;
     /**
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      *
      * Generated from protobuf field repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      */
@@ -183,72 +187,87 @@ class Service extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob
      *
      * Generated from protobuf field .google.api.Billing billing = 26;
      */
-    private $billing = null;
+    protected $billing = null;
     /**
      * Logging configuration.
      *
      * Generated from protobuf field .google.api.Logging logging = 27;
      */
-    private $logging = null;
+    protected $logging = null;
     /**
      * Monitoring configuration.
      *
      * Generated from protobuf field .google.api.Monitoring monitoring = 28;
      */
-    private $monitoring = null;
+    protected $monitoring = null;
     /**
      * System parameter configuration.
      *
      * Generated from protobuf field .google.api.SystemParameters system_parameters = 29;
      */
-    private $system_parameters = null;
+    protected $system_parameters = null;
     /**
      * Output only. The source information for this configuration if available.
      *
      * Generated from protobuf field .google.api.SourceInfo source_info = 37;
      */
-    private $source_info = null;
+    protected $source_info = null;
+    /**
+     * Settings for [Google Cloud Client
+     * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
+     * generated from APIs defined as protocol buffers.
+     *
+     * Generated from protobuf field .google.api.Publishing publishing = 45;
+     */
+    protected $publishing = null;
+    /**
+     * Obsolete. Do not use.
+     * This field has no semantic meaning. The service config compiler always
+     * sets this field to `3`.
+     *
+     * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
+     */
+    protected $config_version = null;
     /**
      * Constructor.
      *
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Protobuf\UInt32Value $config_version
-     *           The semantic version of the service configuration. The config version
-     *           affects the interpretation of the service configuration. For example,
-     *           certain features are enabled by default for certain config versions.
-     *           The latest config version is `3`.
      *     @type string $name
-     *           The DNS address at which this service is available,
-     *           e.g. `calendar.googleapis.com`.
-     *     @type string $id
-     *           A unique ID for a specific instance of this message, typically assigned
-     *           by the client for tracking purpose. If empty, the server may choose to
-     *           generate one instead.
+     *           The service name, which is a DNS-like logical identifier for the
+     *           service, such as `calendar.googleapis.com`. The service name
+     *           typically goes through DNS verification to make sure the owner
+     *           of the service also owns the DNS name.
      *     @type string $title
-     *           The product title for this service.
+     *           The product title for this service, it is the name displayed in Google
+     *           Cloud Console.
      *     @type string $producer_project_id
      *           The Google project that owns this service.
-     *     @type \Google\Protobuf\Api[]|\Google\Protobuf\Internal\RepeatedField $apis
+     *     @type string $id
+     *           A unique ID for a specific instance of this message, typically assigned
+     *           by the client for tracking purpose. Must be no longer than 63 characters
+     *           and only lower case letters, digits, '.', '_' and '-' are allowed. If
+     *           empty, the server may choose to generate one instead.
+     *     @type array<\Google\Protobuf\Api>|\Google\Protobuf\Internal\RepeatedField $apis
      *           A list of API interfaces exported by this service. Only the `name` field
-     *           of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     *           author, as the remaining fields will be derived from the IDL during the
-     *           normalization process. It is an error to specify an API interface here
-     *           which cannot be resolved against the associated IDL files.
-     *     @type \Google\Protobuf\Type[]|\Google\Protobuf\Internal\RepeatedField $types
+     *           of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     *           the configuration author, as the remaining fields will be derived from the
+     *           IDL during the normalization process. It is an error to specify an API
+     *           interface here which cannot be resolved against the associated IDL files.
+     *     @type array<\Google\Protobuf\Type>|\Google\Protobuf\Internal\RepeatedField $types
      *           A list of all proto message types included in this API service.
-     *           Types referenced directly or indirectly by the `apis` are
-     *           automatically included.  Messages which are not referenced but
-     *           shall be included, such as types used by the `google.protobuf.Any` type,
-     *           should be listed here by name. Example:
+     *           Types referenced directly or indirectly by the `apis` are automatically
+     *           included.  Messages which are not referenced but shall be included, such as
+     *           types used by the `google.protobuf.Any` type, should be listed here by
+     *           name by the configuration author. Example:
      *               types:
      *               - name: google.protobuf.Int32
-     *     @type \Google\Protobuf\Enum[]|\Google\Protobuf\Internal\RepeatedField $enums
-     *           A list of all enum types included in this API service.  Enums
-     *           referenced directly or indirectly by the `apis` are automatically
-     *           included.  Enums which are not referenced but shall be included
-     *           should be listed here by name. Example:
+     *     @type array<\Google\Protobuf\Enum>|\Google\Protobuf\Internal\RepeatedField $enums
+     *           A list of all enum types included in this API service.  Enums referenced
+     *           directly or indirectly by the `apis` are automatically included.  Enums
+     *           which are not referenced but shall be included should be listed here by
+     *           name by the configuration author. Example:
      *               enums:
      *               - name: google.someapi.v1.SomeEnum
      *     @type \Google\Api\Documentation $documentation
@@ -265,19 +284,20 @@ class Service extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob
      *           Context configuration.
      *     @type \Google\Api\Usage $usage
      *           Configuration controlling usage of this service.
-     *     @type \Google\Api\Endpoint[]|\Google\Protobuf\Internal\RepeatedField $endpoints
+     *     @type array<\Google\Api\Endpoint>|\Google\Protobuf\Internal\RepeatedField $endpoints
      *           Configuration for network endpoints.  If this is empty, then an endpoint
      *           with the same name as the service is automatically generated to service all
      *           defined APIs.
      *     @type \Google\Api\Control $control
      *           Configuration for the service control plane.
-     *     @type \Google\Api\LogDescriptor[]|\Google\Protobuf\Internal\RepeatedField $logs
+     *     @type array<\Google\Api\LogDescriptor>|\Google\Protobuf\Internal\RepeatedField $logs
      *           Defines the logs used by this service.
-     *     @type \Google\Api\MetricDescriptor[]|\Google\Protobuf\Internal\RepeatedField $metrics
+     *     @type array<\Google\Api\MetricDescriptor>|\Google\Protobuf\Internal\RepeatedField $metrics
      *           Defines the metrics used by this service.
-     *     @type \Google\Api\MonitoredResourceDescriptor[]|\Google\Protobuf\Internal\RepeatedField $monitored_resources
+     *     @type array<\Google\Api\MonitoredResourceDescriptor>|\Google\Protobuf\Internal\RepeatedField $monitored_resources
      *           Defines the monitored resources used by this service. This is required
-     *           by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     *           by the [Service.monitoring][google.api.Service.monitoring] and
+     *           [Service.logging][google.api.Service.logging] configurations.
      *     @type \Google\Api\Billing $billing
      *           Billing configuration.
      *     @type \Google\Api\Logging $logging
@@ -288,6 +308,14 @@ class Service extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob
      *           System parameter configuration.
      *     @type \Google\Api\SourceInfo $source_info
      *           Output only. The source information for this configuration if available.
+     *     @type \Google\Api\Publishing $publishing
+     *           Settings for [Google Cloud Client
+     *           libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
+     *           generated from APIs defined as protocol buffers.
+     *     @type \Google\Protobuf\UInt32Value $config_version
+     *           Obsolete. Do not use.
+     *           This field has no semantic meaning. The service config compiler always
+     *           sets this field to `3`.
      * }
      */
     public function __construct($data = NULL)
@@ -296,68 +324,10 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * The semantic version of the service configuration. The config version
-     * affects the interpretation of the service configuration. For example,
-     * certain features are enabled by default for certain config versions.
-     * The latest config version is `3`.
-     *
-     * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
-     * @return \Google\Protobuf\UInt32Value
-     */
-    public function getConfigVersion()
-    {
-        return $this->config_version;
-    }
-    /**
-     * Returns the unboxed value from getConfigVersion()
-     * The semantic version of the service configuration. The config version
-     * affects the interpretation of the service configuration. For example,
-     * certain features are enabled by default for certain config versions.
-     * The latest config version is `3`.
-     *
-     * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
-     * @return int|null
-     */
-    public function getConfigVersionUnwrapped()
-    {
-        $wrapper = $this->getConfigVersion();
-        return is_null($wrapper) ? null : $wrapper->getValue();
-    }
-    /**
-     * The semantic version of the service configuration. The config version
-     * affects the interpretation of the service configuration. For example,
-     * certain features are enabled by default for certain config versions.
-     * The latest config version is `3`.
-     *
-     * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
-     * @param \Google\Protobuf\UInt32Value $var
-     * @return $this
-     */
-    public function setConfigVersion($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\UInt32Value::class);
-        $this->config_version = $var;
-        return $this;
-    }
-    /**
-     * Sets the field by wrapping a primitive type in a Google\Protobuf\UInt32Value object.
-     * The semantic version of the service configuration. The config version
-     * affects the interpretation of the service configuration. For example,
-     * certain features are enabled by default for certain config versions.
-     * The latest config version is `3`.
-     *
-     * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
-     * @param int|null $var
-     * @return $this
-     */
-    public function setConfigVersionUnwrapped($var)
-    {
-        $wrappedVar = is_null($var) ? null : new \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\UInt32Value(['value' => $var]);
-        return $this->setConfigVersion($wrappedVar);
-    }
-    /**
-     * The DNS address at which this service is available,
-     * e.g. `calendar.googleapis.com`.
+     * The service name, which is a DNS-like logical identifier for the
+     * service, such as `calendar.googleapis.com`. The service name
+     * typically goes through DNS verification to make sure the owner
+     * of the service also owns the DNS name.
      *
      * Generated from protobuf field string name = 1;
      * @return string
@@ -367,8 +337,10 @@ public function getName()
         return $this->name;
     }
     /**
-     * The DNS address at which this service is available,
-     * e.g. `calendar.googleapis.com`.
+     * The service name, which is a DNS-like logical identifier for the
+     * service, such as `calendar.googleapis.com`. The service name
+     * typically goes through DNS verification to make sure the owner
+     * of the service also owns the DNS name.
      *
      * Generated from protobuf field string name = 1;
      * @param string $var
@@ -381,84 +353,88 @@ public function setName($var)
         return $this;
     }
     /**
-     * A unique ID for a specific instance of this message, typically assigned
-     * by the client for tracking purpose. If empty, the server may choose to
-     * generate one instead.
+     * The product title for this service, it is the name displayed in Google
+     * Cloud Console.
      *
-     * Generated from protobuf field string id = 33;
+     * Generated from protobuf field string title = 2;
      * @return string
      */
-    public function getId()
+    public function getTitle()
     {
-        return $this->id;
+        return $this->title;
     }
     /**
-     * A unique ID for a specific instance of this message, typically assigned
-     * by the client for tracking purpose. If empty, the server may choose to
-     * generate one instead.
+     * The product title for this service, it is the name displayed in Google
+     * Cloud Console.
      *
-     * Generated from protobuf field string id = 33;
+     * Generated from protobuf field string title = 2;
      * @param string $var
      * @return $this
      */
-    public function setId($var)
+    public function setTitle($var)
     {
         GPBUtil::checkString($var, True);
-        $this->id = $var;
+        $this->title = $var;
         return $this;
     }
     /**
-     * The product title for this service.
+     * The Google project that owns this service.
      *
-     * Generated from protobuf field string title = 2;
+     * Generated from protobuf field string producer_project_id = 22;
      * @return string
      */
-    public function getTitle()
+    public function getProducerProjectId()
     {
-        return $this->title;
+        return $this->producer_project_id;
     }
     /**
-     * The product title for this service.
+     * The Google project that owns this service.
      *
-     * Generated from protobuf field string title = 2;
+     * Generated from protobuf field string producer_project_id = 22;
      * @param string $var
      * @return $this
      */
-    public function setTitle($var)
+    public function setProducerProjectId($var)
     {
         GPBUtil::checkString($var, True);
-        $this->title = $var;
+        $this->producer_project_id = $var;
         return $this;
     }
     /**
-     * The Google project that owns this service.
+     * A unique ID for a specific instance of this message, typically assigned
+     * by the client for tracking purpose. Must be no longer than 63 characters
+     * and only lower case letters, digits, '.', '_' and '-' are allowed. If
+     * empty, the server may choose to generate one instead.
      *
-     * Generated from protobuf field string producer_project_id = 22;
+     * Generated from protobuf field string id = 33;
      * @return string
      */
-    public function getProducerProjectId()
+    public function getId()
     {
-        return $this->producer_project_id;
+        return $this->id;
     }
     /**
-     * The Google project that owns this service.
+     * A unique ID for a specific instance of this message, typically assigned
+     * by the client for tracking purpose. Must be no longer than 63 characters
+     * and only lower case letters, digits, '.', '_' and '-' are allowed. If
+     * empty, the server may choose to generate one instead.
      *
-     * Generated from protobuf field string producer_project_id = 22;
+     * Generated from protobuf field string id = 33;
      * @param string $var
      * @return $this
      */
-    public function setProducerProjectId($var)
+    public function setId($var)
     {
         GPBUtil::checkString($var, True);
-        $this->producer_project_id = $var;
+        $this->id = $var;
         return $this;
     }
     /**
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      *
      * Generated from protobuf field repeated .google.protobuf.Api apis = 3;
      * @return \Google\Protobuf\Internal\RepeatedField
@@ -469,13 +445,13 @@ public function getApis()
     }
     /**
      * A list of API interfaces exported by this service. Only the `name` field
-     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
-     * author, as the remaining fields will be derived from the IDL during the
-     * normalization process. It is an error to specify an API interface here
-     * which cannot be resolved against the associated IDL files.
+     * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
+     * the configuration author, as the remaining fields will be derived from the
+     * IDL during the normalization process. It is an error to specify an API
+     * interface here which cannot be resolved against the associated IDL files.
      *
      * Generated from protobuf field repeated .google.protobuf.Api apis = 3;
-     * @param \Google\Protobuf\Api[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Protobuf\Api>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setApis($var)
@@ -486,10 +462,10 @@ public function setApis($var)
     }
     /**
      * A list of all proto message types included in this API service.
-     * Types referenced directly or indirectly by the `apis` are
-     * automatically included.  Messages which are not referenced but
-     * shall be included, such as types used by the `google.protobuf.Any` type,
-     * should be listed here by name. Example:
+     * Types referenced directly or indirectly by the `apis` are automatically
+     * included.  Messages which are not referenced but shall be included, such as
+     * types used by the `google.protobuf.Any` type, should be listed here by
+     * name by the configuration author. Example:
      *     types:
      *     - name: google.protobuf.Int32
      *
@@ -502,15 +478,15 @@ public function getTypes()
     }
     /**
      * A list of all proto message types included in this API service.
-     * Types referenced directly or indirectly by the `apis` are
-     * automatically included.  Messages which are not referenced but
-     * shall be included, such as types used by the `google.protobuf.Any` type,
-     * should be listed here by name. Example:
+     * Types referenced directly or indirectly by the `apis` are automatically
+     * included.  Messages which are not referenced but shall be included, such as
+     * types used by the `google.protobuf.Any` type, should be listed here by
+     * name by the configuration author. Example:
      *     types:
      *     - name: google.protobuf.Int32
      *
      * Generated from protobuf field repeated .google.protobuf.Type types = 4;
-     * @param \Google\Protobuf\Type[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Protobuf\Type>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setTypes($var)
@@ -520,10 +496,10 @@ public function setTypes($var)
         return $this;
     }
     /**
-     * A list of all enum types included in this API service.  Enums
-     * referenced directly or indirectly by the `apis` are automatically
-     * included.  Enums which are not referenced but shall be included
-     * should be listed here by name. Example:
+     * A list of all enum types included in this API service.  Enums referenced
+     * directly or indirectly by the `apis` are automatically included.  Enums
+     * which are not referenced but shall be included should be listed here by
+     * name by the configuration author. Example:
      *     enums:
      *     - name: google.someapi.v1.SomeEnum
      *
@@ -535,15 +511,15 @@ public function getEnums()
         return $this->enums;
     }
     /**
-     * A list of all enum types included in this API service.  Enums
-     * referenced directly or indirectly by the `apis` are automatically
-     * included.  Enums which are not referenced but shall be included
-     * should be listed here by name. Example:
+     * A list of all enum types included in this API service.  Enums referenced
+     * directly or indirectly by the `apis` are automatically included.  Enums
+     * which are not referenced but shall be included should be listed here by
+     * name by the configuration author. Example:
      *     enums:
      *     - name: google.someapi.v1.SomeEnum
      *
      * Generated from protobuf field repeated .google.protobuf.Enum enums = 5;
-     * @param \Google\Protobuf\Enum[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Protobuf\Enum>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setEnums($var)
@@ -556,12 +532,20 @@ public function setEnums($var)
      * Additional API documentation.
      *
      * Generated from protobuf field .google.api.Documentation documentation = 6;
-     * @return \Google\Api\Documentation
+     * @return \Google\Api\Documentation|null
      */
     public function getDocumentation()
     {
         return $this->documentation;
     }
+    public function hasDocumentation()
+    {
+        return isset($this->documentation);
+    }
+    public function clearDocumentation()
+    {
+        unset($this->documentation);
+    }
     /**
      * Additional API documentation.
      *
@@ -579,12 +563,20 @@ public function setDocumentation($var)
      * API backend configuration.
      *
      * Generated from protobuf field .google.api.Backend backend = 8;
-     * @return \Google\Api\Backend
+     * @return \Google\Api\Backend|null
      */
     public function getBackend()
     {
         return $this->backend;
     }
+    public function hasBackend()
+    {
+        return isset($this->backend);
+    }
+    public function clearBackend()
+    {
+        unset($this->backend);
+    }
     /**
      * API backend configuration.
      *
@@ -602,12 +594,20 @@ public function setBackend($var)
      * HTTP configuration.
      *
      * Generated from protobuf field .google.api.Http http = 9;
-     * @return \Google\Api\Http
+     * @return \Google\Api\Http|null
      */
     public function getHttp()
     {
         return $this->http;
     }
+    public function hasHttp()
+    {
+        return isset($this->http);
+    }
+    public function clearHttp()
+    {
+        unset($this->http);
+    }
     /**
      * HTTP configuration.
      *
@@ -625,12 +625,20 @@ public function setHttp($var)
      * Quota configuration.
      *
      * Generated from protobuf field .google.api.Quota quota = 10;
-     * @return \Google\Api\Quota
+     * @return \Google\Api\Quota|null
      */
     public function getQuota()
     {
         return $this->quota;
     }
+    public function hasQuota()
+    {
+        return isset($this->quota);
+    }
+    public function clearQuota()
+    {
+        unset($this->quota);
+    }
     /**
      * Quota configuration.
      *
@@ -648,12 +656,20 @@ public function setQuota($var)
      * Auth configuration.
      *
      * Generated from protobuf field .google.api.Authentication authentication = 11;
-     * @return \Google\Api\Authentication
+     * @return \Google\Api\Authentication|null
      */
     public function getAuthentication()
     {
         return $this->authentication;
     }
+    public function hasAuthentication()
+    {
+        return isset($this->authentication);
+    }
+    public function clearAuthentication()
+    {
+        unset($this->authentication);
+    }
     /**
      * Auth configuration.
      *
@@ -671,12 +687,20 @@ public function setAuthentication($var)
      * Context configuration.
      *
      * Generated from protobuf field .google.api.Context context = 12;
-     * @return \Google\Api\Context
+     * @return \Google\Api\Context|null
      */
     public function getContext()
     {
         return $this->context;
     }
+    public function hasContext()
+    {
+        return isset($this->context);
+    }
+    public function clearContext()
+    {
+        unset($this->context);
+    }
     /**
      * Context configuration.
      *
@@ -694,12 +718,20 @@ public function setContext($var)
      * Configuration controlling usage of this service.
      *
      * Generated from protobuf field .google.api.Usage usage = 15;
-     * @return \Google\Api\Usage
+     * @return \Google\Api\Usage|null
      */
     public function getUsage()
     {
         return $this->usage;
     }
+    public function hasUsage()
+    {
+        return isset($this->usage);
+    }
+    public function clearUsage()
+    {
+        unset($this->usage);
+    }
     /**
      * Configuration controlling usage of this service.
      *
@@ -731,7 +763,7 @@ public function getEndpoints()
      * defined APIs.
      *
      * Generated from protobuf field repeated .google.api.Endpoint endpoints = 18;
-     * @param \Google\Api\Endpoint[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\Endpoint>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setEndpoints($var)
@@ -744,12 +776,20 @@ public function setEndpoints($var)
      * Configuration for the service control plane.
      *
      * Generated from protobuf field .google.api.Control control = 21;
-     * @return \Google\Api\Control
+     * @return \Google\Api\Control|null
      */
     public function getControl()
     {
         return $this->control;
     }
+    public function hasControl()
+    {
+        return isset($this->control);
+    }
+    public function clearControl()
+    {
+        unset($this->control);
+    }
     /**
      * Configuration for the service control plane.
      *
@@ -777,7 +817,7 @@ public function getLogs()
      * Defines the logs used by this service.
      *
      * Generated from protobuf field repeated .google.api.LogDescriptor logs = 23;
-     * @param \Google\Api\LogDescriptor[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\LogDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setLogs($var)
@@ -800,7 +840,7 @@ public function getMetrics()
      * Defines the metrics used by this service.
      *
      * Generated from protobuf field repeated .google.api.MetricDescriptor metrics = 24;
-     * @param \Google\Api\MetricDescriptor[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\MetricDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setMetrics($var)
@@ -811,7 +851,8 @@ public function setMetrics($var)
     }
     /**
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      *
      * Generated from protobuf field repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      * @return \Google\Protobuf\Internal\RepeatedField
@@ -822,10 +863,11 @@ public function getMonitoredResources()
     }
     /**
      * Defines the monitored resources used by this service. This is required
-     * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
+     * by the [Service.monitoring][google.api.Service.monitoring] and
+     * [Service.logging][google.api.Service.logging] configurations.
      *
      * Generated from protobuf field repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
-     * @param \Google\Api\MonitoredResourceDescriptor[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\MonitoredResourceDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setMonitoredResources($var)
@@ -838,12 +880,20 @@ public function setMonitoredResources($var)
      * Billing configuration.
      *
      * Generated from protobuf field .google.api.Billing billing = 26;
-     * @return \Google\Api\Billing
+     * @return \Google\Api\Billing|null
      */
     public function getBilling()
     {
         return $this->billing;
     }
+    public function hasBilling()
+    {
+        return isset($this->billing);
+    }
+    public function clearBilling()
+    {
+        unset($this->billing);
+    }
     /**
      * Billing configuration.
      *
@@ -861,12 +911,20 @@ public function setBilling($var)
      * Logging configuration.
      *
      * Generated from protobuf field .google.api.Logging logging = 27;
-     * @return \Google\Api\Logging
+     * @return \Google\Api\Logging|null
      */
     public function getLogging()
     {
         return $this->logging;
     }
+    public function hasLogging()
+    {
+        return isset($this->logging);
+    }
+    public function clearLogging()
+    {
+        unset($this->logging);
+    }
     /**
      * Logging configuration.
      *
@@ -884,12 +942,20 @@ public function setLogging($var)
      * Monitoring configuration.
      *
      * Generated from protobuf field .google.api.Monitoring monitoring = 28;
-     * @return \Google\Api\Monitoring
+     * @return \Google\Api\Monitoring|null
      */
     public function getMonitoring()
     {
         return $this->monitoring;
     }
+    public function hasMonitoring()
+    {
+        return isset($this->monitoring);
+    }
+    public function clearMonitoring()
+    {
+        unset($this->monitoring);
+    }
     /**
      * Monitoring configuration.
      *
@@ -907,12 +973,20 @@ public function setMonitoring($var)
      * System parameter configuration.
      *
      * Generated from protobuf field .google.api.SystemParameters system_parameters = 29;
-     * @return \Google\Api\SystemParameters
+     * @return \Google\Api\SystemParameters|null
      */
     public function getSystemParameters()
     {
         return $this->system_parameters;
     }
+    public function hasSystemParameters()
+    {
+        return isset($this->system_parameters);
+    }
+    public function clearSystemParameters()
+    {
+        unset($this->system_parameters);
+    }
     /**
      * System parameter configuration.
      *
@@ -930,12 +1004,20 @@ public function setSystemParameters($var)
      * Output only. The source information for this configuration if available.
      *
      * Generated from protobuf field .google.api.SourceInfo source_info = 37;
-     * @return \Google\Api\SourceInfo
+     * @return \Google\Api\SourceInfo|null
      */
     public function getSourceInfo()
     {
         return $this->source_info;
     }
+    public function hasSourceInfo()
+    {
+        return isset($this->source_info);
+    }
+    public function clearSourceInfo()
+    {
+        unset($this->source_info);
+    }
     /**
      * Output only. The source information for this configuration if available.
      *
@@ -949,4 +1031,102 @@ public function setSourceInfo($var)
         $this->source_info = $var;
         return $this;
     }
+    /**
+     * Settings for [Google Cloud Client
+     * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
+     * generated from APIs defined as protocol buffers.
+     *
+     * Generated from protobuf field .google.api.Publishing publishing = 45;
+     * @return \Google\Api\Publishing|null
+     */
+    public function getPublishing()
+    {
+        return $this->publishing;
+    }
+    public function hasPublishing()
+    {
+        return isset($this->publishing);
+    }
+    public function clearPublishing()
+    {
+        unset($this->publishing);
+    }
+    /**
+     * Settings for [Google Cloud Client
+     * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
+     * generated from APIs defined as protocol buffers.
+     *
+     * Generated from protobuf field .google.api.Publishing publishing = 45;
+     * @param \Google\Api\Publishing $var
+     * @return $this
+     */
+    public function setPublishing($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\Publishing::class);
+        $this->publishing = $var;
+        return $this;
+    }
+    /**
+     * Obsolete. Do not use.
+     * This field has no semantic meaning. The service config compiler always
+     * sets this field to `3`.
+     *
+     * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
+     * @return \Google\Protobuf\UInt32Value|null
+     */
+    public function getConfigVersion()
+    {
+        return $this->config_version;
+    }
+    public function hasConfigVersion()
+    {
+        return isset($this->config_version);
+    }
+    public function clearConfigVersion()
+    {
+        unset($this->config_version);
+    }
+    /**
+     * Returns the unboxed value from getConfigVersion()
+     * Obsolete. Do not use.
+     * This field has no semantic meaning. The service config compiler always
+     * sets this field to `3`.
+     *
+     * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
+     * @return int|null
+     */
+    public function getConfigVersionUnwrapped()
+    {
+        return $this->readWrapperValue("config_version");
+    }
+    /**
+     * Obsolete. Do not use.
+     * This field has no semantic meaning. The service config compiler always
+     * sets this field to `3`.
+     *
+     * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
+     * @param \Google\Protobuf\UInt32Value $var
+     * @return $this
+     */
+    public function setConfigVersion($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\UInt32Value::class);
+        $this->config_version = $var;
+        return $this;
+    }
+    /**
+     * Sets the field by wrapping a primitive type in a Google\Protobuf\UInt32Value object.
+     * Obsolete. Do not use.
+     * This field has no semantic meaning. The service config compiler always
+     * sets this field to `3`.
+     *
+     * Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
+     * @param int|null $var
+     * @return $this
+     */
+    public function setConfigVersionUnwrapped($var)
+    {
+        $this->writeWrapperValue("config_version", $var);
+        return $this;
+    }
 }
diff --git a/vendor/prefixed/google/common-protos/src/Api/SourceInfo.php b/vendor/prefixed/google/common-protos/src/Api/SourceInfo.php
index d10f15ebb..e6d86a716 100644
--- a/vendor/prefixed/google/common-protos/src/Api/SourceInfo.php
+++ b/vendor/prefixed/google/common-protos/src/Api/SourceInfo.php
@@ -26,7 +26,7 @@ class SourceInfo extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Protobuf\Any[]|\Google\Protobuf\Internal\RepeatedField $source_files
+     *     @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $source_files
      *           All files used during config generation.
      * }
      */
@@ -49,7 +49,7 @@ public function getSourceFiles()
      * All files used during config generation.
      *
      * Generated from protobuf field repeated .google.protobuf.Any source_files = 1;
-     * @param \Google\Protobuf\Any[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setSourceFiles($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/SystemParameter.php b/vendor/prefixed/google/common-protos/src/Api/SystemParameter.php
index 7f033846a..f24311ac6 100644
--- a/vendor/prefixed/google/common-protos/src/Api/SystemParameter.php
+++ b/vendor/prefixed/google/common-protos/src/Api/SystemParameter.php
@@ -21,21 +21,21 @@ class SystemParameter extends \Matomo\Dependencies\GoogleAnalyticsImporter\Googl
      *
      * Generated from protobuf field string name = 1;
      */
-    private $name = '';
+    protected $name = '';
     /**
      * Define the HTTP header name to use for the parameter. It is case
      * insensitive.
      *
      * Generated from protobuf field string http_header = 2;
      */
-    private $http_header = '';
+    protected $http_header = '';
     /**
      * Define the URL query parameter name to use for the parameter. It is case
      * sensitive.
      *
      * Generated from protobuf field string url_query_parameter = 3;
      */
-    private $url_query_parameter = '';
+    protected $url_query_parameter = '';
     /**
      * Constructor.
      *
diff --git a/vendor/prefixed/google/common-protos/src/Api/SystemParameterRule.php b/vendor/prefixed/google/common-protos/src/Api/SystemParameterRule.php
index 237b0b588..79206efe2 100644
--- a/vendor/prefixed/google/common-protos/src/Api/SystemParameterRule.php
+++ b/vendor/prefixed/google/common-protos/src/Api/SystemParameterRule.php
@@ -18,11 +18,12 @@ class SystemParameterRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\G
     /**
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      *
      * Generated from protobuf field string selector = 1;
      */
-    private $selector = '';
+    protected $selector = '';
     /**
      * Define parameters. Multiple names may be defined for a parameter.
      * For a given method call, only one of them should be used. If multiple
@@ -42,8 +43,9 @@ class SystemParameterRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\G
      *     @type string $selector
      *           Selects the methods to which this rule applies. Use '*' to indicate all
      *           methods in all APIs.
-     *           Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
-     *     @type \Google\Api\SystemParameter[]|\Google\Protobuf\Internal\RepeatedField $parameters
+     *           Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     *           details.
+     *     @type array<\Google\Api\SystemParameter>|\Google\Protobuf\Internal\RepeatedField $parameters
      *           Define parameters. Multiple names may be defined for a parameter.
      *           For a given method call, only one of them should be used. If multiple
      *           names are used the behavior is implementation-dependent.
@@ -59,7 +61,8 @@ public function __construct($data = NULL)
     /**
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      *
      * Generated from protobuf field string selector = 1;
      * @return string
@@ -71,7 +74,8 @@ public function getSelector()
     /**
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      *
      * Generated from protobuf field string selector = 1;
      * @param string $var
@@ -105,7 +109,7 @@ public function getParameters()
      * parameter-dependent.
      *
      * Generated from protobuf field repeated .google.api.SystemParameter parameters = 2;
-     * @param \Google\Api\SystemParameter[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\SystemParameter>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setParameters($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/SystemParameters.php b/vendor/prefixed/google/common-protos/src/Api/SystemParameters.php
index 48291113c..9fb32c647 100644
--- a/vendor/prefixed/google/common-protos/src/Api/SystemParameters.php
+++ b/vendor/prefixed/google/common-protos/src/Api/SystemParameters.php
@@ -51,7 +51,7 @@ class SystemParameters extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Api\SystemParameterRule[]|\Google\Protobuf\Internal\RepeatedField $rules
+     *     @type array<\Google\Api\SystemParameterRule>|\Google\Protobuf\Internal\RepeatedField $rules
      *           Define system parameters.
      *           The parameters defined here will override the default parameters
      *           implemented by the system. If this field is missing from the service
@@ -137,7 +137,7 @@ public function getRules()
      * **NOTE:** All service configuration rules follow "last one wins" order.
      *
      * Generated from protobuf field repeated .google.api.SystemParameterRule rules = 1;
-     * @param \Google\Api\SystemParameterRule[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\SystemParameterRule>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setRules($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/TypeReference.php b/vendor/prefixed/google/common-protos/src/Api/TypeReference.php
new file mode 100644
index 000000000..e78260bb8
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/TypeReference.php
@@ -0,0 +1,85 @@
+google.api.TypeReference
+ */
+class TypeReference extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The name of the type that the annotated, generic field may represent.
+     * If the type is in the same protobuf package, the value can be the simple
+     * message name e.g., `"MyMessage"`. Otherwise, the value must be the
+     * fully-qualified message name e.g., `"google.library.v1.Book"`.
+     * If the type(s) are unknown to the service (e.g. the field accepts generic
+     * user input), use the wildcard `"*"` to denote this behavior.
+     * See [AIP-202](https://google.aip.dev/202#type-references) for more details.
+     *
+     * Generated from protobuf field string type_name = 1;
+     */
+    protected $type_name = '';
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $type_name
+     *           The name of the type that the annotated, generic field may represent.
+     *           If the type is in the same protobuf package, the value can be the simple
+     *           message name e.g., `"MyMessage"`. Otherwise, the value must be the
+     *           fully-qualified message name e.g., `"google.library.v1.Book"`.
+     *           If the type(s) are unknown to the service (e.g. the field accepts generic
+     *           user input), use the wildcard `"*"` to denote this behavior.
+     *           See [AIP-202](https://google.aip.dev/202#type-references) for more details.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\FieldInfo::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The name of the type that the annotated, generic field may represent.
+     * If the type is in the same protobuf package, the value can be the simple
+     * message name e.g., `"MyMessage"`. Otherwise, the value must be the
+     * fully-qualified message name e.g., `"google.library.v1.Book"`.
+     * If the type(s) are unknown to the service (e.g. the field accepts generic
+     * user input), use the wildcard `"*"` to denote this behavior.
+     * See [AIP-202](https://google.aip.dev/202#type-references) for more details.
+     *
+     * Generated from protobuf field string type_name = 1;
+     * @return string
+     */
+    public function getTypeName()
+    {
+        return $this->type_name;
+    }
+    /**
+     * The name of the type that the annotated, generic field may represent.
+     * If the type is in the same protobuf package, the value can be the simple
+     * message name e.g., `"MyMessage"`. Otherwise, the value must be the
+     * fully-qualified message name e.g., `"google.library.v1.Book"`.
+     * If the type(s) are unknown to the service (e.g. the field accepts generic
+     * user input), use the wildcard `"*"` to denote this behavior.
+     * See [AIP-202](https://google.aip.dev/202#type-references) for more details.
+     *
+     * Generated from protobuf field string type_name = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setTypeName($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->type_name = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/Usage.php b/vendor/prefixed/google/common-protos/src/Api/Usage.php
index 1b87cee34..d2cd022a9 100644
--- a/vendor/prefixed/google/common-protos/src/Api/Usage.php
+++ b/vendor/prefixed/google/common-protos/src/Api/Usage.php
@@ -18,6 +18,11 @@ class Usage extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf
      * Requirements that must be satisfied before a consumer project can use the
      * service. Each requirement is of the form /;
      * for example 'serviceusage.googleapis.com/billing-enabled'.
+     * For Google APIs, a Terms of Service requirement must be included here.
+     * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
+     * Other Google APIs should include
+     * "serviceusage.googleapis.com/tos/universal". Additional ToS can be
+     * included based on the business needs.
      *
      * Generated from protobuf field repeated string requirements = 1;
      */
@@ -40,18 +45,23 @@ class Usage extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf
      *
      * Generated from protobuf field string producer_notification_channel = 7;
      */
-    private $producer_notification_channel = '';
+    protected $producer_notification_channel = '';
     /**
      * Constructor.
      *
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $requirements
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $requirements
      *           Requirements that must be satisfied before a consumer project can use the
      *           service. Each requirement is of the form /;
      *           for example 'serviceusage.googleapis.com/billing-enabled'.
-     *     @type \Google\Api\UsageRule[]|\Google\Protobuf\Internal\RepeatedField $rules
+     *           For Google APIs, a Terms of Service requirement must be included here.
+     *           Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
+     *           Other Google APIs should include
+     *           "serviceusage.googleapis.com/tos/universal". Additional ToS can be
+     *           included based on the business needs.
+     *     @type array<\Google\Api\UsageRule>|\Google\Protobuf\Internal\RepeatedField $rules
      *           A list of usage rules that apply to individual API methods.
      *           **NOTE:** All service configuration rules follow "last one wins" order.
      *     @type string $producer_notification_channel
@@ -73,6 +83,11 @@ public function __construct($data = NULL)
      * Requirements that must be satisfied before a consumer project can use the
      * service. Each requirement is of the form /;
      * for example 'serviceusage.googleapis.com/billing-enabled'.
+     * For Google APIs, a Terms of Service requirement must be included here.
+     * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
+     * Other Google APIs should include
+     * "serviceusage.googleapis.com/tos/universal". Additional ToS can be
+     * included based on the business needs.
      *
      * Generated from protobuf field repeated string requirements = 1;
      * @return \Google\Protobuf\Internal\RepeatedField
@@ -85,9 +100,14 @@ public function getRequirements()
      * Requirements that must be satisfied before a consumer project can use the
      * service. Each requirement is of the form /;
      * for example 'serviceusage.googleapis.com/billing-enabled'.
+     * For Google APIs, a Terms of Service requirement must be included here.
+     * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
+     * Other Google APIs should include
+     * "serviceusage.googleapis.com/tos/universal". Additional ToS can be
+     * included based on the business needs.
      *
      * Generated from protobuf field repeated string requirements = 1;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setRequirements($var)
@@ -112,7 +132,7 @@ public function getRules()
      * **NOTE:** All service configuration rules follow "last one wins" order.
      *
      * Generated from protobuf field repeated .google.api.UsageRule rules = 6;
-     * @param \Google\Api\UsageRule[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Api\UsageRule>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setRules($var)
diff --git a/vendor/prefixed/google/common-protos/src/Api/UsageRule.php b/vendor/prefixed/google/common-protos/src/Api/UsageRule.php
index b55e26ed5..a764528fb 100644
--- a/vendor/prefixed/google/common-protos/src/Api/UsageRule.php
+++ b/vendor/prefixed/google/common-protos/src/Api/UsageRule.php
@@ -34,18 +34,19 @@ class UsageRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot
     /**
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      *
      * Generated from protobuf field string selector = 1;
      */
-    private $selector = '';
+    protected $selector = '';
     /**
      * If true, the selected method allows unregistered calls, e.g. calls
      * that don't identify any user or application.
      *
      * Generated from protobuf field bool allow_unregistered_calls = 2;
      */
-    private $allow_unregistered_calls = \false;
+    protected $allow_unregistered_calls = \false;
     /**
      * If true, the selected method should skip service control and the control
      * plane features, such as quota and billing, will not be available.
@@ -54,7 +55,7 @@ class UsageRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot
      *
      * Generated from protobuf field bool skip_service_control = 3;
      */
-    private $skip_service_control = \false;
+    protected $skip_service_control = \false;
     /**
      * Constructor.
      *
@@ -64,7 +65,8 @@ class UsageRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot
      *     @type string $selector
      *           Selects the methods to which this rule applies. Use '*' to indicate all
      *           methods in all APIs.
-     *           Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     *           Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     *           details.
      *     @type bool $allow_unregistered_calls
      *           If true, the selected method allows unregistered calls, e.g. calls
      *           that don't identify any user or application.
@@ -83,7 +85,8 @@ public function __construct($data = NULL)
     /**
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      *
      * Generated from protobuf field string selector = 1;
      * @return string
@@ -95,7 +98,8 @@ public function getSelector()
     /**
      * Selects the methods to which this rule applies. Use '*' to indicate all
      * methods in all APIs.
-     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
      *
      * Generated from protobuf field string selector = 1;
      * @param string $var
diff --git a/vendor/prefixed/google/common-protos/src/Api/Visibility.php b/vendor/prefixed/google/common-protos/src/Api/Visibility.php
new file mode 100644
index 000000000..94016a5e3
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/Visibility.php
@@ -0,0 +1,82 @@
+google.api.Visibility
+ */
+class Visibility extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * A list of visibility rules that apply to individual API elements.
+     * **NOTE:** All service configuration rules follow "last one wins" order.
+     *
+     * Generated from protobuf field repeated .google.api.VisibilityRule rules = 1;
+     */
+    private $rules;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type array<\Google\Api\VisibilityRule>|\Google\Protobuf\Internal\RepeatedField $rules
+     *           A list of visibility rules that apply to individual API elements.
+     *           **NOTE:** All service configuration rules follow "last one wins" order.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Visibility::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * A list of visibility rules that apply to individual API elements.
+     * **NOTE:** All service configuration rules follow "last one wins" order.
+     *
+     * Generated from protobuf field repeated .google.api.VisibilityRule rules = 1;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getRules()
+    {
+        return $this->rules;
+    }
+    /**
+     * A list of visibility rules that apply to individual API elements.
+     * **NOTE:** All service configuration rules follow "last one wins" order.
+     *
+     * Generated from protobuf field repeated .google.api.VisibilityRule rules = 1;
+     * @param array<\Google\Api\VisibilityRule>|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setRules($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\VisibilityRule::class);
+        $this->rules = $arr;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Api/VisibilityRule.php b/vendor/prefixed/google/common-protos/src/Api/VisibilityRule.php
new file mode 100644
index 000000000..16fc6fba1
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Api/VisibilityRule.php
@@ -0,0 +1,141 @@
+google.api.VisibilityRule
+ */
+class VisibilityRule extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Selects methods, messages, fields, enums, etc. to which this rule applies.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
+     *
+     * Generated from protobuf field string selector = 1;
+     */
+    protected $selector = '';
+    /**
+     * A comma-separated list of visibility labels that apply to the `selector`.
+     * Any of the listed labels can be used to grant the visibility.
+     * If a rule has multiple labels, removing one of the labels but not all of
+     * them can break clients.
+     * Example:
+     *     visibility:
+     *       rules:
+     *       - selector: google.calendar.Calendar.EnhancedSearch
+     *         restriction: INTERNAL, PREVIEW
+     * Removing INTERNAL from this restriction will break clients that rely on
+     * this method and only had access to it through INTERNAL.
+     *
+     * Generated from protobuf field string restriction = 2;
+     */
+    protected $restriction = '';
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $selector
+     *           Selects methods, messages, fields, enums, etc. to which this rule applies.
+     *           Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     *           details.
+     *     @type string $restriction
+     *           A comma-separated list of visibility labels that apply to the `selector`.
+     *           Any of the listed labels can be used to grant the visibility.
+     *           If a rule has multiple labels, removing one of the labels but not all of
+     *           them can break clients.
+     *           Example:
+     *               visibility:
+     *                 rules:
+     *                 - selector: google.calendar.Calendar.EnhancedSearch
+     *                   restriction: INTERNAL, PREVIEW
+     *           Removing INTERNAL from this restriction will break clients that rely on
+     *           this method and only had access to it through INTERNAL.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Visibility::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Selects methods, messages, fields, enums, etc. to which this rule applies.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
+     *
+     * Generated from protobuf field string selector = 1;
+     * @return string
+     */
+    public function getSelector()
+    {
+        return $this->selector;
+    }
+    /**
+     * Selects methods, messages, fields, enums, etc. to which this rule applies.
+     * Refer to [selector][google.api.DocumentationRule.selector] for syntax
+     * details.
+     *
+     * Generated from protobuf field string selector = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setSelector($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->selector = $var;
+        return $this;
+    }
+    /**
+     * A comma-separated list of visibility labels that apply to the `selector`.
+     * Any of the listed labels can be used to grant the visibility.
+     * If a rule has multiple labels, removing one of the labels but not all of
+     * them can break clients.
+     * Example:
+     *     visibility:
+     *       rules:
+     *       - selector: google.calendar.Calendar.EnhancedSearch
+     *         restriction: INTERNAL, PREVIEW
+     * Removing INTERNAL from this restriction will break clients that rely on
+     * this method and only had access to it through INTERNAL.
+     *
+     * Generated from protobuf field string restriction = 2;
+     * @return string
+     */
+    public function getRestriction()
+    {
+        return $this->restriction;
+    }
+    /**
+     * A comma-separated list of visibility labels that apply to the `selector`.
+     * Any of the listed labels can be used to grant the visibility.
+     * If a rule has multiple labels, removing one of the labels but not all of
+     * them can break clients.
+     * Example:
+     *     visibility:
+     *       rules:
+     *       - selector: google.calendar.Calendar.EnhancedSearch
+     *         restriction: INTERNAL, PREVIEW
+     * Removing INTERNAL from this restriction will break clients that rely on
+     * this method and only had access to it through INTERNAL.
+     *
+     * Generated from protobuf field string restriction = 2;
+     * @param string $var
+     * @return $this
+     */
+    public function setRestriction($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->restriction = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfig.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfig.php
new file mode 100644
index 000000000..a372d0762
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfig.php
@@ -0,0 +1,146 @@
+google.iam.v1.AuditConfig
+ */
+class AuditConfig extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Specifies a service that will be enabled for audit logging.
+     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
+     * `allServices` is a special value that covers all services.
+     *
+     * Generated from protobuf field string service = 1;
+     */
+    protected $service = '';
+    /**
+     * The configuration for logging of each type of permission.
+     *
+     * Generated from protobuf field repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3;
+     */
+    private $audit_log_configs;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $service
+     *           Specifies a service that will be enabled for audit logging.
+     *           For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
+     *           `allServices` is a special value that covers all services.
+     *     @type array<\Google\Cloud\Iam\V1\AuditLogConfig>|\Google\Protobuf\Internal\RepeatedField $audit_log_configs
+     *           The configuration for logging of each type of permission.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Iam\V1\Policy::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Specifies a service that will be enabled for audit logging.
+     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
+     * `allServices` is a special value that covers all services.
+     *
+     * Generated from protobuf field string service = 1;
+     * @return string
+     */
+    public function getService()
+    {
+        return $this->service;
+    }
+    /**
+     * Specifies a service that will be enabled for audit logging.
+     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
+     * `allServices` is a special value that covers all services.
+     *
+     * Generated from protobuf field string service = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setService($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->service = $var;
+        return $this;
+    }
+    /**
+     * The configuration for logging of each type of permission.
+     *
+     * Generated from protobuf field repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getAuditLogConfigs()
+    {
+        return $this->audit_log_configs;
+    }
+    /**
+     * The configuration for logging of each type of permission.
+     *
+     * Generated from protobuf field repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3;
+     * @param array<\Google\Cloud\Iam\V1\AuditLogConfig>|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setAuditLogConfigs($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Cloud\Iam\V1\AuditLogConfig::class);
+        $this->audit_log_configs = $arr;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta.php
index a86597c3a..b9ff792b0 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta.php
@@ -21,7 +21,7 @@ class AuditConfigDelta extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *
      * Generated from protobuf field .google.iam.v1.AuditConfigDelta.Action action = 1;
      */
-    private $action = 0;
+    protected $action = 0;
     /**
      * Specifies a service that was configured for Cloud Audit Logging.
      * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
@@ -30,7 +30,7 @@ class AuditConfigDelta extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *
      * Generated from protobuf field string service = 2;
      */
-    private $service = '';
+    protected $service = '';
     /**
      * A single identity that is exempted from "data access" audit
      * logging for the `service` specified above.
@@ -38,7 +38,7 @@ class AuditConfigDelta extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *
      * Generated from protobuf field string exempted_member = 3;
      */
-    private $exempted_member = '';
+    protected $exempted_member = '';
     /**
      * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
      * enabled, and cannot be configured.
@@ -46,7 +46,7 @@ class AuditConfigDelta extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *
      * Generated from protobuf field string log_type = 4;
      */
-    private $log_type = '';
+    protected $log_type = '';
     /**
      * Constructor.
      *
@@ -97,7 +97,7 @@ public function getAction()
      */
     public function setAction($var)
     {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Cloud\Iam\V1\AuditConfigDelta_Action::class);
+        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Cloud\Iam\V1\AuditConfigDelta\Action::class);
         $this->action = $var;
         return $this;
     }
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta/Action.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta/Action.php
index c3aae74e4..8255bada2 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta/Action.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta/Action.php
@@ -47,5 +47,3 @@ public static function value($name)
         return constant($const);
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Action::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Cloud\Iam\V1\AuditConfigDelta_Action::class);
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta_Action.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta_Action.php
deleted file mode 100644
index fdbb63698..000000000
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta_Action.php
+++ /dev/null
@@ -1,17 +0,0 @@
-google.iam.v1.AuditLogConfig
+ */
+class AuditLogConfig extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The log type that this config enables.
+     *
+     * Generated from protobuf field .google.iam.v1.AuditLogConfig.LogType log_type = 1;
+     */
+    protected $log_type = 0;
+    /**
+     * Specifies the identities that do not cause logging for this type of
+     * permission.
+     * Follows the same format of
+     * [Binding.members][google.iam.v1.Binding.members].
+     *
+     * Generated from protobuf field repeated string exempted_members = 2;
+     */
+    private $exempted_members;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type int $log_type
+     *           The log type that this config enables.
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $exempted_members
+     *           Specifies the identities that do not cause logging for this type of
+     *           permission.
+     *           Follows the same format of
+     *           [Binding.members][google.iam.v1.Binding.members].
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Iam\V1\Policy::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The log type that this config enables.
+     *
+     * Generated from protobuf field .google.iam.v1.AuditLogConfig.LogType log_type = 1;
+     * @return int
+     */
+    public function getLogType()
+    {
+        return $this->log_type;
+    }
+    /**
+     * The log type that this config enables.
+     *
+     * Generated from protobuf field .google.iam.v1.AuditLogConfig.LogType log_type = 1;
+     * @param int $var
+     * @return $this
+     */
+    public function setLogType($var)
+    {
+        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Cloud\Iam\V1\AuditLogConfig\LogType::class);
+        $this->log_type = $var;
+        return $this;
+    }
+    /**
+     * Specifies the identities that do not cause logging for this type of
+     * permission.
+     * Follows the same format of
+     * [Binding.members][google.iam.v1.Binding.members].
+     *
+     * Generated from protobuf field repeated string exempted_members = 2;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getExemptedMembers()
+    {
+        return $this->exempted_members;
+    }
+    /**
+     * Specifies the identities that do not cause logging for this type of
+     * permission.
+     * Follows the same format of
+     * [Binding.members][google.iam.v1.Binding.members].
+     *
+     * Generated from protobuf field repeated string exempted_members = 2;
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setExemptedMembers($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->exempted_members = $arr;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditLogConfig/LogType.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditLogConfig/LogType.php
new file mode 100644
index 000000000..51f46cce4
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/AuditLogConfig/LogType.php
@@ -0,0 +1,56 @@
+google.iam.v1.AuditLogConfig.LogType
+ */
+class LogType
+{
+    /**
+     * Default case. Should never be this.
+     *
+     * Generated from protobuf enum LOG_TYPE_UNSPECIFIED = 0;
+     */
+    const LOG_TYPE_UNSPECIFIED = 0;
+    /**
+     * Admin reads. Example: CloudIAM getIamPolicy
+     *
+     * Generated from protobuf enum ADMIN_READ = 1;
+     */
+    const ADMIN_READ = 1;
+    /**
+     * Data writes. Example: CloudSQL Users create
+     *
+     * Generated from protobuf enum DATA_WRITE = 2;
+     */
+    const DATA_WRITE = 2;
+    /**
+     * Data reads. Example: CloudSQL Users list
+     *
+     * Generated from protobuf enum DATA_READ = 3;
+     */
+    const DATA_READ = 3;
+    private static $valueToName = [self::LOG_TYPE_UNSPECIFIED => 'LOG_TYPE_UNSPECIFIED', self::ADMIN_READ => 'ADMIN_READ', self::DATA_WRITE => 'DATA_WRITE', self::DATA_READ => 'DATA_READ'];
+    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/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/Binding.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/Binding.php
index 79e6ca118..b3e63578f 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/Binding.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/Binding.php
@@ -8,21 +8,21 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
- * Associates `members` with a `role`.
+ * Associates `members`, or principals, with a `role`.
  *
  * Generated from protobuf message google.iam.v1.Binding
  */
 class Binding extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * Role that is assigned to `members`.
+     * Role that is assigned to the list of `members`, or principals.
      * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
      *
      * Generated from protobuf field string role = 1;
      */
-    private $role = '';
+    protected $role = '';
     /**
-     * Specifies the identities requesting access for a Cloud Platform resource.
+     * Specifies the principals requesting access for a Google Cloud resource.
      * `members` can have the following values:
      * * `allUsers`: A special identifier that represents anyone who is
      *    on the internet; with or without a Google account.
@@ -34,6 +34,23 @@ class Binding extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob
      *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
      * * `group:{emailid}`: An email address that represents a Google group.
      *    For example, `admins@example.com`.
+     * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
+     *    identifier) representing a user that has been recently deleted. For
+     *    example, `alice@example.com?uid=123456789012345678901`. If the user is
+     *    recovered, this value reverts to `user:{emailid}` and the recovered user
+     *    retains the role in the binding.
+     * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
+     *    unique identifier) representing a service account that has been recently
+     *    deleted. For example,
+     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
+     *    If the service account is undeleted, this value reverts to
+     *    `serviceAccount:{emailid}` and the undeleted service account retains the
+     *    role in the binding.
+     * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
+     *    identifier) representing a Google group that has been recently
+     *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
+     *    the group is recovered, this value reverts to `group:{emailid}` and the
+     *    recovered group retains the role in the binding.
      * * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *    users of that domain. For example, `google.com` or `example.com`.
      *
@@ -42,13 +59,18 @@ class Binding extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob
     private $members;
     /**
      * The condition that is associated with this binding.
-     * NOTE: An unsatisfied condition will not allow user access via current
-     * binding. Different bindings, including their conditions, are examined
-     * independently.
+     * If the condition evaluates to `true`, then this binding applies to the
+     * current request.
+     * If the condition evaluates to `false`, then this binding does not apply to
+     * the current request. However, a different role binding might grant the same
+     * role to one or more of the principals in this binding.
+     * To learn which resources support conditions in their IAM policies, see the
+     * [IAM
+     * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
      *
      * Generated from protobuf field .google.type.Expr condition = 3;
      */
-    private $condition = null;
+    protected $condition = null;
     /**
      * Constructor.
      *
@@ -56,10 +78,10 @@ class Binding extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob
      *     Optional. Data for populating the Message object.
      *
      *     @type string $role
-     *           Role that is assigned to `members`.
+     *           Role that is assigned to the list of `members`, or principals.
      *           For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $members
-     *           Specifies the identities requesting access for a Cloud Platform resource.
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $members
+     *           Specifies the principals requesting access for a Google Cloud resource.
      *           `members` can have the following values:
      *           * `allUsers`: A special identifier that represents anyone who is
      *              on the internet; with or without a Google account.
@@ -71,13 +93,35 @@ class Binding extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protob
      *              account. For example, `my-other-app@appspot.gserviceaccount.com`.
      *           * `group:{emailid}`: An email address that represents a Google group.
      *              For example, `admins@example.com`.
+     *           * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
+     *              identifier) representing a user that has been recently deleted. For
+     *              example, `alice@example.com?uid=123456789012345678901`. If the user is
+     *              recovered, this value reverts to `user:{emailid}` and the recovered user
+     *              retains the role in the binding.
+     *           * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
+     *              unique identifier) representing a service account that has been recently
+     *              deleted. For example,
+     *              `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
+     *              If the service account is undeleted, this value reverts to
+     *              `serviceAccount:{emailid}` and the undeleted service account retains the
+     *              role in the binding.
+     *           * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
+     *              identifier) representing a Google group that has been recently
+     *              deleted. For example, `admins@example.com?uid=123456789012345678901`. If
+     *              the group is recovered, this value reverts to `group:{emailid}` and the
+     *              recovered group retains the role in the binding.
      *           * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *              users of that domain. For example, `google.com` or `example.com`.
      *     @type \Google\Type\Expr $condition
      *           The condition that is associated with this binding.
-     *           NOTE: An unsatisfied condition will not allow user access via current
-     *           binding. Different bindings, including their conditions, are examined
-     *           independently.
+     *           If the condition evaluates to `true`, then this binding applies to the
+     *           current request.
+     *           If the condition evaluates to `false`, then this binding does not apply to
+     *           the current request. However, a different role binding might grant the same
+     *           role to one or more of the principals in this binding.
+     *           To learn which resources support conditions in their IAM policies, see the
+     *           [IAM
+     *           documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
      * }
      */
     public function __construct($data = NULL)
@@ -86,7 +130,7 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * Role that is assigned to `members`.
+     * Role that is assigned to the list of `members`, or principals.
      * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
      *
      * Generated from protobuf field string role = 1;
@@ -97,7 +141,7 @@ public function getRole()
         return $this->role;
     }
     /**
-     * Role that is assigned to `members`.
+     * Role that is assigned to the list of `members`, or principals.
      * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
      *
      * Generated from protobuf field string role = 1;
@@ -111,7 +155,7 @@ public function setRole($var)
         return $this;
     }
     /**
-     * Specifies the identities requesting access for a Cloud Platform resource.
+     * Specifies the principals requesting access for a Google Cloud resource.
      * `members` can have the following values:
      * * `allUsers`: A special identifier that represents anyone who is
      *    on the internet; with or without a Google account.
@@ -123,6 +167,23 @@ public function setRole($var)
      *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
      * * `group:{emailid}`: An email address that represents a Google group.
      *    For example, `admins@example.com`.
+     * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
+     *    identifier) representing a user that has been recently deleted. For
+     *    example, `alice@example.com?uid=123456789012345678901`. If the user is
+     *    recovered, this value reverts to `user:{emailid}` and the recovered user
+     *    retains the role in the binding.
+     * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
+     *    unique identifier) representing a service account that has been recently
+     *    deleted. For example,
+     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
+     *    If the service account is undeleted, this value reverts to
+     *    `serviceAccount:{emailid}` and the undeleted service account retains the
+     *    role in the binding.
+     * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
+     *    identifier) representing a Google group that has been recently
+     *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
+     *    the group is recovered, this value reverts to `group:{emailid}` and the
+     *    recovered group retains the role in the binding.
      * * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *    users of that domain. For example, `google.com` or `example.com`.
      *
@@ -134,7 +195,7 @@ public function getMembers()
         return $this->members;
     }
     /**
-     * Specifies the identities requesting access for a Cloud Platform resource.
+     * Specifies the principals requesting access for a Google Cloud resource.
      * `members` can have the following values:
      * * `allUsers`: A special identifier that represents anyone who is
      *    on the internet; with or without a Google account.
@@ -146,11 +207,28 @@ public function getMembers()
      *    account. For example, `my-other-app@appspot.gserviceaccount.com`.
      * * `group:{emailid}`: An email address that represents a Google group.
      *    For example, `admins@example.com`.
+     * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
+     *    identifier) representing a user that has been recently deleted. For
+     *    example, `alice@example.com?uid=123456789012345678901`. If the user is
+     *    recovered, this value reverts to `user:{emailid}` and the recovered user
+     *    retains the role in the binding.
+     * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
+     *    unique identifier) representing a service account that has been recently
+     *    deleted. For example,
+     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
+     *    If the service account is undeleted, this value reverts to
+     *    `serviceAccount:{emailid}` and the undeleted service account retains the
+     *    role in the binding.
+     * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
+     *    identifier) representing a Google group that has been recently
+     *    deleted. For example, `admins@example.com?uid=123456789012345678901`. If
+     *    the group is recovered, this value reverts to `group:{emailid}` and the
+     *    recovered group retains the role in the binding.
      * * `domain:{domain}`: The G Suite domain (primary) that represents all the
      *    users of that domain. For example, `google.com` or `example.com`.
      *
      * Generated from protobuf field repeated string members = 2;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setMembers($var)
@@ -161,22 +239,40 @@ public function setMembers($var)
     }
     /**
      * The condition that is associated with this binding.
-     * NOTE: An unsatisfied condition will not allow user access via current
-     * binding. Different bindings, including their conditions, are examined
-     * independently.
+     * If the condition evaluates to `true`, then this binding applies to the
+     * current request.
+     * If the condition evaluates to `false`, then this binding does not apply to
+     * the current request. However, a different role binding might grant the same
+     * role to one or more of the principals in this binding.
+     * To learn which resources support conditions in their IAM policies, see the
+     * [IAM
+     * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
      *
      * Generated from protobuf field .google.type.Expr condition = 3;
-     * @return \Google\Type\Expr
+     * @return \Google\Type\Expr|null
      */
     public function getCondition()
     {
         return $this->condition;
     }
+    public function hasCondition()
+    {
+        return isset($this->condition);
+    }
+    public function clearCondition()
+    {
+        unset($this->condition);
+    }
     /**
      * The condition that is associated with this binding.
-     * NOTE: An unsatisfied condition will not allow user access via current
-     * binding. Different bindings, including their conditions, are examined
-     * independently.
+     * If the condition evaluates to `true`, then this binding applies to the
+     * current request.
+     * If the condition evaluates to `false`, then this binding does not apply to
+     * the current request. However, a different role binding might grant the same
+     * role to one or more of the principals in this binding.
+     * To learn which resources support conditions in their IAM policies, see the
+     * [IAM
+     * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
      *
      * Generated from protobuf field .google.type.Expr condition = 3;
      * @param \Google\Type\Expr $var
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/BindingDelta.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/BindingDelta.php
index 3b8649864..f30b373b4 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/BindingDelta.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/BindingDelta.php
@@ -21,7 +21,7 @@ class BindingDelta extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P
      *
      * Generated from protobuf field .google.iam.v1.BindingDelta.Action action = 1;
      */
-    private $action = 0;
+    protected $action = 0;
     /**
      * Role that is assigned to `members`.
      * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
@@ -29,21 +29,21 @@ class BindingDelta extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P
      *
      * Generated from protobuf field string role = 2;
      */
-    private $role = '';
+    protected $role = '';
     /**
-     * A single identity requesting access for a Cloud Platform resource.
+     * A single identity requesting access for a Google Cloud resource.
      * Follows the same format of Binding.members.
      * Required
      *
      * Generated from protobuf field string member = 3;
      */
-    private $member = '';
+    protected $member = '';
     /**
      * The condition that is associated with this binding.
      *
      * Generated from protobuf field .google.type.Expr condition = 4;
      */
-    private $condition = null;
+    protected $condition = null;
     /**
      * Constructor.
      *
@@ -58,7 +58,7 @@ class BindingDelta extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P
      *           For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
      *           Required
      *     @type string $member
-     *           A single identity requesting access for a Cloud Platform resource.
+     *           A single identity requesting access for a Google Cloud resource.
      *           Follows the same format of Binding.members.
      *           Required
      *     @type \Google\Type\Expr $condition
@@ -91,7 +91,7 @@ public function getAction()
      */
     public function setAction($var)
     {
-        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Cloud\Iam\V1\BindingDelta_Action::class);
+        GPBUtil::checkEnum($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Cloud\Iam\V1\BindingDelta\Action::class);
         $this->action = $var;
         return $this;
     }
@@ -123,7 +123,7 @@ public function setRole($var)
         return $this;
     }
     /**
-     * A single identity requesting access for a Cloud Platform resource.
+     * A single identity requesting access for a Google Cloud resource.
      * Follows the same format of Binding.members.
      * Required
      *
@@ -135,7 +135,7 @@ public function getMember()
         return $this->member;
     }
     /**
-     * A single identity requesting access for a Cloud Platform resource.
+     * A single identity requesting access for a Google Cloud resource.
      * Follows the same format of Binding.members.
      * Required
      *
@@ -153,12 +153,20 @@ public function setMember($var)
      * The condition that is associated with this binding.
      *
      * Generated from protobuf field .google.type.Expr condition = 4;
-     * @return \Google\Type\Expr
+     * @return \Google\Type\Expr|null
      */
     public function getCondition()
     {
         return $this->condition;
     }
+    public function hasCondition()
+    {
+        return isset($this->condition);
+    }
+    public function clearCondition()
+    {
+        unset($this->condition);
+    }
     /**
      * The condition that is associated with this binding.
      *
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/BindingDelta/Action.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/BindingDelta/Action.php
index 51fc7292d..f8970513a 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/BindingDelta/Action.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/BindingDelta/Action.php
@@ -47,5 +47,3 @@ public static function value($name)
         return constant($const);
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Action::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Cloud\Iam\V1\BindingDelta_Action::class);
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/BindingDelta_Action.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/BindingDelta_Action.php
deleted file mode 100644
index 5c922b0d1..000000000
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/BindingDelta_Action.php
+++ /dev/null
@@ -1,17 +0,0 @@
-string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
      */
-    private $resource = '';
+    protected $resource = '';
     /**
      * OPTIONAL: A `GetPolicyOptions` object for specifying options to
-     * `GetIamPolicy`. This field is only used by Cloud IAM.
+     * `GetIamPolicy`.
      *
      * Generated from protobuf field .google.iam.v1.GetPolicyOptions options = 2;
      */
-    private $options = null;
+    protected $options = null;
     /**
      * Constructor.
      *
@@ -39,7 +39,7 @@ class GetIamPolicyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\G
      *           See the operation documentation for the appropriate value for this field.
      *     @type \Google\Cloud\Iam\V1\GetPolicyOptions $options
      *           OPTIONAL: A `GetPolicyOptions` object for specifying options to
-     *           `GetIamPolicy`. This field is only used by Cloud IAM.
+     *           `GetIamPolicy`.
      * }
      */
     public function __construct($data = NULL)
@@ -74,18 +74,26 @@ public function setResource($var)
     }
     /**
      * OPTIONAL: A `GetPolicyOptions` object for specifying options to
-     * `GetIamPolicy`. This field is only used by Cloud IAM.
+     * `GetIamPolicy`.
      *
      * Generated from protobuf field .google.iam.v1.GetPolicyOptions options = 2;
-     * @return \Google\Cloud\Iam\V1\GetPolicyOptions
+     * @return \Google\Cloud\Iam\V1\GetPolicyOptions|null
      */
     public function getOptions()
     {
         return $this->options;
     }
+    public function hasOptions()
+    {
+        return isset($this->options);
+    }
+    public function clearOptions()
+    {
+        unset($this->options);
+    }
     /**
      * OPTIONAL: A `GetPolicyOptions` object for specifying options to
-     * `GetIamPolicy`. This field is only used by Cloud IAM.
+     * `GetIamPolicy`.
      *
      * Generated from protobuf field .google.iam.v1.GetPolicyOptions options = 2;
      * @param \Google\Cloud\Iam\V1\GetPolicyOptions $var
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/GetPolicyOptions.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/GetPolicyOptions.php
index 4ee0c324f..fbdece9b5 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/GetPolicyOptions.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/GetPolicyOptions.php
@@ -15,16 +15,24 @@
 class GetPolicyOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * Optional. The policy format version to be returned.
+     * Optional. The maximum policy version that will be used to format the
+     * policy.
      * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
      * rejected.
-     * Requests for policies with any conditional bindings must specify version 3.
-     * Policies without any conditional bindings may specify any valid value or
-     * leave the field unset.
+     * Requests for policies with any conditional role bindings must specify
+     * version 3. Policies with no conditional role bindings may specify any valid
+     * value or leave the field unset.
+     * The policy in the response might use the policy version that you specified,
+     * or it might use a lower policy version. For example, if you specify version
+     * 3, but the policy has no conditional role bindings, the response uses
+     * version 1.
+     * To learn which resources support conditions in their IAM policies, see the
+     * [IAM
+     * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
      *
      * Generated from protobuf field int32 requested_policy_version = 1;
      */
-    private $requested_policy_version = 0;
+    protected $requested_policy_version = 0;
     /**
      * Constructor.
      *
@@ -32,12 +40,20 @@ class GetPolicyOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *     Optional. Data for populating the Message object.
      *
      *     @type int $requested_policy_version
-     *           Optional. The policy format version to be returned.
+     *           Optional. The maximum policy version that will be used to format the
+     *           policy.
      *           Valid values are 0, 1, and 3. Requests specifying an invalid value will be
      *           rejected.
-     *           Requests for policies with any conditional bindings must specify version 3.
-     *           Policies without any conditional bindings may specify any valid value or
-     *           leave the field unset.
+     *           Requests for policies with any conditional role bindings must specify
+     *           version 3. Policies with no conditional role bindings may specify any valid
+     *           value or leave the field unset.
+     *           The policy in the response might use the policy version that you specified,
+     *           or it might use a lower policy version. For example, if you specify version
+     *           3, but the policy has no conditional role bindings, the response uses
+     *           version 1.
+     *           To learn which resources support conditions in their IAM policies, see the
+     *           [IAM
+     *           documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
      * }
      */
     public function __construct($data = NULL)
@@ -46,12 +62,20 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * Optional. The policy format version to be returned.
+     * Optional. The maximum policy version that will be used to format the
+     * policy.
      * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
      * rejected.
-     * Requests for policies with any conditional bindings must specify version 3.
-     * Policies without any conditional bindings may specify any valid value or
-     * leave the field unset.
+     * Requests for policies with any conditional role bindings must specify
+     * version 3. Policies with no conditional role bindings may specify any valid
+     * value or leave the field unset.
+     * The policy in the response might use the policy version that you specified,
+     * or it might use a lower policy version. For example, if you specify version
+     * 3, but the policy has no conditional role bindings, the response uses
+     * version 1.
+     * To learn which resources support conditions in their IAM policies, see the
+     * [IAM
+     * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
      *
      * Generated from protobuf field int32 requested_policy_version = 1;
      * @return int
@@ -61,12 +85,20 @@ public function getRequestedPolicyVersion()
         return $this->requested_policy_version;
     }
     /**
-     * Optional. The policy format version to be returned.
+     * Optional. The maximum policy version that will be used to format the
+     * policy.
      * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
      * rejected.
-     * Requests for policies with any conditional bindings must specify version 3.
-     * Policies without any conditional bindings may specify any valid value or
-     * leave the field unset.
+     * Requests for policies with any conditional role bindings must specify
+     * version 3. Policies with no conditional role bindings may specify any valid
+     * value or leave the field unset.
+     * The policy in the response might use the policy version that you specified,
+     * or it might use a lower policy version. For example, if you specify version
+     * 3, but the policy has no conditional role bindings, the response uses
+     * version 1.
+     * To learn which resources support conditions in their IAM policies, see the
+     * [IAM
+     * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
      *
      * Generated from protobuf field int32 requested_policy_version = 1;
      * @param int $var
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/Policy.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/Policy.php
index 341001286..be6ee587d 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/Policy.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/Policy.php
@@ -8,16 +8,22 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
- * Defines an Identity and Access Management (IAM) policy. It is used to
- * specify access control policies for Cloud Platform resources.
+ * An Identity and Access Management (IAM) policy, which specifies access
+ * controls for Google Cloud resources.
  * A `Policy` is a collection of `bindings`. A `binding` binds one or more
- * `members` to a single `role`. Members can be user accounts, service accounts,
- * Google groups, and domains (such as G Suite). A `role` is a named list of
- * permissions (defined by IAM or configured by users). A `binding` can
- * optionally specify a `condition`, which is a logic expression that further
- * constrains the role binding based on attributes about the request and/or
- * target resource.
- * **JSON Example**
+ * `members`, or principals, to a single `role`. Principals can be user
+ * accounts, service accounts, Google groups, and domains (such as G Suite). A
+ * `role` is a named list of permissions; each `role` can be an IAM predefined
+ * role or a user-created custom role.
+ * For some types of Google Cloud resources, a `binding` can also specify a
+ * `condition`, which is a logical expression that allows access to a resource
+ * only if the expression evaluates to `true`. A condition can add constraints
+ * based on attributes of the request, the resource, or both. To learn which
+ * resources support conditions in their IAM policies, see the
+ * [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ * **JSON example:**
+ * ```
  *     {
  *       "bindings": [
  *         {
@@ -31,7 +37,9 @@
  *         },
  *         {
  *           "role": "roles/resourcemanager.organizationViewer",
- *           "members": ["user:eve@example.com"],
+ *           "members": [
+ *             "user:eve@example.com"
+ *           ],
  *           "condition": {
  *             "title": "expirable access",
  *             "description": "Does not grant access after Sep 2020",
@@ -39,9 +47,13 @@
  *             timestamp('2020-10-01T00:00:00.000Z')",
  *           }
  *         }
- *       ]
+ *       ],
+ *       "etag": "BwWWja0YfJA=",
+ *       "version": 3
  *     }
- * **YAML Example**
+ * ```
+ * **YAML example:**
+ * ```
  *     bindings:
  *     - members:
  *       - user:mike@example.com
@@ -56,8 +68,11 @@
  *         title: expirable access
  *         description: Does not grant access after Sep 2020
  *         expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
+ *     etag: BwWWja0YfJA=
+ *     version: 3
+ * ```
  * For a description of IAM and its features, see the
- * [IAM developer's guide](https://cloud.google.com/iam/docs).
+ * [IAM documentation](https://cloud.google.com/iam/docs/).
  *
  * Generated from protobuf message google.iam.v1.Policy
  */
@@ -65,28 +80,48 @@ class Policy extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu
 {
     /**
      * Specifies the format of the policy.
-     * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
-     * rejected.
-     * Operations affecting conditional bindings must specify version 3. This can
-     * be either setting a conditional policy, modifying a conditional binding,
-     * or removing a binding (conditional or unconditional) from the stored
-     * conditional policy.
-     * Operations on non-conditional policies may specify any valid value or
-     * leave the field unset.
-     * If no etag is provided in the call to `setIamPolicy`, version compliance
-     * checks against the stored policy is skipped.
+     * Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
+     * are rejected.
+     * Any operation that affects conditional role bindings must specify version
+     * `3`. This requirement applies to the following operations:
+     * * Getting a policy that includes a conditional role binding
+     * * Adding a conditional role binding to a policy
+     * * Changing a conditional role binding in a policy
+     * * Removing any role binding, with or without a condition, from a policy
+     *   that includes conditions
+     * **Important:** If you use IAM Conditions, you must include the `etag` field
+     * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
+     * you to overwrite a version `3` policy with a version `1` policy, and all of
+     * the conditions in the version `3` policy are lost.
+     * If a policy does not include any conditions, operations on that policy may
+     * specify any valid version or leave the field unset.
+     * To learn which resources support conditions in their IAM policies, see the
+     * [IAM
+     * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
      *
      * Generated from protobuf field int32 version = 1;
      */
-    private $version = 0;
+    protected $version = 0;
     /**
-     * Associates a list of `members` to a `role`. Optionally may specify a
-     * `condition` that determines when binding is in effect.
-     * `bindings` with no members will result in an error.
+     * Associates a list of `members`, or principals, with a `role`. Optionally,
+     * may specify a `condition` that determines how and when the `bindings` are
+     * applied. Each of the `bindings` must contain at least one principal.
+     * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
+     * of these principals can be Google groups. Each occurrence of a principal
+     * counts towards these limits. For example, if the `bindings` grant 50
+     * different roles to `user:alice@example.com`, and not to any other
+     * principal, then you can add another 1,450 principals to the `bindings` in
+     * the `Policy`.
      *
      * Generated from protobuf field repeated .google.iam.v1.Binding bindings = 4;
      */
     private $bindings;
+    /**
+     * Specifies cloud audit logging configuration for this policy.
+     *
+     * Generated from protobuf field repeated .google.iam.v1.AuditConfig audit_configs = 6;
+     */
+    private $audit_configs;
     /**
      * `etag` is used for optimistic concurrency control as a way to help
      * prevent simultaneous updates of a policy from overwriting each other.
@@ -95,14 +130,14 @@ class Policy extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu
      * conditions: An `etag` is returned in the response to `getIamPolicy`, and
      * systems are expected to put that etag in the request to `setIamPolicy` to
      * ensure that their change will be applied to the same version of the policy.
-     * If no `etag` is provided in the call to `setIamPolicy`, then the existing
-     * policy is overwritten. Due to blind-set semantics of an etag-less policy,
-     * 'setIamPolicy' will not fail even if the incoming policy version does not
-     * meet the requirements for modifying the stored policy.
+     * **Important:** If you use IAM Conditions, you must include the `etag` field
+     * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
+     * you to overwrite a version `3` policy with a version `1` policy, and all of
+     * the conditions in the version `3` policy are lost.
      *
      * Generated from protobuf field bytes etag = 3;
      */
-    private $etag = '';
+    protected $etag = '';
     /**
      * Constructor.
      *
@@ -111,20 +146,36 @@ class Policy extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu
      *
      *     @type int $version
      *           Specifies the format of the policy.
-     *           Valid values are 0, 1, and 3. Requests specifying an invalid value will be
-     *           rejected.
-     *           Operations affecting conditional bindings must specify version 3. This can
-     *           be either setting a conditional policy, modifying a conditional binding,
-     *           or removing a binding (conditional or unconditional) from the stored
-     *           conditional policy.
-     *           Operations on non-conditional policies may specify any valid value or
-     *           leave the field unset.
-     *           If no etag is provided in the call to `setIamPolicy`, version compliance
-     *           checks against the stored policy is skipped.
-     *     @type \Google\Cloud\Iam\V1\Binding[]|\Google\Protobuf\Internal\RepeatedField $bindings
-     *           Associates a list of `members` to a `role`. Optionally may specify a
-     *           `condition` that determines when binding is in effect.
-     *           `bindings` with no members will result in an error.
+     *           Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
+     *           are rejected.
+     *           Any operation that affects conditional role bindings must specify version
+     *           `3`. This requirement applies to the following operations:
+     *           * Getting a policy that includes a conditional role binding
+     *           * Adding a conditional role binding to a policy
+     *           * Changing a conditional role binding in a policy
+     *           * Removing any role binding, with or without a condition, from a policy
+     *             that includes conditions
+     *           **Important:** If you use IAM Conditions, you must include the `etag` field
+     *           whenever you call `setIamPolicy`. If you omit this field, then IAM allows
+     *           you to overwrite a version `3` policy with a version `1` policy, and all of
+     *           the conditions in the version `3` policy are lost.
+     *           If a policy does not include any conditions, operations on that policy may
+     *           specify any valid version or leave the field unset.
+     *           To learn which resources support conditions in their IAM policies, see the
+     *           [IAM
+     *           documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+     *     @type array<\Google\Cloud\Iam\V1\Binding>|\Google\Protobuf\Internal\RepeatedField $bindings
+     *           Associates a list of `members`, or principals, with a `role`. Optionally,
+     *           may specify a `condition` that determines how and when the `bindings` are
+     *           applied. Each of the `bindings` must contain at least one principal.
+     *           The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
+     *           of these principals can be Google groups. Each occurrence of a principal
+     *           counts towards these limits. For example, if the `bindings` grant 50
+     *           different roles to `user:alice@example.com`, and not to any other
+     *           principal, then you can add another 1,450 principals to the `bindings` in
+     *           the `Policy`.
+     *     @type array<\Google\Cloud\Iam\V1\AuditConfig>|\Google\Protobuf\Internal\RepeatedField $audit_configs
+     *           Specifies cloud audit logging configuration for this policy.
      *     @type string $etag
      *           `etag` is used for optimistic concurrency control as a way to help
      *           prevent simultaneous updates of a policy from overwriting each other.
@@ -133,10 +184,10 @@ class Policy extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu
      *           conditions: An `etag` is returned in the response to `getIamPolicy`, and
      *           systems are expected to put that etag in the request to `setIamPolicy` to
      *           ensure that their change will be applied to the same version of the policy.
-     *           If no `etag` is provided in the call to `setIamPolicy`, then the existing
-     *           policy is overwritten. Due to blind-set semantics of an etag-less policy,
-     *           'setIamPolicy' will not fail even if the incoming policy version does not
-     *           meet the requirements for modifying the stored policy.
+     *           **Important:** If you use IAM Conditions, you must include the `etag` field
+     *           whenever you call `setIamPolicy`. If you omit this field, then IAM allows
+     *           you to overwrite a version `3` policy with a version `1` policy, and all of
+     *           the conditions in the version `3` policy are lost.
      * }
      */
     public function __construct($data = NULL)
@@ -146,16 +197,24 @@ public function __construct($data = NULL)
     }
     /**
      * Specifies the format of the policy.
-     * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
-     * rejected.
-     * Operations affecting conditional bindings must specify version 3. This can
-     * be either setting a conditional policy, modifying a conditional binding,
-     * or removing a binding (conditional or unconditional) from the stored
-     * conditional policy.
-     * Operations on non-conditional policies may specify any valid value or
-     * leave the field unset.
-     * If no etag is provided in the call to `setIamPolicy`, version compliance
-     * checks against the stored policy is skipped.
+     * Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
+     * are rejected.
+     * Any operation that affects conditional role bindings must specify version
+     * `3`. This requirement applies to the following operations:
+     * * Getting a policy that includes a conditional role binding
+     * * Adding a conditional role binding to a policy
+     * * Changing a conditional role binding in a policy
+     * * Removing any role binding, with or without a condition, from a policy
+     *   that includes conditions
+     * **Important:** If you use IAM Conditions, you must include the `etag` field
+     * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
+     * you to overwrite a version `3` policy with a version `1` policy, and all of
+     * the conditions in the version `3` policy are lost.
+     * If a policy does not include any conditions, operations on that policy may
+     * specify any valid version or leave the field unset.
+     * To learn which resources support conditions in their IAM policies, see the
+     * [IAM
+     * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
      *
      * Generated from protobuf field int32 version = 1;
      * @return int
@@ -166,16 +225,24 @@ public function getVersion()
     }
     /**
      * Specifies the format of the policy.
-     * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
-     * rejected.
-     * Operations affecting conditional bindings must specify version 3. This can
-     * be either setting a conditional policy, modifying a conditional binding,
-     * or removing a binding (conditional or unconditional) from the stored
-     * conditional policy.
-     * Operations on non-conditional policies may specify any valid value or
-     * leave the field unset.
-     * If no etag is provided in the call to `setIamPolicy`, version compliance
-     * checks against the stored policy is skipped.
+     * Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
+     * are rejected.
+     * Any operation that affects conditional role bindings must specify version
+     * `3`. This requirement applies to the following operations:
+     * * Getting a policy that includes a conditional role binding
+     * * Adding a conditional role binding to a policy
+     * * Changing a conditional role binding in a policy
+     * * Removing any role binding, with or without a condition, from a policy
+     *   that includes conditions
+     * **Important:** If you use IAM Conditions, you must include the `etag` field
+     * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
+     * you to overwrite a version `3` policy with a version `1` policy, and all of
+     * the conditions in the version `3` policy are lost.
+     * If a policy does not include any conditions, operations on that policy may
+     * specify any valid version or leave the field unset.
+     * To learn which resources support conditions in their IAM policies, see the
+     * [IAM
+     * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
      *
      * Generated from protobuf field int32 version = 1;
      * @param int $var
@@ -188,9 +255,15 @@ public function setVersion($var)
         return $this;
     }
     /**
-     * Associates a list of `members` to a `role`. Optionally may specify a
-     * `condition` that determines when binding is in effect.
-     * `bindings` with no members will result in an error.
+     * Associates a list of `members`, or principals, with a `role`. Optionally,
+     * may specify a `condition` that determines how and when the `bindings` are
+     * applied. Each of the `bindings` must contain at least one principal.
+     * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
+     * of these principals can be Google groups. Each occurrence of a principal
+     * counts towards these limits. For example, if the `bindings` grant 50
+     * different roles to `user:alice@example.com`, and not to any other
+     * principal, then you can add another 1,450 principals to the `bindings` in
+     * the `Policy`.
      *
      * Generated from protobuf field repeated .google.iam.v1.Binding bindings = 4;
      * @return \Google\Protobuf\Internal\RepeatedField
@@ -200,12 +273,18 @@ public function getBindings()
         return $this->bindings;
     }
     /**
-     * Associates a list of `members` to a `role`. Optionally may specify a
-     * `condition` that determines when binding is in effect.
-     * `bindings` with no members will result in an error.
+     * Associates a list of `members`, or principals, with a `role`. Optionally,
+     * may specify a `condition` that determines how and when the `bindings` are
+     * applied. Each of the `bindings` must contain at least one principal.
+     * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
+     * of these principals can be Google groups. Each occurrence of a principal
+     * counts towards these limits. For example, if the `bindings` grant 50
+     * different roles to `user:alice@example.com`, and not to any other
+     * principal, then you can add another 1,450 principals to the `bindings` in
+     * the `Policy`.
      *
      * Generated from protobuf field repeated .google.iam.v1.Binding bindings = 4;
-     * @param \Google\Cloud\Iam\V1\Binding[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Cloud\Iam\V1\Binding>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setBindings($var)
@@ -214,6 +293,29 @@ public function setBindings($var)
         $this->bindings = $arr;
         return $this;
     }
+    /**
+     * Specifies cloud audit logging configuration for this policy.
+     *
+     * Generated from protobuf field repeated .google.iam.v1.AuditConfig audit_configs = 6;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getAuditConfigs()
+    {
+        return $this->audit_configs;
+    }
+    /**
+     * Specifies cloud audit logging configuration for this policy.
+     *
+     * Generated from protobuf field repeated .google.iam.v1.AuditConfig audit_configs = 6;
+     * @param array<\Google\Cloud\Iam\V1\AuditConfig>|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setAuditConfigs($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Cloud\Iam\V1\AuditConfig::class);
+        $this->audit_configs = $arr;
+        return $this;
+    }
     /**
      * `etag` is used for optimistic concurrency control as a way to help
      * prevent simultaneous updates of a policy from overwriting each other.
@@ -222,10 +324,10 @@ public function setBindings($var)
      * conditions: An `etag` is returned in the response to `getIamPolicy`, and
      * systems are expected to put that etag in the request to `setIamPolicy` to
      * ensure that their change will be applied to the same version of the policy.
-     * If no `etag` is provided in the call to `setIamPolicy`, then the existing
-     * policy is overwritten. Due to blind-set semantics of an etag-less policy,
-     * 'setIamPolicy' will not fail even if the incoming policy version does not
-     * meet the requirements for modifying the stored policy.
+     * **Important:** If you use IAM Conditions, you must include the `etag` field
+     * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
+     * you to overwrite a version `3` policy with a version `1` policy, and all of
+     * the conditions in the version `3` policy are lost.
      *
      * Generated from protobuf field bytes etag = 3;
      * @return string
@@ -242,10 +344,10 @@ public function getEtag()
      * conditions: An `etag` is returned in the response to `getIamPolicy`, and
      * systems are expected to put that etag in the request to `setIamPolicy` to
      * ensure that their change will be applied to the same version of the policy.
-     * If no `etag` is provided in the call to `setIamPolicy`, then the existing
-     * policy is overwritten. Due to blind-set semantics of an etag-less policy,
-     * 'setIamPolicy' will not fail even if the incoming policy version does not
-     * meet the requirements for modifying the stored policy.
+     * **Important:** If you use IAM Conditions, you must include the `etag` field
+     * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
+     * you to overwrite a version `3` policy with a version `1` policy, and all of
+     * the conditions in the version `3` policy are lost.
      *
      * Generated from protobuf field bytes etag = 3;
      * @param string $var
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/PolicyDelta.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/PolicyDelta.php
index 9562ef842..4cca2c26e 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/PolicyDelta.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/PolicyDelta.php
@@ -32,9 +32,9 @@ class PolicyDelta extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Cloud\Iam\V1\BindingDelta[]|\Google\Protobuf\Internal\RepeatedField $binding_deltas
+     *     @type array<\Google\Cloud\Iam\V1\BindingDelta>|\Google\Protobuf\Internal\RepeatedField $binding_deltas
      *           The delta for Bindings between two policies.
-     *     @type \Google\Cloud\Iam\V1\AuditConfigDelta[]|\Google\Protobuf\Internal\RepeatedField $audit_config_deltas
+     *     @type array<\Google\Cloud\Iam\V1\AuditConfigDelta>|\Google\Protobuf\Internal\RepeatedField $audit_config_deltas
      *           The delta for AuditConfigs between two policies.
      * }
      */
@@ -57,7 +57,7 @@ public function getBindingDeltas()
      * The delta for Bindings between two policies.
      *
      * Generated from protobuf field repeated .google.iam.v1.BindingDelta binding_deltas = 1;
-     * @param \Google\Cloud\Iam\V1\BindingDelta[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Cloud\Iam\V1\BindingDelta>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setBindingDeltas($var)
@@ -80,7 +80,7 @@ public function getAuditConfigDeltas()
      * The delta for AuditConfigs between two policies.
      *
      * Generated from protobuf field repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;
-     * @param \Google\Cloud\Iam\V1\AuditConfigDelta[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Cloud\Iam\V1\AuditConfigDelta>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setAuditConfigDeltas($var)
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/SetIamPolicyRequest.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/SetIamPolicyRequest.php
index 074089705..4f0148a51 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/SetIamPolicyRequest.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/SetIamPolicyRequest.php
@@ -20,7 +20,7 @@ class SetIamPolicyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\G
      *
      * Generated from protobuf field string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
      */
-    private $resource = '';
+    protected $resource = '';
     /**
      * REQUIRED: The complete policy to be applied to the `resource`. The size of
      * the policy is limited to a few 10s of KB. An empty policy is a
@@ -29,7 +29,16 @@ class SetIamPolicyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\G
      *
      * Generated from protobuf field .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED];
      */
-    private $policy = null;
+    protected $policy = null;
+    /**
+     * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
+     * the fields in the mask will be modified. If no mask is provided, the
+     * following default mask is used:
+     * `paths: "bindings, etag"`
+     *
+     * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3;
+     */
+    protected $update_mask = null;
     /**
      * Constructor.
      *
@@ -44,6 +53,11 @@ class SetIamPolicyRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\G
      *           the policy is limited to a few 10s of KB. An empty policy is a
      *           valid policy but certain Cloud Platform services (such as Projects)
      *           might reject them.
+     *     @type \Google\Protobuf\FieldMask $update_mask
+     *           OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
+     *           the fields in the mask will be modified. If no mask is provided, the
+     *           following default mask is used:
+     *           `paths: "bindings, etag"`
      * }
      */
     public function __construct($data = NULL)
@@ -83,12 +97,20 @@ public function setResource($var)
      * might reject them.
      *
      * Generated from protobuf field .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED];
-     * @return \Google\Cloud\Iam\V1\Policy
+     * @return \Google\Cloud\Iam\V1\Policy|null
      */
     public function getPolicy()
     {
         return $this->policy;
     }
+    public function hasPolicy()
+    {
+        return isset($this->policy);
+    }
+    public function clearPolicy()
+    {
+        unset($this->policy);
+    }
     /**
      * REQUIRED: The complete policy to be applied to the `resource`. The size of
      * the policy is limited to a few 10s of KB. An empty policy is a
@@ -105,4 +127,41 @@ public function setPolicy($var)
         $this->policy = $var;
         return $this;
     }
+    /**
+     * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
+     * the fields in the mask will be modified. If no mask is provided, the
+     * following default mask is used:
+     * `paths: "bindings, etag"`
+     *
+     * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3;
+     * @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: A FieldMask specifying which fields of the policy to modify. Only
+     * the fields in the mask will be modified. If no mask is provided, the
+     * following default mask is used:
+     * `paths: "bindings, etag"`
+     *
+     * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3;
+     * @param \Google\Protobuf\FieldMask $var
+     * @return $this
+     */
+    public function setUpdateMask($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FieldMask::class);
+        $this->update_mask = $var;
+        return $this;
+    }
 }
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/TestIamPermissionsRequest.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/TestIamPermissionsRequest.php
index 3b09d3ef9..cb5dd8b3f 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/TestIamPermissionsRequest.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/TestIamPermissionsRequest.php
@@ -20,7 +20,7 @@ class TestIamPermissionsRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo
      *
      * Generated from protobuf field string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
      */
-    private $resource = '';
+    protected $resource = '';
     /**
      * The set of permissions to check for the `resource`. Permissions with
      * wildcards (such as '*' or 'storage.*') are not allowed. For more
@@ -39,7 +39,7 @@ class TestIamPermissionsRequest extends \Matomo\Dependencies\GoogleAnalyticsImpo
      *     @type string $resource
      *           REQUIRED: The resource for which the policy detail is being requested.
      *           See the operation documentation for the appropriate value for this field.
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $permissions
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $permissions
      *           The set of permissions to check for the `resource`. Permissions with
      *           wildcards (such as '*' or 'storage.*') are not allowed. For more
      *           information see
@@ -96,7 +96,7 @@ public function getPermissions()
      * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
      *
      * Generated from protobuf field repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setPermissions($var)
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/TestIamPermissionsResponse.php b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/TestIamPermissionsResponse.php
index 735779578..b7be095ae 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/TestIamPermissionsResponse.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Iam/V1/TestIamPermissionsResponse.php
@@ -27,7 +27,7 @@ class TestIamPermissionsResponse extends \Matomo\Dependencies\GoogleAnalyticsImp
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $permissions
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $permissions
      *           A subset of `TestPermissionsRequest.permissions` that the caller is
      *           allowed.
      * }
@@ -53,7 +53,7 @@ public function getPermissions()
      * allowed.
      *
      * Generated from protobuf field repeated string permissions = 1;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setPermissions($var)
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Location/ListLocationsResponse.php b/vendor/prefixed/google/common-protos/src/Cloud/Location/ListLocationsResponse.php
index b75ad081b..ab7a5aec5 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Location/ListLocationsResponse.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Location/ListLocationsResponse.php
@@ -32,7 +32,7 @@ class ListLocationsResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Cloud\Location\Location[]|\Google\Protobuf\Internal\RepeatedField $locations
+     *     @type array<\Google\Cloud\Location\Location>|\Google\Protobuf\Internal\RepeatedField $locations
      *           A list of locations that matches the specified filter in the request.
      *     @type string $next_page_token
      *           The standard List next-page token.
@@ -57,7 +57,7 @@ public function getLocations()
      * A list of locations that matches the specified filter in the request.
      *
      * Generated from protobuf field repeated .google.cloud.location.Location locations = 1;
-     * @param \Google\Cloud\Location\Location[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Cloud\Location\Location>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setLocations($var)
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Logging/Type/HttpRequest.php b/vendor/prefixed/google/common-protos/src/Cloud/Logging/Type/HttpRequest.php
index 5fb9e2e90..1aad21d1d 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Logging/Type/HttpRequest.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Logging/Type/HttpRequest.php
@@ -21,7 +21,7 @@ class HttpRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr
      *
      * Generated from protobuf field string request_method = 1;
      */
-    private $request_method = '';
+    protected $request_method = '';
     /**
      * The scheme (http, https), the host name, the path and the query
      * portion of the URL that was requested.
@@ -29,76 +29,80 @@ class HttpRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr
      *
      * Generated from protobuf field string request_url = 2;
      */
-    private $request_url = '';
+    protected $request_url = '';
     /**
      * The size of the HTTP request message in bytes, including the request
      * headers and the request body.
      *
      * Generated from protobuf field int64 request_size = 3;
      */
-    private $request_size = 0;
+    protected $request_size = 0;
     /**
      * The response code indicating the status of response.
      * Examples: 200, 404.
      *
      * Generated from protobuf field int32 status = 4;
      */
-    private $status = 0;
+    protected $status = 0;
     /**
      * The size of the HTTP response message sent back to the client, in bytes,
      * including the response headers and the response body.
      *
      * Generated from protobuf field int64 response_size = 5;
      */
-    private $response_size = 0;
+    protected $response_size = 0;
     /**
      * The user agent sent by the client. Example:
-     * `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)"`.
+     * `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET
+     * CLR 1.0.3705)"`.
      *
      * Generated from protobuf field string user_agent = 6;
      */
-    private $user_agent = '';
+    protected $user_agent = '';
     /**
      * The IP address (IPv4 or IPv6) of the client that issued the HTTP
-     * request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
+     * request. This field can include port information. Examples:
+     * `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
      *
      * Generated from protobuf field string remote_ip = 7;
      */
-    private $remote_ip = '';
+    protected $remote_ip = '';
     /**
      * The IP address (IPv4 or IPv6) of the origin server that the request was
-     * sent to.
+     * sent to. This field can include port information. Examples:
+     * `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
      *
      * Generated from protobuf field string server_ip = 13;
      */
-    private $server_ip = '';
+    protected $server_ip = '';
     /**
      * The referer URL of the request, as defined in
-     * [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
+     * [HTTP/1.1 Header Field
+     * Definitions](https://datatracker.ietf.org/doc/html/rfc2616#section-14.36).
      *
      * Generated from protobuf field string referer = 8;
      */
-    private $referer = '';
+    protected $referer = '';
     /**
      * The request processing latency on the server, from the time the request was
      * received until the response was sent.
      *
      * Generated from protobuf field .google.protobuf.Duration latency = 14;
      */
-    private $latency = null;
+    protected $latency = null;
     /**
      * Whether or not a cache lookup was attempted.
      *
      * Generated from protobuf field bool cache_lookup = 11;
      */
-    private $cache_lookup = \false;
+    protected $cache_lookup = \false;
     /**
      * Whether or not an entity was served from cache
      * (with or without validation).
      *
      * Generated from protobuf field bool cache_hit = 9;
      */
-    private $cache_hit = \false;
+    protected $cache_hit = \false;
     /**
      * Whether or not the response was validated with the origin server before
      * being served from cache. This field is only meaningful if `cache_hit` is
@@ -106,20 +110,20 @@ class HttpRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr
      *
      * Generated from protobuf field bool cache_validated_with_origin_server = 10;
      */
-    private $cache_validated_with_origin_server = \false;
+    protected $cache_validated_with_origin_server = \false;
     /**
      * The number of HTTP response bytes inserted into cache. Set only when a
      * cache fill was attempted.
      *
      * Generated from protobuf field int64 cache_fill_bytes = 12;
      */
-    private $cache_fill_bytes = 0;
+    protected $cache_fill_bytes = 0;
     /**
      * Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
      *
      * Generated from protobuf field string protocol = 15;
      */
-    private $protocol = '';
+    protected $protocol = '';
     /**
      * Constructor.
      *
@@ -143,16 +147,20 @@ class HttpRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr
      *           including the response headers and the response body.
      *     @type string $user_agent
      *           The user agent sent by the client. Example:
-     *           `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)"`.
+     *           `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET
+     *           CLR 1.0.3705)"`.
      *     @type string $remote_ip
      *           The IP address (IPv4 or IPv6) of the client that issued the HTTP
-     *           request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
+     *           request. This field can include port information. Examples:
+     *           `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
      *     @type string $server_ip
      *           The IP address (IPv4 or IPv6) of the origin server that the request was
-     *           sent to.
+     *           sent to. This field can include port information. Examples:
+     *           `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
      *     @type string $referer
      *           The referer URL of the request, as defined in
-     *           [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
+     *           [HTTP/1.1 Header Field
+     *           Definitions](https://datatracker.ietf.org/doc/html/rfc2616#section-14.36).
      *     @type \Google\Protobuf\Duration $latency
      *           The request processing latency on the server, from the time the request was
      *           received until the response was sent.
@@ -304,7 +312,8 @@ public function setResponseSize($var)
     }
     /**
      * The user agent sent by the client. Example:
-     * `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)"`.
+     * `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET
+     * CLR 1.0.3705)"`.
      *
      * Generated from protobuf field string user_agent = 6;
      * @return string
@@ -315,7 +324,8 @@ public function getUserAgent()
     }
     /**
      * The user agent sent by the client. Example:
-     * `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)"`.
+     * `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET
+     * CLR 1.0.3705)"`.
      *
      * Generated from protobuf field string user_agent = 6;
      * @param string $var
@@ -329,7 +339,8 @@ public function setUserAgent($var)
     }
     /**
      * The IP address (IPv4 or IPv6) of the client that issued the HTTP
-     * request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
+     * request. This field can include port information. Examples:
+     * `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
      *
      * Generated from protobuf field string remote_ip = 7;
      * @return string
@@ -340,7 +351,8 @@ public function getRemoteIp()
     }
     /**
      * The IP address (IPv4 or IPv6) of the client that issued the HTTP
-     * request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
+     * request. This field can include port information. Examples:
+     * `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
      *
      * Generated from protobuf field string remote_ip = 7;
      * @param string $var
@@ -354,7 +366,8 @@ public function setRemoteIp($var)
     }
     /**
      * The IP address (IPv4 or IPv6) of the origin server that the request was
-     * sent to.
+     * sent to. This field can include port information. Examples:
+     * `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
      *
      * Generated from protobuf field string server_ip = 13;
      * @return string
@@ -365,7 +378,8 @@ public function getServerIp()
     }
     /**
      * The IP address (IPv4 or IPv6) of the origin server that the request was
-     * sent to.
+     * sent to. This field can include port information. Examples:
+     * `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
      *
      * Generated from protobuf field string server_ip = 13;
      * @param string $var
@@ -379,7 +393,8 @@ public function setServerIp($var)
     }
     /**
      * The referer URL of the request, as defined in
-     * [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
+     * [HTTP/1.1 Header Field
+     * Definitions](https://datatracker.ietf.org/doc/html/rfc2616#section-14.36).
      *
      * Generated from protobuf field string referer = 8;
      * @return string
@@ -390,7 +405,8 @@ public function getReferer()
     }
     /**
      * The referer URL of the request, as defined in
-     * [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
+     * [HTTP/1.1 Header Field
+     * Definitions](https://datatracker.ietf.org/doc/html/rfc2616#section-14.36).
      *
      * Generated from protobuf field string referer = 8;
      * @param string $var
@@ -407,12 +423,20 @@ public function setReferer($var)
      * received until the response was sent.
      *
      * Generated from protobuf field .google.protobuf.Duration latency = 14;
-     * @return \Google\Protobuf\Duration
+     * @return \Google\Protobuf\Duration|null
      */
     public function getLatency()
     {
         return $this->latency;
     }
+    public function hasLatency()
+    {
+        return isset($this->latency);
+    }
+    public function clearLatency()
+    {
+        unset($this->latency);
+    }
     /**
      * The request processing latency on the server, from the time the request was
      * received until the response was sent.
diff --git a/vendor/prefixed/google/common-protos/src/Cloud/Logging/Type/LogSeverity.php b/vendor/prefixed/google/common-protos/src/Cloud/Logging/Type/LogSeverity.php
index b89247ffe..3f1bf3bcc 100644
--- a/vendor/prefixed/google/common-protos/src/Cloud/Logging/Type/LogSeverity.php
+++ b/vendor/prefixed/google/common-protos/src/Cloud/Logging/Type/LogSeverity.php
@@ -78,7 +78,7 @@ class LogSeverity
      * Generated from protobuf enum EMERGENCY = 800;
      */
     const EMERGENCY = 800;
-    private static $valueToName = [self::PBDEFAULT => 'PBDEFAULT', self::DEBUG => 'DEBUG', self::INFO => 'INFO', self::NOTICE => 'NOTICE', self::WARNING => 'WARNING', self::ERROR => 'ERROR', self::CRITICAL => 'CRITICAL', self::ALERT => 'ALERT', self::EMERGENCY => 'EMERGENCY'];
+    private static $valueToName = [self::PBDEFAULT => 'DEFAULT', self::DEBUG => 'DEBUG', self::INFO => 'INFO', self::NOTICE => 'NOTICE', self::WARNING => 'WARNING', self::ERROR => 'ERROR', self::CRITICAL => 'CRITICAL', self::ALERT => 'ALERT', self::EMERGENCY => 'EMERGENCY'];
     public static function name($value)
     {
         if (!isset(self::$valueToName[$value])) {
@@ -90,7 +90,11 @@ 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));
+            $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/vendor/prefixed/google/common-protos/src/Iam/V1/Logging/AuditData.php b/vendor/prefixed/google/common-protos/src/Iam/V1/Logging/AuditData.php
index 199e60eee..b095f7010 100644
--- a/vendor/prefixed/google/common-protos/src/Iam/V1/Logging/AuditData.php
+++ b/vendor/prefixed/google/common-protos/src/Iam/V1/Logging/AuditData.php
@@ -21,7 +21,7 @@ class AuditData extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot
      *
      * Generated from protobuf field .google.iam.v1.PolicyDelta policy_delta = 2;
      */
-    private $policy_delta = null;
+    protected $policy_delta = null;
     /**
      * Constructor.
      *
@@ -41,12 +41,20 @@ public function __construct($data = NULL)
      * Policy delta between the original policy and the newly set policy.
      *
      * Generated from protobuf field .google.iam.v1.PolicyDelta policy_delta = 2;
-     * @return \Google\Cloud\Iam\V1\PolicyDelta
+     * @return \Google\Cloud\Iam\V1\PolicyDelta|null
      */
     public function getPolicyDelta()
     {
         return $this->policy_delta;
     }
+    public function hasPolicyDelta()
+    {
+        return isset($this->policy_delta);
+    }
+    public function clearPolicyDelta()
+    {
+        unset($this->policy_delta);
+    }
     /**
      * Policy delta between the original policy and the newly set policy.
      *
diff --git a/vendor/prefixed/google/common-protos/src/LongRunning/CancelOperationRequest.php b/vendor/prefixed/google/common-protos/src/LongRunning/CancelOperationRequest.php
deleted file mode 100644
index 2539c86f5..000000000
--- a/vendor/prefixed/google/common-protos/src/LongRunning/CancelOperationRequest.php
+++ /dev/null
@@ -1,61 +0,0 @@
-google.longrunning.CancelOperationRequest
- */
-class CancelOperationRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The name of the operation resource to be cancelled.
-     *
-     * Generated from protobuf field string name = 1;
-     */
-    private $name = '';
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $name
-     *           The name of the operation resource to be cancelled.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Longrunning\Operations::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The name of the operation resource to be cancelled.
-     *
-     * Generated from protobuf field string name = 1;
-     * @return string
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-    /**
-     * The name of the operation resource to be cancelled.
-     *
-     * 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;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/LongRunning/DeleteOperationRequest.php b/vendor/prefixed/google/common-protos/src/LongRunning/DeleteOperationRequest.php
deleted file mode 100644
index 7df34ffe2..000000000
--- a/vendor/prefixed/google/common-protos/src/LongRunning/DeleteOperationRequest.php
+++ /dev/null
@@ -1,61 +0,0 @@
-google.longrunning.DeleteOperationRequest
- */
-class DeleteOperationRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The name of the operation resource to be deleted.
-     *
-     * Generated from protobuf field string name = 1;
-     */
-    private $name = '';
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $name
-     *           The name of the operation resource to be deleted.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Longrunning\Operations::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The name of the operation resource to be deleted.
-     *
-     * Generated from protobuf field string name = 1;
-     * @return string
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-    /**
-     * The name of the operation resource to be deleted.
-     *
-     * 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;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/LongRunning/GetOperationRequest.php b/vendor/prefixed/google/common-protos/src/LongRunning/GetOperationRequest.php
deleted file mode 100644
index 8de5c5631..000000000
--- a/vendor/prefixed/google/common-protos/src/LongRunning/GetOperationRequest.php
+++ /dev/null
@@ -1,61 +0,0 @@
-google.longrunning.GetOperationRequest
- */
-class GetOperationRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The name of the operation resource.
-     *
-     * Generated from protobuf field string name = 1;
-     */
-    private $name = '';
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $name
-     *           The name of the operation resource.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Longrunning\Operations::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The name of the operation resource.
-     *
-     * Generated from protobuf field string name = 1;
-     * @return string
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-    /**
-     * The name of the operation resource.
-     *
-     * 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;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/LongRunning/ListOperationsRequest.php b/vendor/prefixed/google/common-protos/src/LongRunning/ListOperationsRequest.php
deleted file mode 100644
index 6744545ee..000000000
--- a/vendor/prefixed/google/common-protos/src/LongRunning/ListOperationsRequest.php
+++ /dev/null
@@ -1,154 +0,0 @@
-google.longrunning.ListOperationsRequest
- */
-class ListOperationsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The name of the operation collection.
-     *
-     * Generated from protobuf field string name = 4;
-     */
-    private $name = '';
-    /**
-     * The standard list filter.
-     *
-     * Generated from protobuf field string filter = 1;
-     */
-    private $filter = '';
-    /**
-     * The standard list page size.
-     *
-     * Generated from protobuf field int32 page_size = 2;
-     */
-    private $page_size = 0;
-    /**
-     * The standard list page token.
-     *
-     * Generated from protobuf field string page_token = 3;
-     */
-    private $page_token = '';
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $name
-     *           The name of the operation collection.
-     *     @type string $filter
-     *           The standard list filter.
-     *     @type int $page_size
-     *           The standard list page size.
-     *     @type string $page_token
-     *           The standard list page token.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Longrunning\Operations::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The name of the operation collection.
-     *
-     * Generated from protobuf field string name = 4;
-     * @return string
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-    /**
-     * The name of the operation collection.
-     *
-     * Generated from protobuf field string name = 4;
-     * @param string $var
-     * @return $this
-     */
-    public function setName($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->name = $var;
-        return $this;
-    }
-    /**
-     * The standard list filter.
-     *
-     * Generated from protobuf field string filter = 1;
-     * @return string
-     */
-    public function getFilter()
-    {
-        return $this->filter;
-    }
-    /**
-     * The standard list filter.
-     *
-     * Generated from protobuf field string filter = 1;
-     * @param string $var
-     * @return $this
-     */
-    public function setFilter($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->filter = $var;
-        return $this;
-    }
-    /**
-     * The standard list page size.
-     *
-     * Generated from protobuf field int32 page_size = 2;
-     * @return int
-     */
-    public function getPageSize()
-    {
-        return $this->page_size;
-    }
-    /**
-     * The standard list page size.
-     *
-     * 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;
-    }
-    /**
-     * The standard list page token.
-     *
-     * Generated from protobuf field string page_token = 3;
-     * @return string
-     */
-    public function getPageToken()
-    {
-        return $this->page_token;
-    }
-    /**
-     * The standard list 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/vendor/prefixed/google/common-protos/src/LongRunning/ListOperationsResponse.php b/vendor/prefixed/google/common-protos/src/LongRunning/ListOperationsResponse.php
deleted file mode 100644
index 30cda5d2b..000000000
--- a/vendor/prefixed/google/common-protos/src/LongRunning/ListOperationsResponse.php
+++ /dev/null
@@ -1,92 +0,0 @@
-google.longrunning.ListOperationsResponse
- */
-class ListOperationsResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * A list of operations that matches the specified filter in the request.
-     *
-     * Generated from protobuf field repeated .google.longrunning.Operation operations = 1;
-     */
-    private $operations;
-    /**
-     * The standard List next-page token.
-     *
-     * Generated from protobuf field string next_page_token = 2;
-     */
-    private $next_page_token = '';
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type \Google\LongRunning\Operation[]|\Google\Protobuf\Internal\RepeatedField $operations
-     *           A list of operations that matches the specified filter in the request.
-     *     @type string $next_page_token
-     *           The standard List next-page token.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Longrunning\Operations::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * A list of operations that matches the specified filter in the request.
-     *
-     * Generated from protobuf field repeated .google.longrunning.Operation operations = 1;
-     * @return \Google\Protobuf\Internal\RepeatedField
-     */
-    public function getOperations()
-    {
-        return $this->operations;
-    }
-    /**
-     * A list of operations that matches the specified filter in the request.
-     *
-     * Generated from protobuf field repeated .google.longrunning.Operation operations = 1;
-     * @param \Google\LongRunning\Operation[]|\Google\Protobuf\Internal\RepeatedField $var
-     * @return $this
-     */
-    public function setOperations($var)
-    {
-        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\Operation::class);
-        $this->operations = $arr;
-        return $this;
-    }
-    /**
-     * The standard List next-page token.
-     *
-     * Generated from protobuf field string next_page_token = 2;
-     * @return string
-     */
-    public function getNextPageToken()
-    {
-        return $this->next_page_token;
-    }
-    /**
-     * The standard List next-page token.
-     *
-     * 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/vendor/prefixed/google/common-protos/src/LongRunning/Operation.php b/vendor/prefixed/google/common-protos/src/LongRunning/Operation.php
deleted file mode 100644
index dd281e5ef..000000000
--- a/vendor/prefixed/google/common-protos/src/LongRunning/Operation.php
+++ /dev/null
@@ -1,231 +0,0 @@
-google.longrunning.Operation
- */
-class Operation extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * The server-assigned name, which is only unique within the same service that
-     * originally returns it. If you use the default HTTP mapping, the
-     * `name` should have the format of `operations/some/unique/name`.
-     *
-     * Generated from protobuf field string name = 1;
-     */
-    private $name = '';
-    /**
-     * Service-specific metadata associated with the operation.  It typically
-     * contains progress information and common metadata such as create time.
-     * Some services might not provide such metadata.  Any method that returns a
-     * long-running operation should document the metadata type, if any.
-     *
-     * Generated from protobuf field .google.protobuf.Any metadata = 2;
-     */
-    private $metadata = null;
-    /**
-     * If the value is `false`, it means the operation is still in progress.
-     * If true, the operation is completed, and either `error` or `response` is
-     * available.
-     *
-     * Generated from protobuf field bool done = 3;
-     */
-    private $done = \false;
-    protected $result;
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $name
-     *           The server-assigned name, which is only unique within the same service that
-     *           originally returns it. If you use the default HTTP mapping, the
-     *           `name` should have the format of `operations/some/unique/name`.
-     *     @type \Google\Protobuf\Any $metadata
-     *           Service-specific metadata associated with the operation.  It typically
-     *           contains progress information and common metadata such as create time.
-     *           Some services might not provide such metadata.  Any method that returns a
-     *           long-running operation should document the metadata type, if any.
-     *     @type bool $done
-     *           If the value is `false`, it means the operation is still in progress.
-     *           If true, the operation is completed, and either `error` or `response` is
-     *           available.
-     *     @type \Google\Rpc\Status $error
-     *           The error result of the operation in case of failure or cancellation.
-     *     @type \Google\Protobuf\Any $response
-     *           The normal response of the operation in case of success.  If the original
-     *           method returns no data on success, such as `Delete`, the response is
-     *           `google.protobuf.Empty`.  If the original method is standard
-     *           `Get`/`Create`/`Update`, the response should be the resource.  For other
-     *           methods, the response should have the type `XxxResponse`, where `Xxx`
-     *           is the original method name.  For example, if the original method name
-     *           is `TakeSnapshot()`, the inferred response type is
-     *           `TakeSnapshotResponse`.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Longrunning\Operations::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * The server-assigned name, which is only unique within the same service that
-     * originally returns it. If you use the default HTTP mapping, the
-     * `name` should have the format of `operations/some/unique/name`.
-     *
-     * Generated from protobuf field string name = 1;
-     * @return string
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-    /**
-     * The server-assigned name, which is only unique within the same service that
-     * originally returns it. If you use the default HTTP mapping, the
-     * `name` should have the format of `operations/some/unique/name`.
-     *
-     * 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;
-    }
-    /**
-     * Service-specific metadata associated with the operation.  It typically
-     * contains progress information and common metadata such as create time.
-     * Some services might not provide such metadata.  Any method that returns a
-     * long-running operation should document the metadata type, if any.
-     *
-     * Generated from protobuf field .google.protobuf.Any metadata = 2;
-     * @return \Google\Protobuf\Any
-     */
-    public function getMetadata()
-    {
-        return $this->metadata;
-    }
-    /**
-     * Service-specific metadata associated with the operation.  It typically
-     * contains progress information and common metadata such as create time.
-     * Some services might not provide such metadata.  Any method that returns a
-     * long-running operation should document the metadata type, if any.
-     *
-     * Generated from protobuf field .google.protobuf.Any metadata = 2;
-     * @param \Google\Protobuf\Any $var
-     * @return $this
-     */
-    public function setMetadata($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Any::class);
-        $this->metadata = $var;
-        return $this;
-    }
-    /**
-     * If the value is `false`, it means the operation is still in progress.
-     * If true, the operation is completed, and either `error` or `response` is
-     * available.
-     *
-     * Generated from protobuf field bool done = 3;
-     * @return bool
-     */
-    public function getDone()
-    {
-        return $this->done;
-    }
-    /**
-     * If the value is `false`, it means the operation is still in progress.
-     * If true, the operation is completed, and either `error` or `response` is
-     * available.
-     *
-     * Generated from protobuf field bool done = 3;
-     * @param bool $var
-     * @return $this
-     */
-    public function setDone($var)
-    {
-        GPBUtil::checkBool($var);
-        $this->done = $var;
-        return $this;
-    }
-    /**
-     * The error result of the operation in case of failure or cancellation.
-     *
-     * Generated from protobuf field .google.rpc.Status error = 4;
-     * @return \Google\Rpc\Status
-     */
-    public function getError()
-    {
-        return $this->readOneof(4);
-    }
-    /**
-     * The error result of the operation in case of failure or cancellation.
-     *
-     * Generated from protobuf field .google.rpc.Status error = 4;
-     * @param \Google\Rpc\Status $var
-     * @return $this
-     */
-    public function setError($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Status::class);
-        $this->writeOneof(4, $var);
-        return $this;
-    }
-    /**
-     * The normal response of the operation in case of success.  If the original
-     * method returns no data on success, such as `Delete`, the response is
-     * `google.protobuf.Empty`.  If the original method is standard
-     * `Get`/`Create`/`Update`, the response should be the resource.  For other
-     * methods, the response should have the type `XxxResponse`, where `Xxx`
-     * is the original method name.  For example, if the original method name
-     * is `TakeSnapshot()`, the inferred response type is
-     * `TakeSnapshotResponse`.
-     *
-     * Generated from protobuf field .google.protobuf.Any response = 5;
-     * @return \Google\Protobuf\Any
-     */
-    public function getResponse()
-    {
-        return $this->readOneof(5);
-    }
-    /**
-     * The normal response of the operation in case of success.  If the original
-     * method returns no data on success, such as `Delete`, the response is
-     * `google.protobuf.Empty`.  If the original method is standard
-     * `Get`/`Create`/`Update`, the response should be the resource.  For other
-     * methods, the response should have the type `XxxResponse`, where `Xxx`
-     * is the original method name.  For example, if the original method name
-     * is `TakeSnapshot()`, the inferred response type is
-     * `TakeSnapshotResponse`.
-     *
-     * Generated from protobuf field .google.protobuf.Any response = 5;
-     * @param \Google\Protobuf\Any $var
-     * @return $this
-     */
-    public function setResponse($var)
-    {
-        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Any::class);
-        $this->writeOneof(5, $var);
-        return $this;
-    }
-    /**
-     * @return string
-     */
-    public function getResult()
-    {
-        return $this->whichOneof("result");
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/LongRunning/OperationInfo.php b/vendor/prefixed/google/common-protos/src/LongRunning/OperationInfo.php
deleted file mode 100644
index 14635fa45..000000000
--- a/vendor/prefixed/google/common-protos/src/LongRunning/OperationInfo.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.longrunning.OperationInfo
- */
-class OperationInfo extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
-{
-    /**
-     * Required. The message name of the primary return type for this
-     * long-running operation.
-     * This type will be used to deserialize the LRO's response.
-     * If the response is in a different package from the rpc, a fully-qualified
-     * message name must be used (e.g. `google.protobuf.Struct`).
-     * Note: Altering this value constitutes a breaking change.
-     *
-     * Generated from protobuf field string response_type = 1;
-     */
-    private $response_type = '';
-    /**
-     * Required. The message name of the metadata type for this long-running
-     * operation.
-     * If the response is in a different package from the rpc, a fully-qualified
-     * message name must be used (e.g. `google.protobuf.Struct`).
-     * Note: Altering this value constitutes a breaking change.
-     *
-     * Generated from protobuf field string metadata_type = 2;
-     */
-    private $metadata_type = '';
-    /**
-     * Constructor.
-     *
-     * @param array $data {
-     *     Optional. Data for populating the Message object.
-     *
-     *     @type string $response_type
-     *           Required. The message name of the primary return type for this
-     *           long-running operation.
-     *           This type will be used to deserialize the LRO's response.
-     *           If the response is in a different package from the rpc, a fully-qualified
-     *           message name must be used (e.g. `google.protobuf.Struct`).
-     *           Note: Altering this value constitutes a breaking change.
-     *     @type string $metadata_type
-     *           Required. The message name of the metadata type for this long-running
-     *           operation.
-     *           If the response is in a different package from the rpc, a fully-qualified
-     *           message name must be used (e.g. `google.protobuf.Struct`).
-     *           Note: Altering this value constitutes a breaking change.
-     * }
-     */
-    public function __construct($data = NULL)
-    {
-        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Longrunning\Operations::initOnce();
-        parent::__construct($data);
-    }
-    /**
-     * Required. The message name of the primary return type for this
-     * long-running operation.
-     * This type will be used to deserialize the LRO's response.
-     * If the response is in a different package from the rpc, a fully-qualified
-     * message name must be used (e.g. `google.protobuf.Struct`).
-     * Note: Altering this value constitutes a breaking change.
-     *
-     * Generated from protobuf field string response_type = 1;
-     * @return string
-     */
-    public function getResponseType()
-    {
-        return $this->response_type;
-    }
-    /**
-     * Required. The message name of the primary return type for this
-     * long-running operation.
-     * This type will be used to deserialize the LRO's response.
-     * If the response is in a different package from the rpc, a fully-qualified
-     * message name must be used (e.g. `google.protobuf.Struct`).
-     * Note: Altering this value constitutes a breaking change.
-     *
-     * Generated from protobuf field string response_type = 1;
-     * @param string $var
-     * @return $this
-     */
-    public function setResponseType($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->response_type = $var;
-        return $this;
-    }
-    /**
-     * Required. The message name of the metadata type for this long-running
-     * operation.
-     * If the response is in a different package from the rpc, a fully-qualified
-     * message name must be used (e.g. `google.protobuf.Struct`).
-     * Note: Altering this value constitutes a breaking change.
-     *
-     * Generated from protobuf field string metadata_type = 2;
-     * @return string
-     */
-    public function getMetadataType()
-    {
-        return $this->metadata_type;
-    }
-    /**
-     * Required. The message name of the metadata type for this long-running
-     * operation.
-     * If the response is in a different package from the rpc, a fully-qualified
-     * message name must be used (e.g. `google.protobuf.Struct`).
-     * Note: Altering this value constitutes a breaking change.
-     *
-     * Generated from protobuf field string metadata_type = 2;
-     * @param string $var
-     * @return $this
-     */
-    public function setMetadataType($var)
-    {
-        GPBUtil::checkString($var, True);
-        $this->metadata_type = $var;
-        return $this;
-    }
-}
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/BadRequest.php b/vendor/prefixed/google/common-protos/src/Rpc/BadRequest.php
index 56e8934af..10fa37f1d 100644
--- a/vendor/prefixed/google/common-protos/src/Rpc/BadRequest.php
+++ b/vendor/prefixed/google/common-protos/src/Rpc/BadRequest.php
@@ -27,7 +27,7 @@ class BadRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Rpc\BadRequest\FieldViolation[]|\Google\Protobuf\Internal\RepeatedField $field_violations
+     *     @type array<\Google\Rpc\BadRequest\FieldViolation>|\Google\Protobuf\Internal\RepeatedField $field_violations
      *           Describes all violations in a client request.
      * }
      */
@@ -50,7 +50,7 @@ public function getFieldViolations()
      * Describes all violations in a client request.
      *
      * Generated from protobuf field repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;
-     * @param \Google\Rpc\BadRequest\FieldViolation[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Rpc\BadRequest\FieldViolation>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setFieldViolations($var)
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/BadRequest/FieldViolation.php b/vendor/prefixed/google/common-protos/src/Rpc/BadRequest/FieldViolation.php
index 1f8398fb5..c8b28ab38 100644
--- a/vendor/prefixed/google/common-protos/src/Rpc/BadRequest/FieldViolation.php
+++ b/vendor/prefixed/google/common-protos/src/Rpc/BadRequest/FieldViolation.php
@@ -15,9 +15,35 @@
 class FieldViolation extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * A path leading to a field in the request body. The value will be a
+     * A path that leads to a field in the request body. The value will be a
      * sequence of dot-separated identifiers that identify a protocol buffer
-     * field. E.g., "field_violations.field" would identify this field.
+     * field.
+     * Consider the following:
+     *     message CreateContactRequest {
+     *       message EmailAddress {
+     *         enum Type {
+     *           TYPE_UNSPECIFIED = 0;
+     *           HOME = 1;
+     *           WORK = 2;
+     *         }
+     *         optional string email = 1;
+     *         repeated EmailType type = 2;
+     *       }
+     *       string full_name = 1;
+     *       repeated EmailAddress email_addresses = 2;
+     *     }
+     * In this example, in proto `field` could take one of the following values:
+     * * `full_name` for a violation in the `full_name` value
+     * * `email_addresses[1].email` for a violation in the `email` field of the
+     *   first `email_addresses` message
+     * * `email_addresses[3].type[2]` for a violation in the second `type`
+     *   value in the third `email_addresses` message.
+     * In JSON, the same values are represented as:
+     * * `fullName` for a violation in the `fullName` value
+     * * `emailAddresses[1].email` for a violation in the `email` field of the
+     *   first `emailAddresses` message
+     * * `emailAddresses[3].type[2]` for a violation in the second `type`
+     *   value in the third `emailAddresses` message.
      *
      * Generated from protobuf field string field = 1;
      */
@@ -35,9 +61,35 @@ class FieldViolation extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google
      *     Optional. Data for populating the Message object.
      *
      *     @type string $field
-     *           A path leading to a field in the request body. The value will be a
+     *           A path that leads to a field in the request body. The value will be a
      *           sequence of dot-separated identifiers that identify a protocol buffer
-     *           field. E.g., "field_violations.field" would identify this field.
+     *           field.
+     *           Consider the following:
+     *               message CreateContactRequest {
+     *                 message EmailAddress {
+     *                   enum Type {
+     *                     TYPE_UNSPECIFIED = 0;
+     *                     HOME = 1;
+     *                     WORK = 2;
+     *                   }
+     *                   optional string email = 1;
+     *                   repeated EmailType type = 2;
+     *                 }
+     *                 string full_name = 1;
+     *                 repeated EmailAddress email_addresses = 2;
+     *               }
+     *           In this example, in proto `field` could take one of the following values:
+     *           * `full_name` for a violation in the `full_name` value
+     *           * `email_addresses[1].email` for a violation in the `email` field of the
+     *             first `email_addresses` message
+     *           * `email_addresses[3].type[2]` for a violation in the second `type`
+     *             value in the third `email_addresses` message.
+     *           In JSON, the same values are represented as:
+     *           * `fullName` for a violation in the `fullName` value
+     *           * `emailAddresses[1].email` for a violation in the `email` field of the
+     *             first `emailAddresses` message
+     *           * `emailAddresses[3].type[2]` for a violation in the second `type`
+     *             value in the third `emailAddresses` message.
      *     @type string $description
      *           A description of why the request element is bad.
      * }
@@ -48,9 +100,35 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * A path leading to a field in the request body. The value will be a
+     * A path that leads to a field in the request body. The value will be a
      * sequence of dot-separated identifiers that identify a protocol buffer
-     * field. E.g., "field_violations.field" would identify this field.
+     * field.
+     * Consider the following:
+     *     message CreateContactRequest {
+     *       message EmailAddress {
+     *         enum Type {
+     *           TYPE_UNSPECIFIED = 0;
+     *           HOME = 1;
+     *           WORK = 2;
+     *         }
+     *         optional string email = 1;
+     *         repeated EmailType type = 2;
+     *       }
+     *       string full_name = 1;
+     *       repeated EmailAddress email_addresses = 2;
+     *     }
+     * In this example, in proto `field` could take one of the following values:
+     * * `full_name` for a violation in the `full_name` value
+     * * `email_addresses[1].email` for a violation in the `email` field of the
+     *   first `email_addresses` message
+     * * `email_addresses[3].type[2]` for a violation in the second `type`
+     *   value in the third `email_addresses` message.
+     * In JSON, the same values are represented as:
+     * * `fullName` for a violation in the `fullName` value
+     * * `emailAddresses[1].email` for a violation in the `email` field of the
+     *   first `emailAddresses` message
+     * * `emailAddresses[3].type[2]` for a violation in the second `type`
+     *   value in the third `emailAddresses` message.
      *
      * Generated from protobuf field string field = 1;
      * @return string
@@ -60,9 +138,35 @@ public function getField()
         return $this->field;
     }
     /**
-     * A path leading to a field in the request body. The value will be a
+     * A path that leads to a field in the request body. The value will be a
      * sequence of dot-separated identifiers that identify a protocol buffer
-     * field. E.g., "field_violations.field" would identify this field.
+     * field.
+     * Consider the following:
+     *     message CreateContactRequest {
+     *       message EmailAddress {
+     *         enum Type {
+     *           TYPE_UNSPECIFIED = 0;
+     *           HOME = 1;
+     *           WORK = 2;
+     *         }
+     *         optional string email = 1;
+     *         repeated EmailType type = 2;
+     *       }
+     *       string full_name = 1;
+     *       repeated EmailAddress email_addresses = 2;
+     *     }
+     * In this example, in proto `field` could take one of the following values:
+     * * `full_name` for a violation in the `full_name` value
+     * * `email_addresses[1].email` for a violation in the `email` field of the
+     *   first `email_addresses` message
+     * * `email_addresses[3].type[2]` for a violation in the second `type`
+     *   value in the third `email_addresses` message.
+     * In JSON, the same values are represented as:
+     * * `fullName` for a violation in the `fullName` value
+     * * `emailAddresses[1].email` for a violation in the `email` field of the
+     *   first `emailAddresses` message
+     * * `emailAddresses[3].type[2]` for a violation in the second `type`
+     *   value in the third `emailAddresses` message.
      *
      * Generated from protobuf field string field = 1;
      * @param string $var
@@ -98,5 +202,3 @@ public function setDescription($var)
         return $this;
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(FieldViolation::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\BadRequest_FieldViolation::class);
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/BadRequest_FieldViolation.php b/vendor/prefixed/google/common-protos/src/Rpc/BadRequest_FieldViolation.php
deleted file mode 100644
index 3c29e6f1a..000000000
--- a/vendor/prefixed/google/common-protos/src/Rpc/BadRequest_FieldViolation.php
+++ /dev/null
@@ -1,17 +0,0 @@
-OK = 0;
@@ -65,7 +65,7 @@ class Code
     /**
      * Some requested entity (e.g., file or directory) was not found.
      * Note to server developers: if a request is denied for an entire class
-     * of users, such as gradual feature rollout or undocumented whitelist,
+     * of users, such as gradual feature rollout or undocumented allowlist,
      * `NOT_FOUND` may be used. If a request is denied for some users within
      * a class of users, such as user-based access control, `PERMISSION_DENIED`
      * must be used.
@@ -120,11 +120,11 @@ class Code
      * Service implementors can use the following guidelines to decide
      * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
      *  (a) Use `UNAVAILABLE` if the client can retry just the failing call.
-     *  (b) Use `ABORTED` if the client should retry at a higher level
-     *      (e.g., when a client-specified test-and-set fails, indicating the
-     *      client should restart a read-modify-write sequence).
+     *  (b) Use `ABORTED` if the client should retry at a higher level. For
+     *      example, when a client-specified test-and-set fails, indicating the
+     *      client should restart a read-modify-write sequence.
      *  (c) Use `FAILED_PRECONDITION` if the client should not retry until
-     *      the system state has been explicitly fixed.  E.g., if an "rmdir"
+     *      the system state has been explicitly fixed. For example, if an "rmdir"
      *      fails because the directory is non-empty, `FAILED_PRECONDITION`
      *      should be returned since the client should not retry unless
      *      the files are deleted from the directory.
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext.php b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext.php
new file mode 100644
index 000000000..ff6ffbca4
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext.php
@@ -0,0 +1,378 @@
+google.rpc.context.AttributeContext
+ */
+class AttributeContext extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The origin of a network activity. In a multi hop network activity,
+     * the origin represents the sender of the first hop. For the first hop,
+     * the `source` and the `origin` must have the same content.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Peer origin = 7;
+     */
+    protected $origin = null;
+    /**
+     * The source of a network activity, such as starting a TCP connection.
+     * In a multi hop network activity, the source represents the sender of the
+     * last hop.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Peer source = 1;
+     */
+    protected $source = null;
+    /**
+     * The destination of a network activity, such as accepting a TCP connection.
+     * In a multi hop network activity, the destination represents the receiver of
+     * the last hop.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Peer destination = 2;
+     */
+    protected $destination = null;
+    /**
+     * Represents a network request, such as an HTTP request.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Request request = 3;
+     */
+    protected $request = null;
+    /**
+     * Represents a network response, such as an HTTP response.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Response response = 4;
+     */
+    protected $response = null;
+    /**
+     * Represents a target resource that is involved with a network activity.
+     * If multiple resources are involved with an activity, this must be the
+     * primary one.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Resource resource = 5;
+     */
+    protected $resource = null;
+    /**
+     * Represents an API operation that is involved to a network activity.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Api api = 6;
+     */
+    protected $api = null;
+    /**
+     * Supports extensions for advanced use cases, such as logs and metrics.
+     *
+     * Generated from protobuf field repeated .google.protobuf.Any extensions = 8;
+     */
+    private $extensions;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type \Google\Rpc\Context\AttributeContext\Peer $origin
+     *           The origin of a network activity. In a multi hop network activity,
+     *           the origin represents the sender of the first hop. For the first hop,
+     *           the `source` and the `origin` must have the same content.
+     *     @type \Google\Rpc\Context\AttributeContext\Peer $source
+     *           The source of a network activity, such as starting a TCP connection.
+     *           In a multi hop network activity, the source represents the sender of the
+     *           last hop.
+     *     @type \Google\Rpc\Context\AttributeContext\Peer $destination
+     *           The destination of a network activity, such as accepting a TCP connection.
+     *           In a multi hop network activity, the destination represents the receiver of
+     *           the last hop.
+     *     @type \Google\Rpc\Context\AttributeContext\Request $request
+     *           Represents a network request, such as an HTTP request.
+     *     @type \Google\Rpc\Context\AttributeContext\Response $response
+     *           Represents a network response, such as an HTTP response.
+     *     @type \Google\Rpc\Context\AttributeContext\Resource $resource
+     *           Represents a target resource that is involved with a network activity.
+     *           If multiple resources are involved with an activity, this must be the
+     *           primary one.
+     *     @type \Google\Rpc\Context\AttributeContext\Api $api
+     *           Represents an API operation that is involved to a network activity.
+     *     @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $extensions
+     *           Supports extensions for advanced use cases, such as logs and metrics.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Rpc\Context\AttributeContext::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The origin of a network activity. In a multi hop network activity,
+     * the origin represents the sender of the first hop. For the first hop,
+     * the `source` and the `origin` must have the same content.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Peer origin = 7;
+     * @return \Google\Rpc\Context\AttributeContext\Peer|null
+     */
+    public function getOrigin()
+    {
+        return $this->origin;
+    }
+    public function hasOrigin()
+    {
+        return isset($this->origin);
+    }
+    public function clearOrigin()
+    {
+        unset($this->origin);
+    }
+    /**
+     * The origin of a network activity. In a multi hop network activity,
+     * the origin represents the sender of the first hop. For the first hop,
+     * the `source` and the `origin` must have the same content.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Peer origin = 7;
+     * @param \Google\Rpc\Context\AttributeContext\Peer $var
+     * @return $this
+     */
+    public function setOrigin($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Context\AttributeContext\Peer::class);
+        $this->origin = $var;
+        return $this;
+    }
+    /**
+     * The source of a network activity, such as starting a TCP connection.
+     * In a multi hop network activity, the source represents the sender of the
+     * last hop.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Peer source = 1;
+     * @return \Google\Rpc\Context\AttributeContext\Peer|null
+     */
+    public function getSource()
+    {
+        return $this->source;
+    }
+    public function hasSource()
+    {
+        return isset($this->source);
+    }
+    public function clearSource()
+    {
+        unset($this->source);
+    }
+    /**
+     * The source of a network activity, such as starting a TCP connection.
+     * In a multi hop network activity, the source represents the sender of the
+     * last hop.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Peer source = 1;
+     * @param \Google\Rpc\Context\AttributeContext\Peer $var
+     * @return $this
+     */
+    public function setSource($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Context\AttributeContext\Peer::class);
+        $this->source = $var;
+        return $this;
+    }
+    /**
+     * The destination of a network activity, such as accepting a TCP connection.
+     * In a multi hop network activity, the destination represents the receiver of
+     * the last hop.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Peer destination = 2;
+     * @return \Google\Rpc\Context\AttributeContext\Peer|null
+     */
+    public function getDestination()
+    {
+        return $this->destination;
+    }
+    public function hasDestination()
+    {
+        return isset($this->destination);
+    }
+    public function clearDestination()
+    {
+        unset($this->destination);
+    }
+    /**
+     * The destination of a network activity, such as accepting a TCP connection.
+     * In a multi hop network activity, the destination represents the receiver of
+     * the last hop.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Peer destination = 2;
+     * @param \Google\Rpc\Context\AttributeContext\Peer $var
+     * @return $this
+     */
+    public function setDestination($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Context\AttributeContext\Peer::class);
+        $this->destination = $var;
+        return $this;
+    }
+    /**
+     * Represents a network request, such as an HTTP request.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Request request = 3;
+     * @return \Google\Rpc\Context\AttributeContext\Request|null
+     */
+    public function getRequest()
+    {
+        return $this->request;
+    }
+    public function hasRequest()
+    {
+        return isset($this->request);
+    }
+    public function clearRequest()
+    {
+        unset($this->request);
+    }
+    /**
+     * Represents a network request, such as an HTTP request.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Request request = 3;
+     * @param \Google\Rpc\Context\AttributeContext\Request $var
+     * @return $this
+     */
+    public function setRequest($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Context\AttributeContext\Request::class);
+        $this->request = $var;
+        return $this;
+    }
+    /**
+     * Represents a network response, such as an HTTP response.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Response response = 4;
+     * @return \Google\Rpc\Context\AttributeContext\Response|null
+     */
+    public function getResponse()
+    {
+        return $this->response;
+    }
+    public function hasResponse()
+    {
+        return isset($this->response);
+    }
+    public function clearResponse()
+    {
+        unset($this->response);
+    }
+    /**
+     * Represents a network response, such as an HTTP response.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Response response = 4;
+     * @param \Google\Rpc\Context\AttributeContext\Response $var
+     * @return $this
+     */
+    public function setResponse($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Context\AttributeContext\Response::class);
+        $this->response = $var;
+        return $this;
+    }
+    /**
+     * Represents a target resource that is involved with a network activity.
+     * If multiple resources are involved with an activity, this must be the
+     * primary one.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Resource resource = 5;
+     * @return \Google\Rpc\Context\AttributeContext\Resource|null
+     */
+    public function getResource()
+    {
+        return $this->resource;
+    }
+    public function hasResource()
+    {
+        return isset($this->resource);
+    }
+    public function clearResource()
+    {
+        unset($this->resource);
+    }
+    /**
+     * Represents a target resource that is involved with a network activity.
+     * If multiple resources are involved with an activity, this must be the
+     * primary one.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Resource resource = 5;
+     * @param \Google\Rpc\Context\AttributeContext\Resource $var
+     * @return $this
+     */
+    public function setResource($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Context\AttributeContext\Resource::class);
+        $this->resource = $var;
+        return $this;
+    }
+    /**
+     * Represents an API operation that is involved to a network activity.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Api api = 6;
+     * @return \Google\Rpc\Context\AttributeContext\Api|null
+     */
+    public function getApi()
+    {
+        return $this->api;
+    }
+    public function hasApi()
+    {
+        return isset($this->api);
+    }
+    public function clearApi()
+    {
+        unset($this->api);
+    }
+    /**
+     * Represents an API operation that is involved to a network activity.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Api api = 6;
+     * @param \Google\Rpc\Context\AttributeContext\Api $var
+     * @return $this
+     */
+    public function setApi($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Context\AttributeContext\Api::class);
+        $this->api = $var;
+        return $this;
+    }
+    /**
+     * Supports extensions for advanced use cases, such as logs and metrics.
+     *
+     * Generated from protobuf field repeated .google.protobuf.Any extensions = 8;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getExtensions()
+    {
+        return $this->extensions;
+    }
+    /**
+     * Supports extensions for advanced use cases, such as logs and metrics.
+     *
+     * Generated from protobuf field repeated .google.protobuf.Any extensions = 8;
+     * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setExtensions($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::MESSAGE, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Any::class);
+        $this->extensions = $arr;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Api.php b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Api.php
new file mode 100644
index 000000000..6d6d5831c
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Api.php
@@ -0,0 +1,180 @@
+google.rpc.context.AttributeContext.Api
+ */
+class Api extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The API service name. It is a logical identifier for a networked API,
+     * such as "pubsub.googleapis.com". The naming syntax depends on the
+     * API management system being used for handling the request.
+     *
+     * Generated from protobuf field string service = 1;
+     */
+    protected $service = '';
+    /**
+     * The API operation name. For gRPC requests, it is the fully qualified API
+     * method name, such as "google.pubsub.v1.Publisher.Publish". For OpenAPI
+     * requests, it is the `operationId`, such as "getPet".
+     *
+     * Generated from protobuf field string operation = 2;
+     */
+    protected $operation = '';
+    /**
+     * The API protocol used for sending the request, such as "http", "https",
+     * "grpc", or "internal".
+     *
+     * Generated from protobuf field string protocol = 3;
+     */
+    protected $protocol = '';
+    /**
+     * The API version associated with the API operation above, such as "v1" or
+     * "v1alpha1".
+     *
+     * Generated from protobuf field string version = 4;
+     */
+    protected $version = '';
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $service
+     *           The API service name. It is a logical identifier for a networked API,
+     *           such as "pubsub.googleapis.com". The naming syntax depends on the
+     *           API management system being used for handling the request.
+     *     @type string $operation
+     *           The API operation name. For gRPC requests, it is the fully qualified API
+     *           method name, such as "google.pubsub.v1.Publisher.Publish". For OpenAPI
+     *           requests, it is the `operationId`, such as "getPet".
+     *     @type string $protocol
+     *           The API protocol used for sending the request, such as "http", "https",
+     *           "grpc", or "internal".
+     *     @type string $version
+     *           The API version associated with the API operation above, such as "v1" or
+     *           "v1alpha1".
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Rpc\Context\AttributeContext::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The API service name. It is a logical identifier for a networked API,
+     * such as "pubsub.googleapis.com". The naming syntax depends on the
+     * API management system being used for handling the request.
+     *
+     * Generated from protobuf field string service = 1;
+     * @return string
+     */
+    public function getService()
+    {
+        return $this->service;
+    }
+    /**
+     * The API service name. It is a logical identifier for a networked API,
+     * such as "pubsub.googleapis.com". The naming syntax depends on the
+     * API management system being used for handling the request.
+     *
+     * Generated from protobuf field string service = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setService($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->service = $var;
+        return $this;
+    }
+    /**
+     * The API operation name. For gRPC requests, it is the fully qualified API
+     * method name, such as "google.pubsub.v1.Publisher.Publish". For OpenAPI
+     * requests, it is the `operationId`, such as "getPet".
+     *
+     * Generated from protobuf field string operation = 2;
+     * @return string
+     */
+    public function getOperation()
+    {
+        return $this->operation;
+    }
+    /**
+     * The API operation name. For gRPC requests, it is the fully qualified API
+     * method name, such as "google.pubsub.v1.Publisher.Publish". For OpenAPI
+     * requests, it is the `operationId`, such as "getPet".
+     *
+     * Generated from protobuf field string operation = 2;
+     * @param string $var
+     * @return $this
+     */
+    public function setOperation($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->operation = $var;
+        return $this;
+    }
+    /**
+     * The API protocol used for sending the request, such as "http", "https",
+     * "grpc", or "internal".
+     *
+     * Generated from protobuf field string protocol = 3;
+     * @return string
+     */
+    public function getProtocol()
+    {
+        return $this->protocol;
+    }
+    /**
+     * The API protocol used for sending the request, such as "http", "https",
+     * "grpc", or "internal".
+     *
+     * Generated from protobuf field string protocol = 3;
+     * @param string $var
+     * @return $this
+     */
+    public function setProtocol($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->protocol = $var;
+        return $this;
+    }
+    /**
+     * The API version associated with the API operation above, such as "v1" or
+     * "v1alpha1".
+     *
+     * Generated from protobuf field string version = 4;
+     * @return string
+     */
+    public function getVersion()
+    {
+        return $this->version;
+    }
+    /**
+     * The API version associated with the API operation above, such as "v1" or
+     * "v1alpha1".
+     *
+     * Generated from protobuf field string version = 4;
+     * @param string $var
+     * @return $this
+     */
+    public function setVersion($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->version = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Auth.php b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Auth.php
new file mode 100644
index 000000000..04e12cbec
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Auth.php
@@ -0,0 +1,335 @@
+google.rpc.context.AttributeContext.Auth
+ */
+class Auth extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The authenticated principal. Reflects the issuer (`iss`) and subject
+     * (`sub`) claims within a JWT. The issuer and subject should be `/`
+     * delimited, with `/` percent-encoded within the subject fragment. For
+     * Google accounts, the principal format is:
+     * "https://accounts.google.com/{id}"
+     *
+     * Generated from protobuf field string principal = 1;
+     */
+    protected $principal = '';
+    /**
+     * The intended audience(s) for this authentication information. Reflects
+     * the audience (`aud`) claim within a JWT. The audience
+     * value(s) depends on the `issuer`, but typically include one or more of
+     * the following pieces of information:
+     * *  The services intended to receive the credential. For example,
+     *    ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"].
+     * *  A set of service-based scopes. For example,
+     *    ["https://www.googleapis.com/auth/cloud-platform"].
+     * *  The client id of an app, such as the Firebase project id for JWTs
+     *    from Firebase Auth.
+     * Consult the documentation for the credential issuer to determine the
+     * information provided.
+     *
+     * Generated from protobuf field repeated string audiences = 2;
+     */
+    private $audiences;
+    /**
+     * The authorized presenter of the credential. Reflects the optional
+     * Authorized Presenter (`azp`) claim within a JWT or the
+     * OAuth client id. For example, a Google Cloud Platform client id looks
+     * as follows: "123456789012.apps.googleusercontent.com".
+     *
+     * Generated from protobuf field string presenter = 3;
+     */
+    protected $presenter = '';
+    /**
+     * Structured claims presented with the credential. JWTs include
+     * `{key: value}` pairs for standard and private claims. The following
+     * is a subset of the standard required and optional claims that would
+     * typically be presented for a Google-based JWT:
+     *    {'iss': 'accounts.google.com',
+     *     'sub': '113289723416554971153',
+     *     'aud': ['123456789012', 'pubsub.googleapis.com'],
+     *     'azp': '123456789012.apps.googleusercontent.com',
+     *     'email': 'jsmith@example.com',
+     *     'iat': 1353601026,
+     *     'exp': 1353604926}
+     * SAML assertions are similarly specified, but with an identity provider
+     * dependent structure.
+     *
+     * Generated from protobuf field .google.protobuf.Struct claims = 4;
+     */
+    protected $claims = null;
+    /**
+     * A list of access level resource names that allow resources to be
+     * accessed by authenticated requester. It is part of Secure GCP processing
+     * for the incoming request. An access level string has the format:
+     * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}"
+     * Example:
+     * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL"
+     *
+     * Generated from protobuf field repeated string access_levels = 5;
+     */
+    private $access_levels;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $principal
+     *           The authenticated principal. Reflects the issuer (`iss`) and subject
+     *           (`sub`) claims within a JWT. The issuer and subject should be `/`
+     *           delimited, with `/` percent-encoded within the subject fragment. For
+     *           Google accounts, the principal format is:
+     *           "https://accounts.google.com/{id}"
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $audiences
+     *           The intended audience(s) for this authentication information. Reflects
+     *           the audience (`aud`) claim within a JWT. The audience
+     *           value(s) depends on the `issuer`, but typically include one or more of
+     *           the following pieces of information:
+     *           *  The services intended to receive the credential. For example,
+     *              ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"].
+     *           *  A set of service-based scopes. For example,
+     *              ["https://www.googleapis.com/auth/cloud-platform"].
+     *           *  The client id of an app, such as the Firebase project id for JWTs
+     *              from Firebase Auth.
+     *           Consult the documentation for the credential issuer to determine the
+     *           information provided.
+     *     @type string $presenter
+     *           The authorized presenter of the credential. Reflects the optional
+     *           Authorized Presenter (`azp`) claim within a JWT or the
+     *           OAuth client id. For example, a Google Cloud Platform client id looks
+     *           as follows: "123456789012.apps.googleusercontent.com".
+     *     @type \Google\Protobuf\Struct $claims
+     *           Structured claims presented with the credential. JWTs include
+     *           `{key: value}` pairs for standard and private claims. The following
+     *           is a subset of the standard required and optional claims that would
+     *           typically be presented for a Google-based JWT:
+     *              {'iss': 'accounts.google.com',
+     *               'sub': '113289723416554971153',
+     *               'aud': ['123456789012', 'pubsub.googleapis.com'],
+     *               'azp': '123456789012.apps.googleusercontent.com',
+     *               'email': 'jsmith@example.com',
+     *               'iat': 1353601026,
+     *               'exp': 1353604926}
+     *           SAML assertions are similarly specified, but with an identity provider
+     *           dependent structure.
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $access_levels
+     *           A list of access level resource names that allow resources to be
+     *           accessed by authenticated requester. It is part of Secure GCP processing
+     *           for the incoming request. An access level string has the format:
+     *           "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}"
+     *           Example:
+     *           "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL"
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Rpc\Context\AttributeContext::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The authenticated principal. Reflects the issuer (`iss`) and subject
+     * (`sub`) claims within a JWT. The issuer and subject should be `/`
+     * delimited, with `/` percent-encoded within the subject fragment. For
+     * Google accounts, the principal format is:
+     * "https://accounts.google.com/{id}"
+     *
+     * Generated from protobuf field string principal = 1;
+     * @return string
+     */
+    public function getPrincipal()
+    {
+        return $this->principal;
+    }
+    /**
+     * The authenticated principal. Reflects the issuer (`iss`) and subject
+     * (`sub`) claims within a JWT. The issuer and subject should be `/`
+     * delimited, with `/` percent-encoded within the subject fragment. For
+     * Google accounts, the principal format is:
+     * "https://accounts.google.com/{id}"
+     *
+     * Generated from protobuf field string principal = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setPrincipal($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->principal = $var;
+        return $this;
+    }
+    /**
+     * The intended audience(s) for this authentication information. Reflects
+     * the audience (`aud`) claim within a JWT. The audience
+     * value(s) depends on the `issuer`, but typically include one or more of
+     * the following pieces of information:
+     * *  The services intended to receive the credential. For example,
+     *    ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"].
+     * *  A set of service-based scopes. For example,
+     *    ["https://www.googleapis.com/auth/cloud-platform"].
+     * *  The client id of an app, such as the Firebase project id for JWTs
+     *    from Firebase Auth.
+     * Consult the documentation for the credential issuer to determine the
+     * information provided.
+     *
+     * Generated from protobuf field repeated string audiences = 2;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getAudiences()
+    {
+        return $this->audiences;
+    }
+    /**
+     * The intended audience(s) for this authentication information. Reflects
+     * the audience (`aud`) claim within a JWT. The audience
+     * value(s) depends on the `issuer`, but typically include one or more of
+     * the following pieces of information:
+     * *  The services intended to receive the credential. For example,
+     *    ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"].
+     * *  A set of service-based scopes. For example,
+     *    ["https://www.googleapis.com/auth/cloud-platform"].
+     * *  The client id of an app, such as the Firebase project id for JWTs
+     *    from Firebase Auth.
+     * Consult the documentation for the credential issuer to determine the
+     * information provided.
+     *
+     * Generated from protobuf field repeated string audiences = 2;
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setAudiences($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->audiences = $arr;
+        return $this;
+    }
+    /**
+     * The authorized presenter of the credential. Reflects the optional
+     * Authorized Presenter (`azp`) claim within a JWT or the
+     * OAuth client id. For example, a Google Cloud Platform client id looks
+     * as follows: "123456789012.apps.googleusercontent.com".
+     *
+     * Generated from protobuf field string presenter = 3;
+     * @return string
+     */
+    public function getPresenter()
+    {
+        return $this->presenter;
+    }
+    /**
+     * The authorized presenter of the credential. Reflects the optional
+     * Authorized Presenter (`azp`) claim within a JWT or the
+     * OAuth client id. For example, a Google Cloud Platform client id looks
+     * as follows: "123456789012.apps.googleusercontent.com".
+     *
+     * Generated from protobuf field string presenter = 3;
+     * @param string $var
+     * @return $this
+     */
+    public function setPresenter($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->presenter = $var;
+        return $this;
+    }
+    /**
+     * Structured claims presented with the credential. JWTs include
+     * `{key: value}` pairs for standard and private claims. The following
+     * is a subset of the standard required and optional claims that would
+     * typically be presented for a Google-based JWT:
+     *    {'iss': 'accounts.google.com',
+     *     'sub': '113289723416554971153',
+     *     'aud': ['123456789012', 'pubsub.googleapis.com'],
+     *     'azp': '123456789012.apps.googleusercontent.com',
+     *     'email': 'jsmith@example.com',
+     *     'iat': 1353601026,
+     *     'exp': 1353604926}
+     * SAML assertions are similarly specified, but with an identity provider
+     * dependent structure.
+     *
+     * Generated from protobuf field .google.protobuf.Struct claims = 4;
+     * @return \Google\Protobuf\Struct|null
+     */
+    public function getClaims()
+    {
+        return $this->claims;
+    }
+    public function hasClaims()
+    {
+        return isset($this->claims);
+    }
+    public function clearClaims()
+    {
+        unset($this->claims);
+    }
+    /**
+     * Structured claims presented with the credential. JWTs include
+     * `{key: value}` pairs for standard and private claims. The following
+     * is a subset of the standard required and optional claims that would
+     * typically be presented for a Google-based JWT:
+     *    {'iss': 'accounts.google.com',
+     *     'sub': '113289723416554971153',
+     *     'aud': ['123456789012', 'pubsub.googleapis.com'],
+     *     'azp': '123456789012.apps.googleusercontent.com',
+     *     'email': 'jsmith@example.com',
+     *     'iat': 1353601026,
+     *     'exp': 1353604926}
+     * SAML assertions are similarly specified, but with an identity provider
+     * dependent structure.
+     *
+     * Generated from protobuf field .google.protobuf.Struct claims = 4;
+     * @param \Google\Protobuf\Struct $var
+     * @return $this
+     */
+    public function setClaims($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Struct::class);
+        $this->claims = $var;
+        return $this;
+    }
+    /**
+     * A list of access level resource names that allow resources to be
+     * accessed by authenticated requester. It is part of Secure GCP processing
+     * for the incoming request. An access level string has the format:
+     * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}"
+     * Example:
+     * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL"
+     *
+     * Generated from protobuf field repeated string access_levels = 5;
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getAccessLevels()
+    {
+        return $this->access_levels;
+    }
+    /**
+     * A list of access level resource names that allow resources to be
+     * accessed by authenticated requester. It is part of Secure GCP processing
+     * for the incoming request. An access level string has the format:
+     * "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}"
+     * Example:
+     * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL"
+     *
+     * Generated from protobuf field repeated string access_levels = 5;
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setAccessLevels($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->access_levels = $arr;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Peer.php b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Peer.php
new file mode 100644
index 000000000..2b78cc4fd
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Peer.php
@@ -0,0 +1,204 @@
+google.rpc.context.AttributeContext.Peer
+ */
+class Peer extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The IP address of the peer.
+     *
+     * Generated from protobuf field string ip = 1;
+     */
+    protected $ip = '';
+    /**
+     * The network port of the peer.
+     *
+     * Generated from protobuf field int64 port = 2;
+     */
+    protected $port = 0;
+    /**
+     * The labels associated with the peer.
+     *
+     * Generated from protobuf field map labels = 6;
+     */
+    private $labels;
+    /**
+     * The identity of this peer. Similar to `Request.auth.principal`, but
+     * relative to the peer instead of the request. For example, the
+     * identity associated with a load balancer that forwarded the request.
+     *
+     * Generated from protobuf field string principal = 7;
+     */
+    protected $principal = '';
+    /**
+     * The CLDR country/region code associated with the above IP address.
+     * If the IP address is private, the `region_code` should reflect the
+     * physical location where this peer is running.
+     *
+     * Generated from protobuf field string region_code = 8;
+     */
+    protected $region_code = '';
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $ip
+     *           The IP address of the peer.
+     *     @type int|string $port
+     *           The network port of the peer.
+     *     @type array|\Google\Protobuf\Internal\MapField $labels
+     *           The labels associated with the peer.
+     *     @type string $principal
+     *           The identity of this peer. Similar to `Request.auth.principal`, but
+     *           relative to the peer instead of the request. For example, the
+     *           identity associated with a load balancer that forwarded the request.
+     *     @type string $region_code
+     *           The CLDR country/region code associated with the above IP address.
+     *           If the IP address is private, the `region_code` should reflect the
+     *           physical location where this peer is running.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Rpc\Context\AttributeContext::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The IP address of the peer.
+     *
+     * Generated from protobuf field string ip = 1;
+     * @return string
+     */
+    public function getIp()
+    {
+        return $this->ip;
+    }
+    /**
+     * The IP address of the peer.
+     *
+     * Generated from protobuf field string ip = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setIp($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->ip = $var;
+        return $this;
+    }
+    /**
+     * The network port of the peer.
+     *
+     * Generated from protobuf field int64 port = 2;
+     * @return int|string
+     */
+    public function getPort()
+    {
+        return $this->port;
+    }
+    /**
+     * The network port of the peer.
+     *
+     * Generated from protobuf field int64 port = 2;
+     * @param int|string $var
+     * @return $this
+     */
+    public function setPort($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->port = $var;
+        return $this;
+    }
+    /**
+     * The labels associated with the peer.
+     *
+     * Generated from protobuf field map labels = 6;
+     * @return \Google\Protobuf\Internal\MapField
+     */
+    public function getLabels()
+    {
+        return $this->labels;
+    }
+    /**
+     * The labels associated with the peer.
+     *
+     * Generated from protobuf field map labels = 6;
+     * @param array|\Google\Protobuf\Internal\MapField $var
+     * @return $this
+     */
+    public function setLabels($var)
+    {
+        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->labels = $arr;
+        return $this;
+    }
+    /**
+     * The identity of this peer. Similar to `Request.auth.principal`, but
+     * relative to the peer instead of the request. For example, the
+     * identity associated with a load balancer that forwarded the request.
+     *
+     * Generated from protobuf field string principal = 7;
+     * @return string
+     */
+    public function getPrincipal()
+    {
+        return $this->principal;
+    }
+    /**
+     * The identity of this peer. Similar to `Request.auth.principal`, but
+     * relative to the peer instead of the request. For example, the
+     * identity associated with a load balancer that forwarded the request.
+     *
+     * Generated from protobuf field string principal = 7;
+     * @param string $var
+     * @return $this
+     */
+    public function setPrincipal($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->principal = $var;
+        return $this;
+    }
+    /**
+     * The CLDR country/region code associated with the above IP address.
+     * If the IP address is private, the `region_code` should reflect the
+     * physical location where this peer is running.
+     *
+     * Generated from protobuf field string region_code = 8;
+     * @return string
+     */
+    public function getRegionCode()
+    {
+        return $this->region_code;
+    }
+    /**
+     * The CLDR country/region code associated with the above IP address.
+     * If the IP address is private, the `region_code` should reflect the
+     * physical location where this peer is running.
+     *
+     * Generated from protobuf field string region_code = 8;
+     * @param string $var
+     * @return $this
+     */
+    public function setRegionCode($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->region_code = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Request.php b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Request.php
new file mode 100644
index 000000000..3d3ef101e
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Request.php
@@ -0,0 +1,464 @@
+google.rpc.context.AttributeContext.Request
+ */
+class Request extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The unique ID for a request, which can be propagated to downstream
+     * systems. The ID should have low probability of collision
+     * within a single day for a specific service.
+     *
+     * Generated from protobuf field string id = 1;
+     */
+    protected $id = '';
+    /**
+     * The HTTP request method, such as `GET`, `POST`.
+     *
+     * Generated from protobuf field string method = 2;
+     */
+    protected $method = '';
+    /**
+     * The HTTP request headers. If multiple headers share the same key, they
+     * must be merged according to the HTTP spec. All header keys must be
+     * lowercased, because HTTP header keys are case-insensitive.
+     *
+     * Generated from protobuf field map headers = 3;
+     */
+    private $headers;
+    /**
+     * The HTTP URL path, excluding the query parameters.
+     *
+     * Generated from protobuf field string path = 4;
+     */
+    protected $path = '';
+    /**
+     * The HTTP request `Host` header value.
+     *
+     * Generated from protobuf field string host = 5;
+     */
+    protected $host = '';
+    /**
+     * The HTTP URL scheme, such as `http` and `https`.
+     *
+     * Generated from protobuf field string scheme = 6;
+     */
+    protected $scheme = '';
+    /**
+     * The HTTP URL query in the format of `name1=value1&name2=value2`, as it
+     * appears in the first line of the HTTP request. No decoding is performed.
+     *
+     * Generated from protobuf field string query = 7;
+     */
+    protected $query = '';
+    /**
+     * The timestamp when the `destination` service receives the last byte of
+     * the request.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp time = 9;
+     */
+    protected $time = null;
+    /**
+     * The HTTP request size in bytes. If unknown, it must be -1.
+     *
+     * Generated from protobuf field int64 size = 10;
+     */
+    protected $size = 0;
+    /**
+     * The network protocol used with the request, such as "http/1.1",
+     * "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See
+     * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
+     * for details.
+     *
+     * Generated from protobuf field string protocol = 11;
+     */
+    protected $protocol = '';
+    /**
+     * A special parameter for request reason. It is used by security systems
+     * to associate auditing information with a request.
+     *
+     * Generated from protobuf field string reason = 12;
+     */
+    protected $reason = '';
+    /**
+     * The request authentication. May be absent for unauthenticated requests.
+     * Derived from the HTTP request `Authorization` header or equivalent.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Auth auth = 13;
+     */
+    protected $auth = null;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $id
+     *           The unique ID for a request, which can be propagated to downstream
+     *           systems. The ID should have low probability of collision
+     *           within a single day for a specific service.
+     *     @type string $method
+     *           The HTTP request method, such as `GET`, `POST`.
+     *     @type array|\Google\Protobuf\Internal\MapField $headers
+     *           The HTTP request headers. If multiple headers share the same key, they
+     *           must be merged according to the HTTP spec. All header keys must be
+     *           lowercased, because HTTP header keys are case-insensitive.
+     *     @type string $path
+     *           The HTTP URL path, excluding the query parameters.
+     *     @type string $host
+     *           The HTTP request `Host` header value.
+     *     @type string $scheme
+     *           The HTTP URL scheme, such as `http` and `https`.
+     *     @type string $query
+     *           The HTTP URL query in the format of `name1=value1&name2=value2`, as it
+     *           appears in the first line of the HTTP request. No decoding is performed.
+     *     @type \Google\Protobuf\Timestamp $time
+     *           The timestamp when the `destination` service receives the last byte of
+     *           the request.
+     *     @type int|string $size
+     *           The HTTP request size in bytes. If unknown, it must be -1.
+     *     @type string $protocol
+     *           The network protocol used with the request, such as "http/1.1",
+     *           "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See
+     *           https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
+     *           for details.
+     *     @type string $reason
+     *           A special parameter for request reason. It is used by security systems
+     *           to associate auditing information with a request.
+     *     @type \Google\Rpc\Context\AttributeContext\Auth $auth
+     *           The request authentication. May be absent for unauthenticated requests.
+     *           Derived from the HTTP request `Authorization` header or equivalent.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Rpc\Context\AttributeContext::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The unique ID for a request, which can be propagated to downstream
+     * systems. The ID should have low probability of collision
+     * within a single day for a specific service.
+     *
+     * Generated from protobuf field string id = 1;
+     * @return string
+     */
+    public function getId()
+    {
+        return $this->id;
+    }
+    /**
+     * The unique ID for a request, which can be propagated to downstream
+     * systems. The ID should have low probability of collision
+     * within a single day for a specific service.
+     *
+     * 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;
+    }
+    /**
+     * The HTTP request method, such as `GET`, `POST`.
+     *
+     * Generated from protobuf field string method = 2;
+     * @return string
+     */
+    public function getMethod()
+    {
+        return $this->method;
+    }
+    /**
+     * The HTTP request method, such as `GET`, `POST`.
+     *
+     * Generated from protobuf field string method = 2;
+     * @param string $var
+     * @return $this
+     */
+    public function setMethod($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->method = $var;
+        return $this;
+    }
+    /**
+     * The HTTP request headers. If multiple headers share the same key, they
+     * must be merged according to the HTTP spec. All header keys must be
+     * lowercased, because HTTP header keys are case-insensitive.
+     *
+     * Generated from protobuf field map headers = 3;
+     * @return \Google\Protobuf\Internal\MapField
+     */
+    public function getHeaders()
+    {
+        return $this->headers;
+    }
+    /**
+     * The HTTP request headers. If multiple headers share the same key, they
+     * must be merged according to the HTTP spec. All header keys must be
+     * lowercased, because HTTP header keys are case-insensitive.
+     *
+     * Generated from protobuf field map headers = 3;
+     * @param array|\Google\Protobuf\Internal\MapField $var
+     * @return $this
+     */
+    public function setHeaders($var)
+    {
+        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->headers = $arr;
+        return $this;
+    }
+    /**
+     * The HTTP URL path, excluding the query parameters.
+     *
+     * Generated from protobuf field string path = 4;
+     * @return string
+     */
+    public function getPath()
+    {
+        return $this->path;
+    }
+    /**
+     * The HTTP URL path, excluding the query parameters.
+     *
+     * Generated from protobuf field string path = 4;
+     * @param string $var
+     * @return $this
+     */
+    public function setPath($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->path = $var;
+        return $this;
+    }
+    /**
+     * The HTTP request `Host` header value.
+     *
+     * Generated from protobuf field string host = 5;
+     * @return string
+     */
+    public function getHost()
+    {
+        return $this->host;
+    }
+    /**
+     * The HTTP request `Host` header value.
+     *
+     * Generated from protobuf field string host = 5;
+     * @param string $var
+     * @return $this
+     */
+    public function setHost($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->host = $var;
+        return $this;
+    }
+    /**
+     * The HTTP URL scheme, such as `http` and `https`.
+     *
+     * Generated from protobuf field string scheme = 6;
+     * @return string
+     */
+    public function getScheme()
+    {
+        return $this->scheme;
+    }
+    /**
+     * The HTTP URL scheme, such as `http` and `https`.
+     *
+     * Generated from protobuf field string scheme = 6;
+     * @param string $var
+     * @return $this
+     */
+    public function setScheme($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->scheme = $var;
+        return $this;
+    }
+    /**
+     * The HTTP URL query in the format of `name1=value1&name2=value2`, as it
+     * appears in the first line of the HTTP request. No decoding is performed.
+     *
+     * Generated from protobuf field string query = 7;
+     * @return string
+     */
+    public function getQuery()
+    {
+        return $this->query;
+    }
+    /**
+     * The HTTP URL query in the format of `name1=value1&name2=value2`, as it
+     * appears in the first line of the HTTP request. No decoding is performed.
+     *
+     * Generated from protobuf field string query = 7;
+     * @param string $var
+     * @return $this
+     */
+    public function setQuery($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->query = $var;
+        return $this;
+    }
+    /**
+     * The timestamp when the `destination` service receives the last byte of
+     * the request.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp time = 9;
+     * @return \Google\Protobuf\Timestamp|null
+     */
+    public function getTime()
+    {
+        return $this->time;
+    }
+    public function hasTime()
+    {
+        return isset($this->time);
+    }
+    public function clearTime()
+    {
+        unset($this->time);
+    }
+    /**
+     * The timestamp when the `destination` service receives the last byte of
+     * the request.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp time = 9;
+     * @param \Google\Protobuf\Timestamp $var
+     * @return $this
+     */
+    public function setTime($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Timestamp::class);
+        $this->time = $var;
+        return $this;
+    }
+    /**
+     * The HTTP request size in bytes. If unknown, it must be -1.
+     *
+     * Generated from protobuf field int64 size = 10;
+     * @return int|string
+     */
+    public function getSize()
+    {
+        return $this->size;
+    }
+    /**
+     * The HTTP request size in bytes. If unknown, it must be -1.
+     *
+     * Generated from protobuf field int64 size = 10;
+     * @param int|string $var
+     * @return $this
+     */
+    public function setSize($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->size = $var;
+        return $this;
+    }
+    /**
+     * The network protocol used with the request, such as "http/1.1",
+     * "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See
+     * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
+     * for details.
+     *
+     * Generated from protobuf field string protocol = 11;
+     * @return string
+     */
+    public function getProtocol()
+    {
+        return $this->protocol;
+    }
+    /**
+     * The network protocol used with the request, such as "http/1.1",
+     * "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See
+     * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
+     * for details.
+     *
+     * Generated from protobuf field string protocol = 11;
+     * @param string $var
+     * @return $this
+     */
+    public function setProtocol($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->protocol = $var;
+        return $this;
+    }
+    /**
+     * A special parameter for request reason. It is used by security systems
+     * to associate auditing information with a request.
+     *
+     * Generated from protobuf field string reason = 12;
+     * @return string
+     */
+    public function getReason()
+    {
+        return $this->reason;
+    }
+    /**
+     * A special parameter for request reason. It is used by security systems
+     * to associate auditing information with a request.
+     *
+     * Generated from protobuf field string reason = 12;
+     * @param string $var
+     * @return $this
+     */
+    public function setReason($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->reason = $var;
+        return $this;
+    }
+    /**
+     * The request authentication. May be absent for unauthenticated requests.
+     * Derived from the HTTP request `Authorization` header or equivalent.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Auth auth = 13;
+     * @return \Google\Rpc\Context\AttributeContext\Auth|null
+     */
+    public function getAuth()
+    {
+        return $this->auth;
+    }
+    public function hasAuth()
+    {
+        return isset($this->auth);
+    }
+    public function clearAuth()
+    {
+        unset($this->auth);
+    }
+    /**
+     * The request authentication. May be absent for unauthenticated requests.
+     * Derived from the HTTP request `Authorization` header or equivalent.
+     *
+     * Generated from protobuf field .google.rpc.context.AttributeContext.Auth auth = 13;
+     * @param \Google\Rpc\Context\AttributeContext\Auth $var
+     * @return $this
+     */
+    public function setAuth($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Context\AttributeContext\Auth::class);
+        $this->auth = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Resource.php b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Resource.php
new file mode 100644
index 000000000..d74c2487e
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Resource.php
@@ -0,0 +1,564 @@
+google.rpc.context.AttributeContext.Resource
+ */
+class Resource extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The name of the service that this resource belongs to, such as
+     * `pubsub.googleapis.com`. The service may be different from the DNS
+     * hostname that actually serves the request.
+     *
+     * Generated from protobuf field string service = 1;
+     */
+    protected $service = '';
+    /**
+     * The stable identifier (name) of a resource on the `service`. A resource
+     * can be logically identified as "//{resource.service}/{resource.name}".
+     * The differences between a resource name and a URI are:
+     * *   Resource name is a logical identifier, independent of network
+     *     protocol and API version. For example,
+     *     `//pubsub.googleapis.com/projects/123/topics/news-feed`.
+     * *   URI often includes protocol and version information, so it can
+     *     be used directly by applications. For example,
+     *     `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`.
+     * See https://cloud.google.com/apis/design/resource_names for details.
+     *
+     * Generated from protobuf field string name = 2;
+     */
+    protected $name = '';
+    /**
+     * The type of the resource. The syntax is platform-specific because
+     * different platforms define their resources differently.
+     * For Google APIs, the type format must be "{service}/{kind}", such as
+     * "pubsub.googleapis.com/Topic".
+     *
+     * Generated from protobuf field string type = 3;
+     */
+    protected $type = '';
+    /**
+     * The labels or tags on the resource, such as AWS resource tags and
+     * Kubernetes resource labels.
+     *
+     * Generated from protobuf field map labels = 4;
+     */
+    private $labels;
+    /**
+     * The unique identifier of the resource. UID is unique in the time
+     * and space for this resource within the scope of the service. It is
+     * typically generated by the server on successful creation of a resource
+     * and must not be changed. UID is used to uniquely identify resources
+     * with resource name reuses. This should be a UUID4.
+     *
+     * Generated from protobuf field string uid = 5;
+     */
+    protected $uid = '';
+    /**
+     * Annotations is an unstructured key-value map stored with a resource that
+     * may be set by external tools to store and retrieve arbitrary metadata.
+     * They are not queryable and should be preserved when modifying objects.
+     * More info: https://kubernetes.io/docs/user-guide/annotations
+     *
+     * Generated from protobuf field map annotations = 6;
+     */
+    private $annotations;
+    /**
+     * Mutable. The display name set by clients. Must be <= 63 characters.
+     *
+     * Generated from protobuf field string display_name = 7;
+     */
+    protected $display_name = '';
+    /**
+     * Output only. The timestamp when the resource was created. This may
+     * be either the time creation was initiated or when it was completed.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp create_time = 8;
+     */
+    protected $create_time = null;
+    /**
+     * Output only. The timestamp when the resource was last updated. Any
+     * change to the resource made by users must refresh this value.
+     * Changes to a resource made by the service should refresh this value.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp update_time = 9;
+     */
+    protected $update_time = null;
+    /**
+     * Output only. The timestamp when the resource was deleted.
+     * If the resource is not deleted, this must be empty.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp delete_time = 10;
+     */
+    protected $delete_time = null;
+    /**
+     * Output only. An opaque value that uniquely identifies a version or
+     * generation of a resource. It can be used to confirm that the client
+     * and server agree on the ordering of a resource being written.
+     *
+     * Generated from protobuf field string etag = 11;
+     */
+    protected $etag = '';
+    /**
+     * Immutable. The location of the resource. The location encoding is
+     * specific to the service provider, and new encoding may be introduced
+     * as the service evolves.
+     * For Google Cloud products, the encoding is what is used by Google Cloud
+     * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The
+     * semantics of `location` is identical to the
+     * `cloud.googleapis.com/location` label used by some Google Cloud APIs.
+     *
+     * Generated from protobuf field string location = 12;
+     */
+    protected $location = '';
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $service
+     *           The name of the service that this resource belongs to, such as
+     *           `pubsub.googleapis.com`. The service may be different from the DNS
+     *           hostname that actually serves the request.
+     *     @type string $name
+     *           The stable identifier (name) of a resource on the `service`. A resource
+     *           can be logically identified as "//{resource.service}/{resource.name}".
+     *           The differences between a resource name and a URI are:
+     *           *   Resource name is a logical identifier, independent of network
+     *               protocol and API version. For example,
+     *               `//pubsub.googleapis.com/projects/123/topics/news-feed`.
+     *           *   URI often includes protocol and version information, so it can
+     *               be used directly by applications. For example,
+     *               `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`.
+     *           See https://cloud.google.com/apis/design/resource_names for details.
+     *     @type string $type
+     *           The type of the resource. The syntax is platform-specific because
+     *           different platforms define their resources differently.
+     *           For Google APIs, the type format must be "{service}/{kind}", such as
+     *           "pubsub.googleapis.com/Topic".
+     *     @type array|\Google\Protobuf\Internal\MapField $labels
+     *           The labels or tags on the resource, such as AWS resource tags and
+     *           Kubernetes resource labels.
+     *     @type string $uid
+     *           The unique identifier of the resource. UID is unique in the time
+     *           and space for this resource within the scope of the service. It is
+     *           typically generated by the server on successful creation of a resource
+     *           and must not be changed. UID is used to uniquely identify resources
+     *           with resource name reuses. This should be a UUID4.
+     *     @type array|\Google\Protobuf\Internal\MapField $annotations
+     *           Annotations is an unstructured key-value map stored with a resource that
+     *           may be set by external tools to store and retrieve arbitrary metadata.
+     *           They are not queryable and should be preserved when modifying objects.
+     *           More info: https://kubernetes.io/docs/user-guide/annotations
+     *     @type string $display_name
+     *           Mutable. The display name set by clients. Must be <= 63 characters.
+     *     @type \Google\Protobuf\Timestamp $create_time
+     *           Output only. The timestamp when the resource was created. This may
+     *           be either the time creation was initiated or when it was completed.
+     *     @type \Google\Protobuf\Timestamp $update_time
+     *           Output only. The timestamp when the resource was last updated. Any
+     *           change to the resource made by users must refresh this value.
+     *           Changes to a resource made by the service should refresh this value.
+     *     @type \Google\Protobuf\Timestamp $delete_time
+     *           Output only. The timestamp when the resource was deleted.
+     *           If the resource is not deleted, this must be empty.
+     *     @type string $etag
+     *           Output only. An opaque value that uniquely identifies a version or
+     *           generation of a resource. It can be used to confirm that the client
+     *           and server agree on the ordering of a resource being written.
+     *     @type string $location
+     *           Immutable. The location of the resource. The location encoding is
+     *           specific to the service provider, and new encoding may be introduced
+     *           as the service evolves.
+     *           For Google Cloud products, the encoding is what is used by Google Cloud
+     *           APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The
+     *           semantics of `location` is identical to the
+     *           `cloud.googleapis.com/location` label used by some Google Cloud APIs.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Rpc\Context\AttributeContext::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The name of the service that this resource belongs to, such as
+     * `pubsub.googleapis.com`. The service may be different from the DNS
+     * hostname that actually serves the request.
+     *
+     * Generated from protobuf field string service = 1;
+     * @return string
+     */
+    public function getService()
+    {
+        return $this->service;
+    }
+    /**
+     * The name of the service that this resource belongs to, such as
+     * `pubsub.googleapis.com`. The service may be different from the DNS
+     * hostname that actually serves the request.
+     *
+     * Generated from protobuf field string service = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setService($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->service = $var;
+        return $this;
+    }
+    /**
+     * The stable identifier (name) of a resource on the `service`. A resource
+     * can be logically identified as "//{resource.service}/{resource.name}".
+     * The differences between a resource name and a URI are:
+     * *   Resource name is a logical identifier, independent of network
+     *     protocol and API version. For example,
+     *     `//pubsub.googleapis.com/projects/123/topics/news-feed`.
+     * *   URI often includes protocol and version information, so it can
+     *     be used directly by applications. For example,
+     *     `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`.
+     * See https://cloud.google.com/apis/design/resource_names for details.
+     *
+     * Generated from protobuf field string name = 2;
+     * @return string
+     */
+    public function getName()
+    {
+        return $this->name;
+    }
+    /**
+     * The stable identifier (name) of a resource on the `service`. A resource
+     * can be logically identified as "//{resource.service}/{resource.name}".
+     * The differences between a resource name and a URI are:
+     * *   Resource name is a logical identifier, independent of network
+     *     protocol and API version. For example,
+     *     `//pubsub.googleapis.com/projects/123/topics/news-feed`.
+     * *   URI often includes protocol and version information, so it can
+     *     be used directly by applications. For example,
+     *     `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`.
+     * See https://cloud.google.com/apis/design/resource_names for details.
+     *
+     * Generated from protobuf field string name = 2;
+     * @param string $var
+     * @return $this
+     */
+    public function setName($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->name = $var;
+        return $this;
+    }
+    /**
+     * The type of the resource. The syntax is platform-specific because
+     * different platforms define their resources differently.
+     * For Google APIs, the type format must be "{service}/{kind}", such as
+     * "pubsub.googleapis.com/Topic".
+     *
+     * Generated from protobuf field string type = 3;
+     * @return string
+     */
+    public function getType()
+    {
+        return $this->type;
+    }
+    /**
+     * The type of the resource. The syntax is platform-specific because
+     * different platforms define their resources differently.
+     * For Google APIs, the type format must be "{service}/{kind}", such as
+     * "pubsub.googleapis.com/Topic".
+     *
+     * Generated from protobuf field string type = 3;
+     * @param string $var
+     * @return $this
+     */
+    public function setType($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->type = $var;
+        return $this;
+    }
+    /**
+     * The labels or tags on the resource, such as AWS resource tags and
+     * Kubernetes resource labels.
+     *
+     * Generated from protobuf field map labels = 4;
+     * @return \Google\Protobuf\Internal\MapField
+     */
+    public function getLabels()
+    {
+        return $this->labels;
+    }
+    /**
+     * The labels or tags on the resource, such as AWS resource tags and
+     * Kubernetes resource labels.
+     *
+     * Generated from protobuf field map labels = 4;
+     * @param array|\Google\Protobuf\Internal\MapField $var
+     * @return $this
+     */
+    public function setLabels($var)
+    {
+        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->labels = $arr;
+        return $this;
+    }
+    /**
+     * The unique identifier of the resource. UID is unique in the time
+     * and space for this resource within the scope of the service. It is
+     * typically generated by the server on successful creation of a resource
+     * and must not be changed. UID is used to uniquely identify resources
+     * with resource name reuses. This should be a UUID4.
+     *
+     * Generated from protobuf field string uid = 5;
+     * @return string
+     */
+    public function getUid()
+    {
+        return $this->uid;
+    }
+    /**
+     * The unique identifier of the resource. UID is unique in the time
+     * and space for this resource within the scope of the service. It is
+     * typically generated by the server on successful creation of a resource
+     * and must not be changed. UID is used to uniquely identify resources
+     * with resource name reuses. This should be a UUID4.
+     *
+     * Generated from protobuf field string uid = 5;
+     * @param string $var
+     * @return $this
+     */
+    public function setUid($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->uid = $var;
+        return $this;
+    }
+    /**
+     * Annotations is an unstructured key-value map stored with a resource that
+     * may be set by external tools to store and retrieve arbitrary metadata.
+     * They are not queryable and should be preserved when modifying objects.
+     * More info: https://kubernetes.io/docs/user-guide/annotations
+     *
+     * Generated from protobuf field map annotations = 6;
+     * @return \Google\Protobuf\Internal\MapField
+     */
+    public function getAnnotations()
+    {
+        return $this->annotations;
+    }
+    /**
+     * Annotations is an unstructured key-value map stored with a resource that
+     * may be set by external tools to store and retrieve arbitrary metadata.
+     * They are not queryable and should be preserved when modifying objects.
+     * More info: https://kubernetes.io/docs/user-guide/annotations
+     *
+     * Generated from protobuf field map annotations = 6;
+     * @param array|\Google\Protobuf\Internal\MapField $var
+     * @return $this
+     */
+    public function setAnnotations($var)
+    {
+        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->annotations = $arr;
+        return $this;
+    }
+    /**
+     * Mutable. The display name set by clients. Must be <= 63 characters.
+     *
+     * Generated from protobuf field string display_name = 7;
+     * @return string
+     */
+    public function getDisplayName()
+    {
+        return $this->display_name;
+    }
+    /**
+     * Mutable. The display name set by clients. Must be <= 63 characters.
+     *
+     * Generated from protobuf field string display_name = 7;
+     * @param string $var
+     * @return $this
+     */
+    public function setDisplayName($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->display_name = $var;
+        return $this;
+    }
+    /**
+     * Output only. The timestamp when the resource was created. This may
+     * be either the time creation was initiated or when it was completed.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp create_time = 8;
+     * @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. The timestamp when the resource was created. This may
+     * be either the time creation was initiated or when it was completed.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp create_time = 8;
+     * @param \Google\Protobuf\Timestamp $var
+     * @return $this
+     */
+    public function setCreateTime($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Timestamp::class);
+        $this->create_time = $var;
+        return $this;
+    }
+    /**
+     * Output only. The timestamp when the resource was last updated. Any
+     * change to the resource made by users must refresh this value.
+     * Changes to a resource made by the service should refresh this value.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp update_time = 9;
+     * @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. The timestamp when the resource was last updated. Any
+     * change to the resource made by users must refresh this value.
+     * Changes to a resource made by the service should refresh this value.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp update_time = 9;
+     * @param \Google\Protobuf\Timestamp $var
+     * @return $this
+     */
+    public function setUpdateTime($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Timestamp::class);
+        $this->update_time = $var;
+        return $this;
+    }
+    /**
+     * Output only. The timestamp when the resource was deleted.
+     * If the resource is not deleted, this must be empty.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp delete_time = 10;
+     * @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. The timestamp when the resource was deleted.
+     * If the resource is not deleted, this must be empty.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp delete_time = 10;
+     * @param \Google\Protobuf\Timestamp $var
+     * @return $this
+     */
+    public function setDeleteTime($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Timestamp::class);
+        $this->delete_time = $var;
+        return $this;
+    }
+    /**
+     * Output only. An opaque value that uniquely identifies a version or
+     * generation of a resource. It can be used to confirm that the client
+     * and server agree on the ordering of a resource being written.
+     *
+     * Generated from protobuf field string etag = 11;
+     * @return string
+     */
+    public function getEtag()
+    {
+        return $this->etag;
+    }
+    /**
+     * Output only. An opaque value that uniquely identifies a version or
+     * generation of a resource. It can be used to confirm that the client
+     * and server agree on the ordering of a resource being written.
+     *
+     * Generated from protobuf field string etag = 11;
+     * @param string $var
+     * @return $this
+     */
+    public function setEtag($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->etag = $var;
+        return $this;
+    }
+    /**
+     * Immutable. The location of the resource. The location encoding is
+     * specific to the service provider, and new encoding may be introduced
+     * as the service evolves.
+     * For Google Cloud products, the encoding is what is used by Google Cloud
+     * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The
+     * semantics of `location` is identical to the
+     * `cloud.googleapis.com/location` label used by some Google Cloud APIs.
+     *
+     * Generated from protobuf field string location = 12;
+     * @return string
+     */
+    public function getLocation()
+    {
+        return $this->location;
+    }
+    /**
+     * Immutable. The location of the resource. The location encoding is
+     * specific to the service provider, and new encoding may be introduced
+     * as the service evolves.
+     * For Google Cloud products, the encoding is what is used by Google Cloud
+     * APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The
+     * semantics of `location` is identical to the
+     * `cloud.googleapis.com/location` label used by some Google Cloud APIs.
+     *
+     * Generated from protobuf field string location = 12;
+     * @param string $var
+     * @return $this
+     */
+    public function setLocation($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->location = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Response.php b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Response.php
new file mode 100644
index 000000000..63ba4cea7
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Rpc/Context/AttributeContext/Response.php
@@ -0,0 +1,226 @@
+google.rpc.context.AttributeContext.Response
+ */
+class Response extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The HTTP response status code, such as `200` and `404`.
+     *
+     * Generated from protobuf field int64 code = 1;
+     */
+    protected $code = 0;
+    /**
+     * The HTTP response size in bytes. If unknown, it must be -1.
+     *
+     * Generated from protobuf field int64 size = 2;
+     */
+    protected $size = 0;
+    /**
+     * The HTTP response headers. If multiple headers share the same key, they
+     * must be merged according to HTTP spec. All header keys must be
+     * lowercased, because HTTP header keys are case-insensitive.
+     *
+     * Generated from protobuf field map headers = 3;
+     */
+    private $headers;
+    /**
+     * The timestamp when the `destination` service sends the last byte of
+     * the response.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp time = 4;
+     */
+    protected $time = null;
+    /**
+     * The amount of time it takes the backend service to fully respond to a
+     * request. Measured from when the destination service starts to send the
+     * request to the backend until when the destination service receives the
+     * complete response from the backend.
+     *
+     * Generated from protobuf field .google.protobuf.Duration backend_latency = 5;
+     */
+    protected $backend_latency = null;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type int|string $code
+     *           The HTTP response status code, such as `200` and `404`.
+     *     @type int|string $size
+     *           The HTTP response size in bytes. If unknown, it must be -1.
+     *     @type array|\Google\Protobuf\Internal\MapField $headers
+     *           The HTTP response headers. If multiple headers share the same key, they
+     *           must be merged according to HTTP spec. All header keys must be
+     *           lowercased, because HTTP header keys are case-insensitive.
+     *     @type \Google\Protobuf\Timestamp $time
+     *           The timestamp when the `destination` service sends the last byte of
+     *           the response.
+     *     @type \Google\Protobuf\Duration $backend_latency
+     *           The amount of time it takes the backend service to fully respond to a
+     *           request. Measured from when the destination service starts to send the
+     *           request to the backend until when the destination service receives the
+     *           complete response from the backend.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Rpc\Context\AttributeContext::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The HTTP response status code, such as `200` and `404`.
+     *
+     * Generated from protobuf field int64 code = 1;
+     * @return int|string
+     */
+    public function getCode()
+    {
+        return $this->code;
+    }
+    /**
+     * The HTTP response status code, such as `200` and `404`.
+     *
+     * Generated from protobuf field int64 code = 1;
+     * @param int|string $var
+     * @return $this
+     */
+    public function setCode($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->code = $var;
+        return $this;
+    }
+    /**
+     * The HTTP response size in bytes. If unknown, it must be -1.
+     *
+     * Generated from protobuf field int64 size = 2;
+     * @return int|string
+     */
+    public function getSize()
+    {
+        return $this->size;
+    }
+    /**
+     * The HTTP response size in bytes. If unknown, it must be -1.
+     *
+     * Generated from protobuf field int64 size = 2;
+     * @param int|string $var
+     * @return $this
+     */
+    public function setSize($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->size = $var;
+        return $this;
+    }
+    /**
+     * The HTTP response headers. If multiple headers share the same key, they
+     * must be merged according to HTTP spec. All header keys must be
+     * lowercased, because HTTP header keys are case-insensitive.
+     *
+     * Generated from protobuf field map headers = 3;
+     * @return \Google\Protobuf\Internal\MapField
+     */
+    public function getHeaders()
+    {
+        return $this->headers;
+    }
+    /**
+     * The HTTP response headers. If multiple headers share the same key, they
+     * must be merged according to HTTP spec. All header keys must be
+     * lowercased, because HTTP header keys are case-insensitive.
+     *
+     * Generated from protobuf field map headers = 3;
+     * @param array|\Google\Protobuf\Internal\MapField $var
+     * @return $this
+     */
+    public function setHeaders($var)
+    {
+        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
+        $this->headers = $arr;
+        return $this;
+    }
+    /**
+     * The timestamp when the `destination` service sends the last byte of
+     * the response.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp time = 4;
+     * @return \Google\Protobuf\Timestamp|null
+     */
+    public function getTime()
+    {
+        return $this->time;
+    }
+    public function hasTime()
+    {
+        return isset($this->time);
+    }
+    public function clearTime()
+    {
+        unset($this->time);
+    }
+    /**
+     * The timestamp when the `destination` service sends the last byte of
+     * the response.
+     *
+     * Generated from protobuf field .google.protobuf.Timestamp time = 4;
+     * @param \Google\Protobuf\Timestamp $var
+     * @return $this
+     */
+    public function setTime($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Timestamp::class);
+        $this->time = $var;
+        return $this;
+    }
+    /**
+     * The amount of time it takes the backend service to fully respond to a
+     * request. Measured from when the destination service starts to send the
+     * request to the backend until when the destination service receives the
+     * complete response from the backend.
+     *
+     * Generated from protobuf field .google.protobuf.Duration backend_latency = 5;
+     * @return \Google\Protobuf\Duration|null
+     */
+    public function getBackendLatency()
+    {
+        return $this->backend_latency;
+    }
+    public function hasBackendLatency()
+    {
+        return isset($this->backend_latency);
+    }
+    public function clearBackendLatency()
+    {
+        unset($this->backend_latency);
+    }
+    /**
+     * The amount of time it takes the backend service to fully respond to a
+     * request. Measured from when the destination service starts to send the
+     * request to the backend until when the destination service receives the
+     * complete response from the backend.
+     *
+     * Generated from protobuf field .google.protobuf.Duration backend_latency = 5;
+     * @param \Google\Protobuf\Duration $var
+     * @return $this
+     */
+    public function setBackendLatency($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Duration::class);
+        $this->backend_latency = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/Context/AuditContext.php b/vendor/prefixed/google/common-protos/src/Rpc/Context/AuditContext.php
new file mode 100644
index 000000000..3c5d10999
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Rpc/Context/AuditContext.php
@@ -0,0 +1,225 @@
+google.rpc.context.AuditContext
+ */
+class AuditContext extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Serialized audit log.
+     *
+     * Generated from protobuf field bytes audit_log = 1;
+     */
+    protected $audit_log = '';
+    /**
+     * An API request message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     *
+     * Generated from protobuf field .google.protobuf.Struct scrubbed_request = 2;
+     */
+    protected $scrubbed_request = null;
+    /**
+     * An API response message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     *
+     * Generated from protobuf field .google.protobuf.Struct scrubbed_response = 3;
+     */
+    protected $scrubbed_response = null;
+    /**
+     * Number of scrubbed response items.
+     *
+     * Generated from protobuf field int32 scrubbed_response_item_count = 4;
+     */
+    protected $scrubbed_response_item_count = 0;
+    /**
+     * Audit resource name which is scrubbed.
+     *
+     * Generated from protobuf field string target_resource = 5;
+     */
+    protected $target_resource = '';
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $audit_log
+     *           Serialized audit log.
+     *     @type \Google\Protobuf\Struct $scrubbed_request
+     *           An API request message that is scrubbed based on the method annotation.
+     *           This field should only be filled if audit_log field is present.
+     *           Service Control will use this to assemble a complete log for Cloud Audit
+     *           Logs and Google internal audit logs.
+     *     @type \Google\Protobuf\Struct $scrubbed_response
+     *           An API response message that is scrubbed based on the method annotation.
+     *           This field should only be filled if audit_log field is present.
+     *           Service Control will use this to assemble a complete log for Cloud Audit
+     *           Logs and Google internal audit logs.
+     *     @type int $scrubbed_response_item_count
+     *           Number of scrubbed response items.
+     *     @type string $target_resource
+     *           Audit resource name which is scrubbed.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Rpc\Context\AuditContext::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Serialized audit log.
+     *
+     * Generated from protobuf field bytes audit_log = 1;
+     * @return string
+     */
+    public function getAuditLog()
+    {
+        return $this->audit_log;
+    }
+    /**
+     * Serialized audit log.
+     *
+     * Generated from protobuf field bytes audit_log = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setAuditLog($var)
+    {
+        GPBUtil::checkString($var, False);
+        $this->audit_log = $var;
+        return $this;
+    }
+    /**
+     * An API request message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     *
+     * Generated from protobuf field .google.protobuf.Struct scrubbed_request = 2;
+     * @return \Google\Protobuf\Struct|null
+     */
+    public function getScrubbedRequest()
+    {
+        return $this->scrubbed_request;
+    }
+    public function hasScrubbedRequest()
+    {
+        return isset($this->scrubbed_request);
+    }
+    public function clearScrubbedRequest()
+    {
+        unset($this->scrubbed_request);
+    }
+    /**
+     * An API request message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     *
+     * Generated from protobuf field .google.protobuf.Struct scrubbed_request = 2;
+     * @param \Google\Protobuf\Struct $var
+     * @return $this
+     */
+    public function setScrubbedRequest($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Struct::class);
+        $this->scrubbed_request = $var;
+        return $this;
+    }
+    /**
+     * An API response message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     *
+     * Generated from protobuf field .google.protobuf.Struct scrubbed_response = 3;
+     * @return \Google\Protobuf\Struct|null
+     */
+    public function getScrubbedResponse()
+    {
+        return $this->scrubbed_response;
+    }
+    public function hasScrubbedResponse()
+    {
+        return isset($this->scrubbed_response);
+    }
+    public function clearScrubbedResponse()
+    {
+        unset($this->scrubbed_response);
+    }
+    /**
+     * An API response message that is scrubbed based on the method annotation.
+     * This field should only be filled if audit_log field is present.
+     * Service Control will use this to assemble a complete log for Cloud Audit
+     * Logs and Google internal audit logs.
+     *
+     * Generated from protobuf field .google.protobuf.Struct scrubbed_response = 3;
+     * @param \Google\Protobuf\Struct $var
+     * @return $this
+     */
+    public function setScrubbedResponse($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Struct::class);
+        $this->scrubbed_response = $var;
+        return $this;
+    }
+    /**
+     * Number of scrubbed response items.
+     *
+     * Generated from protobuf field int32 scrubbed_response_item_count = 4;
+     * @return int
+     */
+    public function getScrubbedResponseItemCount()
+    {
+        return $this->scrubbed_response_item_count;
+    }
+    /**
+     * Number of scrubbed response items.
+     *
+     * Generated from protobuf field int32 scrubbed_response_item_count = 4;
+     * @param int $var
+     * @return $this
+     */
+    public function setScrubbedResponseItemCount($var)
+    {
+        GPBUtil::checkInt32($var);
+        $this->scrubbed_response_item_count = $var;
+        return $this;
+    }
+    /**
+     * Audit resource name which is scrubbed.
+     *
+     * Generated from protobuf field string target_resource = 5;
+     * @return string
+     */
+    public function getTargetResource()
+    {
+        return $this->target_resource;
+    }
+    /**
+     * Audit resource name which is scrubbed.
+     *
+     * Generated from protobuf field string target_resource = 5;
+     * @param string $var
+     * @return $this
+     */
+    public function setTargetResource($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->target_resource = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/DebugInfo.php b/vendor/prefixed/google/common-protos/src/Rpc/DebugInfo.php
index 7dab9b10b..3fa4f8d5f 100644
--- a/vendor/prefixed/google/common-protos/src/Rpc/DebugInfo.php
+++ b/vendor/prefixed/google/common-protos/src/Rpc/DebugInfo.php
@@ -32,7 +32,7 @@ class DebugInfo extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $stack_entries
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $stack_entries
      *           The stack trace entries indicating where the error occurred.
      *     @type string $detail
      *           Additional debugging information provided by the server.
@@ -57,7 +57,7 @@ public function getStackEntries()
      * The stack trace entries indicating where the error occurred.
      *
      * Generated from protobuf field repeated string stack_entries = 1;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setStackEntries($var)
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/ErrorInfo.php b/vendor/prefixed/google/common-protos/src/Rpc/ErrorInfo.php
index 7ccddbbfb..dae2efeec 100644
--- a/vendor/prefixed/google/common-protos/src/Rpc/ErrorInfo.php
+++ b/vendor/prefixed/google/common-protos/src/Rpc/ErrorInfo.php
@@ -35,8 +35,9 @@ class ErrorInfo extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot
     /**
      * The reason of the error. This is a constant value that identifies the
      * proximate cause of the error. Error reasons are unique within a particular
-     * domain of errors. This should be at most 63 characters and match
-     * /[A-Z0-9_]+/.
+     * domain of errors. This should be at most 63 characters and match a
+     * regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents
+     * UPPER_SNAKE_CASE.
      *
      * Generated from protobuf field string reason = 1;
      */
@@ -73,8 +74,9 @@ class ErrorInfo extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot
      *     @type string $reason
      *           The reason of the error. This is a constant value that identifies the
      *           proximate cause of the error. Error reasons are unique within a particular
-     *           domain of errors. This should be at most 63 characters and match
-     *           /[A-Z0-9_]+/.
+     *           domain of errors. This should be at most 63 characters and match a
+     *           regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents
+     *           UPPER_SNAKE_CASE.
      *     @type string $domain
      *           The logical grouping to which the "reason" belongs. The error domain
      *           is typically the registered service name of the tool or product that
@@ -100,8 +102,9 @@ public function __construct($data = NULL)
     /**
      * The reason of the error. This is a constant value that identifies the
      * proximate cause of the error. Error reasons are unique within a particular
-     * domain of errors. This should be at most 63 characters and match
-     * /[A-Z0-9_]+/.
+     * domain of errors. This should be at most 63 characters and match a
+     * regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents
+     * UPPER_SNAKE_CASE.
      *
      * Generated from protobuf field string reason = 1;
      * @return string
@@ -113,8 +116,9 @@ public function getReason()
     /**
      * The reason of the error. This is a constant value that identifies the
      * proximate cause of the error. Error reasons are unique within a particular
-     * domain of errors. This should be at most 63 characters and match
-     * /[A-Z0-9_]+/.
+     * domain of errors. This should be at most 63 characters and match a
+     * regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents
+     * UPPER_SNAKE_CASE.
      *
      * Generated from protobuf field string reason = 1;
      * @param string $var
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/Help.php b/vendor/prefixed/google/common-protos/src/Rpc/Help.php
index 77a8d280d..5d1662264 100644
--- a/vendor/prefixed/google/common-protos/src/Rpc/Help.php
+++ b/vendor/prefixed/google/common-protos/src/Rpc/Help.php
@@ -29,7 +29,7 @@ class Help extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Rpc\Help\Link[]|\Google\Protobuf\Internal\RepeatedField $links
+     *     @type array<\Google\Rpc\Help\Link>|\Google\Protobuf\Internal\RepeatedField $links
      *           URL(s) pointing to additional information on handling the current error.
      * }
      */
@@ -52,7 +52,7 @@ public function getLinks()
      * URL(s) pointing to additional information on handling the current error.
      *
      * Generated from protobuf field repeated .google.rpc.Help.Link links = 1;
-     * @param \Google\Rpc\Help\Link[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Rpc\Help\Link>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setLinks($var)
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/Help/Link.php b/vendor/prefixed/google/common-protos/src/Rpc/Help/Link.php
index 4cecb13c6..62504f141 100644
--- a/vendor/prefixed/google/common-protos/src/Rpc/Help/Link.php
+++ b/vendor/prefixed/google/common-protos/src/Rpc/Help/Link.php
@@ -90,5 +90,3 @@ public function setUrl($var)
         return $this;
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Link::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Help_Link::class);
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/Help_Link.php b/vendor/prefixed/google/common-protos/src/Rpc/Help_Link.php
deleted file mode 100644
index 7f62448f4..000000000
--- a/vendor/prefixed/google/common-protos/src/Rpc/Help_Link.php
+++ /dev/null
@@ -1,17 +0,0 @@
-string locale = 1;
@@ -37,7 +37,7 @@ class LocalizedMessage extends \Matomo\Dependencies\GoogleAnalyticsImporter\Goog
      *
      *     @type string $locale
      *           The locale used following the specification defined at
-     *           http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
+     *           https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
      *           Examples are: "en-US", "fr-CH", "es-MX"
      *     @type string $message
      *           The localized error message in the above locale.
@@ -50,7 +50,7 @@ public function __construct($data = NULL)
     }
     /**
      * The locale used following the specification defined at
-     * http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
+     * https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
      * Examples are: "en-US", "fr-CH", "es-MX"
      *
      * Generated from protobuf field string locale = 1;
@@ -62,7 +62,7 @@ public function getLocale()
     }
     /**
      * The locale used following the specification defined at
-     * http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
+     * https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
      * Examples are: "en-US", "fr-CH", "es-MX"
      *
      * Generated from protobuf field string locale = 1;
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/PreconditionFailure.php b/vendor/prefixed/google/common-protos/src/Rpc/PreconditionFailure.php
index dc7c28c76..e11c698a0 100644
--- a/vendor/prefixed/google/common-protos/src/Rpc/PreconditionFailure.php
+++ b/vendor/prefixed/google/common-protos/src/Rpc/PreconditionFailure.php
@@ -29,7 +29,7 @@ class PreconditionFailure extends \Matomo\Dependencies\GoogleAnalyticsImporter\G
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\Rpc\PreconditionFailure\Violation[]|\Google\Protobuf\Internal\RepeatedField $violations
+     *     @type array<\Google\Rpc\PreconditionFailure\Violation>|\Google\Protobuf\Internal\RepeatedField $violations
      *           Describes all precondition violations.
      * }
      */
@@ -52,7 +52,7 @@ public function getViolations()
      * Describes all precondition violations.
      *
      * Generated from protobuf field repeated .google.rpc.PreconditionFailure.Violation violations = 1;
-     * @param \Google\Rpc\PreconditionFailure\Violation[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Rpc\PreconditionFailure\Violation>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setViolations($var)
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/PreconditionFailure/Violation.php b/vendor/prefixed/google/common-protos/src/Rpc/PreconditionFailure/Violation.php
index 1efc6f40a..188bb2218 100644
--- a/vendor/prefixed/google/common-protos/src/Rpc/PreconditionFailure/Violation.php
+++ b/vendor/prefixed/google/common-protos/src/Rpc/PreconditionFailure/Violation.php
@@ -145,5 +145,3 @@ public function setDescription($var)
         return $this;
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Violation::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\PreconditionFailure_Violation::class);
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/PreconditionFailure_Violation.php b/vendor/prefixed/google/common-protos/src/Rpc/PreconditionFailure_Violation.php
deleted file mode 100644
index c93f7f5b3..000000000
--- a/vendor/prefixed/google/common-protos/src/Rpc/PreconditionFailure_Violation.php
+++ /dev/null
@@ -1,17 +0,0 @@
-|\Google\Protobuf\Internal\RepeatedField $violations
      *           Describes all quota violations.
      * }
      */
@@ -57,7 +57,7 @@ public function getViolations()
      * Describes all quota violations.
      *
      * Generated from protobuf field repeated .google.rpc.QuotaFailure.Violation violations = 1;
-     * @param \Google\Rpc\QuotaFailure\Violation[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Rpc\QuotaFailure\Violation>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setViolations($var)
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/QuotaFailure/Violation.php b/vendor/prefixed/google/common-protos/src/Rpc/QuotaFailure/Violation.php
index 2b3f48c0b..d72cdc817 100644
--- a/vendor/prefixed/google/common-protos/src/Rpc/QuotaFailure/Violation.php
+++ b/vendor/prefixed/google/common-protos/src/Rpc/QuotaFailure/Violation.php
@@ -119,5 +119,3 @@ public function setDescription($var)
         return $this;
     }
 }
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Violation::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\QuotaFailure_Violation::class);
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/QuotaFailure_Violation.php b/vendor/prefixed/google/common-protos/src/Rpc/QuotaFailure_Violation.php
deleted file mode 100644
index 983bddd2e..000000000
--- a/vendor/prefixed/google/common-protos/src/Rpc/QuotaFailure_Violation.php
+++ /dev/null
@@ -1,17 +0,0 @@
-string resource_name = 2;
      */
@@ -59,7 +60,8 @@ class ResourceInfo extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\P
      *     @type string $resource_name
      *           The name of the resource being accessed.  For example, a shared calendar
      *           name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
-     *           error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
+     *           error is
+     *           [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
      *     @type string $owner
      *           The owner of the resource (optional).
      *           For example, "user:" or "project:string resource_name = 2;
      * @return string
@@ -117,7 +120,8 @@ public function getResourceName()
     /**
      * The name of the resource being accessed.  For example, a shared calendar
      * name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
-     * error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
+     * error is
+     * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
      *
      * Generated from protobuf field string resource_name = 2;
      * @param string $var
diff --git a/vendor/prefixed/google/common-protos/src/Rpc/Status.php b/vendor/prefixed/google/common-protos/src/Rpc/Status.php
index ab0b678c1..93890218f 100644
--- a/vendor/prefixed/google/common-protos/src/Rpc/Status.php
+++ b/vendor/prefixed/google/common-protos/src/Rpc/Status.php
@@ -20,7 +20,8 @@
 class Status extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+     * The status code, which should be an enum value of
+     * [google.rpc.Code][google.rpc.Code].
      *
      * Generated from protobuf field int32 code = 1;
      */
@@ -28,7 +29,8 @@ class Status extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu
     /**
      * A developer-facing error message, which should be in English. Any
      * user-facing error message should be localized and sent in the
-     * [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+     * [google.rpc.Status.details][google.rpc.Status.details] field, or localized
+     * by the client.
      *
      * Generated from protobuf field string message = 2;
      */
@@ -47,12 +49,14 @@ class Status extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu
      *     Optional. Data for populating the Message object.
      *
      *     @type int $code
-     *           The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+     *           The status code, which should be an enum value of
+     *           [google.rpc.Code][google.rpc.Code].
      *     @type string $message
      *           A developer-facing error message, which should be in English. Any
      *           user-facing error message should be localized and sent in the
-     *           [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
-     *     @type \Google\Protobuf\Any[]|\Google\Protobuf\Internal\RepeatedField $details
+     *           [google.rpc.Status.details][google.rpc.Status.details] field, or localized
+     *           by the client.
+     *     @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $details
      *           A list of messages that carry the error details.  There is a common set of
      *           message types for APIs to use.
      * }
@@ -63,7 +67,8 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+     * The status code, which should be an enum value of
+     * [google.rpc.Code][google.rpc.Code].
      *
      * Generated from protobuf field int32 code = 1;
      * @return int
@@ -73,7 +78,8 @@ public function getCode()
         return $this->code;
     }
     /**
-     * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+     * The status code, which should be an enum value of
+     * [google.rpc.Code][google.rpc.Code].
      *
      * Generated from protobuf field int32 code = 1;
      * @param int $var
@@ -88,7 +94,8 @@ public function setCode($var)
     /**
      * A developer-facing error message, which should be in English. Any
      * user-facing error message should be localized and sent in the
-     * [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+     * [google.rpc.Status.details][google.rpc.Status.details] field, or localized
+     * by the client.
      *
      * Generated from protobuf field string message = 2;
      * @return string
@@ -100,7 +107,8 @@ public function getMessage()
     /**
      * A developer-facing error message, which should be in English. Any
      * user-facing error message should be localized and sent in the
-     * [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+     * [google.rpc.Status.details][google.rpc.Status.details] field, or localized
+     * by the client.
      *
      * Generated from protobuf field string message = 2;
      * @param string $var
@@ -128,7 +136,7 @@ public function getDetails()
      * message types for APIs to use.
      *
      * Generated from protobuf field repeated .google.protobuf.Any details = 3;
-     * @param \Google\Protobuf\Any[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setDetails($var)
diff --git a/vendor/prefixed/google/common-protos/src/Type/Color.php b/vendor/prefixed/google/common-protos/src/Type/Color.php
index c73627c4d..5438d5168 100644
--- a/vendor/prefixed/google/common-protos/src/Type/Color.php
+++ b/vendor/prefixed/google/common-protos/src/Type/Color.php
@@ -10,15 +10,19 @@
 /**
  * Represents a color in the RGBA color space. This representation is designed
  * for simplicity of conversion to/from color representations in various
- * languages over compactness; for example, the fields of this representation
- * can be trivially provided to the constructor of "java.awt.Color" in Java; it
- * can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
+ * languages over compactness. For example, the fields of this representation
+ * can be trivially provided to the constructor of `java.awt.Color` in Java; it
+ * can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
  * method in iOS; and, with just a little work, it can be easily formatted into
- * a CSS "rgba()" string in JavaScript, as well.
- * Note: this proto does not carry information about the absolute color space
+ * a CSS `rgba()` string in JavaScript.
+ * This reference page doesn't carry information about the absolute color
+ * space
  * that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
- * DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
+ * DCI-P3, BT.2020, etc.). By default, applications should assume the sRGB color
  * space.
+ * When color equality needs to be decided, implementations, unless
+ * documented otherwise, treat two colors as equal if all their red,
+ * green, blue, and alpha values each differ by at most 1e-5.
  * Example (Java):
  *      import com.google.type.Color;
  *      // ...
@@ -93,13 +97,13 @@
  *        var green = Math.floor(greenFrac * 255);
  *        var blue = Math.floor(blueFrac * 255);
  *        if (!('alpha' in rgb_color)) {
- *           return rgbToCssColor_(red, green, blue);
+ *           return rgbToCssColor(red, green, blue);
  *        }
  *        var alphaFrac = rgb_color.alpha.value || 0.0;
  *        var rgbParams = [red, green, blue].join(',');
  *        return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
  *     };
- *     var rgbToCssColor_ = function(red, green, blue) {
+ *     var rgbToCssColor = function(red, green, blue) {
  *       var rgbNumber = new Number((red << 16) | (green << 8) | blue);
  *       var hexString = rgbNumber.toString(16);
  *       var missingZeros = 6 - hexString.length;
@@ -121,33 +125,33 @@ class Color extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf
      *
      * Generated from protobuf field float red = 1;
      */
-    private $red = 0.0;
+    protected $red = 0.0;
     /**
      * The amount of green in the color as a value in the interval [0, 1].
      *
      * Generated from protobuf field float green = 2;
      */
-    private $green = 0.0;
+    protected $green = 0.0;
     /**
      * The amount of blue in the color as a value in the interval [0, 1].
      *
      * Generated from protobuf field float blue = 3;
      */
-    private $blue = 0.0;
+    protected $blue = 0.0;
     /**
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
-     *   pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
      * possible to distinguish between a default value and the value being unset.
-     * If omitted, this color object is to be rendered as a solid color
-     * (as if the alpha value had been explicitly given with a value of 1.0).
+     * If omitted, this color object is rendered as a solid color
+     * (as if the alpha value had been explicitly given a value of 1.0).
      *
      * Generated from protobuf field .google.protobuf.FloatValue alpha = 4;
      */
-    private $alpha = null;
+    protected $alpha = null;
     /**
      * Constructor.
      *
@@ -163,13 +167,13 @@ class Color extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf
      *     @type \Google\Protobuf\FloatValue $alpha
      *           The fraction of this color that should be applied to the pixel. That is,
      *           the final pixel color is defined by the equation:
-     *             pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     *             `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
      *           This means that a value of 1.0 corresponds to a solid color, whereas
      *           a value of 0.0 corresponds to a completely transparent color. This
      *           uses a wrapper message rather than a simple float scalar so that it is
      *           possible to distinguish between a default value and the value being unset.
-     *           If omitted, this color object is to be rendered as a solid color
-     *           (as if the alpha value had been explicitly given with a value of 1.0).
+     *           If omitted, this color object is rendered as a solid color
+     *           (as if the alpha value had been explicitly given a value of 1.0).
      * }
      */
     public function __construct($data = NULL)
@@ -249,51 +253,58 @@ public function setBlue($var)
     /**
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
-     *   pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
      * possible to distinguish between a default value and the value being unset.
-     * If omitted, this color object is to be rendered as a solid color
-     * (as if the alpha value had been explicitly given with a value of 1.0).
+     * If omitted, this color object is rendered as a solid color
+     * (as if the alpha value had been explicitly given a value of 1.0).
      *
      * Generated from protobuf field .google.protobuf.FloatValue alpha = 4;
-     * @return \Google\Protobuf\FloatValue
+     * @return \Google\Protobuf\FloatValue|null
      */
     public function getAlpha()
     {
         return $this->alpha;
     }
+    public function hasAlpha()
+    {
+        return isset($this->alpha);
+    }
+    public function clearAlpha()
+    {
+        unset($this->alpha);
+    }
     /**
      * Returns the unboxed value from getAlpha()
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
-     *   pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
      * possible to distinguish between a default value and the value being unset.
-     * If omitted, this color object is to be rendered as a solid color
-     * (as if the alpha value had been explicitly given with a value of 1.0).
+     * If omitted, this color object is rendered as a solid color
+     * (as if the alpha value had been explicitly given a value of 1.0).
      *
      * Generated from protobuf field .google.protobuf.FloatValue alpha = 4;
      * @return float|null
      */
     public function getAlphaUnwrapped()
     {
-        $wrapper = $this->getAlpha();
-        return is_null($wrapper) ? null : $wrapper->getValue();
+        return $this->readWrapperValue("alpha");
     }
     /**
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
-     *   pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
      * possible to distinguish between a default value and the value being unset.
-     * If omitted, this color object is to be rendered as a solid color
-     * (as if the alpha value had been explicitly given with a value of 1.0).
+     * If omitted, this color object is rendered as a solid color
+     * (as if the alpha value had been explicitly given a value of 1.0).
      *
      * Generated from protobuf field .google.protobuf.FloatValue alpha = 4;
      * @param \Google\Protobuf\FloatValue $var
@@ -309,13 +320,13 @@ public function setAlpha($var)
      * Sets the field by wrapping a primitive type in a Google\Protobuf\FloatValue object.
      * The fraction of this color that should be applied to the pixel. That is,
      * the final pixel color is defined by the equation:
-     *   pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     *   `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
      * This means that a value of 1.0 corresponds to a solid color, whereas
      * a value of 0.0 corresponds to a completely transparent color. This
      * uses a wrapper message rather than a simple float scalar so that it is
      * possible to distinguish between a default value and the value being unset.
-     * If omitted, this color object is to be rendered as a solid color
-     * (as if the alpha value had been explicitly given with a value of 1.0).
+     * If omitted, this color object is rendered as a solid color
+     * (as if the alpha value had been explicitly given a value of 1.0).
      *
      * Generated from protobuf field .google.protobuf.FloatValue alpha = 4;
      * @param float|null $var
@@ -323,7 +334,7 @@ public function setAlpha($var)
      */
     public function setAlphaUnwrapped($var)
     {
-        $wrappedVar = is_null($var) ? null : new \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\FloatValue(['value' => $var]);
-        return $this->setAlpha($wrappedVar);
+        $this->writeWrapperValue("alpha", $var);
+        return $this;
     }
 }
diff --git a/vendor/prefixed/google/common-protos/src/Type/Date.php b/vendor/prefixed/google/common-protos/src/Type/Date.php
index 0f889760e..3686ab732 100644
--- a/vendor/prefixed/google/common-protos/src/Type/Date.php
+++ b/vendor/prefixed/google/common-protos/src/Type/Date.php
@@ -8,41 +8,44 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
- * Represents a whole or partial calendar date, e.g. a birthday. The time of day
- * and time zone are either specified elsewhere or are not significant. The date
- * is relative to the Proleptic Gregorian Calendar. This can represent:
- * * A full date, with non-zero year, month and day values
- * * A month and day value, with a zero year, e.g. an anniversary
+ * Represents a whole or partial calendar date, such as a birthday. The time of
+ * day and time zone are either specified elsewhere or are insignificant. The
+ * date is relative to the Gregorian Calendar. This can represent one of the
+ * following:
+ * * A full date, with non-zero year, month, and day values
+ * * A month and day value, with a zero year, such as an anniversary
  * * A year on its own, with zero month and day values
- * * A year and month value, with a zero day, e.g. a credit card expiration date
- * Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`.
+ * * A year and month value, with a zero day, such as a credit card expiration
+ * date
+ * Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
+ * `google.protobuf.Timestamp`.
  *
  * Generated from protobuf message google.type.Date
  */
 class Date extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * Year of date. Must be from 1 to 9999, or 0 if specifying a date without
+     * Year of the date. Must be from 1 to 9999, or 0 to specify a date without
      * a year.
      *
      * Generated from protobuf field int32 year = 1;
      */
-    private $year = 0;
+    protected $year = 0;
     /**
-     * Month of year. Must be from 1 to 12, or 0 if specifying a year without a
+     * Month of a year. Must be from 1 to 12, or 0 to specify a year without a
      * month and day.
      *
      * Generated from protobuf field int32 month = 2;
      */
-    private $month = 0;
+    protected $month = 0;
     /**
-     * Day of month. Must be from 1 to 31 and valid for the year and month, or 0
-     * if specifying a year by itself or a year and month where the day is not
+     * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
+     * to specify a year by itself or a year and month where the day isn't
      * significant.
      *
      * Generated from protobuf field int32 day = 3;
      */
-    private $day = 0;
+    protected $day = 0;
     /**
      * Constructor.
      *
@@ -50,14 +53,14 @@ class Date extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\
      *     Optional. Data for populating the Message object.
      *
      *     @type int $year
-     *           Year of date. Must be from 1 to 9999, or 0 if specifying a date without
+     *           Year of the date. Must be from 1 to 9999, or 0 to specify a date without
      *           a year.
      *     @type int $month
-     *           Month of year. Must be from 1 to 12, or 0 if specifying a year without a
+     *           Month of a year. Must be from 1 to 12, or 0 to specify a year without a
      *           month and day.
      *     @type int $day
-     *           Day of month. Must be from 1 to 31 and valid for the year and month, or 0
-     *           if specifying a year by itself or a year and month where the day is not
+     *           Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
+     *           to specify a year by itself or a year and month where the day isn't
      *           significant.
      * }
      */
@@ -67,7 +70,7 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * Year of date. Must be from 1 to 9999, or 0 if specifying a date without
+     * Year of the date. Must be from 1 to 9999, or 0 to specify a date without
      * a year.
      *
      * Generated from protobuf field int32 year = 1;
@@ -78,7 +81,7 @@ public function getYear()
         return $this->year;
     }
     /**
-     * Year of date. Must be from 1 to 9999, or 0 if specifying a date without
+     * Year of the date. Must be from 1 to 9999, or 0 to specify a date without
      * a year.
      *
      * Generated from protobuf field int32 year = 1;
@@ -92,7 +95,7 @@ public function setYear($var)
         return $this;
     }
     /**
-     * Month of year. Must be from 1 to 12, or 0 if specifying a year without a
+     * Month of a year. Must be from 1 to 12, or 0 to specify a year without a
      * month and day.
      *
      * Generated from protobuf field int32 month = 2;
@@ -103,7 +106,7 @@ public function getMonth()
         return $this->month;
     }
     /**
-     * Month of year. Must be from 1 to 12, or 0 if specifying a year without a
+     * Month of a year. Must be from 1 to 12, or 0 to specify a year without a
      * month and day.
      *
      * Generated from protobuf field int32 month = 2;
@@ -117,8 +120,8 @@ public function setMonth($var)
         return $this;
     }
     /**
-     * Day of month. Must be from 1 to 31 and valid for the year and month, or 0
-     * if specifying a year by itself or a year and month where the day is not
+     * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
+     * to specify a year by itself or a year and month where the day isn't
      * significant.
      *
      * Generated from protobuf field int32 day = 3;
@@ -129,8 +132,8 @@ public function getDay()
         return $this->day;
     }
     /**
-     * Day of month. Must be from 1 to 31 and valid for the year and month, or 0
-     * if specifying a year by itself or a year and month where the day is not
+     * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
+     * to specify a year by itself or a year and month where the day isn't
      * significant.
      *
      * Generated from protobuf field int32 day = 3;
diff --git a/vendor/prefixed/google/common-protos/src/Type/DateTime.php b/vendor/prefixed/google/common-protos/src/Type/DateTime.php
index 417b49f11..b07e8c107 100644
--- a/vendor/prefixed/google/common-protos/src/Type/DateTime.php
+++ b/vendor/prefixed/google/common-protos/src/Type/DateTime.php
@@ -8,7 +8,8 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
- * Represents civil time in one of a few possible ways:
+ * Represents civil time (or occasionally physical time).
+ * This type can represent a civil time in one of a few possible ways:
  *  * When utc_offset is set and time_zone is unset: a civil time on a calendar
  *    day with a particular offset from UTC.
  *  * When time_zone is set and utc_offset is unset: a civil time on a calendar
@@ -18,6 +19,11 @@
  * The date is relative to the Proleptic Gregorian Calendar.
  * If year is 0, the DateTime is considered not to have a specific year. month
  * and day must have valid, non-zero values.
+ * This type may also be used to represent a physical time if all the date and
+ * time fields are set and either case of the `time_offset` oneof is set.
+ * Consider using `Timestamp` message for physical time instead. If your use
+ * case also would like to store the user's timezone, that can be done in
+ * another field.
  * This type is more flexible than some applications may want. Make sure to
  * document and validate your application's limitations.
  *
@@ -31,20 +37,20 @@ class DateTime extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto
      *
      * Generated from protobuf field int32 year = 1;
      */
-    private $year = 0;
+    protected $year = 0;
     /**
      * Required. Month of year. Must be from 1 to 12.
      *
      * Generated from protobuf field int32 month = 2;
      */
-    private $month = 0;
+    protected $month = 0;
     /**
      * Required. Day of month. Must be from 1 to 31 and valid for the year and
      * month.
      *
      * Generated from protobuf field int32 day = 3;
      */
-    private $day = 0;
+    protected $day = 0;
     /**
      * Required. Hours of day in 24 hour format. Should be from 0 to 23. An API
      * may choose to allow the value "24:00:00" for scenarios like business
@@ -52,27 +58,27 @@ class DateTime extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto
      *
      * Generated from protobuf field int32 hours = 4;
      */
-    private $hours = 0;
+    protected $hours = 0;
     /**
      * Required. Minutes of hour of day. Must be from 0 to 59.
      *
      * Generated from protobuf field int32 minutes = 5;
      */
-    private $minutes = 0;
+    protected $minutes = 0;
     /**
      * Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
      * API may allow the value 60 if it allows leap-seconds.
      *
      * Generated from protobuf field int32 seconds = 6;
      */
-    private $seconds = 0;
+    protected $seconds = 0;
     /**
      * Required. Fractions of seconds in nanoseconds. Must be from 0 to
      * 999,999,999.
      *
      * Generated from protobuf field int32 nanos = 7;
      */
-    private $nanos = 0;
+    protected $nanos = 0;
     protected $time_offset;
     /**
      * Constructor.
@@ -292,12 +298,16 @@ public function setNanos($var)
      * { seconds: -14400 }.
      *
      * Generated from protobuf field .google.protobuf.Duration utc_offset = 8;
-     * @return \Google\Protobuf\Duration
+     * @return \Google\Protobuf\Duration|null
      */
     public function getUtcOffset()
     {
         return $this->readOneof(8);
     }
+    public function hasUtcOffset()
+    {
+        return $this->hasOneof(8);
+    }
     /**
      * UTC offset. Must be whole seconds, between -18 hours and +18 hours.
      * For example, a UTC offset of -4:00 would be represented as
@@ -317,12 +327,16 @@ public function setUtcOffset($var)
      * Time zone.
      *
      * Generated from protobuf field .google.type.TimeZone time_zone = 9;
-     * @return \Google\Type\TimeZone
+     * @return \Google\Type\TimeZone|null
      */
     public function getTimeZone()
     {
         return $this->readOneof(9);
     }
+    public function hasTimeZone()
+    {
+        return $this->hasOneof(9);
+    }
     /**
      * Time zone.
      *
diff --git a/vendor/prefixed/google/common-protos/src/Type/DayOfWeek.php b/vendor/prefixed/google/common-protos/src/Type/DayOfWeek.php
index 8dc7a1a1d..cb0e40917 100644
--- a/vendor/prefixed/google/common-protos/src/Type/DayOfWeek.php
+++ b/vendor/prefixed/google/common-protos/src/Type/DayOfWeek.php
@@ -6,56 +6,56 @@
 
 use UnexpectedValueException;
 /**
- * Represents a day of week.
+ * Represents a day of the week.
  *
  * Protobuf type google.type.DayOfWeek
  */
 class DayOfWeek
 {
     /**
-     * The unspecified day-of-week.
+     * The day of the week is unspecified.
      *
      * Generated from protobuf enum DAY_OF_WEEK_UNSPECIFIED = 0;
      */
     const DAY_OF_WEEK_UNSPECIFIED = 0;
     /**
-     * The day-of-week of Monday.
+     * Monday
      *
      * Generated from protobuf enum MONDAY = 1;
      */
     const MONDAY = 1;
     /**
-     * The day-of-week of Tuesday.
+     * Tuesday
      *
      * Generated from protobuf enum TUESDAY = 2;
      */
     const TUESDAY = 2;
     /**
-     * The day-of-week of Wednesday.
+     * Wednesday
      *
      * Generated from protobuf enum WEDNESDAY = 3;
      */
     const WEDNESDAY = 3;
     /**
-     * The day-of-week of Thursday.
+     * Thursday
      *
      * Generated from protobuf enum THURSDAY = 4;
      */
     const THURSDAY = 4;
     /**
-     * The day-of-week of Friday.
+     * Friday
      *
      * Generated from protobuf enum FRIDAY = 5;
      */
     const FRIDAY = 5;
     /**
-     * The day-of-week of Saturday.
+     * Saturday
      *
      * Generated from protobuf enum SATURDAY = 6;
      */
     const SATURDAY = 6;
     /**
-     * The day-of-week of Sunday.
+     * Sunday
      *
      * Generated from protobuf enum SUNDAY = 7;
      */
diff --git a/vendor/prefixed/google/common-protos/src/Type/Decimal.php b/vendor/prefixed/google/common-protos/src/Type/Decimal.php
new file mode 100644
index 000000000..a740bb009
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Type/Decimal.php
@@ -0,0 +1,238 @@
+google.type.Decimal
+ */
+class Decimal extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The decimal value, as a string.
+     * The string representation consists of an optional sign, `+` (`U+002B`)
+     * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
+     * ("the integer"), optionally followed by a fraction, optionally followed
+     * by an exponent.
+     * The fraction consists of a decimal point followed by zero or more decimal
+     * digits. The string must contain at least one digit in either the integer
+     * or the fraction. The number formed by the sign, the integer and the
+     * fraction is referred to as the significand.
+     * The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
+     * followed by one or more decimal digits.
+     * Services **should** normalize decimal values before storing them by:
+     *   - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
+     *   - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
+     *   - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
+     *   - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+     * Services **may** perform additional normalization based on its own needs
+     * and the internal decimal implementation selected, such as shifting the
+     * decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
+     * Additionally, services **may** preserve trailing zeroes in the fraction
+     * to indicate increased precision, but are not required to do so.
+     * Note that only the `.` character is supported to divide the integer
+     * and the fraction; `,` **should not** be supported regardless of locale.
+     * Additionally, thousand separators **should not** be supported. If a
+     * service does support them, values **must** be normalized.
+     * The ENBF grammar is:
+     *     DecimalString =
+     *       [Sign] Significand [Exponent];
+     *     Sign = '+' | '-';
+     *     Significand =
+     *       Digits ['.'] [Digits] | [Digits] '.' Digits;
+     *     Exponent = ('e' | 'E') [Sign] Digits;
+     *     Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+     * Services **should** clearly document the range of supported values, the
+     * maximum supported precision (total number of digits), and, if applicable,
+     * the scale (number of digits after the decimal point), as well as how it
+     * behaves when receiving out-of-bounds values.
+     * Services **may** choose to accept values passed as input even when the
+     * value has a higher precision or scale than the service supports, and
+     * **should** round the value to fit the supported scale. Alternatively, the
+     * service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
+     * if precision would be lost.
+     * Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
+     * gRPC) if the service receives a value outside of the supported range.
+     *
+     * Generated from protobuf field string value = 1;
+     */
+    protected $value = '';
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $value
+     *           The decimal value, as a string.
+     *           The string representation consists of an optional sign, `+` (`U+002B`)
+     *           or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
+     *           ("the integer"), optionally followed by a fraction, optionally followed
+     *           by an exponent.
+     *           The fraction consists of a decimal point followed by zero or more decimal
+     *           digits. The string must contain at least one digit in either the integer
+     *           or the fraction. The number formed by the sign, the integer and the
+     *           fraction is referred to as the significand.
+     *           The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
+     *           followed by one or more decimal digits.
+     *           Services **should** normalize decimal values before storing them by:
+     *             - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
+     *             - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
+     *             - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
+     *             - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+     *           Services **may** perform additional normalization based on its own needs
+     *           and the internal decimal implementation selected, such as shifting the
+     *           decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
+     *           Additionally, services **may** preserve trailing zeroes in the fraction
+     *           to indicate increased precision, but are not required to do so.
+     *           Note that only the `.` character is supported to divide the integer
+     *           and the fraction; `,` **should not** be supported regardless of locale.
+     *           Additionally, thousand separators **should not** be supported. If a
+     *           service does support them, values **must** be normalized.
+     *           The ENBF grammar is:
+     *               DecimalString =
+     *                 [Sign] Significand [Exponent];
+     *               Sign = '+' | '-';
+     *               Significand =
+     *                 Digits ['.'] [Digits] | [Digits] '.' Digits;
+     *               Exponent = ('e' | 'E') [Sign] Digits;
+     *               Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+     *           Services **should** clearly document the range of supported values, the
+     *           maximum supported precision (total number of digits), and, if applicable,
+     *           the scale (number of digits after the decimal point), as well as how it
+     *           behaves when receiving out-of-bounds values.
+     *           Services **may** choose to accept values passed as input even when the
+     *           value has a higher precision or scale than the service supports, and
+     *           **should** round the value to fit the supported scale. Alternatively, the
+     *           service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
+     *           if precision would be lost.
+     *           Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
+     *           gRPC) if the service receives a value outside of the supported range.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Type\Decimal::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The decimal value, as a string.
+     * The string representation consists of an optional sign, `+` (`U+002B`)
+     * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
+     * ("the integer"), optionally followed by a fraction, optionally followed
+     * by an exponent.
+     * The fraction consists of a decimal point followed by zero or more decimal
+     * digits. The string must contain at least one digit in either the integer
+     * or the fraction. The number formed by the sign, the integer and the
+     * fraction is referred to as the significand.
+     * The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
+     * followed by one or more decimal digits.
+     * Services **should** normalize decimal values before storing them by:
+     *   - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
+     *   - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
+     *   - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
+     *   - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+     * Services **may** perform additional normalization based on its own needs
+     * and the internal decimal implementation selected, such as shifting the
+     * decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
+     * Additionally, services **may** preserve trailing zeroes in the fraction
+     * to indicate increased precision, but are not required to do so.
+     * Note that only the `.` character is supported to divide the integer
+     * and the fraction; `,` **should not** be supported regardless of locale.
+     * Additionally, thousand separators **should not** be supported. If a
+     * service does support them, values **must** be normalized.
+     * The ENBF grammar is:
+     *     DecimalString =
+     *       [Sign] Significand [Exponent];
+     *     Sign = '+' | '-';
+     *     Significand =
+     *       Digits ['.'] [Digits] | [Digits] '.' Digits;
+     *     Exponent = ('e' | 'E') [Sign] Digits;
+     *     Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+     * Services **should** clearly document the range of supported values, the
+     * maximum supported precision (total number of digits), and, if applicable,
+     * the scale (number of digits after the decimal point), as well as how it
+     * behaves when receiving out-of-bounds values.
+     * Services **may** choose to accept values passed as input even when the
+     * value has a higher precision or scale than the service supports, and
+     * **should** round the value to fit the supported scale. Alternatively, the
+     * service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
+     * if precision would be lost.
+     * Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
+     * gRPC) if the service receives a value outside of the supported range.
+     *
+     * Generated from protobuf field string value = 1;
+     * @return string
+     */
+    public function getValue()
+    {
+        return $this->value;
+    }
+    /**
+     * The decimal value, as a string.
+     * The string representation consists of an optional sign, `+` (`U+002B`)
+     * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
+     * ("the integer"), optionally followed by a fraction, optionally followed
+     * by an exponent.
+     * The fraction consists of a decimal point followed by zero or more decimal
+     * digits. The string must contain at least one digit in either the integer
+     * or the fraction. The number formed by the sign, the integer and the
+     * fraction is referred to as the significand.
+     * The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`)
+     * followed by one or more decimal digits.
+     * Services **should** normalize decimal values before storing them by:
+     *   - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
+     *   - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
+     *   - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
+     *   - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
+     * Services **may** perform additional normalization based on its own needs
+     * and the internal decimal implementation selected, such as shifting the
+     * decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
+     * Additionally, services **may** preserve trailing zeroes in the fraction
+     * to indicate increased precision, but are not required to do so.
+     * Note that only the `.` character is supported to divide the integer
+     * and the fraction; `,` **should not** be supported regardless of locale.
+     * Additionally, thousand separators **should not** be supported. If a
+     * service does support them, values **must** be normalized.
+     * The ENBF grammar is:
+     *     DecimalString =
+     *       [Sign] Significand [Exponent];
+     *     Sign = '+' | '-';
+     *     Significand =
+     *       Digits ['.'] [Digits] | [Digits] '.' Digits;
+     *     Exponent = ('e' | 'E') [Sign] Digits;
+     *     Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' };
+     * Services **should** clearly document the range of supported values, the
+     * maximum supported precision (total number of digits), and, if applicable,
+     * the scale (number of digits after the decimal point), as well as how it
+     * behaves when receiving out-of-bounds values.
+     * Services **may** choose to accept values passed as input even when the
+     * value has a higher precision or scale than the service supports, and
+     * **should** round the value to fit the supported scale. Alternatively, the
+     * service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC)
+     * if precision would be lost.
+     * Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in
+     * gRPC) if the service receives a value outside of the supported range.
+     *
+     * 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/vendor/prefixed/google/common-protos/src/Type/Expr.php b/vendor/prefixed/google/common-protos/src/Type/Expr.php
index 4252844d5..f222ab995 100644
--- a/vendor/prefixed/google/common-protos/src/Type/Expr.php
+++ b/vendor/prefixed/google/common-protos/src/Type/Expr.php
@@ -8,46 +8,62 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
- * Represents an expression text. Example:
- *     title: "User account presence"
- *     description: "Determines whether the request has a user account"
- *     expression: "size(request.user) > 0"
+ * Represents a textual expression in the Common Expression Language (CEL)
+ * syntax. CEL is a C-like expression language. The syntax and semantics of CEL
+ * are documented at https://github.com/google/cel-spec.
+ * Example (Comparison):
+ *     title: "Summary size limit"
+ *     description: "Determines if a summary is less than 100 chars"
+ *     expression: "document.summary.size() < 100"
+ * Example (Equality):
+ *     title: "Requestor is owner"
+ *     description: "Determines if requestor is the document owner"
+ *     expression: "document.owner == request.auth.claims.email"
+ * Example (Logic):
+ *     title: "Public documents"
+ *     description: "Determine whether the document should be publicly visible"
+ *     expression: "document.type != 'private' && document.type != 'internal'"
+ * Example (Data Manipulation):
+ *     title: "Notification string"
+ *     description: "Create a notification string with a timestamp."
+ *     expression: "'New message received at ' + string(document.create_time)"
+ * The exact variables and functions that may be referenced within an expression
+ * are determined by the service that evaluates it. See the service
+ * documentation for additional information.
  *
  * Generated from protobuf message google.type.Expr
  */
 class Expr extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * Textual representation of an expression in
-     * Common Expression Language syntax.
-     * The application context of the containing message determines which
-     * well-known feature set of CEL is supported.
+     * Textual representation of an expression in Common Expression Language
+     * syntax.
      *
      * Generated from protobuf field string expression = 1;
      */
-    private $expression = '';
+    protected $expression = '';
     /**
-     * An optional title for the expression, i.e. a short string describing
+     * Optional. Title for the expression, i.e. a short string describing
      * its purpose. This can be used e.g. in UIs which allow to enter the
      * expression.
      *
      * Generated from protobuf field string title = 2;
      */
-    private $title = '';
+    protected $title = '';
     /**
-     * An optional description of the expression. This is a longer text which
+     * Optional. Description of the expression. This is a longer text which
      * describes the expression, e.g. when hovered over it in a UI.
      *
      * Generated from protobuf field string description = 3;
      */
-    private $description = '';
+    protected $description = '';
     /**
-     * An optional string indicating the location of the expression for error
+     * Optional. String indicating the location of the expression for error
      * reporting, e.g. a file name and a position in the file.
      *
      * Generated from protobuf field string location = 4;
      */
-    private $location = '';
+    protected $location = '';
     /**
      * Constructor.
      *
@@ -55,19 +71,17 @@ class Expr extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\
      *     Optional. Data for populating the Message object.
      *
      *     @type string $expression
-     *           Textual representation of an expression in
-     *           Common Expression Language syntax.
-     *           The application context of the containing message determines which
-     *           well-known feature set of CEL is supported.
+     *           Textual representation of an expression in Common Expression Language
+     *           syntax.
      *     @type string $title
-     *           An optional title for the expression, i.e. a short string describing
+     *           Optional. Title for the expression, i.e. a short string describing
      *           its purpose. This can be used e.g. in UIs which allow to enter the
      *           expression.
      *     @type string $description
-     *           An optional description of the expression. This is a longer text which
+     *           Optional. Description of the expression. This is a longer text which
      *           describes the expression, e.g. when hovered over it in a UI.
      *     @type string $location
-     *           An optional string indicating the location of the expression for error
+     *           Optional. String indicating the location of the expression for error
      *           reporting, e.g. a file name and a position in the file.
      * }
      */
@@ -77,10 +91,8 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * Textual representation of an expression in
-     * Common Expression Language syntax.
-     * The application context of the containing message determines which
-     * well-known feature set of CEL is supported.
+     * Textual representation of an expression in Common Expression Language
+     * syntax.
      *
      * Generated from protobuf field string expression = 1;
      * @return string
@@ -90,10 +102,8 @@ public function getExpression()
         return $this->expression;
     }
     /**
-     * Textual representation of an expression in
-     * Common Expression Language syntax.
-     * The application context of the containing message determines which
-     * well-known feature set of CEL is supported.
+     * Textual representation of an expression in Common Expression Language
+     * syntax.
      *
      * Generated from protobuf field string expression = 1;
      * @param string $var
@@ -106,7 +116,7 @@ public function setExpression($var)
         return $this;
     }
     /**
-     * An optional title for the expression, i.e. a short string describing
+     * Optional. Title for the expression, i.e. a short string describing
      * its purpose. This can be used e.g. in UIs which allow to enter the
      * expression.
      *
@@ -118,7 +128,7 @@ public function getTitle()
         return $this->title;
     }
     /**
-     * An optional title for the expression, i.e. a short string describing
+     * Optional. Title for the expression, i.e. a short string describing
      * its purpose. This can be used e.g. in UIs which allow to enter the
      * expression.
      *
@@ -133,7 +143,7 @@ public function setTitle($var)
         return $this;
     }
     /**
-     * An optional description of the expression. This is a longer text which
+     * Optional. Description of the expression. This is a longer text which
      * describes the expression, e.g. when hovered over it in a UI.
      *
      * Generated from protobuf field string description = 3;
@@ -144,7 +154,7 @@ public function getDescription()
         return $this->description;
     }
     /**
-     * An optional description of the expression. This is a longer text which
+     * Optional. Description of the expression. This is a longer text which
      * describes the expression, e.g. when hovered over it in a UI.
      *
      * Generated from protobuf field string description = 3;
@@ -158,7 +168,7 @@ public function setDescription($var)
         return $this;
     }
     /**
-     * An optional string indicating the location of the expression for error
+     * Optional. String indicating the location of the expression for error
      * reporting, e.g. a file name and a position in the file.
      *
      * Generated from protobuf field string location = 4;
@@ -169,7 +179,7 @@ public function getLocation()
         return $this->location;
     }
     /**
-     * An optional string indicating the location of the expression for error
+     * Optional. String indicating the location of the expression for error
      * reporting, e.g. a file name and a position in the file.
      *
      * Generated from protobuf field string location = 4;
diff --git a/vendor/prefixed/google/common-protos/src/Type/Fraction.php b/vendor/prefixed/google/common-protos/src/Type/Fraction.php
index 873cce9db..6414e3211 100644
--- a/vendor/prefixed/google/common-protos/src/Type/Fraction.php
+++ b/vendor/prefixed/google/common-protos/src/Type/Fraction.php
@@ -15,18 +15,18 @@
 class Fraction extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * The portion of the denominator in the faction, e.g. 2 in 2/3.
+     * The numerator in the fraction, e.g. 2 in 2/3.
      *
      * Generated from protobuf field int64 numerator = 1;
      */
-    private $numerator = 0;
+    protected $numerator = 0;
     /**
      * The value by which the numerator is divided, e.g. 3 in 2/3. Must be
      * positive.
      *
      * Generated from protobuf field int64 denominator = 2;
      */
-    private $denominator = 0;
+    protected $denominator = 0;
     /**
      * Constructor.
      *
@@ -34,7 +34,7 @@ class Fraction extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto
      *     Optional. Data for populating the Message object.
      *
      *     @type int|string $numerator
-     *           The portion of the denominator in the faction, e.g. 2 in 2/3.
+     *           The numerator in the fraction, e.g. 2 in 2/3.
      *     @type int|string $denominator
      *           The value by which the numerator is divided, e.g. 3 in 2/3. Must be
      *           positive.
@@ -46,7 +46,7 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * The portion of the denominator in the faction, e.g. 2 in 2/3.
+     * The numerator in the fraction, e.g. 2 in 2/3.
      *
      * Generated from protobuf field int64 numerator = 1;
      * @return int|string
@@ -56,7 +56,7 @@ public function getNumerator()
         return $this->numerator;
     }
     /**
-     * The portion of the denominator in the faction, e.g. 2 in 2/3.
+     * The numerator in the fraction, e.g. 2 in 2/3.
      *
      * Generated from protobuf field int64 numerator = 1;
      * @param int|string $var
diff --git a/vendor/prefixed/google/common-protos/src/Type/Interval.php b/vendor/prefixed/google/common-protos/src/Type/Interval.php
index 310ee407d..f142ec858 100644
--- a/vendor/prefixed/google/common-protos/src/Type/Interval.php
+++ b/vendor/prefixed/google/common-protos/src/Type/Interval.php
@@ -65,7 +65,7 @@ public function __construct($data = NULL)
      */
     public function getStartTime()
     {
-        return isset($this->start_time) ? $this->start_time : null;
+        return $this->start_time;
     }
     public function hasStartTime()
     {
@@ -100,7 +100,7 @@ public function setStartTime($var)
      */
     public function getEndTime()
     {
-        return isset($this->end_time) ? $this->end_time : null;
+        return $this->end_time;
     }
     public function hasEndTime()
     {
diff --git a/vendor/prefixed/google/common-protos/src/Type/LatLng.php b/vendor/prefixed/google/common-protos/src/Type/LatLng.php
index 7345f2633..050ef2725 100644
--- a/vendor/prefixed/google/common-protos/src/Type/LatLng.php
+++ b/vendor/prefixed/google/common-protos/src/Type/LatLng.php
@@ -8,8 +8,8 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
- * An object representing a latitude/longitude pair. This is expressed as a pair
- * of doubles representing degrees latitude and degrees longitude. Unless
+ * An object that represents a latitude/longitude pair. This is expressed as a
+ * pair of doubles to represent degrees latitude and degrees longitude. Unless
  * specified otherwise, this must conform to the
  * WGS84
  * standard. Values must be within normalized ranges.
@@ -23,13 +23,13 @@ class LatLng extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobu
      *
      * Generated from protobuf field double latitude = 1;
      */
-    private $latitude = 0.0;
+    protected $latitude = 0.0;
     /**
      * The longitude in degrees. It must be in the range [-180.0, +180.0].
      *
      * Generated from protobuf field double longitude = 2;
      */
-    private $longitude = 0.0;
+    protected $longitude = 0.0;
     /**
      * Constructor.
      *
diff --git a/vendor/prefixed/google/common-protos/src/Type/LocalizedText.php b/vendor/prefixed/google/common-protos/src/Type/LocalizedText.php
new file mode 100644
index 000000000..f4c70b776
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Type/LocalizedText.php
@@ -0,0 +1,100 @@
+google.type.LocalizedText
+ */
+class LocalizedText extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Localized string in the language corresponding to `language_code' below.
+     *
+     * Generated from protobuf field string text = 1;
+     */
+    protected $text = '';
+    /**
+     * The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+     * For more information, see
+     * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     *
+     * Generated from protobuf field string language_code = 2;
+     */
+    protected $language_code = '';
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $text
+     *           Localized string in the language corresponding to `language_code' below.
+     *     @type string $language_code
+     *           The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+     *           For more information, see
+     *           http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Type\LocalizedText::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Localized string in the language corresponding to `language_code' below.
+     *
+     * Generated from protobuf field string text = 1;
+     * @return string
+     */
+    public function getText()
+    {
+        return $this->text;
+    }
+    /**
+     * Localized string in the language corresponding to `language_code' below.
+     *
+     * Generated from protobuf field string text = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setText($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->text = $var;
+        return $this;
+    }
+    /**
+     * The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+     * For more information, see
+     * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     *
+     * Generated from protobuf field string language_code = 2;
+     * @return string
+     */
+    public function getLanguageCode()
+    {
+        return $this->language_code;
+    }
+    /**
+     * The text's BCP-47 language code, such as "en-US" or "sr-Latn".
+     * For more information, see
+     * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     *
+     * Generated from protobuf field string language_code = 2;
+     * @param string $var
+     * @return $this
+     */
+    public function setLanguageCode($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->language_code = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Type/Money.php b/vendor/prefixed/google/common-protos/src/Type/Money.php
index 8efefd700..7227c85cf 100644
--- a/vendor/prefixed/google/common-protos/src/Type/Money.php
+++ b/vendor/prefixed/google/common-protos/src/Type/Money.php
@@ -15,18 +15,18 @@
 class Money extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * The 3-letter currency code defined in ISO 4217.
+     * The three-letter currency code defined in ISO 4217.
      *
      * Generated from protobuf field string currency_code = 1;
      */
-    private $currency_code = '';
+    protected $currency_code = '';
     /**
      * The whole units of the amount.
      * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
      *
      * Generated from protobuf field int64 units = 2;
      */
-    private $units = 0;
+    protected $units = 0;
     /**
      * Number of nano (10^-9) units of the amount.
      * The value must be between -999,999,999 and +999,999,999 inclusive.
@@ -37,7 +37,7 @@ class Money extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf
      *
      * Generated from protobuf field int32 nanos = 3;
      */
-    private $nanos = 0;
+    protected $nanos = 0;
     /**
      * Constructor.
      *
@@ -45,7 +45,7 @@ class Money extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf
      *     Optional. Data for populating the Message object.
      *
      *     @type string $currency_code
-     *           The 3-letter currency code defined in ISO 4217.
+     *           The three-letter currency code defined in ISO 4217.
      *     @type int|string $units
      *           The whole units of the amount.
      *           For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
@@ -64,7 +64,7 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * The 3-letter currency code defined in ISO 4217.
+     * The three-letter currency code defined in ISO 4217.
      *
      * Generated from protobuf field string currency_code = 1;
      * @return string
@@ -74,7 +74,7 @@ public function getCurrencyCode()
         return $this->currency_code;
     }
     /**
-     * The 3-letter currency code defined in ISO 4217.
+     * The three-letter currency code defined in ISO 4217.
      *
      * Generated from protobuf field string currency_code = 1;
      * @param string $var
diff --git a/vendor/prefixed/google/common-protos/src/Type/Month.php b/vendor/prefixed/google/common-protos/src/Type/Month.php
index 46ed0393b..74d53ea03 100644
--- a/vendor/prefixed/google/common-protos/src/Type/Month.php
+++ b/vendor/prefixed/google/common-protos/src/Type/Month.php
@@ -13,7 +13,7 @@
 class Month
 {
     /**
-     * The unspecifed month.
+     * The unspecified month.
      *
      * Generated from protobuf enum MONTH_UNSPECIFIED = 0;
      */
diff --git a/vendor/prefixed/google/common-protos/src/Type/PhoneNumber.php b/vendor/prefixed/google/common-protos/src/Type/PhoneNumber.php
new file mode 100644
index 000000000..71fd0646f
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Type/PhoneNumber.php
@@ -0,0 +1,215 @@
+google.type.PhoneNumber
+ */
+class PhoneNumber extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The phone number's extension. The extension is not standardized in ITU
+     * recommendations, except for being defined as a series of numbers with a
+     * maximum length of 40 digits. Other than digits, some other dialing
+     * characters such as ',' (indicating a wait) or '#' may be stored here.
+     * Note that no regions currently use extensions with short codes, so this
+     * field is normally only set in conjunction with an E.164 number. It is held
+     * separately from the E.164 number to allow for short code extensions in the
+     * future.
+     *
+     * Generated from protobuf field string extension = 3;
+     */
+    protected $extension = '';
+    protected $kind;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $e164_number
+     *           The phone number, represented as a leading plus sign ('+'), followed by a
+     *           phone number that uses a relaxed ITU E.164 format consisting of the
+     *           country calling code (1 to 3 digits) and the subscriber number, with no
+     *           additional spaces or formatting, e.g.:
+     *            - correct: "+15552220123"
+     *            - incorrect: "+1 (555) 222-01234 x123".
+     *           The ITU E.164 format limits the latter to 12 digits, but in practice not
+     *           all countries respect that, so we relax that restriction here.
+     *           National-only numbers are not allowed.
+     *           References:
+     *            - https://www.itu.int/rec/T-REC-E.164-201011-I
+     *            - https://en.wikipedia.org/wiki/E.164.
+     *            - https://en.wikipedia.org/wiki/List_of_country_calling_codes
+     *     @type \Google\Type\PhoneNumber\ShortCode $short_code
+     *           A short code.
+     *           Reference(s):
+     *            - https://en.wikipedia.org/wiki/Short_code
+     *     @type string $extension
+     *           The phone number's extension. The extension is not standardized in ITU
+     *           recommendations, except for being defined as a series of numbers with a
+     *           maximum length of 40 digits. Other than digits, some other dialing
+     *           characters such as ',' (indicating a wait) or '#' may be stored here.
+     *           Note that no regions currently use extensions with short codes, so this
+     *           field is normally only set in conjunction with an E.164 number. It is held
+     *           separately from the E.164 number to allow for short code extensions in the
+     *           future.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Type\PhoneNumber::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The phone number, represented as a leading plus sign ('+'), followed by a
+     * phone number that uses a relaxed ITU E.164 format consisting of the
+     * country calling code (1 to 3 digits) and the subscriber number, with no
+     * additional spaces or formatting, e.g.:
+     *  - correct: "+15552220123"
+     *  - incorrect: "+1 (555) 222-01234 x123".
+     * The ITU E.164 format limits the latter to 12 digits, but in practice not
+     * all countries respect that, so we relax that restriction here.
+     * National-only numbers are not allowed.
+     * References:
+     *  - https://www.itu.int/rec/T-REC-E.164-201011-I
+     *  - https://en.wikipedia.org/wiki/E.164.
+     *  - https://en.wikipedia.org/wiki/List_of_country_calling_codes
+     *
+     * Generated from protobuf field string e164_number = 1;
+     * @return string
+     */
+    public function getE164Number()
+    {
+        return $this->readOneof(1);
+    }
+    public function hasE164Number()
+    {
+        return $this->hasOneof(1);
+    }
+    /**
+     * The phone number, represented as a leading plus sign ('+'), followed by a
+     * phone number that uses a relaxed ITU E.164 format consisting of the
+     * country calling code (1 to 3 digits) and the subscriber number, with no
+     * additional spaces or formatting, e.g.:
+     *  - correct: "+15552220123"
+     *  - incorrect: "+1 (555) 222-01234 x123".
+     * The ITU E.164 format limits the latter to 12 digits, but in practice not
+     * all countries respect that, so we relax that restriction here.
+     * National-only numbers are not allowed.
+     * References:
+     *  - https://www.itu.int/rec/T-REC-E.164-201011-I
+     *  - https://en.wikipedia.org/wiki/E.164.
+     *  - https://en.wikipedia.org/wiki/List_of_country_calling_codes
+     *
+     * Generated from protobuf field string e164_number = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setE164Number($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->writeOneof(1, $var);
+        return $this;
+    }
+    /**
+     * A short code.
+     * Reference(s):
+     *  - https://en.wikipedia.org/wiki/Short_code
+     *
+     * Generated from protobuf field .google.type.PhoneNumber.ShortCode short_code = 2;
+     * @return \Google\Type\PhoneNumber\ShortCode|null
+     */
+    public function getShortCode()
+    {
+        return $this->readOneof(2);
+    }
+    public function hasShortCode()
+    {
+        return $this->hasOneof(2);
+    }
+    /**
+     * A short code.
+     * Reference(s):
+     *  - https://en.wikipedia.org/wiki/Short_code
+     *
+     * Generated from protobuf field .google.type.PhoneNumber.ShortCode short_code = 2;
+     * @param \Google\Type\PhoneNumber\ShortCode $var
+     * @return $this
+     */
+    public function setShortCode($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Type\PhoneNumber\ShortCode::class);
+        $this->writeOneof(2, $var);
+        return $this;
+    }
+    /**
+     * The phone number's extension. The extension is not standardized in ITU
+     * recommendations, except for being defined as a series of numbers with a
+     * maximum length of 40 digits. Other than digits, some other dialing
+     * characters such as ',' (indicating a wait) or '#' may be stored here.
+     * Note that no regions currently use extensions with short codes, so this
+     * field is normally only set in conjunction with an E.164 number. It is held
+     * separately from the E.164 number to allow for short code extensions in the
+     * future.
+     *
+     * Generated from protobuf field string extension = 3;
+     * @return string
+     */
+    public function getExtension()
+    {
+        return $this->extension;
+    }
+    /**
+     * The phone number's extension. The extension is not standardized in ITU
+     * recommendations, except for being defined as a series of numbers with a
+     * maximum length of 40 digits. Other than digits, some other dialing
+     * characters such as ',' (indicating a wait) or '#' may be stored here.
+     * Note that no regions currently use extensions with short codes, so this
+     * field is normally only set in conjunction with an E.164 number. It is held
+     * separately from the E.164 number to allow for short code extensions in the
+     * future.
+     *
+     * Generated from protobuf field string extension = 3;
+     * @param string $var
+     * @return $this
+     */
+    public function setExtension($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->extension = $var;
+        return $this;
+    }
+    /**
+     * @return string
+     */
+    public function getKind()
+    {
+        return $this->whichOneof("kind");
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Type/PhoneNumber/ShortCode.php b/vendor/prefixed/google/common-protos/src/Type/PhoneNumber/ShortCode.php
new file mode 100644
index 000000000..b7d97bfe6
--- /dev/null
+++ b/vendor/prefixed/google/common-protos/src/Type/PhoneNumber/ShortCode.php
@@ -0,0 +1,115 @@
+google.type.PhoneNumber.ShortCode
+ */
+class ShortCode extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * Required. The BCP-47 region code of the location where calls to this
+     * short code can be made, such as "US" and "BB".
+     * Reference(s):
+     *  - http://www.unicode.org/reports/tr35/#unicode_region_subtag
+     *
+     * Generated from protobuf field string region_code = 1;
+     */
+    protected $region_code = '';
+    /**
+     * Required. The short code digits, without a leading plus ('+') or country
+     * calling code, e.g. "611".
+     *
+     * Generated from protobuf field string number = 2;
+     */
+    protected $number = '';
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $region_code
+     *           Required. The BCP-47 region code of the location where calls to this
+     *           short code can be made, such as "US" and "BB".
+     *           Reference(s):
+     *            - http://www.unicode.org/reports/tr35/#unicode_region_subtag
+     *     @type string $number
+     *           Required. The short code digits, without a leading plus ('+') or country
+     *           calling code, e.g. "611".
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Type\PhoneNumber::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * Required. The BCP-47 region code of the location where calls to this
+     * short code can be made, such as "US" and "BB".
+     * Reference(s):
+     *  - http://www.unicode.org/reports/tr35/#unicode_region_subtag
+     *
+     * Generated from protobuf field string region_code = 1;
+     * @return string
+     */
+    public function getRegionCode()
+    {
+        return $this->region_code;
+    }
+    /**
+     * Required. The BCP-47 region code of the location where calls to this
+     * short code can be made, such as "US" and "BB".
+     * Reference(s):
+     *  - http://www.unicode.org/reports/tr35/#unicode_region_subtag
+     *
+     * Generated from protobuf field string region_code = 1;
+     * @param string $var
+     * @return $this
+     */
+    public function setRegionCode($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->region_code = $var;
+        return $this;
+    }
+    /**
+     * Required. The short code digits, without a leading plus ('+') or country
+     * calling code, e.g. "611".
+     *
+     * Generated from protobuf field string number = 2;
+     * @return string
+     */
+    public function getNumber()
+    {
+        return $this->number;
+    }
+    /**
+     * Required. The short code digits, without a leading plus ('+') or country
+     * calling code, e.g. "611".
+     *
+     * Generated from protobuf field string number = 2;
+     * @param string $var
+     * @return $this
+     */
+    public function setNumber($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->number = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/common-protos/src/Type/PostalAddress.php b/vendor/prefixed/google/common-protos/src/Type/PostalAddress.php
index 4e3fe146e..0189b1bf4 100644
--- a/vendor/prefixed/google/common-protos/src/Type/PostalAddress.php
+++ b/vendor/prefixed/google/common-protos/src/Type/PostalAddress.php
@@ -34,7 +34,7 @@ class PostalAddress extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *
      * Generated from protobuf field int32 revision = 1;
      */
-    private $revision = 0;
+    protected $revision = 0;
     /**
      * Required. CLDR region code of the country/region of the address. This
      * is never inferred and it is up to the user to ensure the value is
@@ -44,7 +44,7 @@ class PostalAddress extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *
      * Generated from protobuf field string region_code = 2;
      */
-    private $region_code = '';
+    protected $region_code = '';
     /**
      * Optional. BCP-47 language code of the contents of this address (if
      * known). This is often the UI language of the input form or is expected
@@ -59,7 +59,7 @@ class PostalAddress extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *
      * Generated from protobuf field string language_code = 3;
      */
-    private $language_code = '';
+    protected $language_code = '';
     /**
      * Optional. Postal code of the address. Not all countries use or require
      * postal codes to be present, but where they are used, they may trigger
@@ -68,7 +68,7 @@ class PostalAddress extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *
      * Generated from protobuf field string postal_code = 4;
      */
-    private $postal_code = '';
+    protected $postal_code = '';
     /**
      * Optional. Additional, country-specific, sorting code. This is not used
      * in most regions. Where it is used, the value is either a string like
@@ -78,7 +78,7 @@ class PostalAddress extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *
      * Generated from protobuf field string sorting_code = 5;
      */
-    private $sorting_code = '';
+    protected $sorting_code = '';
     /**
      * Optional. Highest administrative subdivision which is used for postal
      * addresses of a country or region.
@@ -90,7 +90,7 @@ class PostalAddress extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *
      * Generated from protobuf field string administrative_area = 6;
      */
-    private $administrative_area = '';
+    protected $administrative_area = '';
     /**
      * Optional. Generally refers to the city/town portion of the address.
      * Examples: US city, IT comune, UK post town.
@@ -99,14 +99,14 @@ class PostalAddress extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *
      * Generated from protobuf field string locality = 7;
      */
-    private $locality = '';
+    protected $locality = '';
     /**
      * Optional. Sublocality of the address.
      * For example, this can be neighborhoods, boroughs, districts.
      *
      * Generated from protobuf field string sublocality = 8;
      */
-    private $sublocality = '';
+    protected $sublocality = '';
     /**
      * Unstructured address lines describing the lower levels of an address.
      * Because values in address_lines do not have type information and may
@@ -144,7 +144,7 @@ class PostalAddress extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *
      * Generated from protobuf field string organization = 11;
      */
-    private $organization = '';
+    protected $organization = '';
     /**
      * Constructor.
      *
@@ -199,7 +199,7 @@ class PostalAddress extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *     @type string $sublocality
      *           Optional. Sublocality of the address.
      *           For example, this can be neighborhoods, boroughs, districts.
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $address_lines
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $address_lines
      *           Unstructured address lines describing the lower levels of an address.
      *           Because values in address_lines do not have type information and may
      *           sometimes contain multiple values in a single field (e.g.
@@ -219,7 +219,7 @@ class PostalAddress extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\
      *           then geocoding is the recommended way to handle completely unstructured
      *           addresses (as opposed to guessing which parts of the address should be
      *           localities or administrative areas).
-     *     @type string[]|\Google\Protobuf\Internal\RepeatedField $recipients
+     *     @type array|\Google\Protobuf\Internal\RepeatedField $recipients
      *           Optional. The recipient at the address.
      *           This field may, under certain circumstances, contain multiline information.
      *           For example, it might contain "care of" information.
@@ -530,7 +530,7 @@ public function getAddressLines()
      * localities or administrative areas).
      *
      * Generated from protobuf field repeated string address_lines = 9;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setAddressLines($var)
@@ -557,7 +557,7 @@ public function getRecipients()
      * For example, it might contain "care of" information.
      *
      * Generated from protobuf field repeated string recipients = 10;
-     * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setRecipients($var)
diff --git a/vendor/prefixed/google/common-protos/src/Type/Quaternion.php b/vendor/prefixed/google/common-protos/src/Type/Quaternion.php
index 53307db91..adce5afe8 100644
--- a/vendor/prefixed/google/common-protos/src/Type/Quaternion.php
+++ b/vendor/prefixed/google/common-protos/src/Type/Quaternion.php
@@ -61,25 +61,25 @@ class Quaternion extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pro
      *
      * Generated from protobuf field double x = 1;
      */
-    private $x = 0.0;
+    protected $x = 0.0;
     /**
      * The y component.
      *
      * Generated from protobuf field double y = 2;
      */
-    private $y = 0.0;
+    protected $y = 0.0;
     /**
      * The z component.
      *
      * Generated from protobuf field double z = 3;
      */
-    private $z = 0.0;
+    protected $z = 0.0;
     /**
      * The scalar component.
      *
      * Generated from protobuf field double w = 4;
      */
-    private $w = 0.0;
+    protected $w = 0.0;
     /**
      * Constructor.
      *
diff --git a/vendor/prefixed/google/common-protos/src/Type/TimeOfDay.php b/vendor/prefixed/google/common-protos/src/Type/TimeOfDay.php
index bdb3ef859..93415f3d4 100644
--- a/vendor/prefixed/google/common-protos/src/Type/TimeOfDay.php
+++ b/vendor/prefixed/google/common-protos/src/Type/TimeOfDay.php
@@ -10,7 +10,8 @@
 /**
  * Represents a time of day. The date and time zone are either not significant
  * or are specified elsewhere. An API may choose to allow leap seconds. Related
- * types are [google.type.Date][google.type.Date] and `google.protobuf.Timestamp`.
+ * types are [google.type.Date][google.type.Date] and
+ * `google.protobuf.Timestamp`.
  *
  * Generated from protobuf message google.type.TimeOfDay
  */
@@ -22,26 +23,26 @@ class TimeOfDay extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot
      *
      * Generated from protobuf field int32 hours = 1;
      */
-    private $hours = 0;
+    protected $hours = 0;
     /**
      * Minutes of hour of day. Must be from 0 to 59.
      *
      * Generated from protobuf field int32 minutes = 2;
      */
-    private $minutes = 0;
+    protected $minutes = 0;
     /**
      * Seconds of minutes of the time. Must normally be from 0 to 59. An API may
      * allow the value 60 if it allows leap-seconds.
      *
      * Generated from protobuf field int32 seconds = 3;
      */
-    private $seconds = 0;
+    protected $seconds = 0;
     /**
      * Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
      *
      * Generated from protobuf field int32 nanos = 4;
      */
-    private $nanos = 0;
+    protected $nanos = 0;
     /**
      * Constructor.
      *
diff --git a/vendor/prefixed/google/common-protos/src/Type/TimeZone.php b/vendor/prefixed/google/common-protos/src/Type/TimeZone.php
index 25ef72dbe..1210c56bf 100644
--- a/vendor/prefixed/google/common-protos/src/Type/TimeZone.php
+++ b/vendor/prefixed/google/common-protos/src/Type/TimeZone.php
@@ -20,13 +20,13 @@ class TimeZone extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Proto
      *
      * Generated from protobuf field string id = 1;
      */
-    private $id = '';
+    protected $id = '';
     /**
      * Optional. IANA Time Zone Database version number, e.g. "2019a".
      *
      * Generated from protobuf field string version = 2;
      */
-    private $version = '';
+    protected $version = '';
     /**
      * Constructor.
      *
diff --git a/vendor/prefixed/google/gax/VERSION b/vendor/prefixed/google/gax/VERSION
index 141f2e805..2b17ffd50 100644
--- a/vendor/prefixed/google/gax/VERSION
+++ b/vendor/prefixed/google/gax/VERSION
@@ -1 +1 @@
-1.15.0
+1.34.0
diff --git a/vendor/prefixed/google/gax/metadata/Google/ApiCore/Tests/Unit/Example.php b/vendor/prefixed/google/gax/metadata/Google/ApiCore/Tests/Unit/Example.php
index 863fa973c..2cfd8703e 100644
--- a/vendor/prefixed/google/gax/metadata/Google/ApiCore/Tests/Unit/Example.php
+++ b/vendor/prefixed/google/gax/metadata/Google/ApiCore/Tests/Unit/Example.php
@@ -2,7 +2,7 @@
 
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # source: example.proto
-namespace Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\ApiCore\Tests\Unit;
+namespace GPBMetadata\Google\ApiCore\Tests\Unit;
 
 class Example
 {
diff --git a/vendor/prefixed/google/gax/src/AgentHeader.php b/vendor/prefixed/google/gax/src/AgentHeader.php
index 45e650cf6..a441af42f 100644
--- a/vendor/prefixed/google/gax/src/AgentHeader.php
+++ b/vendor/prefixed/google/gax/src/AgentHeader.php
@@ -58,7 +58,7 @@ class AgentHeader
      * }
      * @return array Agent header array
      */
-    public static function buildAgentHeader($headerInfo)
+    public static function buildAgentHeader(array $headerInfo)
     {
         $metricsHeaders = [];
         // The ordering of the headers is important. We use the fact that $metricsHeaders is an
@@ -70,15 +70,12 @@ public static function buildAgentHeader($headerInfo)
         //      - grpcVersion (grpc/)
         //      - restVersion (rest/)
         //      - protobufVersion (pb/)
-        $phpVersion = isset($headerInfo['phpVersion']) ? $headerInfo['phpVersion'] : phpversion();
-        $metricsHeaders['gl-php'] = $phpVersion;
+        $metricsHeaders['gl-php'] = $headerInfo['phpVersion'] ?? phpversion();
         if (isset($headerInfo['libName'])) {
-            $clientVersion = isset($headerInfo['libVersion']) ? $headerInfo['libVersion'] : self::UNKNOWN_VERSION;
-            $metricsHeaders[$headerInfo['libName']] = $clientVersion;
+            $metricsHeaders[$headerInfo['libName']] = $headerInfo['libVersion'] ?? self::UNKNOWN_VERSION;
         }
-        $codeGenVersion = isset($headerInfo['gapicVersion']) ? $headerInfo['gapicVersion'] : self::UNKNOWN_VERSION;
-        $metricsHeaders['gapic'] = $codeGenVersion;
-        $apiCoreVersion = isset($headerInfo['apiCoreVersion']) ? $headerInfo['apiCoreVersion'] : Version::getApiCoreVersion();
+        $apiCoreVersion = $headerInfo['apiCoreVersion'] ?? Version::getApiCoreVersion();
+        $metricsHeaders['gapic'] = $headerInfo['gapicVersion'] ?? self::UNKNOWN_VERSION;
         $metricsHeaders['gax'] = $apiCoreVersion;
         // Context on library type identification (between gRPC+REST and REST-only):
         // This uses the gRPC extension's version if 'grpcVersion' is not set, so we
@@ -87,14 +84,11 @@ public static function buildAgentHeader($headerInfo)
         // either, since some clients may have the extension installed but opt to use a
         // REST-only library (e.g. GCE).
         // TODO: Should we stop sending empty gRPC headers?
-        $grpcVersion = isset($headerInfo['grpcVersion']) ? $headerInfo['grpcVersion'] : phpversion('grpc');
-        $metricsHeaders['grpc'] = $grpcVersion;
-        $restVersion = isset($headerInfo['restVersion']) ? $headerInfo['restVersion'] : $apiCoreVersion;
-        $metricsHeaders['rest'] = $restVersion;
+        $metricsHeaders['grpc'] = $headerInfo['grpcVersion'] ?? phpversion('grpc');
+        $metricsHeaders['rest'] = $headerInfo['restVersion'] ?? $apiCoreVersion;
         // The native version is not set by default because it is complex and costly to retrieve.
         // Users can override this default behavior if needed.
-        $protobufVersion = isset($headerInfo['protobufVersion']) ? $headerInfo['protobufVersion'] : (phpversion('protobuf') ? phpversion('protobuf') . '+c' : '+n');
-        $metricsHeaders['pb'] = $protobufVersion;
+        $metricsHeaders['pb'] = $headerInfo['protobufVersion'] ?? (phpversion('protobuf') ? phpversion('protobuf') . '+c' : '+n');
         $metricsList = [];
         foreach ($metricsHeaders as $key => $value) {
             $metricsList[] = $key . "/" . $value;
@@ -113,7 +107,7 @@ public static function buildAgentHeader($headerInfo)
      * @return string the gapic version
      * @throws \ReflectionException
      */
-    public static function readGapicVersionFromFile($callingClass)
+    public static function readGapicVersionFromFile(string $callingClass)
     {
         $callingClassFile = (new \ReflectionClass($callingClass))->getFileName();
         $versionFile = substr($callingClassFile, 0, strrpos($callingClassFile, \DIRECTORY_SEPARATOR . 'src' . \DIRECTORY_SEPARATOR)) . \DIRECTORY_SEPARATOR . 'VERSION';
diff --git a/vendor/prefixed/google/gax/src/ApiException.php b/vendor/prefixed/google/gax/src/ApiException.php
index 7efa5f47f..6a3d063e2 100644
--- a/vendor/prefixed/google/gax/src/ApiException.php
+++ b/vendor/prefixed/google/gax/src/ApiException.php
@@ -36,6 +36,8 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Status;
 use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Exception\RequestException;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Testing\MockStatus;
+use stdClass;
 /**
  * Represents an exception thrown during an RPC.
  */
@@ -56,7 +58,7 @@ class ApiException extends Exception
      *     @type string|null $basicMessage
      * }
      */
-    public function __construct($message, $code, $status, array $optionalArgs = [])
+    public function __construct(string $message, int $code, string $status = null, array $optionalArgs = [])
     {
         $optionalArgs += ['previous' => null, 'metadata' => null, 'basicMessage' => $message];
         parent::__construct($message, $code, $optionalArgs['previous']);
@@ -122,13 +124,13 @@ public function getErrorInfoMetadata()
         return $this->decodedMetadataErrorInfo ? $this->decodedMetadataErrorInfo['errorInfoMetadata'] : null;
     }
     /**
-     * @param \stdClass $status
+     * @param stdClass $status
      * @return ApiException
      */
-    public static function createFromStdClass($status)
+    public static function createFromStdClass(stdClass $status)
     {
         $metadata = property_exists($status, 'metadata') ? $status->metadata : null;
-        return self::create($status->details, $status->code, $metadata, Serializer::decodeMetadata($metadata));
+        return self::create($status->details, $status->code, $metadata, Serializer::decodeMetadata((array) $metadata));
     }
     /**
      * @param string $basicMessage
@@ -139,7 +141,7 @@ public static function createFromStdClass($status)
      */
     public static function createFromApiResponse($basicMessage, $rpcCode, array $metadata = null, Exception $previous = null)
     {
-        return self::create($basicMessage, $rpcCode, $metadata, Serializer::decodeMetadata($metadata), $previous);
+        return self::create($basicMessage, $rpcCode, $metadata, Serializer::decodeMetadata((array) $metadata), $previous);
     }
     /**
      * For REST-based responses, the metadata does not need to be decoded.
@@ -184,12 +186,12 @@ private static function containsErrorInfo(array $decodedMetadata)
      *
      * @param string $basicMessage
      * @param int $rpcCode
-     * @param array|RepeatedField $metadata
+     * @param iterable|null $metadata
      * @param array $decodedMetadata
      * @param Exception|null $previous
      * @return ApiException
      */
-    private static function create($basicMessage, $rpcCode, $metadata, array $decodedMetadata, $previous = null)
+    private static function create(string $basicMessage, int $rpcCode, $metadata, array $decodedMetadata, Exception $previous = null)
     {
         $containsErrorInfo = self::containsErrorInfo($decodedMetadata);
         $rpcStatus = ApiStatus::statusFromRpcCode($rpcCode);
@@ -219,7 +221,7 @@ public static function createFromRpcStatus(Status $status)
      * @return ApiException
      * @throws ValidationException
      */
-    public static function createFromRequestException(RequestException $ex, $isStream = \false)
+    public static function createFromRequestException(RequestException $ex, bool $isStream = \false)
     {
         $res = $ex->getResponse();
         $body = (string) $res->getBody();
@@ -231,9 +233,9 @@ public static function createFromRequestException(RequestException $ex, $isStrea
         }
         if (isset($decoded['error']) && $decoded['error']) {
             $error = $decoded['error'];
-            $basicMessage = isset($error['message']) ? $error['message'] : null;
+            $basicMessage = $error['message'] ?? '';
             $code = isset($error['status']) ? ApiStatus::rpcCodeFromStatus($error['status']) : $ex->getCode();
-            $metadata = isset($error['details']) ? $error['details'] : null;
+            $metadata = $error['details'] ?? null;
             return static::createFromRestApiResponse($basicMessage, $code, $metadata);
         }
         // Use the RPC code instead of the HTTP Status Code.
diff --git a/vendor/prefixed/google/gax/src/ApiStatus.php b/vendor/prefixed/google/gax/src/ApiStatus.php
index e67396a0d..cfe1af230 100644
--- a/vendor/prefixed/google/gax/src/ApiStatus.php
+++ b/vendor/prefixed/google/gax/src/ApiStatus.php
@@ -61,7 +61,7 @@ class ApiStatus
      * @param string $status
      * @return bool
      */
-    public static function isValidStatus($status)
+    public static function isValidStatus(string $status)
     {
         return array_key_exists($status, self::$apiStatusToCodeMap);
     }
@@ -69,7 +69,7 @@ public static function isValidStatus($status)
      * @param int $code
      * @return string
      */
-    public static function statusFromRpcCode($code)
+    public static function statusFromRpcCode(int $code)
     {
         if (array_key_exists($code, self::$codeToApiStatusMap)) {
             return self::$codeToApiStatusMap[$code];
@@ -80,7 +80,7 @@ public static function statusFromRpcCode($code)
      * @param string $status
      * @return int
      */
-    public static function rpcCodeFromStatus($status)
+    public static function rpcCodeFromStatus(string $status)
     {
         if (array_key_exists($status, self::$apiStatusToCodeMap)) {
             return self::$apiStatusToCodeMap[$status];
@@ -94,7 +94,7 @@ public static function rpcCodeFromStatus($status)
      * @param int $httpStatusCode
      * @return int
      */
-    public static function rpcCodeFromHttpStatusCode($httpStatusCode)
+    public static function rpcCodeFromHttpStatusCode(int $httpStatusCode)
     {
         if (array_key_exists($httpStatusCode, self::$httpStatusCodeToRpcCodeMap)) {
             return self::$httpStatusCodeToRpcCodeMap[$httpStatusCode];
diff --git a/vendor/prefixed/google/gax/src/ArrayTrait.php b/vendor/prefixed/google/gax/src/ArrayTrait.php
index f74aa15f7..61cc9bfb6 100644
--- a/vendor/prefixed/google/gax/src/ArrayTrait.php
+++ b/vendor/prefixed/google/gax/src/ArrayTrait.php
@@ -34,6 +34,8 @@
 
 /**
  * Provides basic array helper methods.
+ *
+ * @internal
  */
 trait ArrayTrait
 {
@@ -46,7 +48,7 @@ trait ArrayTrait
      * @return mixed|null
      * @throws \InvalidArgumentException
      */
-    private function pluck($key, array &$arr, $isRequired = \true)
+    private function pluck(string $key, array &$arr, bool $isRequired = \true)
     {
         if (!array_key_exists($key, $arr)) {
             if ($isRequired) {
@@ -65,7 +67,7 @@ private function pluck($key, array &$arr, $isRequired = \true)
      * @param array $arr
      * @return array
      */
-    private function pluckArray(array $keys, &$arr)
+    private function pluckArray(array $keys, array &$arr)
     {
         $values = [];
         foreach ($keys as $key) {
@@ -107,8 +109,30 @@ private function arrayFilterRemoveNull(array $arr)
      * @param array $arr
      * @return array
      */
-    private function subsetArray(array $keys, $arr)
+    private function subsetArray(array $keys, array $arr)
     {
         return array_intersect_key($arr, array_flip($keys));
     }
+    /**
+     * A method, similar to PHP's `array_merge_recursive`, with two differences.
+     *
+     * 1. Keys in $array2 take precedence over keys in $array1.
+     * 2. Non-array keys found in both inputs are not transformed into an array
+     *    and appended. Rather, the value in $array2 is used.
+     *
+     * @param array $array1
+     * @param array $array2
+     * @return array
+     */
+    private function arrayMergeRecursive(array $array1, array $array2)
+    {
+        foreach ($array2 as $key => $value) {
+            if (array_key_exists($key, $array1) && is_array($array1[$key]) && is_array($value)) {
+                $array1[$key] = $this->isAssoc($array1[$key]) && $this->isAssoc($value) ? $this->arrayMergeRecursive($array1[$key], $value) : array_merge($array1[$key], $value);
+            } else {
+                $array1[$key] = $value;
+            }
+        }
+        return $array1;
+    }
 }
diff --git a/vendor/prefixed/google/gax/src/BidiStream.php b/vendor/prefixed/google/gax/src/BidiStream.php
index 7573789a9..201e32137 100644
--- a/vendor/prefixed/google/gax/src/BidiStream.php
+++ b/vendor/prefixed/google/gax/src/BidiStream.php
@@ -33,6 +33,7 @@
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Code;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Grpc\BidiStreamingCall;
 /**
  * BidiStream is the response object from a gRPC bidirectional streaming API call.
  */
@@ -46,10 +47,10 @@ class BidiStream
     /**
      * BidiStream constructor.
      *
-     * @param \Grpc\BidiStreamingCall $bidiStreamingCall The gRPC bidirectional streaming call object
+     * @param BidiStreamingCall $bidiStreamingCall The gRPC bidirectional streaming call object
      * @param array $streamingDescriptor
      */
-    public function __construct($bidiStreamingCall, array $streamingDescriptor = [])
+    public function __construct(BidiStreamingCall $bidiStreamingCall, array $streamingDescriptor = [])
     {
         $this->call = $bidiStreamingCall;
         if (array_key_exists('resourcesGetMethod', $streamingDescriptor)) {
@@ -75,7 +76,7 @@ public function write($request)
     /**
      * Write all requests in $requests.
      *
-     * @param mixed[] $requests An Iterable of request objects to write to the server
+     * @param iterable $requests An Iterable of request objects to write to the server
      *
      * @throws ValidationException
      */
diff --git a/vendor/prefixed/google/gax/src/Call.php b/vendor/prefixed/google/gax/src/Call.php
index fbbf8f45c..61c920176 100644
--- a/vendor/prefixed/google/gax/src/Call.php
+++ b/vendor/prefixed/google/gax/src/Call.php
@@ -42,6 +42,8 @@ class Call
     const BIDI_STREAMING_CALL = 1;
     const CLIENT_STREAMING_CALL = 2;
     const SERVER_STREAMING_CALL = 3;
+    const LONGRUNNING_CALL = 4;
+    const PAGINATED_CALL = 5;
     private $method;
     private $callType;
     private $decodeType;
@@ -51,10 +53,10 @@ class Call
      * @param string $method
      * @param string $decodeType
      * @param mixed|Message $message
-     * @param array $descriptor
+     * @param array|null $descriptor
      * @param int $callType
      */
-    public function __construct($method, $decodeType, $message = null, $descriptor = [], $callType = Call::UNARY_CALL)
+    public function __construct(string $method, string $decodeType = null, $message = null, $descriptor = [], int $callType = Call::UNARY_CALL)
     {
         $this->method = $method;
         $this->decodeType = $decodeType;
diff --git a/vendor/prefixed/google/gax/src/ClientOptionsTrait.php b/vendor/prefixed/google/gax/src/ClientOptionsTrait.php
new file mode 100644
index 000000000..f1240be88
--- /dev/null
+++ b/vendor/prefixed/google/gax/src/ClientOptionsTrait.php
@@ -0,0 +1,247 @@
+mergeFromJsonString(file_get_contents($confPath));
+        $config = new Config($hostName, $apiConfig);
+        return $config;
+    }
+    /**
+     * Get default options. This function should be "overridden" by clients using late static
+     * binding to provide default options to the client.
+     *
+     * @return array
+     * @access private
+     */
+    private static function getClientDefaults()
+    {
+        return [];
+    }
+    private function buildClientOptions(array $options)
+    {
+        // Build $defaultOptions starting from top level
+        // variables, then going into deeper nesting, so that
+        // we will not encounter missing keys
+        $defaultOptions = self::getClientDefaults();
+        $defaultOptions += ['disableRetries' => \false, 'credentials' => null, 'credentialsConfig' => [], 'transport' => null, 'transportConfig' => [], 'gapicVersion' => self::getGapicVersion($options), 'libName' => null, 'libVersion' => null, 'apiEndpoint' => null, 'clientCertSource' => null, 'universeDomain' => null];
+        $supportedTransports = $this->supportedTransports();
+        foreach ($supportedTransports as $transportName) {
+            if (!array_key_exists($transportName, $defaultOptions['transportConfig'])) {
+                $defaultOptions['transportConfig'][$transportName] = [];
+            }
+        }
+        if (in_array('grpc', $supportedTransports)) {
+            $defaultOptions['transportConfig']['grpc'] = ['stubOpts' => ['grpc.service_config_disable_resolution' => 1]];
+        }
+        // Keep track of the API Endpoint
+        $apiEndpoint = $options['apiEndpoint'] ?? null;
+        // Merge defaults into $options starting from top level
+        // variables, then going into deeper nesting, so that
+        // we will not encounter missing keys
+        $options += $defaultOptions;
+        $options['credentialsConfig'] += $defaultOptions['credentialsConfig'];
+        $options['transportConfig'] += $defaultOptions['transportConfig'];
+        // @phpstan-ignore-line
+        if (isset($options['transportConfig']['grpc'])) {
+            $options['transportConfig']['grpc'] += $defaultOptions['transportConfig']['grpc'];
+            $options['transportConfig']['grpc']['stubOpts'] += $defaultOptions['transportConfig']['grpc']['stubOpts'];
+        }
+        if (isset($options['transportConfig']['rest'])) {
+            $options['transportConfig']['rest'] += $defaultOptions['transportConfig']['rest'];
+        }
+        // These calls do not apply to "New Surface" clients.
+        if ($this->isBackwardsCompatibilityMode()) {
+            $preModifiedOptions = $options;
+            $this->modifyClientOptions($options);
+            // NOTE: this is required to ensure backwards compatiblity with $options['apiEndpoint']
+            if ($options['apiEndpoint'] !== $preModifiedOptions['apiEndpoint']) {
+                $apiEndpoint = $options['apiEndpoint'];
+            }
+            // serviceAddress is now deprecated and acts as an alias for apiEndpoint
+            if (isset($options['serviceAddress'])) {
+                $apiEndpoint = $this->pluck('serviceAddress', $options, \false);
+            }
+        } else {
+            // Ads is using this method in their new surface clients, so we need to call it.
+            // However, this method is not used anywhere else for the new surface clients
+            // @TODO: Remove this in GAX V2
+            $this->modifyClientOptions($options);
+        }
+        // If an API endpoint is different form the default, ensure the "audience" does not conflict
+        // with the custom endpoint by setting "user defined" scopes.
+        if ($apiEndpoint && $apiEndpoint != $defaultOptions['apiEndpoint'] && empty($options['credentialsConfig']['scopes']) && !empty($options['credentialsConfig']['defaultScopes'])) {
+            $options['credentialsConfig']['scopes'] = $options['credentialsConfig']['defaultScopes'];
+        }
+        // mTLS: detect and load the default clientCertSource if the environment variable
+        // "GOOGLE_API_USE_CLIENT_CERTIFICATE" is true, and the cert source is available
+        if (empty($options['clientCertSource']) && CredentialsLoader::shouldLoadClientCertSource()) {
+            if ($defaultCertSource = CredentialsLoader::getDefaultClientCertSource()) {
+                $options['clientCertSource'] = function () use($defaultCertSource) {
+                    $cert = call_user_func($defaultCertSource);
+                    // the key and the cert are returned in one string
+                    return [$cert, $cert];
+                };
+            }
+        }
+        // mTLS: If no apiEndpoint has been supplied by the user, and either
+        // GOOGLE_API_USE_MTLS_ENDPOINT tells us to, or mTLS is available, use the mTLS endpoint.
+        if (is_null($apiEndpoint) && $this->shouldUseMtlsEndpoint($options)) {
+            $apiEndpoint = self::determineMtlsEndpoint($options['apiEndpoint']);
+        }
+        // If the user has not supplied a universe domain, use the environment variable if set.
+        // Otherwise, use the default ("googleapis.com").
+        $options['universeDomain'] = $options['universeDomain'] ?? (getenv('GOOGLE_CLOUD_UNIVERSE_DOMAIN') ?: GetUniverseDomainInterface::DEFAULT_UNIVERSE_DOMAIN);
+        // mTLS: It is not valid to configure mTLS outside of "googleapis.com" (yet)
+        if (isset($options['clientCertSource']) && $options['universeDomain'] !== GetUniverseDomainInterface::DEFAULT_UNIVERSE_DOMAIN) {
+            throw new ValidationException('mTLS is not supported outside the "googleapis.com" universe');
+        }
+        if (is_null($apiEndpoint)) {
+            if (defined('self::SERVICE_ADDRESS_TEMPLATE')) {
+                // Derive the endpoint from the service address template and the universe domain
+                $apiEndpoint = str_replace('UNIVERSE_DOMAIN', $options['universeDomain'], self::SERVICE_ADDRESS_TEMPLATE);
+            } else {
+                // For older clients, the service address template does not exist. Use the default
+                // endpoint instead.
+                $apiEndpoint = $defaultOptions['apiEndpoint'];
+            }
+        }
+        if (extension_loaded('sysvshm') && isset($options['gcpApiConfigPath']) && file_exists($options['gcpApiConfigPath']) && !empty($apiEndpoint)) {
+            $grpcGcpConfig = self::initGrpcGcpConfig($apiEndpoint, $options['gcpApiConfigPath']);
+            if (!array_key_exists('stubOpts', $options['transportConfig']['grpc'])) {
+                $options['transportConfig']['grpc']['stubOpts'] = [];
+            }
+            $options['transportConfig']['grpc']['stubOpts'] += ['grpc_call_invoker' => $grpcGcpConfig->callInvoker()];
+        }
+        $options['apiEndpoint'] = $apiEndpoint;
+        return $options;
+    }
+    private function shouldUseMtlsEndpoint(array $options)
+    {
+        $mtlsEndpointEnvVar = getenv('GOOGLE_API_USE_MTLS_ENDPOINT');
+        if ('always' === $mtlsEndpointEnvVar) {
+            return \true;
+        }
+        if ('never' === $mtlsEndpointEnvVar) {
+            return \false;
+        }
+        // For all other cases, assume "auto" and return true if clientCertSource exists
+        return !empty($options['clientCertSource']);
+    }
+    private static function determineMtlsEndpoint(string $apiEndpoint)
+    {
+        $parts = explode('.', $apiEndpoint);
+        if (count($parts) < 3) {
+            return $apiEndpoint;
+            // invalid endpoint!
+        }
+        return sprintf('%s.mtls.%s', array_shift($parts), implode('.', $parts));
+    }
+    /**
+     * @param mixed $credentials
+     * @param array $credentialsConfig
+     * @return CredentialsWrapper
+     * @throws ValidationException
+     */
+    private function createCredentialsWrapper($credentials, array $credentialsConfig, string $universeDomain)
+    {
+        if (is_null($credentials)) {
+            return CredentialsWrapper::build($credentialsConfig, $universeDomain);
+        } elseif (is_string($credentials) || is_array($credentials)) {
+            return CredentialsWrapper::build(['keyFile' => $credentials] + $credentialsConfig, $universeDomain);
+        } elseif ($credentials instanceof FetchAuthTokenInterface) {
+            $authHttpHandler = $credentialsConfig['authHttpHandler'] ?? null;
+            return new CredentialsWrapper($credentials, $authHttpHandler, $universeDomain);
+        } elseif ($credentials instanceof CredentialsWrapper) {
+            return $credentials;
+        } else {
+            throw new ValidationException('Unexpected value in $auth option, got: ' . print_r($credentials, \true));
+        }
+    }
+    /**
+     * This defaults to all three transports, which One-Platform supports.
+     * Discovery clients should define this function and only return ['rest'].
+     */
+    private static function supportedTransports()
+    {
+        return ['grpc', 'grpc-fallback', 'rest'];
+    }
+    // Gapic Client Extension Points
+    // The methods below provide extension points that can be used to customize client
+    // functionality. These extension points are currently considered
+    // private and may change at any time.
+    /**
+     * Modify options passed to the client before calling setClientOptions.
+     *
+     * @param array $options
+     * @access private
+     * @internal
+     */
+    protected function modifyClientOptions(array &$options)
+    {
+        // Do nothing - this method exists to allow option modification by partial veneers.
+    }
+    /**
+     * @internal
+     */
+    private function isBackwardsCompatibilityMode() : bool
+    {
+        return \false;
+    }
+}
diff --git a/vendor/prefixed/google/gax/src/ClientStream.php b/vendor/prefixed/google/gax/src/ClientStream.php
index 25871d99a..7ce42f26c 100644
--- a/vendor/prefixed/google/gax/src/ClientStream.php
+++ b/vendor/prefixed/google/gax/src/ClientStream.php
@@ -33,6 +33,7 @@
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Code;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Grpc\ClientStreamingCall;
 /**
  * ClientStream is the response object from a gRPC client streaming API call.
  */
@@ -42,12 +43,12 @@ class ClientStream
     /**
      * ClientStream constructor.
      *
-     * @param \Grpc\ClientStreamingCall $clientStreamingCall The gRPC client streaming call object
+     * @param ClientStreamingCall $clientStreamingCall The gRPC client streaming call object
      * @param array $streamingDescriptor
      */
     public function __construct(
         // @phpstan-ignore-line
-        $clientStreamingCall,
+        ClientStreamingCall $clientStreamingCall,
         array $streamingDescriptor = []
     )
     {
@@ -84,7 +85,7 @@ public function readResponse()
      * @param mixed[] $requests An iterator of request objects to write to the server
      * @return mixed The response object from the server
      */
-    public function writeAllAndReadResponse($requests)
+    public function writeAllAndReadResponse(array $requests)
     {
         foreach ($requests as $request) {
             $this->write($request);
diff --git a/vendor/prefixed/google/gax/src/CredentialsWrapper.php b/vendor/prefixed/google/gax/src/CredentialsWrapper.php
index ee9f676cf..7dc461cb0 100644
--- a/vendor/prefixed/google/gax/src/CredentialsWrapper.php
+++ b/vendor/prefixed/google/gax/src/CredentialsWrapper.php
@@ -35,26 +35,39 @@
 use DomainException;
 use Exception;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\ApplicationDefaultCredentials;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\ProjectIdProviderInterface;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\Cache\MemoryCacheItemPool;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\Credentials\ServiceAccountCredentials;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\CredentialsLoader;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\FetchAuthTokenCache;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\FetchAuthTokenInterface;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\GetQuotaProjectInterface;
-use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\HttpHandler\Guzzle5HttpHandler;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\GetUniverseDomainInterface;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\HttpHandler\Guzzle6HttpHandler;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\HttpHandler\Guzzle7HttpHandler;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\HttpHandler\HttpHandlerFactory;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\UpdateMetadataInterface;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Cache\CacheItemPoolInterface;
 /**
  * The CredentialsWrapper object provides a wrapper around a FetchAuthTokenInterface.
  */
-class CredentialsWrapper
+class CredentialsWrapper implements ProjectIdProviderInterface
 {
     use ValidationTrait;
     /** @var FetchAuthTokenInterface $credentialsFetcher */
     private $credentialsFetcher;
+    /** @var callable $authHttpHandle */
     private $authHttpHandler;
+    /**
+     * @var string
+     */
+    private $universeDomain;
+    /**
+     * @var bool
+     */
+    private $hasCheckedUniverse = \false;
+    /** @var int */
+    private static $eagerRefreshThresholdSeconds = 10;
     /**
      * CredentialsWrapper constructor.
      * @param FetchAuthTokenInterface $credentialsFetcher A credentials loader
@@ -64,10 +77,14 @@ class CredentialsWrapper
      *        `function (RequestInterface $request, array $options) : ResponseInterface`.
      * @throws ValidationException
      */
-    public function __construct(FetchAuthTokenInterface $credentialsFetcher, callable $authHttpHandler = null)
+    public function __construct(FetchAuthTokenInterface $credentialsFetcher, callable $authHttpHandler = null, string $universeDomain = GetUniverseDomainInterface::DEFAULT_UNIVERSE_DOMAIN)
     {
         $this->credentialsFetcher = $credentialsFetcher;
-        $this->authHttpHandler = $authHttpHandler ?: self::buildHttpHandlerFactory();
+        $this->authHttpHandler = $authHttpHandler;
+        if (empty($universeDomain)) {
+            throw new ValidationException('The universe domain cannot be empty');
+        }
+        $this->universeDomain = $universeDomain;
     }
     /**
      * Factory method to create a CredentialsWrapper from an array of options.
@@ -100,16 +117,20 @@ public function __construct(FetchAuthTokenInterface $credentialsFetcher, callabl
      *           Ensures service account credentials use JWT Access (also known as self-signed
      *           JWTs), even when user-defined scopes are supplied.
      * }
+     * @param string $universeDomain The expected universe of the credentials. Defaults to
+     *                               "googleapis.com"
      * @return CredentialsWrapper
      * @throws ValidationException
      */
-    public static function build(array $args = [])
+    public static function build(array $args = [], string $universeDomain = GetUniverseDomainInterface::DEFAULT_UNIVERSE_DOMAIN)
     {
         $args += ['keyFile' => null, 'scopes' => null, 'authHttpHandler' => null, 'enableCaching' => \true, 'authCache' => null, 'authCacheOptions' => [], 'quotaProject' => null, 'defaultScopes' => null, 'useJwtAccessWithScope' => \true];
         $keyFile = $args['keyFile'];
-        $authHttpHandler = $args['authHttpHandler'] ?: self::buildHttpHandlerFactory();
         if (is_null($keyFile)) {
-            $loader = self::buildApplicationDefaultCredentials($args['scopes'], $authHttpHandler, null, null, $args['quotaProject'], $args['defaultScopes']);
+            $loader = self::buildApplicationDefaultCredentials($args['scopes'], $args['authHttpHandler'], $args['authCacheOptions'], $args['authCache'], $args['quotaProject'], $args['defaultScopes']);
+            if ($loader instanceof FetchAuthTokenCache) {
+                $loader = $loader->getFetcher();
+            }
         } else {
             if (is_string($keyFile)) {
                 if (!file_exists($keyFile)) {
@@ -131,7 +152,7 @@ public static function build(array $args = [])
             $authCache = $args['authCache'] ?: new MemoryCacheItemPool();
             $loader = new FetchAuthTokenCache($loader, $args['authCacheOptions'], $authCache);
         }
-        return new CredentialsWrapper($loader, $authHttpHandler);
+        return new CredentialsWrapper($loader, $args['authHttpHandler'], $universeDomain);
     }
     /**
      * @return string|null The quota project associated with the credentials.
@@ -143,14 +164,32 @@ public function getQuotaProject()
         }
         return null;
     }
+    public function getProjectId(callable $httpHandler = null) : ?string
+    {
+        // Ensure that FetchAuthTokenCache does not throw an exception
+        if ($this->credentialsFetcher instanceof FetchAuthTokenCache && !$this->credentialsFetcher->getFetcher() instanceof ProjectIdProviderInterface) {
+            return null;
+        }
+        if ($this->credentialsFetcher instanceof ProjectIdProviderInterface) {
+            return $this->credentialsFetcher->getProjectId($httpHandler);
+        }
+        return null;
+    }
     /**
      * @deprecated
      * @return string Bearer string containing access token.
      */
     public function getBearerString()
     {
-        $token = self::getToken($this->credentialsFetcher, $this->authHttpHandler);
-        return empty($token) ? '' : "Bearer {$token}";
+        $token = $this->credentialsFetcher->getLastReceivedToken();
+        if (self::isExpired($token)) {
+            $this->checkUniverseDomain();
+            $token = $this->credentialsFetcher->fetchAuthToken($this->authHttpHandler);
+            if (!self::isValid($token)) {
+                return '';
+            }
+        }
+        return empty($token['access_token']) ? '' : 'Bearer ' . $token['access_token'];
     }
     /**
      * @param string $audience optional audience for self-signed JWTs.
@@ -158,21 +197,20 @@ public function getBearerString()
      */
     public function getAuthorizationHeaderCallback($audience = null)
     {
-        $credentialsFetcher = $this->credentialsFetcher;
-        $authHttpHandler = $this->authHttpHandler;
         // NOTE: changes to this function should be treated carefully and tested thoroughly. It will
         // be passed into the gRPC c extension, and changes have the potential to trigger very
         // difficult-to-diagnose segmentation faults.
-        return function () use($credentialsFetcher, $authHttpHandler, $audience) {
-            $token = $credentialsFetcher->getLastReceivedToken();
+        return function () use($audience) {
+            $token = $this->credentialsFetcher->getLastReceivedToken();
             if (self::isExpired($token)) {
+                $this->checkUniverseDomain();
                 // Call updateMetadata to take advantage of self-signed JWTs
-                if ($credentialsFetcher instanceof UpdateMetadataInterface) {
-                    return $credentialsFetcher->updateMetadata([], $audience);
+                if ($this->credentialsFetcher instanceof UpdateMetadataInterface) {
+                    return $this->credentialsFetcher->updateMetadata([], $audience, $this->authHttpHandler);
                 }
                 // In case a custom fetcher is provided (unlikely) which doesn't
                 // implement UpdateMetadataInterface
-                $token = $credentialsFetcher->fetchAuthToken($authHttpHandler);
+                $token = $this->credentialsFetcher->fetchAuthToken($this->authHttpHandler);
                 if (!self::isValid($token)) {
                     return [];
                 }
@@ -185,15 +223,16 @@ public function getAuthorizationHeaderCallback($audience = null)
         };
     }
     /**
-     * @return Guzzle5HttpHandler|Guzzle6HttpHandler
-     * @throws ValidationException
+     * Verify that the expected universe domain matches the universe domain from the credentials.
      */
-    private static function buildHttpHandlerFactory()
+    public function checkUniverseDomain()
     {
-        try {
-            return HttpHandlerFactory::build();
-        } catch (Exception $ex) {
-            throw new ValidationException("Failed to build HttpHandler", $ex->getCode(), $ex);
+        if (\false === $this->hasCheckedUniverse) {
+            $credentialsUniverse = $this->credentialsFetcher instanceof GetUniverseDomainInterface ? $this->credentialsFetcher->getUniverseDomain() : GetUniverseDomainInterface::DEFAULT_UNIVERSE_DOMAIN;
+            if ($credentialsUniverse !== $this->universeDomain) {
+                throw new ValidationException(sprintf('The configured universe domain (%s) does not match the credential universe domain (%s)', $this->universeDomain, $credentialsUniverse));
+            }
+            $this->hasCheckedUniverse = \true;
         }
     }
     /**
@@ -214,23 +253,18 @@ private static function buildApplicationDefaultCredentials(array $scopes = null,
             throw new ValidationException("Could not construct ApplicationDefaultCredentials", $ex->getCode(), $ex);
         }
     }
-    private static function getToken(FetchAuthTokenInterface $credentialsFetcher, $authHttpHandler)
-    {
-        $token = $credentialsFetcher->getLastReceivedToken();
-        if (self::isExpired($token)) {
-            $token = $credentialsFetcher->fetchAuthToken($authHttpHandler);
-            if (!self::isValid($token)) {
-                return '';
-            }
-        }
-        return $token['access_token'];
-    }
+    /**
+     * @param mixed $token
+     */
     private static function isValid($token)
     {
         return is_array($token) && array_key_exists('access_token', $token);
     }
+    /**
+     * @param mixed $token
+     */
     private static function isExpired($token)
     {
-        return !(self::isValid($token) && array_key_exists('expires_at', $token) && $token['expires_at'] > time());
+        return !(self::isValid($token) && array_key_exists('expires_at', $token) && $token['expires_at'] > time() + self::$eagerRefreshThresholdSeconds);
     }
 }
diff --git a/vendor/prefixed/google/gax/src/FixedSizeCollection.php b/vendor/prefixed/google/gax/src/FixedSizeCollection.php
index 6b59f2c68..d5a8a3c47 100644
--- a/vendor/prefixed/google/gax/src/FixedSizeCollection.php
+++ b/vendor/prefixed/google/gax/src/FixedSizeCollection.php
@@ -49,9 +49,9 @@ class FixedSizeCollection implements IteratorAggregate
     /**
      * FixedSizeCollection constructor.
      * @param Page $initialPage
-     * @param integer $collectionSize
+     * @param int $collectionSize
      */
-    public function __construct($initialPage, $collectionSize)
+    public function __construct(Page $initialPage, int $collectionSize)
     {
         if ($collectionSize <= 0) {
             throw new InvalidArgumentException("collectionSize must be > 0. collectionSize: {$collectionSize}");
@@ -149,10 +149,10 @@ private function getLastPage()
     }
     /**
      * @param Page $initialPage
-     * @param integer $collectionSize
+     * @param int $collectionSize
      * @return Page[]
      */
-    private static function createPageArray($initialPage, $collectionSize)
+    private static function createPageArray(Page $initialPage, int $collectionSize)
     {
         $pageList = [$initialPage];
         $currentPage = $initialPage;
diff --git a/vendor/prefixed/google/gax/src/GapicClientTrait.php b/vendor/prefixed/google/gax/src/GapicClientTrait.php
index 947883676..b98b4bc3a 100644
--- a/vendor/prefixed/google/gax/src/GapicClientTrait.php
+++ b/vendor/prefixed/google/gax/src/GapicClientTrait.php
@@ -38,38 +38,98 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Middleware\OperationsMiddleware;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Middleware\OptionsFilterMiddleware;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Middleware\PagedMiddleware;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Middleware\RequestAutoPopulationMiddleware;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Middleware\RetryMiddleware;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Options\CallOptions;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Options\ClientOptions;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Options\TransportOptions;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Transport\GrpcFallbackTransport;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Transport\GrpcTransport;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Transport\RestTransport;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Transport\TransportInterface;
-use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\CredentialsLoader;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\FetchAuthTokenInterface;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\Operation;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message;
-use Matomo\Dependencies\GoogleAnalyticsImporter\Grpc\Gcp\ApiConfig;
-use Matomo\Dependencies\GoogleAnalyticsImporter\Grpc\Gcp\Config;
 use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Promise\PromiseInterface;
 /**
  * Common functions used to work with various clients.
+ *
+ * @internal
  */
 trait GapicClientTrait
 {
-    use ArrayTrait;
+    use ClientOptionsTrait;
     use ValidationTrait {
         ValidationTrait::validate as traitValidate;
     }
     use GrpcSupportTrait;
-    /** @var TransportInterface */
+    /**
+     * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Transport\TransportInterface|null
+     */
     private $transport;
+    /**
+     * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\CredentialsWrapper|null
+     */
     private $credentialsWrapper;
-    private static $gapicVersionFromFile;
     /** @var RetrySettings[] $retrySettings */
-    private $retrySettings;
-    private $serviceName;
-    private $agentHeader;
-    private $descriptors;
+    private $retrySettings = [];
+    /**
+     * @var string
+     */
+    private $serviceName = '';
+    /**
+     * @var mixed[]
+     */
+    private $agentHeader = [];
+    /**
+     * @var mixed[]
+     */
+    private $descriptors = [];
+    /** @var array $middlewareCallables */
+    private $middlewareCallables = [];
+    /**
+     * @var mixed[]
+     */
     private $transportCallMethods = [Call::UNARY_CALL => 'startUnaryCall', Call::BIDI_STREAMING_CALL => 'startBidiStreamingCall', Call::CLIENT_STREAMING_CALL => 'startClientStreamingCall', Call::SERVER_STREAMING_CALL => 'startServerStreamingCall'];
+    /**
+     * @var bool
+     */
+    private $backwardsCompatibilityMode;
+    /**
+     * Add a middleware to the call stack by providing a callable which will be
+     * invoked at the start of each call, and will return an instance of
+     * {@see MiddlewareInterface} when invoked.
+     *
+     * The callable must have the following method signature:
+     *
+     *     callable(MiddlewareInterface): MiddlewareInterface
+     *
+     * An implementation may look something like this:
+     * ```
+     * $client->addMiddleware(function (MiddlewareInterface $handler) {
+     *     return new class ($handler) implements MiddlewareInterface {
+     *         public function __construct(private MiddlewareInterface $handler) {
+     *         }
+     *
+     *         public function __invoke(Call $call, array $options) {
+     *             // modify call and options (pre-request)
+     *             $response = ($this->handler)($call, $options);
+     *             // modify the response (post-request)
+     *             return $response;
+     *         }
+     *     };
+     * });
+     * ```
+     *
+     * @param callable $middlewareCallable A callable which returns an instance
+     *                 of {@see MiddlewareInterface} when invoked with a
+     *                 MiddlewareInterface instance as its first argument.
+     * @return void
+     */
+    public function addMiddleware(callable $middlewareCallable) : void
+    {
+        $this->middlewareCallables[] = $middlewareCallable;
+    }
     /**
      * Initiates an orderly shutdown in which preexisting calls continue but new
      * calls are immediately cancelled.
@@ -102,122 +162,6 @@ protected function getCredentialsWrapper()
     {
         return $this->credentialsWrapper;
     }
-    private static function getGapicVersion(array $options)
-    {
-        if (isset($options['libVersion'])) {
-            return $options['libVersion'];
-        } else {
-            if (!isset(self::$gapicVersionFromFile)) {
-                self::$gapicVersionFromFile = AgentHeader::readGapicVersionFromFile(__CLASS__);
-            }
-            return self::$gapicVersionFromFile;
-        }
-    }
-    private static function initGrpcGcpConfig($hostName, $confPath)
-    {
-        $apiConfig = new ApiConfig();
-        $apiConfig->mergeFromJsonString(file_get_contents($confPath));
-        $config = new Config($hostName, $apiConfig);
-        return $config;
-    }
-    /**
-     * Get default options. This function should be "overridden" by clients using late static
-     * binding to provide default options to the client.
-     *
-     * @return array
-     * @access private
-     */
-    private static function getClientDefaults()
-    {
-        return [];
-    }
-    private function buildClientOptions(array $options)
-    {
-        // Build $defaultOptions starting from top level
-        // variables, then going into deeper nesting, so that
-        // we will not encounter missing keys
-        $defaultOptions = self::getClientDefaults();
-        $defaultOptions += ['disableRetries' => \false, 'credentials' => null, 'credentialsConfig' => [], 'transport' => null, 'transportConfig' => [], 'gapicVersion' => self::getGapicVersion($options), 'libName' => null, 'libVersion' => null, 'apiEndpoint' => null, 'clientCertSource' => null];
-        $supportedTransports = $this->supportedTransports();
-        foreach ($supportedTransports as $transportName) {
-            if (!array_key_exists($transportName, $defaultOptions['transportConfig'])) {
-                $defaultOptions['transportConfig'][$transportName] = [];
-            }
-        }
-        if (in_array('grpc', $supportedTransports)) {
-            $defaultOptions['transportConfig']['grpc'] = ['stubOpts' => ['grpc.service_config_disable_resolution' => 1]];
-        }
-        // Merge defaults into $options starting from top level
-        // variables, then going into deeper nesting, so that
-        // we will not encounter missing keys
-        $options += $defaultOptions;
-        $options['credentialsConfig'] += $defaultOptions['credentialsConfig'];
-        $options['transportConfig'] += $defaultOptions['transportConfig'];
-        // @phpstan-ignore-line
-        if (isset($options['transportConfig']['grpc'])) {
-            $options['transportConfig']['grpc'] += $defaultOptions['transportConfig']['grpc'];
-            $options['transportConfig']['grpc']['stubOpts'] += $defaultOptions['transportConfig']['grpc']['stubOpts'];
-        }
-        if (isset($options['transportConfig']['rest'])) {
-            $options['transportConfig']['rest'] += $defaultOptions['transportConfig']['rest'];
-        }
-        $this->modifyClientOptions($options);
-        // serviceAddress is now deprecated and acts as an alias for apiEndpoint
-        if (isset($options['serviceAddress'])) {
-            $options['apiEndpoint'] = $this->pluck('serviceAddress', $options, \false);
-        }
-        // If an API endpoint is set, ensure the "audience" does not conflict
-        // with the custom endpoint by setting "user defined" scopes.
-        if ($options['apiEndpoint'] != $defaultOptions['apiEndpoint'] && empty($options['credentialsConfig']['scopes']) && !empty($options['credentialsConfig']['defaultScopes'])) {
-            $options['credentialsConfig']['scopes'] = $options['credentialsConfig']['defaultScopes'];
-        }
-        if (extension_loaded('sysvshm') && isset($options['gcpApiConfigPath']) && file_exists($options['gcpApiConfigPath']) && isset($options['apiEndpoint'])) {
-            $grpcGcpConfig = self::initGrpcGcpConfig($options['apiEndpoint'], $options['gcpApiConfigPath']);
-            if (array_key_exists('stubOpts', $options['transportConfig']['grpc'])) {
-                $options['transportConfig']['grpc']['stubOpts'] += ['grpc_call_invoker' => $grpcGcpConfig->callInvoker()];
-            } else {
-                $options['transportConfig']['grpc'] += ['stubOpts' => ['grpc_call_invoker' => $grpcGcpConfig->callInvoker()]];
-            }
-        }
-        // mTLS: detect and load the default clientCertSource if the environment variable
-        // "GOOGLE_API_USE_CLIENT_CERTIFICATE" is true, and the cert source is available
-        if (empty($options['clientCertSource']) && CredentialsLoader::shouldLoadClientCertSource()) {
-            if ($defaultCertSource = CredentialsLoader::getDefaultClientCertSource()) {
-                $options['clientCertSource'] = function () use($defaultCertSource) {
-                    $cert = call_user_func($defaultCertSource);
-                    // the key and the cert are returned in one string
-                    return [$cert, $cert];
-                };
-            }
-        }
-        // mTLS: If no apiEndpoint has been supplied by the user, and either
-        // GOOGLE_API_USE_MTLS_ENDPOINT tells us to, or mTLS is available, use the mTLS endpoint.
-        if ($options['apiEndpoint'] === $defaultOptions['apiEndpoint'] && $this->shouldUseMtlsEndpoint($options)) {
-            $options['apiEndpoint'] = self::determineMtlsEndpoint($options['apiEndpoint']);
-        }
-        return $options;
-    }
-    private function shouldUseMtlsEndpoint($options)
-    {
-        $mtlsEndpointEnvVar = getenv('GOOGLE_API_USE_MTLS_ENDPOINT');
-        if ('always' === $mtlsEndpointEnvVar) {
-            return \true;
-        }
-        if ('never' === $mtlsEndpointEnvVar) {
-            return \false;
-        }
-        // For all other cases, assume "auto" and return true if clientCertSource exists
-        return !empty($options['clientCertSource']);
-    }
-    private static function determineMtlsEndpoint($apiEndpoint)
-    {
-        $parts = explode('.', $apiEndpoint);
-        if (count($parts) < 3) {
-            return $apiEndpoint;
-            // invalid endpoint!
-        }
-        return sprintf('%s.mtls.%s', array_shift($parts), implode('.', $parts));
-    }
     /**
      * Configures the GAPIC client based on an array of options.
      *
@@ -227,9 +171,6 @@ private static function determineMtlsEndpoint($apiEndpoint)
      *     @type string $apiEndpoint
      *           The address of the API remote host, for example "example.googleapis.com. May also
      *           include the port, for example "example.googleapis.com:443"
-     *     @type string $serviceAddress
-     *           **Deprecated**. This option will be removed in the next major release. Please
-     *           utilize the `$apiEndpoint` option instead.
      *     @type bool $disableRetries
      *           Determines whether or not retries defined by the client configuration should be
      *           disabled. Defaults to `false`.
@@ -292,59 +233,47 @@ private function setClientOptions(array $options)
         }
         $this->validateNotNull($options, ['apiEndpoint', 'serviceName', 'descriptorsConfigPath', 'clientConfig', 'disableRetries', 'credentialsConfig', 'transportConfig']);
         $this->traitValidate($options, ['credentials', 'transport', 'gapicVersion', 'libName', 'libVersion']);
-        $clientConfig = $options['clientConfig'];
-        if (is_string($clientConfig)) {
-            $clientConfig = json_decode(file_get_contents($clientConfig), \true);
+        if ($this->isBackwardsCompatibilityMode()) {
+            if (is_string($options['clientConfig'])) {
+                // perform validation for V1 surfaces which is done in the
+                // ClientOptions class for v2 surfaces.
+                $options['clientConfig'] = json_decode(file_get_contents($options['clientConfig']), \true);
+                self::validateFileExists($options['descriptorsConfigPath']);
+            }
+        } else {
+            // cast to ClientOptions for new surfaces only
+            $options = new ClientOptions($options);
         }
         $this->serviceName = $options['serviceName'];
-        $this->retrySettings = RetrySettings::load($this->serviceName, $clientConfig, $options['disableRetries']);
+        $this->retrySettings = RetrySettings::load($this->serviceName, $options['clientConfig'], $options['disableRetries']);
+        $headerInfo = ['libName' => $options['libName'], 'libVersion' => $options['libVersion'], 'gapicVersion' => $options['gapicVersion']];
         // Edge case: If the client has the gRPC extension installed, but is
         // a REST-only library, then the grpcVersion header should not be set.
         if ($this->transport instanceof GrpcTransport) {
-            $options['grpcVersion'] = phpversion('grpc');
-            unset($options['restVersion']);
+            $headerInfo['grpcVersion'] = phpversion('grpc');
         } elseif ($this->transport instanceof RestTransport || $this->transport instanceof GrpcFallbackTransport) {
-            unset($options['grpcVersion']);
-            $options['restVersion'] = Version::getApiCoreVersion();
+            $headerInfo['restVersion'] = Version::getApiCoreVersion();
         }
-        $this->agentHeader = AgentHeader::buildAgentHeader($this->pluckArray(['libName', 'libVersion', 'gapicVersion'], $options));
+        $this->agentHeader = AgentHeader::buildAgentHeader($headerInfo);
+        // Set "client_library_name" depending on client library surface being used
+        $userAgentHeader = sprintf('gcloud-php-%s/%s', $this->isBackwardsCompatibilityMode() ? 'legacy' : 'new', $options['gapicVersion']);
+        $this->agentHeader['User-Agent'] = [$userAgentHeader];
         self::validateFileExists($options['descriptorsConfigPath']);
         $descriptors = (require $options['descriptorsConfigPath']);
         $this->descriptors = $descriptors['interfaces'][$this->serviceName];
-        $this->credentialsWrapper = $this->createCredentialsWrapper($options['credentials'], $options['credentialsConfig']);
+        $this->credentialsWrapper = $this->createCredentialsWrapper($options['credentials'], $options['credentialsConfig'], $options['universeDomain']);
         $transport = $options['transport'] ?: self::defaultTransport();
         $this->transport = $transport instanceof TransportInterface ? $transport : $this->createTransport($options['apiEndpoint'], $transport, $options['transportConfig'], $options['clientCertSource']);
     }
-    /**
-     * @param mixed $credentials
-     * @param array $credentialsConfig
-     * @return CredentialsWrapper
-     * @throws ValidationException
-     */
-    private function createCredentialsWrapper($credentials, array $credentialsConfig)
-    {
-        if (is_null($credentials)) {
-            return CredentialsWrapper::build($credentialsConfig);
-        } elseif (is_string($credentials) || is_array($credentials)) {
-            return CredentialsWrapper::build(['keyFile' => $credentials] + $credentialsConfig);
-        } elseif ($credentials instanceof FetchAuthTokenInterface) {
-            $authHttpHandler = isset($credentialsConfig['authHttpHandler']) ? $credentialsConfig['authHttpHandler'] : null;
-            return new CredentialsWrapper($credentials, $authHttpHandler);
-        } elseif ($credentials instanceof CredentialsWrapper) {
-            return $credentials;
-        } else {
-            throw new ValidationException('Unexpected value in $auth option, got: ' . print_r($credentials, \true));
-        }
-    }
     /**
      * @param string $apiEndpoint
      * @param string $transport
-     * @param array $transportConfig
+     * @param TransportOptions|array $transportConfig
      * @param callable $clientCertSource
      * @return TransportInterface
      * @throws ValidationException
      */
-    private function createTransport($apiEndpoint, $transport, array $transportConfig, callable $clientCertSource = null)
+    private function createTransport(string $apiEndpoint, $transport, $transportConfig, callable $clientCertSource = null)
     {
         if (!is_string($transport)) {
             throw new ValidationException("'transport' must be a string, instead got:" . print_r($transport, \true));
@@ -353,10 +282,22 @@ private function createTransport($apiEndpoint, $transport, array $transportConfi
         if (!in_array($transport, $supportedTransports)) {
             throw new ValidationException(sprintf('Unexpected transport option "%s". Supported transports: %s', $transport, implode(', ', $supportedTransports)));
         }
-        $configForSpecifiedTransport = isset($transportConfig[$transport]) ? $transportConfig[$transport] : [];
-        $configForSpecifiedTransport['clientCertSource'] = $clientCertSource;
+        $configForSpecifiedTransport = $transportConfig[$transport] ?? [];
+        if (is_array($configForSpecifiedTransport)) {
+            $configForSpecifiedTransport['clientCertSource'] = $clientCertSource;
+        } else {
+            $configForSpecifiedTransport->setClientCertSource($clientCertSource);
+            $configForSpecifiedTransport = $configForSpecifiedTransport->toArray();
+        }
         switch ($transport) {
             case 'grpc':
+                // Setting the user agent for gRPC requires special handling
+                if (isset($this->agentHeader['User-Agent'])) {
+                    if ($configForSpecifiedTransport['stubOpts']['grpc.primary_user_agent'] = $configForSpecifiedTransport['stubOpts']['grpc.primary_user_agent'] ?? '') {
+                        $configForSpecifiedTransport['stubOpts']['grpc.primary_user_agent'] .= ' ';
+                    }
+                    $configForSpecifiedTransport['stubOpts']['grpc.primary_user_agent'] .= $this->agentHeader['User-Agent'][0];
+                }
                 return GrpcTransport::build($apiEndpoint, $configForSpecifiedTransport);
             case 'grpc-fallback':
                 return GrpcFallbackTransport::build($apiEndpoint, $configForSpecifiedTransport);
@@ -392,6 +333,123 @@ private static function defaultTransport()
     {
         return self::getGrpcDependencyStatus() ? 'grpc' : 'rest';
     }
+    private function validateCallConfig(string $methodName)
+    {
+        // Ensure a method descriptor exists for the target method.
+        if (!isset($this->descriptors[$methodName])) {
+            throw new ValidationException("Requested method '{$methodName}' does not exist in descriptor configuration.");
+        }
+        $methodDescriptors = $this->descriptors[$methodName];
+        // Ensure required descriptor configuration exists.
+        if (!isset($methodDescriptors['callType'])) {
+            throw new ValidationException("Requested method '{$methodName}' does not have a callType " . 'in descriptor configuration.');
+        }
+        $callType = $methodDescriptors['callType'];
+        // Validate various callType specific configurations.
+        if ($callType == Call::LONGRUNNING_CALL) {
+            if (!isset($methodDescriptors['longRunning'])) {
+                throw new ValidationException("Requested method '{$methodName}' does not have a longRunning config " . 'in descriptor configuration.');
+            }
+            // @TODO: check if the client implements `OperationsClientInterface` instead
+            if (!method_exists($this, 'getOperationsClient')) {
+                throw new ValidationException('Client missing required getOperationsClient ' . "for longrunning call '{$methodName}'");
+            }
+        } elseif ($callType == Call::PAGINATED_CALL) {
+            if (!isset($methodDescriptors['pageStreaming'])) {
+                throw new ValidationException("Requested method '{$methodName}' with callType PAGINATED_CALL does not " . 'have a pageStreaming in descriptor configuration.');
+            }
+        }
+        // LRO are either Standard LRO response type or custom, which are handled by
+        // startOperationCall, so no need to validate responseType for those callType.
+        if ($callType != Call::LONGRUNNING_CALL) {
+            if (!isset($methodDescriptors['responseType'])) {
+                throw new ValidationException("Requested method '{$methodName}' does not have a responseType " . 'in descriptor configuration.');
+            }
+        }
+        return $methodDescriptors;
+    }
+    /**
+     * @param string $methodName
+     * @param Message $request
+     * @param array $optionalArgs {
+     *     Call Options
+     *
+     *     @type array $headers                     [optional] key-value array containing headers
+     *     @type int $timeoutMillis                 [optional] the timeout in milliseconds for the call
+     *     @type array $transportOptions            [optional] transport-specific call options
+     *     @type RetrySettings|array $retrySettings [optional] A retry settings override for the call.
+     * }
+     *
+     * @experimental
+     *
+     * @return PromiseInterface
+     */
+    private function startAsyncCall(string $methodName, Message $request, array $optionalArgs = [])
+    {
+        // Convert method name to the UpperCamelCase of RPC names from lowerCamelCase of GAPIC method names
+        // in order to find the method in the descriptor config.
+        $methodName = ucfirst($methodName);
+        $methodDescriptors = $this->validateCallConfig($methodName);
+        $callType = $methodDescriptors['callType'];
+        switch ($callType) {
+            case Call::PAGINATED_CALL:
+                return $this->getPagedListResponseAsync($methodName, $optionalArgs, $methodDescriptors['responseType'], $request, $methodDescriptors['interfaceOverride'] ?? $this->serviceName);
+            case Call::SERVER_STREAMING_CALL:
+            case Call::CLIENT_STREAMING_CALL:
+            case Call::BIDI_STREAMING_CALL:
+                throw new ValidationException("Call type '{$callType}' of requested method " . "'{$methodName}' is not supported for async execution.");
+        }
+        return $this->startApiCall($methodName, $request, $optionalArgs);
+    }
+    /**
+     * @param string $methodName
+     * @param Message $request
+     * @param array $optionalArgs {
+     *     Call Options
+     *
+     *     @type array $headers [optional] key-value array containing headers
+     *     @type int $timeoutMillis [optional] the timeout in milliseconds for the call
+     *     @type array $transportOptions [optional] transport-specific call options
+     *     @type RetrySettings|array $retrySettings [optional] A retry settings
+     *           override for the call.
+     * }
+     *
+     * @experimental
+     *
+     * @return PromiseInterface|PagedListResponse|BidiStream|ClientStream|ServerStream
+     */
+    private function startApiCall(string $methodName, Message $request = null, array $optionalArgs = [])
+    {
+        $methodDescriptors = $this->validateCallConfig($methodName);
+        $callType = $methodDescriptors['callType'];
+        // Prepare request-based headers, merge with user-provided headers,
+        // which take precedence.
+        $headerParams = $methodDescriptors['headerParams'] ?? [];
+        $requestHeaders = $this->buildRequestParamsHeader($headerParams, $request);
+        $optionalArgs['headers'] = array_merge($requestHeaders, $optionalArgs['headers'] ?? []);
+        // Default the interface name, if not set, to the client's protobuf service name.
+        $interfaceName = $methodDescriptors['interfaceOverride'] ?? $this->serviceName;
+        // Handle call based on call type configured in the method descriptor config.
+        if ($callType == Call::LONGRUNNING_CALL) {
+            return $this->startOperationsCall(
+                $methodName,
+                $optionalArgs,
+                $request,
+                $this->getOperationsClient(),
+                $interfaceName,
+                // Custom operations will define their own operation response type, whereas standard
+                // LRO defaults to the same type.
+                $methodDescriptors['responseType'] ?? null
+            );
+        }
+        // Fully-qualified name of the response message PHP class.
+        $decodeType = $methodDescriptors['responseType'];
+        if ($callType == Call::PAGINATED_CALL) {
+            return $this->getPagedListResponse($methodName, $optionalArgs, $decodeType, $request, $interfaceName);
+        }
+        // Unary, and all Streaming types handled by startCall.
+        return $this->startCall($methodName, $decodeType, $optionalArgs, $request, $callType, $interfaceName);
+    }
     /**
      * @param string $methodName
      * @param string $decodeType
@@ -410,10 +468,11 @@ private static function defaultTransport()
      *
      * @return PromiseInterface|BidiStream|ClientStream|ServerStream
      */
-    private function startCall($methodName, $decodeType, array $optionalArgs = [], Message $request = null, $callType = Call::UNARY_CALL, $interfaceName = null)
+    private function startCall(string $methodName, string $decodeType, array $optionalArgs = [], Message $request = null, int $callType = Call::UNARY_CALL, string $interfaceName = null)
     {
+        $optionalArgs = $this->configureCallOptions($optionalArgs);
         $callStack = $this->createCallStack($this->configureCallConstructionOptions($methodName, $optionalArgs));
-        $descriptor = isset($this->descriptors[$methodName]['grpcStreaming']) ? $this->descriptors[$methodName]['grpcStreaming'] : null;
+        $descriptor = $this->descriptors[$methodName]['grpcStreaming'] ?? null;
         $call = new Call($this->buildMethod($interfaceName, $methodName), $decodeType, $request, $descriptor, $callType);
         switch ($callType) {
             case Call::UNARY_CALL:
@@ -433,6 +492,8 @@ private function startCall($methodName, $decodeType, array $optionalArgs = [], M
      *
      *     @type RetrySettings $retrySettings [optional] A retry settings override
      *           For the call.
+     *     @type array $autoPopulationSettings Settings for
+     *           auto population of particular request fields if unset.
      * }
      *
      * @return callable
@@ -444,6 +505,9 @@ private function createCallStack(array $callConstructionOptions)
         if ($quotaProject) {
             $fixedHeaders += ['X-Goog-User-Project' => [$quotaProject]];
         }
+        if (isset($this->apiVersion)) {
+            $fixedHeaders += ['X-Goog-Api-Version' => [$this->apiVersion]];
+        }
         $callStack = function (Call $call, array $options) {
             $startCallMethod = $this->transportCallMethods[$call->getCallType()];
             return $this->transport->{$startCallMethod}($call, $options);
@@ -451,7 +515,12 @@ private function createCallStack(array $callConstructionOptions)
         $callStack = new CredentialsWrapperMiddleware($callStack, $this->credentialsWrapper);
         $callStack = new FixedHeaderMiddleware($callStack, $fixedHeaders, \true);
         $callStack = new RetryMiddleware($callStack, $callConstructionOptions['retrySettings']);
-        $callStack = new OptionsFilterMiddleware($callStack, ['headers', 'timeoutMillis', 'transportOptions', 'metadataCallback', 'audience']);
+        $callStack = new RequestAutoPopulationMiddleware($callStack, $callConstructionOptions['autoPopulationSettings']);
+        $callStack = new OptionsFilterMiddleware($callStack, ['headers', 'timeoutMillis', 'transportOptions', 'metadataCallback', 'audience', 'metadataReturnType']);
+        foreach (\array_reverse($this->middlewareCallables) as $fn) {
+            /** @var MiddlewareInterface $callStack */
+            $callStack = $fn($callStack);
+        }
         return $callStack;
     }
     /**
@@ -465,9 +534,10 @@ private function createCallStack(array $callConstructionOptions)
      *
      * @return array
      */
-    private function configureCallConstructionOptions($methodName, array $optionalArgs)
+    private function configureCallConstructionOptions(string $methodName, array $optionalArgs)
     {
         $retrySettings = $this->retrySettings[$methodName];
+        $autoPopulatedFields = $this->descriptors[$methodName]['autoPopulatedFields'] ?? [];
         // Allow for retry settings to be changed at call time
         if (isset($optionalArgs['retrySettings'])) {
             if ($optionalArgs['retrySettings'] instanceof RetrySettings) {
@@ -476,7 +546,18 @@ private function configureCallConstructionOptions($methodName, array $optionalAr
                 $retrySettings = $retrySettings->with($optionalArgs['retrySettings']);
             }
         }
-        return ['retrySettings' => $retrySettings];
+        return ['retrySettings' => $retrySettings, 'autoPopulationSettings' => $autoPopulatedFields];
+    }
+    /**
+     * @return array
+     */
+    private function configureCallOptions(array $optionalArgs) : array
+    {
+        if ($this->isBackwardsCompatibilityMode()) {
+            return $optionalArgs;
+        }
+        // cast to CallOptions for new surfaces only
+        return (new CallOptions($optionalArgs))->toArray();
     }
     /**
      * @param string $methodName
@@ -495,10 +576,12 @@ private function configureCallConstructionOptions($methodName, array $optionalAr
      *
      * @return PromiseInterface
      */
-    private function startOperationsCall($methodName, array $optionalArgs, Message $request, $client, $interfaceName = null, $operationClass = null)
+    private function startOperationsCall(string $methodName, array $optionalArgs, Message $request, $client, string $interfaceName = null, string $operationClass = null)
     {
+        $optionalArgs = $this->configureCallOptions($optionalArgs);
         $callStack = $this->createCallStack($this->configureCallConstructionOptions($methodName, $optionalArgs));
         $descriptor = $this->descriptors[$methodName]['longRunning'];
+        $metadataReturnType = null;
         // Call the methods supplied in "additionalArgumentMethods" on the request Message object
         // to build the "additionalOperationArguments" option for the operation response.
         if (isset($descriptor['additionalArgumentMethods'])) {
@@ -509,10 +592,13 @@ private function startOperationsCall($methodName, array $optionalArgs, Message $
             $descriptor['additionalOperationArguments'] = $additionalArgs;
             unset($descriptor['additionalArgumentMethods']);
         }
+        if (isset($descriptor['metadataReturnType'])) {
+            $metadataReturnType = $descriptor['metadataReturnType'];
+        }
         $callStack = new OperationsMiddleware($callStack, $client, $descriptor);
         $call = new Call($this->buildMethod($interfaceName, $methodName), $operationClass ?: Operation::class, $request, [], Call::UNARY_CALL);
         $this->modifyUnaryCallable($callStack);
-        return $callStack($call, $optionalArgs + array_filter(['audience' => self::getDefaultAudience()]));
+        return $callStack($call, $optionalArgs + array_filter(['metadataReturnType' => $metadataReturnType, 'audience' => self::getDefaultAudience()]));
     }
     /**
      * @param string $methodName
@@ -523,14 +609,28 @@ private function startOperationsCall($methodName, array $optionalArgs, Message $
      *
      * @return PagedListResponse
      */
-    private function getPagedListResponse($methodName, array $optionalArgs, $decodeType, Message $request, $interfaceName = null)
+    private function getPagedListResponse(string $methodName, array $optionalArgs, string $decodeType, Message $request, string $interfaceName = null)
+    {
+        return $this->getPagedListResponseAsync($methodName, $optionalArgs, $decodeType, $request, $interfaceName)->wait();
+    }
+    /**
+     * @param string $methodName
+     * @param array $optionalArgs
+     * @param string $decodeType
+     * @param Message $request
+     * @param string $interfaceName
+     *
+     * @return PromiseInterface
+     */
+    private function getPagedListResponseAsync(string $methodName, array $optionalArgs, string $decodeType, Message $request, string $interfaceName = null)
     {
+        $optionalArgs = $this->configureCallOptions($optionalArgs);
         $callStack = $this->createCallStack($this->configureCallConstructionOptions($methodName, $optionalArgs));
         $descriptor = new PageStreamingDescriptor($this->descriptors[$methodName]['pageStreaming']);
         $callStack = new PagedMiddleware($callStack, $descriptor);
         $call = new Call($this->buildMethod($interfaceName, $methodName), $decodeType, $request, [], Call::UNARY_CALL);
         $this->modifyUnaryCallable($callStack);
-        return $callStack($call, $optionalArgs + array_filter(['audience' => self::getDefaultAudience()]))->wait();
+        return $callStack($call, $optionalArgs + array_filter(['audience' => self::getDefaultAudience()]));
     }
     /**
      * @param string $interfaceName
@@ -538,10 +638,57 @@ private function getPagedListResponse($methodName, array $optionalArgs, $decodeT
      *
      * @return string
      */
-    private function buildMethod($interfaceName, $methodName)
+    private function buildMethod(string $interfaceName = null, string $methodName = null)
     {
         return sprintf('%s/%s', $interfaceName ?: $this->serviceName, $methodName);
     }
+    /**
+     * @param array $headerParams
+     * @param Message|null $request
+     *
+     * @return array
+     */
+    private function buildRequestParamsHeader(array $headerParams, Message $request = null)
+    {
+        $headers = [];
+        // No request message means no request-based headers.
+        if (!$request) {
+            return $headers;
+        }
+        foreach ($headerParams as $headerParam) {
+            $msg = $request;
+            $value = null;
+            foreach ($headerParam['fieldAccessors'] as $accessor) {
+                $value = $msg->{$accessor}();
+                // In case the field in question is nested in another message,
+                // skip the header param when the nested message field is unset.
+                $msg = $value;
+                if (is_null($msg)) {
+                    break;
+                }
+            }
+            $keyName = $headerParam['keyName'];
+            // If there are value pattern matchers configured and the target
+            // field was set, evaluate the matchers in the order that they were
+            // annotated in with last one matching wins.
+            $original = $value;
+            $matchers = isset($headerParam['matchers']) && !is_null($value) ? $headerParam['matchers'] : [];
+            foreach ($matchers as $matcher) {
+                $matches = [];
+                if (preg_match($matcher, $original, $matches)) {
+                    $value = $matches[$keyName];
+                }
+            }
+            // If there are no matches or the target field was unset, skip this
+            // header param.
+            if (!$value) {
+                continue;
+            }
+            $headers[$keyName] = $value;
+        }
+        $requestParams = new RequestParamsHeaderDescriptor($headers);
+        return $requestParams->getHeader();
+    }
     /**
      * The SERVICE_ADDRESS constant is set by GAPIC clients
      */
@@ -553,28 +700,6 @@ private static function getDefaultAudience()
         return 'https://' . self::SERVICE_ADDRESS . '/';
         // @phpstan-ignore-line
     }
-    /**
-     * This defaults to all three transports, which One-Platform supports.
-     * Discovery clients should define this function and only return ['rest'].
-     */
-    private static function supportedTransports()
-    {
-        return ['grpc', 'grpc-fallback', 'rest'];
-    }
-    // Gapic Client Extension Points
-    // The methods below provide extension points that can be used to customize client
-    // functionality. These extension points are currently considered
-    // private and may change at any time.
-    /**
-     * Modify options passed to the client before calling setClientOptions.
-     *
-     * @param array $options
-     * @access private
-     */
-    protected function modifyClientOptions(array &$options)
-    {
-        // Do nothing - this method exists to allow option modification by partial veneers.
-    }
     /**
      * Modify the unary callable.
      *
@@ -595,4 +720,11 @@ protected function modifyStreamingCallable(callable &$callable)
     {
         // Do nothing - this method exists to allow callable modification by partial veneers.
     }
+    /**
+     * @internal
+     */
+    private function isBackwardsCompatibilityMode() : bool
+    {
+        return $this->backwardsCompatibilityMode ?? ($this->backwardsCompatibilityMode = substr(__CLASS__, -11) === 'GapicClient');
+    }
 }
diff --git a/vendor/prefixed/google/gax/src/GrpcSupportTrait.php b/vendor/prefixed/google/gax/src/GrpcSupportTrait.php
index 85ba7fbbf..0df092def 100644
--- a/vendor/prefixed/google/gax/src/GrpcSupportTrait.php
+++ b/vendor/prefixed/google/gax/src/GrpcSupportTrait.php
@@ -34,6 +34,8 @@
 
 /**
  * Provides helper methods for gRPC support.
+ *
+ * @internal
  */
 trait GrpcSupportTrait
 {
diff --git a/vendor/prefixed/google/gax/src/InsecureCredentialsWrapper.php b/vendor/prefixed/google/gax/src/InsecureCredentialsWrapper.php
new file mode 100644
index 000000000..987caa0d4
--- /dev/null
+++ b/vendor/prefixed/google/gax/src/InsecureCredentialsWrapper.php
@@ -0,0 +1,54 @@
+nextHandler = $nextHandler;
         $this->headers = $headers;
@@ -50,7 +57,7 @@ public function __construct(callable $nextHandler, array $headers, $overrideUser
     }
     public function __invoke(Call $call, array $options)
     {
-        $userHeaders = isset($options['headers']) ? $options['headers'] : [];
+        $userHeaders = $options['headers'] ?? [];
         if ($this->overrideUserHeaders) {
             $options['headers'] = $this->headers + $userHeaders;
         } else {
diff --git a/vendor/prefixed/google/gax/src/Middleware/MiddlewareInterface.php b/vendor/prefixed/google/gax/src/Middleware/MiddlewareInterface.php
new file mode 100644
index 000000000..d6ba5419e
--- /dev/null
+++ b/vendor/prefixed/google/gax/src/Middleware/MiddlewareInterface.php
@@ -0,0 +1,90 @@
+handler = $handler;
+ *      }
+ *      public function __invoke(Call $call, array $options)
+ *      {
+ *          echo "Logging info about the call: " . $call->getMethod();
+ *          return ($this->handler)($call, $options);
+ *      }
+ * }
+ * ```
+ *
+ * Next, add the middleware to any class implementing `GapicClientTrait` by passing in a
+ * callable which returns the new middleware:
+ *
+ * ```
+ * $client = new ExampleGoogleApiServiceClient();
+ * $client->addMiddleware(function (MiddlewareInterface $handler) {
+ *     return new MyTestMiddleware($handler);
+ * });
+ * ```
+ */
+interface MiddlewareInterface
+{
+    /**
+     * Modify or observe the API call request and response.
+     * The returned value must include the result of the next MiddlewareInterface invocation in the
+     * chain.
+     *
+     * @param Call $call
+     * @param array $options
+     * @return PromiseInterface|ClientStream|ServerStream|BidiStream
+     */
+    public function __invoke(Call $call, array $options);
+}
diff --git a/vendor/prefixed/google/gax/src/Middleware/OperationsMiddleware.php b/vendor/prefixed/google/gax/src/Middleware/OperationsMiddleware.php
index 01c83fbc9..1e27e79fa 100644
--- a/vendor/prefixed/google/gax/src/Middleware/OperationsMiddleware.php
+++ b/vendor/prefixed/google/gax/src/Middleware/OperationsMiddleware.php
@@ -35,16 +35,21 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\OperationResponse;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message;
+use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Promise\PromiseInterface;
 /**
  * Middleware which wraps the response in an OperationResponse object.
  */
-class OperationsMiddleware
+class OperationsMiddleware implements MiddlewareInterface
 {
     /** @var callable */
     private $nextHandler;
-    /** @var object */
+    /**
+     * @var object
+     */
     private $operationsClient;
-    /** @var array */
+    /**
+     * @var mixed[]
+     */
     private $descriptor;
     public function __construct(callable $nextHandler, $operationsClient, array $descriptor)
     {
@@ -57,7 +62,7 @@ public function __invoke(Call $call, array $options)
         $next = $this->nextHandler;
         return $next($call, $options)->then(function (Message $response) {
             $options = $this->descriptor + ['lastProtoResponse' => $response];
-            $operationNameMethod = isset($options['operationNameMethod']) ? $options['operationNameMethod'] : 'getName';
+            $operationNameMethod = $options['operationNameMethod'] ?? 'getName';
             $operationName = call_user_func([$response, $operationNameMethod]);
             return new OperationResponse($operationName, $this->operationsClient, $options);
         });
diff --git a/vendor/prefixed/google/gax/src/Middleware/OptionsFilterMiddleware.php b/vendor/prefixed/google/gax/src/Middleware/OptionsFilterMiddleware.php
index 12561de7d..5f3a72d46 100644
--- a/vendor/prefixed/google/gax/src/Middleware/OptionsFilterMiddleware.php
+++ b/vendor/prefixed/google/gax/src/Middleware/OptionsFilterMiddleware.php
@@ -34,15 +34,18 @@
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\ArrayTrait;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call;
+use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Promise\PromiseInterface;
 /**
 * Middleware which filters the $options array.
 */
-class OptionsFilterMiddleware
+class OptionsFilterMiddleware implements MiddlewareInterface
 {
     use ArrayTrait;
     /** @var callable */
     private $nextHandler;
-    /** @var array */
+    /**
+     * @var mixed[]
+     */
     private $permittedOptions;
     public function __construct(callable $nextHandler, array $permittedOptions)
     {
diff --git a/vendor/prefixed/google/gax/src/Middleware/PagedMiddleware.php b/vendor/prefixed/google/gax/src/Middleware/PagedMiddleware.php
index 35a254531..41b9954d6 100644
--- a/vendor/prefixed/google/gax/src/Middleware/PagedMiddleware.php
+++ b/vendor/prefixed/google/gax/src/Middleware/PagedMiddleware.php
@@ -37,14 +37,17 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\PagedListResponse;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\PageStreamingDescriptor;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message;
+use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Promise\PromiseInterface;
 /**
 * Middleware which wraps the response in an PagedListResponses object.
 */
-class PagedMiddleware
+class PagedMiddleware implements MiddlewareInterface
 {
     /** @var callable */
     private $nextHandler;
-    /** @var PageStreamingDescriptor */
+    /**
+     * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\PageStreamingDescriptor
+     */
     private $descriptor;
     /**
      * @param callable $nextHandler
diff --git a/vendor/prefixed/google/gax/src/Middleware/RequestAutoPopulationMiddleware.php b/vendor/prefixed/google/gax/src/Middleware/RequestAutoPopulationMiddleware.php
new file mode 100644
index 000000000..838c7a2ef
--- /dev/null
+++ b/vendor/prefixed/google/gax/src/Middleware/RequestAutoPopulationMiddleware.php
@@ -0,0 +1,89 @@
+ */
+    private $autoPopulationSettings;
+    public function __construct(callable $nextHandler, array $autoPopulationSettings)
+    {
+        $this->nextHandler = $nextHandler;
+        $this->autoPopulationSettings = $autoPopulationSettings;
+    }
+    /**
+     * @param Call $call
+     * @param array $options
+     *
+     * @return PromiseInterface
+     */
+    public function __invoke(Call $call, array $options)
+    {
+        $next = $this->nextHandler;
+        if (empty($this->autoPopulationSettings)) {
+            return $next($call, $options);
+        }
+        $request = $call->getMessage();
+        foreach ($this->autoPopulationSettings as $fieldName => $valueType) {
+            $getFieldName = 'get' . ucwords($fieldName);
+            // We use a getter instead of a hazzer here because there's no need to
+            // differentiate between isset and an empty default value. Even if a
+            // field is explicitly set to an empty string, we want to autopopulate it.
+            if (empty($request->{$getFieldName}())) {
+                $setFieldName = 'set' . ucwords($fieldName);
+                switch ($valueType) {
+                    case Format::UUID4:
+                        $request->{$setFieldName}(Uuid::uuid4()->toString());
+                        break;
+                    default:
+                        throw new \UnexpectedValueException(sprintf("Value type %s::%s not supported for auto population of the field %s", Format::class, Format::name($valueType), $fieldName));
+                }
+            }
+        }
+        $call = $call->withMessage($request);
+        return $next($call, $options);
+    }
+}
diff --git a/vendor/prefixed/google/gax/src/Middleware/ResponseMetadataMiddleware.php b/vendor/prefixed/google/gax/src/Middleware/ResponseMetadataMiddleware.php
index 159030e7c..112723254 100644
--- a/vendor/prefixed/google/gax/src/Middleware/ResponseMetadataMiddleware.php
+++ b/vendor/prefixed/google/gax/src/Middleware/ResponseMetadataMiddleware.php
@@ -38,7 +38,7 @@
 /**
  * Middleware which transforms $response into [$response, $metadata]
  */
-class ResponseMetadataMiddleware
+class ResponseMetadataMiddleware implements MiddlewareInterface
 {
     /** @var callable */
     private $nextHandler;
diff --git a/vendor/prefixed/google/gax/src/Middleware/RetryMiddleware.php b/vendor/prefixed/google/gax/src/Middleware/RetryMiddleware.php
index f8e1eee1e..ee752b15b 100644
--- a/vendor/prefixed/google/gax/src/Middleware/RetryMiddleware.php
+++ b/vendor/prefixed/google/gax/src/Middleware/RetryMiddleware.php
@@ -40,19 +40,32 @@
 /**
  * Middleware that adds retry functionality.
  */
-class RetryMiddleware
+class RetryMiddleware implements MiddlewareInterface
 {
     /** @var callable */
     private $nextHandler;
-    /** @var RetrySettings */
+    /**
+     * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\RetrySettings
+     */
     private $retrySettings;
-    /** @var float|null */
+    /**
+     * @var float|null
+     */
     private $deadlineMs;
-    public function __construct(callable $nextHandler, RetrySettings $retrySettings, $deadlineMs = null)
+    /*
+     * The number of retries that have already been attempted.
+     * The original API call will have $retryAttempts set to 0.
+     */
+    /**
+     * @var int
+     */
+    private $retryAttempts;
+    public function __construct(callable $nextHandler, RetrySettings $retrySettings, $deadlineMs = null, $retryAttempts = 0)
     {
         $this->nextHandler = $nextHandler;
         $this->retrySettings = $retrySettings;
         $this->deadlineMs = $deadlineMs;
+        $this->retryAttempts = $retryAttempts;
     }
     /**
      * @param Call $call
@@ -76,12 +89,19 @@ public function __invoke(Call $call, array $options)
             return $nextHandler($call, $options);
         }
         return $nextHandler($call, $options)->then(null, function ($e) use($call, $options) {
-            if (!$e instanceof ApiException) {
+            $retryFunction = $this->getRetryFunction();
+            // If the number of retries has surpassed the max allowed retries
+            // then throw the exception as we normally would.
+            // If the maxRetries is set to 0, then we don't check this condition.
+            if (0 !== $this->retrySettings->getMaxRetries() && $this->retryAttempts >= $this->retrySettings->getMaxRetries()) {
                 throw $e;
             }
-            if (!in_array($e->getStatus(), $this->retrySettings->getRetryableCodes())) {
+            // If the retry function returns false then throw the
+            // exception as we normally would.
+            if (!$retryFunction($e, $options)) {
                 throw $e;
             }
+            // Retry function returned true, so we attempt another retry
             return $this->retry($call, $options, $e->getStatus());
         });
     }
@@ -93,7 +113,7 @@ public function __invoke(Call $call, array $options)
      * @return PromiseInterface
      * @throws ApiException
      */
-    private function retry(Call $call, array $options, $status)
+    private function retry(Call $call, array $options, string $status)
     {
         $delayMult = $this->retrySettings->getRetryDelayMultiplier();
         $maxDelayMs = $this->retrySettings->getMaxRetryDelayMillis();
@@ -108,8 +128,8 @@ private function retry(Call $call, array $options, $status)
             throw new ApiException('Retry total timeout exceeded.', \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Code::DEADLINE_EXCEEDED, ApiStatus::DEADLINE_EXCEEDED);
         }
         $delayMs = min($delayMs * $delayMult, $maxDelayMs);
-        $timeoutMs = min($timeoutMs * $timeoutMult, $maxTimeoutMs, $deadlineMs - $this->getCurrentTimeMs());
-        $nextHandler = new RetryMiddleware($this->nextHandler, $this->retrySettings->with(['initialRetryDelayMillis' => $delayMs]), $deadlineMs);
+        $timeoutMs = (int) min($timeoutMs * $timeoutMult, $maxTimeoutMs, $deadlineMs - $this->getCurrentTimeMs());
+        $nextHandler = new RetryMiddleware($this->nextHandler, $this->retrySettings->with(['initialRetryDelayMillis' => $delayMs]), $deadlineMs, $this->retryAttempts + 1);
         // Set the timeout for the call
         $options['timeoutMillis'] = $timeoutMs;
         return $nextHandler($call, $options);
@@ -118,4 +138,22 @@ protected function getCurrentTimeMs()
     {
         return microtime(\true) * 1000.0;
     }
+    /**
+     * This is the default retry behaviour.
+     */
+    private function getRetryFunction()
+    {
+        return $this->retrySettings->getRetryFunction() ?? function (\Throwable $e, array $options) : bool {
+            // This is the default retry behaviour, i.e. we don't retry an ApiException
+            // and for other exception types, we only retry when the error code is in
+            // the list of retryable error codes.
+            if (!$e instanceof ApiException) {
+                return \false;
+            }
+            if (!in_array($e->getStatus(), $this->retrySettings->getRetryableCodes())) {
+                return \false;
+            }
+            return \true;
+        };
+    }
 }
diff --git a/vendor/prefixed/google/gax/src/OperationResponse.php b/vendor/prefixed/google/gax/src/OperationResponse.php
index 2616e736f..59406c0d3 100644
--- a/vendor/prefixed/google/gax/src/OperationResponse.php
+++ b/vendor/prefixed/google/gax/src/OperationResponse.php
@@ -32,6 +32,11 @@
  */
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore;
 
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\Client\OperationsClient;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\OperationsClient as LegacyOperationsClient;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\CancelOperationRequest;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\DeleteOperationRequest;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\GetOperationRequest;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\Operation;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Any;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message;
@@ -58,20 +63,76 @@ class OperationResponse
     const DEFAULT_POLLING_MULTIPLIER = 2;
     const DEFAULT_MAX_POLLING_INTERVAL = 60000;
     const DEFAULT_MAX_POLLING_DURATION = 0;
+    private const NEW_CLIENT_NAMESPACE = '\\Client\\';
+    /**
+     * @var string
+     */
     private $operationName;
+    /**
+     * @var object|null
+     */
     private $operationsClient;
+    /**
+     * @var string|null
+     */
     private $operationReturnType;
+    /**
+     * @var string|null
+     */
     private $metadataReturnType;
+    /**
+     * @var mixed[]
+     */
     private $defaultPollSettings = ['initialPollDelayMillis' => self::DEFAULT_POLLING_INTERVAL, 'pollDelayMultiplier' => self::DEFAULT_POLLING_MULTIPLIER, 'maxPollDelayMillis' => self::DEFAULT_MAX_POLLING_INTERVAL, 'totalPollTimeoutMillis' => self::DEFAULT_MAX_POLLING_DURATION];
+    /**
+     * @var object|null
+     */
     private $lastProtoResponse;
+    /**
+     * @var bool
+     */
     private $deleted = \false;
+    /**
+     * @var mixed[]
+     */
     private $additionalArgs;
+    /**
+     * @var string
+     */
     private $getOperationMethod;
+    /**
+     * @var string|null
+     */
     private $cancelOperationMethod;
+    /**
+     * @var string|null
+     */
     private $deleteOperationMethod;
+    /**
+     * @var string
+     */
+    private $getOperationRequest;
+    /**
+     * @var string|null
+     */
+    private $cancelOperationRequest;
+    /**
+     * @var string|null
+     */
+    private $deleteOperationRequest;
+    /**
+     * @var string
+     */
     private $operationStatusMethod;
+    /** @var mixed */
     private $operationStatusDoneValue;
+    /**
+     * @var string|null
+     */
     private $operationErrorCodeMethod;
+    /**
+     * @var string|null
+     */
     private $operationErrorMessageMethod;
     /**
      * OperationResponse constructor.
@@ -98,11 +159,11 @@ class OperationResponse
      *     @type string $operationErrorMessageMethod The method on the operation to get the error status
      * }
      */
-    public function __construct($operationName, $operationsClient, $options = [])
+    public function __construct(string $operationName, $operationsClient, array $options = [])
     {
         $this->operationName = $operationName;
         $this->operationsClient = $operationsClient;
-        $options += ['operationReturnType' => null, 'metadataReturnType' => null, 'lastProtoResponse' => null, 'getOperationMethod' => 'getOperation', 'cancelOperationMethod' => 'cancelOperation', 'deleteOperationMethod' => 'deleteOperation', 'operationStatusMethod' => 'getDone', 'operationStatusDoneValue' => \true, 'additionalOperationArguments' => [], 'operationErrorCodeMethod' => null, 'operationErrorMessageMethod' => null];
+        $options += ['operationReturnType' => null, 'metadataReturnType' => null, 'lastProtoResponse' => null, 'getOperationMethod' => 'getOperation', 'cancelOperationMethod' => 'cancelOperation', 'deleteOperationMethod' => 'deleteOperation', 'operationStatusMethod' => 'getDone', 'operationStatusDoneValue' => \true, 'additionalOperationArguments' => [], 'operationErrorCodeMethod' => null, 'operationErrorMessageMethod' => null, 'getOperationRequest' => GetOperationRequest::class, 'cancelOperationRequest' => CancelOperationRequest::class, 'deleteOperationRequest' => DeleteOperationRequest::class];
         $this->operationReturnType = $options['operationReturnType'];
         $this->metadataReturnType = $options['metadataReturnType'];
         $this->lastProtoResponse = $options['lastProtoResponse'];
@@ -114,6 +175,9 @@ public function __construct($operationName, $operationsClient, $options = [])
         $this->operationStatusDoneValue = $options['operationStatusDoneValue'];
         $this->operationErrorCodeMethod = $options['operationErrorCodeMethod'];
         $this->operationErrorMessageMethod = $options['operationErrorMessageMethod'];
+        $this->getOperationRequest = $options['getOperationRequest'];
+        $this->cancelOperationRequest = $options['cancelOperationRequest'];
+        $this->deleteOperationRequest = $options['deleteOperationRequest'];
         if (isset($options['initialPollDelayMillis'])) {
             $this->defaultPollSettings['initialPollDelayMillis'] = $options['initialPollDelayMillis'];
         }
@@ -200,7 +264,7 @@ public function getName()
      * @throws ValidationException
      * @return bool Indicates if the operation completed.
      */
-    public function pollUntilComplete($options = [])
+    public function pollUntilComplete(array $options = [])
     {
         if ($this->isDone()) {
             return \true;
@@ -222,7 +286,8 @@ public function reload()
         if ($this->deleted) {
             throw new ValidationException("Cannot call reload() on a deleted operation");
         }
-        $this->lastProtoResponse = $this->operationsCall($this->getOperationMethod, $this->getName(), $this->additionalArgs);
+        $requestClass = $this->isNewSurfaceOperationsClient() ? $this->getOperationRequest : null;
+        $this->lastProtoResponse = $this->operationsCall($this->getOperationMethod, $requestClass);
     }
     /**
      * Return the result of the operation. If operationSucceeded() is false, return null.
@@ -324,7 +389,8 @@ public function cancel()
         if (is_null($this->cancelOperationMethod)) {
             throw new LogicException('The cancel operation is not supported by this API');
         }
-        $this->operationsCall($this->cancelOperationMethod, $this->getName(), $this->additionalArgs);
+        $requestClass = $this->isNewSurfaceOperationsClient() ? $this->cancelOperationRequest : null;
+        $this->operationsCall($this->cancelOperationMethod, $requestClass);
     }
     /**
      * Delete the long-running operation.
@@ -342,7 +408,8 @@ public function delete()
         if (is_null($this->deleteOperationMethod)) {
             throw new LogicException('The delete operation is not supported by this API');
         }
-        $this->operationsCall($this->deleteOperationMethod, $this->getName(), $this->additionalArgs);
+        $requestClass = $this->isNewSurfaceOperationsClient() ? $this->deleteOperationRequest : null;
+        $this->operationsCall($this->deleteOperationMethod, $requestClass);
         $this->deleted = \true;
     }
     /**
@@ -371,7 +438,6 @@ public function getMetadata()
             return null;
         }
         // @TODO: This is probably not doing anything and can be removed in the next release.
-        // @phpstan-ignore-next-line
         if (is_null($any->getValue())) {
             return null;
         }
@@ -381,9 +447,23 @@ public function getMetadata()
         $metadata->mergeFromString($any->getValue());
         return $metadata;
     }
-    private function operationsCall($method, $name, array $additionalArgs)
+    /**
+     * Call the operations client to perform an operation.
+     *
+     * @param string $method The method to call on the operations client.
+     * @param string|null $requestClass The request class to use for the call.
+     *                                  Will be null for legacy operations clients.
+     */
+    private function operationsCall(string $method, ?string $requestClass)
     {
-        $args = array_merge([$name], $additionalArgs);
+        $args = array_merge([$this->getName()], array_values($this->additionalArgs));
+        if ($requestClass) {
+            if (!method_exists($requestClass, 'build')) {
+                throw new LogicException('Request class must support the static build method');
+            }
+            $request = call_user_func_array($requestClass . '::build', $args);
+            $args = [$request];
+        }
         return call_user_func_array([$this->operationsClient, $method], $args);
     }
     private function canHaveResult()
@@ -411,4 +491,8 @@ private function hasProtoResponse()
     {
         return !is_null($this->lastProtoResponse);
     }
+    private function isNewSurfaceOperationsClient() : bool
+    {
+        return !$this->operationsClient instanceof LegacyOperationsClient && \false !== strpos(get_class($this->operationsClient), self::NEW_CLIENT_NAMESPACE);
+    }
 }
diff --git a/vendor/prefixed/google/gax/src/Options/CallOptions.php b/vendor/prefixed/google/gax/src/Options/CallOptions.php
new file mode 100644
index 000000000..d39dd3811
--- /dev/null
+++ b/vendor/prefixed/google/gax/src/Options/CallOptions.php
@@ -0,0 +1,147 @@
+> $headers
+     *           Key-value array containing headers.
+     *     @type int $timeoutMillis
+     *           The timeout in milliseconds for the call.
+     *     @type array $transportOptions
+     *           Transport-specific call options. See {@see CallOptions::setTransportOptions}.
+     *     @type RetrySettings|array $retrySettings
+     *           A retry settings override for the call. If $retrySettings is an
+     *           array, the settings will be merged with the method's default
+     *           retry settings. If $retrySettings is a RetrySettings object,
+     *           that object will be used instead of the method defaults.
+     * }
+     */
+    public function __construct(array $options)
+    {
+        $this->fromArray($options);
+    }
+    /**
+     * Sets the array of options as class properites.
+     *
+     * @param array $arr See the constructor for the list of supported options.
+     */
+    private function fromArray(array $arr) : void
+    {
+        $this->setHeaders($arr['headers'] ?? []);
+        $this->setTimeoutMillis($arr['timeoutMillis'] ?? null);
+        $this->setTransportOptions($arr['transportOptions'] ?? []);
+        $this->setRetrySettings($arr['retrySettings'] ?? null);
+    }
+    /**
+     * @param array $headers
+     */
+    public function setHeaders(array $headers)
+    {
+        $this->headers = $headers;
+    }
+    /**
+     * @param int|null $timeoutMillis
+     */
+    public function setTimeoutMillis(?int $timeoutMillis)
+    {
+        $this->timeoutMillis = $timeoutMillis;
+    }
+    /**
+     * @param array $transportOptions {
+     *     Transport-specific call-time options.
+     *
+     *     @type array $grpcOptions
+     *           Key-value pairs for gRPC-specific options passed as the `$options` argument to {@see \Grpc\BaseStub}
+     *           request methods. Current options are `call_credentials_callback` and `timeout`.
+     *           **NOTE**: This library sets `call_credentials_callback` using {@see CredentialsWrapper}, and `timeout`
+     *           using the `timeoutMillis` call option, so these options are not very useful.
+     *     @type array $grpcFallbackOptions
+     *           Key-value pairs for gRPC fallback specific options passed as the `$options` argument to the
+     *           `$httpHandler` callable. By default these are passed to {@see \GuzzleHttp\Client} as request options.
+     *           See {@link https://docs.guzzlephp.org/en/stable/request-options.html}.
+     *     @type array $restOptions
+     *           Key-value pairs for REST-specific options passed as the `$options` argument to the `$httpHandler`
+     *           callable. By default these are passed to {@see \GuzzleHttp\Client} as request options.
+     *           See {@link https://docs.guzzlephp.org/en/stable/request-options.html}.
+     * }
+     */
+    public function setTransportOptions(array $transportOptions)
+    {
+        $this->transportOptions = $transportOptions;
+    }
+    /**
+     * @deprecated use CallOptions::setTransportOptions
+     */
+    public function setTransportSpecificOptions(array $transportSpecificOptions)
+    {
+        $this->setTransportOptions($transportSpecificOptions);
+    }
+    /**
+     * @param RetrySettings|array|null $retrySettings
+     */
+    public function setRetrySettings($retrySettings)
+    {
+        $this->retrySettings = $retrySettings;
+    }
+}
diff --git a/vendor/prefixed/google/gax/src/Options/ClientOptions.php b/vendor/prefixed/google/gax/src/Options/ClientOptions.php
new file mode 100644
index 000000000..bbdaaf17a
--- /dev/null
+++ b/vendor/prefixed/google/gax/src/Options/ClientOptions.php
@@ -0,0 +1,323 @@
+ '/path/to/my/credentials.json'
+ * ]);
+ * $secretManager = new SecretManagerClient($options->toArray());
+ * ```
+ *
+ * Note: It's possible to pass an associative array to the API clients as well,
+ * as ClientOptions will still be used internally for validation.
+ */
+class ClientOptions implements ArrayAccess
+{
+    use OptionsTrait;
+    /**
+     * @var string|null
+     */
+    private $apiEndpoint;
+    /**
+     * @var bool
+     */
+    private $disableRetries;
+    /**
+     * @var mixed[]
+     */
+    private $clientConfig;
+    /** @var string|array|FetchAuthTokenInterface|CredentialsWrapper|null */
+    private $credentials;
+    /**
+     * @var mixed[]
+     */
+    private $credentialsConfig;
+    /** @var string|TransportInterface|null $transport */
+    private $transport;
+    /**
+     * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Options\TransportOptions
+     */
+    private $transportConfig;
+    /**
+     * @var string|null
+     */
+    private $versionFile;
+    /**
+     * @var string|null
+     */
+    private $descriptorsConfigPath;
+    /**
+     * @var string|null
+     */
+    private $serviceName;
+    /**
+     * @var string|null
+     */
+    private $libName;
+    /**
+     * @var string|null
+     */
+    private $libVersion;
+    /**
+     * @var string|null
+     */
+    private $gapicVersion;
+    /**
+     * @var \Closure|null
+     */
+    private $clientCertSource;
+    /**
+     * @var string|null
+     */
+    private $universeDomain;
+    /**
+     * @param array $options {
+     *     @type string $apiEndpoint
+     *           The address of the API remote host, for example "example.googleapis.com. May also
+     *           include the port, for example "example.googleapis.com:443"
+     *     @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|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
+     *           The credentials to be used by the client to authorize API calls. This option
+     *           accepts either a path to a credentials file, or a decoded credentials file as a
+     *           PHP array.
+     *           *Advanced usage*: In addition, this option can also accept a pre-constructed
+     *           \Google\Auth\FetchAuthTokenInterface object or \Google\ApiCore\CredentialsWrapper
+     *           object. Note that when one of these objects are provided, any settings in
+     *           $authConfig will be ignored.
+     *     @type array $credentialsConfig
+     *           Options used to configure credentials, including auth token caching, for the client.
+     *           For a full list of supporting configuration options, see
+     *           \Google\ApiCore\CredentialsWrapper::build.
+     *     @type string|TransportInterface|null $transport
+     *           The transport used for executing network requests. May be either the string `rest`,
+     *           `grpc`, or 'grpc-fallback'. Defaults to `grpc` if gRPC support is detected on the system.
+     *           *Advanced usage*: Additionally, it is possible to pass in an already instantiated
+     *           TransportInterface object. Note that when this objects 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' => [...],
+     *               'grpc-fallback' => [...],
+     *           ];
+     *           See the GrpcTransport::build and RestTransport::build
+     *           methods for the supported options.
+     *     @type string $versionFile
+     *           The path to a file which contains the current version of the client.
+     *     @type string $descriptorsConfigPath
+     *           The path to a descriptor configuration file.
+     *     @type string $serviceName
+     *           The name of the service.
+     *     @type string $libName
+     *           The name of the client application.
+     *     @type string $libVersion
+     *           The version of the client application.
+     *     @type string $gapicVersion
+     *           The code generator version of the GAPIC library.
+     *     @type callable $clientCertSource
+     *           A callable which returns the client cert as a string.
+     *     @type string $universeDomain
+     *           The default service domain for a given Cloud universe.
+     * }
+     */
+    public function __construct(array $options)
+    {
+        $this->fromArray($options);
+    }
+    /**
+     * Sets the array of options as class properites.
+     *
+     * @param array $arr See the constructor for the list of supported options.
+     */
+    private function fromArray(array $arr) : void
+    {
+        $this->setApiEndpoint($arr['apiEndpoint'] ?? null);
+        $this->setDisableRetries($arr['disableRetries'] ?? \false);
+        $this->setClientConfig($arr['clientConfig'] ?? []);
+        $this->setCredentials($arr['credentials'] ?? null);
+        $this->setCredentialsConfig($arr['credentialsConfig'] ?? []);
+        $this->setTransport($arr['transport'] ?? null);
+        $this->setTransportConfig(new TransportOptions($arr['transportConfig'] ?? []));
+        $this->setVersionFile($arr['versionFile'] ?? null);
+        $this->setDescriptorsConfigPath($arr['descriptorsConfigPath'] ?? null);
+        $this->setServiceName($arr['serviceName'] ?? null);
+        $this->setLibName($arr['libName'] ?? null);
+        $this->setLibVersion($arr['libVersion'] ?? null);
+        $this->setGapicVersion($arr['gapicVersion'] ?? null);
+        $this->setClientCertSource($arr['clientCertSource'] ?? null);
+        $this->setUniverseDomain($arr['universeDomain'] ?? null);
+    }
+    /**
+     * @param ?string $apiEndpoint
+     */
+    public function setApiEndpoint(?string $apiEndpoint) : void
+    {
+        $this->apiEndpoint = $apiEndpoint;
+    }
+    /**
+     * @param bool $disableRetries
+     */
+    public function setDisableRetries(bool $disableRetries) : void
+    {
+        $this->disableRetries = $disableRetries;
+    }
+    /**
+     * @param string|array $clientConfig
+     * @throws InvalidArgumentException
+     */
+    public function setClientConfig($clientConfig) : void
+    {
+        if (is_string($clientConfig)) {
+            $this->clientConfig = json_decode(file_get_contents($clientConfig), \true);
+        } elseif (is_array($clientConfig)) {
+            $this->clientConfig = $clientConfig;
+        } else {
+            throw new InvalidArgumentException('Invalid client config');
+        }
+    }
+    /**
+     * @param string|array|FetchAuthTokenInterface|CredentialsWrapper|null $credentials
+     */
+    public function setCredentials($credentials) : void
+    {
+        $this->credentials = $credentials;
+    }
+    /**
+     * @param array $credentialsConfig
+     */
+    public function setCredentialsConfig(array $credentialsConfig) : void
+    {
+        $this->credentialsConfig = $credentialsConfig;
+    }
+    /**
+     * @param string|TransportInterface|null $transport
+     */
+    public function setTransport($transport) : void
+    {
+        $this->transport = $transport;
+    }
+    /**
+     * @param TransportOptions $transportConfig
+     */
+    public function setTransportConfig(TransportOptions $transportConfig) : void
+    {
+        $this->transportConfig = $transportConfig;
+    }
+    /**
+     * @param ?string $versionFile
+     */
+    public function setVersionFile(?string $versionFile) : void
+    {
+        $this->versionFile = $versionFile;
+    }
+    /**
+     * @param ?string $descriptorsConfigPath
+     */
+    private function setDescriptorsConfigPath(?string $descriptorsConfigPath)
+    {
+        if (!is_null($descriptorsConfigPath)) {
+            self::validateFileExists($descriptorsConfigPath);
+        }
+        $this->descriptorsConfigPath = $descriptorsConfigPath;
+    }
+    /**
+     * @param ?string $serviceName
+     */
+    public function setServiceName(?string $serviceName) : void
+    {
+        $this->serviceName = $serviceName;
+    }
+    /**
+     * @param ?string $libName
+     */
+    public function setLibName(?string $libName) : void
+    {
+        $this->libName = $libName;
+    }
+    /**
+     * @param ?string $libVersion
+     */
+    public function setLibVersion(?string $libVersion) : void
+    {
+        $this->libVersion = $libVersion;
+    }
+    /**
+     * @param ?string $gapicVersion
+     */
+    public function setGapicVersion(?string $gapicVersion) : void
+    {
+        $this->gapicVersion = $gapicVersion;
+    }
+    /**
+     * @param ?callable $clientCertSource
+     */
+    public function setClientCertSource(?callable $clientCertSource)
+    {
+        if (!is_null($clientCertSource)) {
+            $clientCertSource = Closure::fromCallable($clientCertSource);
+        }
+        $this->clientCertSource = $clientCertSource;
+    }
+    /**
+     * @param string $universeDomain
+     */
+    public function setUniverseDomain(?string $universeDomain)
+    {
+        $this->universeDomain = $universeDomain;
+    }
+}
diff --git a/vendor/prefixed/google/gax/src/Options/OptionsTrait.php b/vendor/prefixed/google/gax/src/Options/OptionsTrait.php
new file mode 100644
index 000000000..370241645
--- /dev/null
+++ b/vendor/prefixed/google/gax/src/Options/OptionsTrait.php
@@ -0,0 +1,84 @@
+{$offset});
+    }
+    #[\ReturnTypeWillChange]
+    public function offsetGet($offset)
+    {
+        return $this->{$offset};
+    }
+    /**
+     * @throws BadMethodCallException
+     */
+    public function offsetSet($offset, $value) : void
+    {
+        throw new BadMethodCallException('Cannot set options through array access. Use the setters instead');
+    }
+    /**
+     * @throws BadMethodCallException
+     */
+    public function offsetUnset($offset) : void
+    {
+        throw new BadMethodCallException('Cannot unset options through array access. Use the setters instead');
+    }
+    public function toArray() : array
+    {
+        $arr = [];
+        foreach (get_object_vars($this) as $key => $value) {
+            $arr[$key] = $value;
+        }
+        return $arr;
+    }
+}
diff --git a/vendor/prefixed/google/gax/src/Options/TransportOptions.php b/vendor/prefixed/google/gax/src/Options/TransportOptions.php
new file mode 100644
index 000000000..027c9c194
--- /dev/null
+++ b/vendor/prefixed/google/gax/src/Options/TransportOptions.php
@@ -0,0 +1,90 @@
+fromArray($options);
+    }
+    /**
+     * Sets the array of options as class properites.
+     *
+     * @param array $arr See the constructor for the list of supported options.
+     */
+    private function fromArray(array $arr) : void
+    {
+        $this->setGrpc(new GrpcTransportOptions($arr['grpc'] ?? []));
+        $this->setGrpcFallback(new GrpcFallbackTransportOptions($arr['grpc-fallback'] ?? []));
+        $this->setRest(new RestTransportOptions($arr['rest'] ?? []));
+    }
+    public function setGrpc(GrpcTransportOptions $grpc) : void
+    {
+        $this->grpc = $grpc;
+    }
+    public function setGrpcFallback(GrpcFallbackTransportOptions $grpcFallback) : void
+    {
+        $this->grpcFallback = $grpcFallback;
+    }
+    public function setRest(RestTransportOptions $rest) : void
+    {
+        $this->rest = $rest;
+    }
+}
diff --git a/vendor/prefixed/google/gax/src/Options/TransportOptions/GrpcFallbackTransportOptions.php b/vendor/prefixed/google/gax/src/Options/TransportOptions/GrpcFallbackTransportOptions.php
new file mode 100644
index 000000000..fe014ccfa
--- /dev/null
+++ b/vendor/prefixed/google/gax/src/Options/TransportOptions/GrpcFallbackTransportOptions.php
@@ -0,0 +1,94 @@
+fromArray($options);
+    }
+    /**
+     * Sets the array of options as class properites.
+     *
+     * @param array $arr See the constructor for the list of supported options.
+     */
+    private function fromArray(array $arr) : void
+    {
+        $this->setClientCertSource($arr['clientCertSource'] ?? null);
+        $this->setHttpHandler($arr['httpHandler'] ?? null);
+    }
+    public function setHttpHandler(?callable $httpHandler)
+    {
+        if (!is_null($httpHandler)) {
+            $httpHandler = Closure::fromCallable($httpHandler);
+        }
+        $this->httpHandler = $httpHandler;
+    }
+    /**
+     * @param ?callable $clientCertSource
+     */
+    public function setClientCertSource(?callable $clientCertSource)
+    {
+        if (!is_null($clientCertSource)) {
+            $clientCertSource = Closure::fromCallable($clientCertSource);
+        }
+        $this->clientCertSource = $clientCertSource;
+    }
+}
diff --git a/vendor/prefixed/google/gax/src/Options/TransportOptions/GrpcTransportOptions.php b/vendor/prefixed/google/gax/src/Options/TransportOptions/GrpcTransportOptions.php
new file mode 100644
index 000000000..609e642ee
--- /dev/null
+++ b/vendor/prefixed/google/gax/src/Options/TransportOptions/GrpcTransportOptions.php
@@ -0,0 +1,129 @@
+fromArray($options);
+    }
+    /**
+     * Sets the array of options as class properites.
+     *
+     * @param array $arr See the constructor for the list of supported options.
+     */
+    private function fromArray(array $arr) : void
+    {
+        $this->setStubOpts($arr['stubOpts'] ?? []);
+        $this->setChannel($arr['channel'] ?? null);
+        $this->setInterceptors($arr['interceptors'] ?? []);
+        $this->setClientCertSource($arr['clientCertSource'] ?? null);
+    }
+    /**
+     * @param array $stubOpts
+     */
+    public function setStubOpts(array $stubOpts)
+    {
+        $this->stubOpts = $stubOpts;
+    }
+    /**
+     * @param ?Channel $channel
+     */
+    public function setChannel(?Channel $channel)
+    {
+        $this->channel = $channel;
+    }
+    /**
+     * @param Interceptor[]|UnaryInterceptorInterface[] $interceptors
+     */
+    public function setInterceptors(array $interceptors)
+    {
+        $this->interceptors = $interceptors;
+    }
+    /**
+     * @param ?callable $clientCertSource
+     */
+    public function setClientCertSource(?callable $clientCertSource)
+    {
+        if (!is_null($clientCertSource)) {
+            $clientCertSource = Closure::fromCallable($clientCertSource);
+        }
+        $this->clientCertSource = $clientCertSource;
+    }
+}
diff --git a/vendor/prefixed/google/gax/src/Options/TransportOptions/RestTransportOptions.php b/vendor/prefixed/google/gax/src/Options/TransportOptions/RestTransportOptions.php
new file mode 100644
index 000000000..a3693fabc
--- /dev/null
+++ b/vendor/prefixed/google/gax/src/Options/TransportOptions/RestTransportOptions.php
@@ -0,0 +1,111 @@
+fromArray($options);
+    }
+    /**
+     * Sets the array of options as class properites.
+     *
+     * @param array $arr See the constructor for the list of supported options.
+     */
+    private function fromArray(array $arr) : void
+    {
+        $this->setHttpHandler($arr['httpHandler'] ?? null);
+        $this->setClientCertSource($arr['clientCertSource'] ?? null);
+        $this->setRestClientConfigPath($arr['restClientConfigPath'] ?? null);
+    }
+    /**
+     * @param ?callable $httpHandler
+     */
+    public function setHttpHandler(?callable $httpHandler)
+    {
+        if (!is_null($httpHandler)) {
+            $httpHandler = Closure::fromCallable($httpHandler);
+        }
+        $this->httpHandler = $httpHandler;
+    }
+    /**
+     * @param ?callable $clientCertSource
+     */
+    public function setClientCertSource(?callable $clientCertSource)
+    {
+        if (!is_null($clientCertSource)) {
+            $clientCertSource = Closure::fromCallable($clientCertSource);
+        }
+        $this->clientCertSource = $clientCertSource;
+    }
+    /**
+     * @param ?string $restClientConfigPath
+     */
+    public function setRestClientConfigPath(?string $restClientConfigPath)
+    {
+        $this->restClientConfigPath = $restClientConfigPath;
+    }
+}
diff --git a/vendor/prefixed/google/gax/src/Page.php b/vendor/prefixed/google/gax/src/Page.php
index e12a4eeb7..7883e5fef 100644
--- a/vendor/prefixed/google/gax/src/Page.php
+++ b/vendor/prefixed/google/gax/src/Page.php
@@ -98,7 +98,7 @@ public function getNextPageToken()
      * @throws ApiException if the call to fetch the next page fails.
      * @return Page
      */
-    public function getNextPage($pageSize = null)
+    public function getNextPage(int $pageSize = null)
     {
         if (!$this->hasNextPage()) {
             throw new ValidationException('Could not complete getNextPage operation: ' . 'there are no more pages to retrieve.');
diff --git a/vendor/prefixed/google/gax/src/PageStreamingDescriptor.php b/vendor/prefixed/google/gax/src/PageStreamingDescriptor.php
index 0d55a46b4..3c8b0ccce 100644
--- a/vendor/prefixed/google/gax/src/PageStreamingDescriptor.php
+++ b/vendor/prefixed/google/gax/src/PageStreamingDescriptor.php
@@ -51,7 +51,7 @@ class PageStreamingDescriptor
      *     @type string $requestPageSizeGetMethod the get method for the page size in the request object.
      * }
      */
-    public function __construct($descriptor)
+    public function __construct(array $descriptor)
     {
         self::validate($descriptor);
         $this->descriptor = $descriptor;
@@ -69,7 +69,7 @@ public function __construct($descriptor)
      * }
      * @return PageStreamingDescriptor
      */
-    public static function createFromFields($fields)
+    public static function createFromFields(array $fields)
     {
         $requestPageToken = $fields['requestPageTokenField'];
         $responsePageToken = $fields['responsePageTokenField'];
@@ -82,11 +82,11 @@ public static function createFromFields($fields)
         }
         return new PageStreamingDescriptor($descriptor);
     }
-    private static function getMethod($field)
+    private static function getMethod(string $field)
     {
         return 'get' . ucfirst($field);
     }
-    private static function setMethod($field)
+    private static function setMethod(string $field)
     {
         return 'set' . ucfirst($field);
     }
@@ -139,7 +139,7 @@ public function getRequestPageSizeSetMethod()
     {
         return $this->descriptor['requestPageSizeSetMethod'];
     }
-    private static function validate($descriptor)
+    private static function validate(array $descriptor)
     {
         $requiredFields = ['requestPageTokenGetMethod', 'requestPageTokenSetMethod', 'responsePageTokenGetMethod', 'resourcesGetMethod'];
         foreach ($requiredFields as $field) {
diff --git a/vendor/prefixed/google/gax/src/PagedListResponse.php b/vendor/prefixed/google/gax/src/PagedListResponse.php
index e4ab5bb94..a301cd832 100644
--- a/vendor/prefixed/google/gax/src/PagedListResponse.php
+++ b/vendor/prefixed/google/gax/src/PagedListResponse.php
@@ -161,7 +161,7 @@ public function iteratePages()
      * @throws ValidationException if a FixedSizeCollection of the specified size cannot be constructed
      * @return FixedSizeCollection
      */
-    public function expandToFixedSizeCollection($collectionSize)
+    public function expandToFixedSizeCollection(int $collectionSize)
     {
         return $this->getPage()->expandToFixedSizeCollection($collectionSize);
     }
@@ -182,7 +182,7 @@ public function expandToFixedSizeCollection($collectionSize)
      * @throws ValidationException if a FixedSizeCollection of the specified size cannot be constructed
      * @return Generator|FixedSizeCollection[]
      */
-    public function iterateFixedSizeCollections($collectionSize)
+    public function iterateFixedSizeCollections(int $collectionSize)
     {
         return $this->expandToFixedSizeCollection($collectionSize)->iterateCollections();
     }
diff --git a/vendor/prefixed/google/gax/src/PathTemplate.php b/vendor/prefixed/google/gax/src/PathTemplate.php
index 982e15a6f..ca1559d36 100644
--- a/vendor/prefixed/google/gax/src/PathTemplate.php
+++ b/vendor/prefixed/google/gax/src/PathTemplate.php
@@ -52,7 +52,7 @@ class PathTemplate implements ResourceTemplateInterface
      * @param string $path A path template string
      * @throws ValidationException When $path cannot be parsed into a valid PathTemplate
      */
-    public function __construct($path)
+    public function __construct(string $path = null)
     {
         if (empty($path)) {
             throw new ValidationException('Cannot construct PathTemplate from empty string');
@@ -88,7 +88,7 @@ public function render(array $bindings)
      * @param string $path A resource string.
      * @return bool
      */
-    public function matches($path)
+    public function matches(string $path)
     {
         return $this->resourceTemplate->matches($path);
     }
@@ -99,7 +99,7 @@ public function matches($path)
      * @throws ValidationException if path can't be matched to the template.
      * @return array Array matching var names to binding values.
      */
-    public function match($path)
+    public function match(string $path)
     {
         return $this->resourceTemplate->match($path);
     }
diff --git a/vendor/prefixed/google/gax/src/PollingTrait.php b/vendor/prefixed/google/gax/src/PollingTrait.php
index 7ced30c42..ef10f79df 100644
--- a/vendor/prefixed/google/gax/src/PollingTrait.php
+++ b/vendor/prefixed/google/gax/src/PollingTrait.php
@@ -32,6 +32,9 @@
  */
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore;
 
+/**
+ * @internal
+ */
 trait PollingTrait
 {
     /**
@@ -63,7 +66,7 @@ private function poll(callable $pollCallable, array $options)
             if ($pollCallable()) {
                 return \true;
             }
-            $currentPollDelayMillis = min([$currentPollDelayMillis * $pollDelayMultiplier, $maxPollDelayMillis]);
+            $currentPollDelayMillis = (int) min([$currentPollDelayMillis * $pollDelayMultiplier, $maxPollDelayMillis]);
         }
     }
     /**
@@ -80,7 +83,7 @@ protected function getCurrentTimeMillis()
      *
      * @param int $millis
      */
-    protected function sleepMillis($millis)
+    protected function sleepMillis(int $millis)
     {
         usleep($millis * 1000);
     }
diff --git a/vendor/prefixed/google/gax/src/RequestBuilder.php b/vendor/prefixed/google/gax/src/RequestBuilder.php
index 03980fe7c..22f0f0144 100644
--- a/vendor/prefixed/google/gax/src/RequestBuilder.php
+++ b/vendor/prefixed/google/gax/src/RequestBuilder.php
@@ -55,7 +55,7 @@ class RequestBuilder
      * @param string $restConfigPath
      * @throws ValidationException
      */
-    public function __construct($baseUri, $restConfigPath)
+    public function __construct(string $baseUri, string $restConfigPath)
     {
         self::validateFileExists($restConfigPath);
         $this->baseUri = $baseUri;
@@ -65,7 +65,7 @@ public function __construct($baseUri, $restConfigPath)
      * @param string $path
      * @return bool
      */
-    public function pathExists($path)
+    public function pathExists(string $path)
     {
         list($interface, $method) = explode('/', $path);
         return isset($this->restConfig['interfaces'][$interface][$method]);
@@ -77,7 +77,7 @@ public function pathExists($path)
      * @return RequestInterface
      * @throws ValidationException
      */
-    public function build($path, Message $message, array $headers = [])
+    public function build(string $path, Message $message, array $headers = [])
     {
         list($interface, $method) = explode('/', $path);
         if (!isset($this->restConfig['interfaces'][$interface][$method])) {
@@ -113,7 +113,7 @@ public function build($path, Message $message, array $headers = [])
      * @param array $config
      * @return array[] An array of configs
      */
-    private function getConfigsForUriTemplates($config)
+    private function getConfigsForUriTemplates(array $config)
     {
         $configs = [$config];
         if ($config['additionalBindings']) {
@@ -128,7 +128,7 @@ private function getConfigsForUriTemplates($config)
      * @param array $config
      * @return array Tuple [$body, $queryParams]
      */
-    private function constructBodyAndQueryParameters(Message $message, $config)
+    private function constructBodyAndQueryParameters(Message $message, array $config)
     {
         $messageDataJson = $message->serializeToJsonString();
         if ($config['body'] === '*') {
@@ -164,7 +164,20 @@ private function constructBodyAndQueryParameters(Message $message, $config)
                 $requiredQueryParam = Serializer::toCamelCase($requiredQueryParam);
                 if (!array_key_exists($requiredQueryParam, $queryParams)) {
                     $getter = Serializer::getGetter($requiredQueryParam);
-                    $queryParams[$requiredQueryParam] = $message->{$getter}();
+                    $queryParamValue = $message->{$getter}();
+                    if ($queryParamValue instanceof Message) {
+                        // Decode message for the query parameter.
+                        $queryParamValue = json_decode($queryParamValue->serializeToJsonString(), \true);
+                    }
+                    if (is_array($queryParamValue)) {
+                        // If the message has properties, add them as nested querystring values.
+                        // NOTE: This only supports nesting at one level of depth.
+                        foreach ($queryParamValue as $key => $value) {
+                            $queryParams[$requiredQueryParam . '.' . $key] = $value;
+                        }
+                    } else {
+                        $queryParams[$requiredQueryParam] = $queryParamValue;
+                    }
                 }
             }
         }
@@ -196,7 +209,7 @@ private function buildBindings(array $placeholders, Message $message)
      * @return null|string
      * @throws ValidationException
      */
-    private function tryRenderPathTemplate($uriTemplate, array $bindings)
+    private function tryRenderPathTemplate(string $uriTemplate, array $bindings)
     {
         $template = new AbsoluteResourceTemplate($uriTemplate);
         try {
@@ -210,7 +223,7 @@ private function tryRenderPathTemplate($uriTemplate, array $bindings)
      * @param array $queryParams
      * @return UriInterface
      */
-    private function buildUri($path, $queryParams)
+    private function buildUri(string $path, array $queryParams)
     {
         $uri = Utils::uriFor(sprintf('https://%s%s', $this->baseUri, $path));
         if ($queryParams) {
diff --git a/vendor/prefixed/google/gax/src/RequestParamsHeaderDescriptor.php b/vendor/prefixed/google/gax/src/RequestParamsHeaderDescriptor.php
index 6b59420d7..93a8bc505 100644
--- a/vendor/prefixed/google/gax/src/RequestParamsHeaderDescriptor.php
+++ b/vendor/prefixed/google/gax/src/RequestParamsHeaderDescriptor.php
@@ -48,7 +48,7 @@ class RequestParamsHeaderDescriptor
      * @param array $requestParams An associative array which contains request params header data in
      * a form ['field_name.subfield_name' => value].
      */
-    public function __construct($requestParams)
+    public function __construct(array $requestParams)
     {
         $headerKey = self::HEADER_KEY;
         $headerValue = '';
diff --git a/vendor/prefixed/google/gax/src/ResourceHelperTrait.php b/vendor/prefixed/google/gax/src/ResourceHelperTrait.php
new file mode 100644
index 000000000..b980400ec
--- /dev/null
+++ b/vendor/prefixed/google/gax/src/ResourceHelperTrait.php
@@ -0,0 +1,100 @@
+ $template) {
+            self::$templateMap[$name] = new PathTemplate($template);
+        }
+    }
+    private static function getPathTemplate(string $key)
+    {
+        // TODO: Add nullable return type reference once PHP 7.1 is minimum.
+        if (is_null(self::$templateMap)) {
+            self::registerPathTemplates();
+        }
+        return self::$templateMap[$key] ?? null;
+    }
+    private static function parseFormattedName(string $formattedName, string $template = null) : array
+    {
+        if (is_null(self::$templateMap)) {
+            self::registerPathTemplates();
+        }
+        if ($template) {
+            if (!isset(self::$templateMap[$template])) {
+                throw new ValidationException("Template name {$template} does not exist");
+            }
+            return self::$templateMap[$template]->match($formattedName);
+        }
+        foreach (self::$templateMap as $templateName => $pathTemplate) {
+            try {
+                return $pathTemplate->match($formattedName);
+            } catch (ValidationException $ex) {
+                // Swallow the exception to continue trying other path templates
+            }
+        }
+        throw new ValidationException("Input did not match any known format. Input: {$formattedName}");
+    }
+}
diff --git a/vendor/prefixed/google/gax/src/ResourceTemplate/AbsoluteResourceTemplate.php b/vendor/prefixed/google/gax/src/ResourceTemplate/AbsoluteResourceTemplate.php
index f3c532e12..d84ed29d7 100644
--- a/vendor/prefixed/google/gax/src/ResourceTemplate/AbsoluteResourceTemplate.php
+++ b/vendor/prefixed/google/gax/src/ResourceTemplate/AbsoluteResourceTemplate.php
@@ -47,22 +47,26 @@
  * for details. A template consists of a sequence of literals, wildcards, and variable bindings,
  * where each binding can have a sub-path. A string representation can be parsed into an
  * instance of AbsoluteResourceTemplate, which can then be used to perform matching and instantiation.
+ *
+ * @internal
  */
 class AbsoluteResourceTemplate implements ResourceTemplateInterface
 {
-    /** @var RelativeResourceTemplate */
+    /**
+     * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\ResourceTemplate\RelativeResourceTemplate
+     */
     private $resourceTemplate;
-    /** @var string */
+    /** @var string|bool */
     private $verb;
     /**
      * AbsoluteResourceTemplate constructor.
      * @param string $path
      * @throws ValidationException
      */
-    public function __construct($path)
+    public function __construct(string $path)
     {
         if (empty($path)) {
-            throw new ValidationException("Cannot construct AbsoluteResourceTemplate from empty string");
+            throw new ValidationException('Cannot construct AbsoluteResourceTemplate from empty string');
         }
         if ($path[0] !== '/') {
             throw new ValidationException("Could not construct AbsoluteResourceTemplate from '{$path}': must begin with '/'");
@@ -88,7 +92,7 @@ public function render(array $bindings)
     /**
      * @inheritdoc
      */
-    public function matches($path)
+    public function matches(string $path)
     {
         try {
             $this->match($path);
@@ -100,7 +104,7 @@ public function matches($path)
     /**
      * @inheritdoc
      */
-    public function match($path)
+    public function match(string $path)
     {
         if (empty($path)) {
             throw $this->matchException($path, "path cannot be empty");
@@ -114,7 +118,7 @@ public function match($path)
         }
         return $this->resourceTemplate->match(substr($path, 1, $verbSeparatorPos - 1));
     }
-    private function matchException($path, $reason)
+    private function matchException(string $path, string $reason)
     {
         return new ValidationException("Could not match path '{$path}' to template '{$this}': {$reason}");
     }
@@ -122,7 +126,7 @@ private function renderVerb()
     {
         return $this->verb ? ':' . $this->verb : '';
     }
-    private function verbSeparatorPos($path)
+    private function verbSeparatorPos(string $path)
     {
         $finalSeparatorPos = strrpos($path, '/');
         $verbSeparatorPos = strrpos($path, ':', $finalSeparatorPos);
diff --git a/vendor/prefixed/google/gax/src/ResourceTemplate/Parser.php b/vendor/prefixed/google/gax/src/ResourceTemplate/Parser.php
index ec193d5a5..024eafe9a 100644
--- a/vendor/prefixed/google/gax/src/ResourceTemplate/Parser.php
+++ b/vendor/prefixed/google/gax/src/ResourceTemplate/Parser.php
@@ -35,17 +35,19 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\ValidationException;
 /**
  * Collection of methods for parsing Segments.
+ *
+ * @internal
  */
 class Parser
 {
     /**
      * Parses a path into an array of segments.
      *
-     * @param string $path
+     * @param string|null $path
      * @return array
      * @throws ValidationException
      */
-    public static function parseSegments($path)
+    public static function parseSegments(string $path = null)
     {
         if (empty($path)) {
             throw new ValidationException("Cannot parse empty path");
@@ -70,7 +72,7 @@ public static function parseSegments($path)
      * @return Segment
      * @throws ValidationException
      */
-    private static function parseSegmentFromPath($path, &$nextLiteral, &$index)
+    private static function parseSegmentFromPath(string $path, string &$nextLiteral, int &$index)
     {
         if ($index >= strlen($path)) {
             // A trailing '/' has caused the index to exceed the bounds
@@ -121,7 +123,7 @@ private static function parseSegmentFromPath($path, &$nextLiteral, &$index)
      * @return Segment
      * @throws ValidationException
      */
-    private static function parse($segmentString, $path, $index)
+    private static function parse(string $segmentString, string $path, int $index)
     {
         if ($segmentString === '*') {
             return new Segment(Segment::WILDCARD_SEGMENT);
@@ -145,7 +147,7 @@ private static function parse($segmentString, $path, $index)
      * @return Segment
      * @throws ValidationException
      */
-    private static function parseVariableSegment($segmentStringWithoutBraces, $separatorLiteral)
+    private static function parseVariableSegment(string $segmentStringWithoutBraces, string $separatorLiteral)
     {
         // Validate there are no nested braces
         $nestedOpenBracket = strpos($segmentStringWithoutBraces, '{');
@@ -174,7 +176,7 @@ private static function parseVariableSegment($segmentStringWithoutBraces, $separ
      * @return string
      * @throws ValidationException
      */
-    private static function parseLiteralFromPath($literal, $path, &$index)
+    private static function parseLiteralFromPath(string $literal, string $path, int &$index)
     {
         $literalLength = strlen($literal);
         if (strlen($path) < $index + $literalLength) {
@@ -187,7 +189,7 @@ private static function parseLiteralFromPath($literal, $path, &$index)
         $index += $literalLength;
         return $consumedLiteral;
     }
-    private static function parseError($path, $index, $reason)
+    private static function parseError(string $path, int $index, string $reason)
     {
         return new ValidationException("Error parsing '{$path}' at index {$index}: {$reason}");
     }
@@ -198,7 +200,7 @@ private static function parseError($path, $index, $reason)
      * @param string $literal
      * @return bool
      */
-    private static function isValidLiteral($literal)
+    private static function isValidLiteral(string $literal)
     {
         return preg_match("/^[0-9a-zA-Z\\.\\-~_]+\$/", $literal) === 1;
     }
diff --git a/vendor/prefixed/google/gax/src/ResourceTemplate/RelativeResourceTemplate.php b/vendor/prefixed/google/gax/src/ResourceTemplate/RelativeResourceTemplate.php
index d27911505..46b22912f 100644
--- a/vendor/prefixed/google/gax/src/ResourceTemplate/RelativeResourceTemplate.php
+++ b/vendor/prefixed/google/gax/src/ResourceTemplate/RelativeResourceTemplate.php
@@ -47,10 +47,12 @@
  * for details. A template consists of a sequence of literals, wildcards, and variable bindings,
  * where each binding can have a sub-path. A string representation can be parsed into an
  * instance of AbsoluteResourceTemplate, which can then be used to perform matching and instantiation.
+ *
+ * @internal
  */
 class RelativeResourceTemplate implements ResourceTemplateInterface
 {
-    /** @var Segment[] $segments */
+    /** @var Segment[] */
     private $segments;
     /**
      * RelativeResourceTemplate constructor.
@@ -58,11 +60,10 @@ class RelativeResourceTemplate implements ResourceTemplateInterface
      * @param string $path
      * @throws ValidationException
      */
-    public function __construct($path)
+    public function __construct(string $path)
     {
         if (empty($path)) {
-            $msg = sprintf("Cannot construct RelativeResourceTemplate from %s string", is_null($path) ? "null" : "empty");
-            throw new ValidationException($msg);
+            throw new ValidationException('Cannot construct RelativeResourceTemplate from empty string');
         }
         $this->segments = Parser::parseSegments($path);
         $doubleWildcardCount = self::countDoubleWildcards($this->segments);
@@ -104,7 +105,7 @@ public function render(array $bindings)
                 throw $this->renderingException($bindings, "missing required binding '{$key}' for segment '{$segment}'");
             }
             $value = $bindings[$key];
-            if ($segment->matches($value)) {
+            if (!is_null($value) && $segment->matches($value)) {
                 $literalSegments[] = new Segment(Segment::LITERAL_SEGMENT, $value, $segment->getValue(), $segment->getTemplate(), $segment->getSeparator());
             } else {
                 $valueString = is_null($value) ? "null" : "'{$value}'";
@@ -116,7 +117,7 @@ public function render(array $bindings)
     /**
      * @inheritdoc
      */
-    public function matches($path)
+    public function matches(string $path)
     {
         try {
             $this->match($path);
@@ -128,7 +129,7 @@ public function matches($path)
     /**
      * @inheritdoc
      */
-    public function match($path)
+    public function match(string $path)
     {
         // High level strategy for matching:
         // - Build a list of Segments from our template, where any variable segments are
@@ -230,11 +231,11 @@ public function match($path)
         }
         return $collapsedBindings;
     }
-    private function matchException($path, $reason)
+    private function matchException(string $path, string $reason)
     {
         return new ValidationException("Could not match path '{$path}' to template '{$this}': {$reason}");
     }
-    private function renderingException($bindings, $reason)
+    private function renderingException(array $bindings, string $reason)
     {
         $bindingsString = print_r($bindings, \true);
         return new ValidationException("Error rendering '{$this}': {$reason}\n" . "Provided bindings: {$bindingsString}");
@@ -244,7 +245,7 @@ private function renderingException($bindings, $reason)
      * @param string|null $separator An optional string separator
      * @return array[] A list of [string, Segment] tuples
      */
-    private static function buildKeySegmentTuples(array $segments, $separator = null)
+    private static function buildKeySegmentTuples(array $segments, string $separator = null)
     {
         $keySegmentTuples = [];
         $positionalArgumentCounter = 0;
@@ -320,7 +321,7 @@ private static function countDoubleWildcards(array $segments)
      * @param array $segmentsToRender
      * @return string
      */
-    private static function renderSegments($segmentsToRender)
+    private static function renderSegments(array $segmentsToRender)
     {
         $renderResult = "";
         for ($i = 0; $i < count($segmentsToRender); $i++) {
diff --git a/vendor/prefixed/google/gax/src/ResourceTemplate/ResourceTemplateInterface.php b/vendor/prefixed/google/gax/src/ResourceTemplate/ResourceTemplateInterface.php
index 265da5fda..0ec32bb20 100644
--- a/vendor/prefixed/google/gax/src/ResourceTemplate/ResourceTemplateInterface.php
+++ b/vendor/prefixed/google/gax/src/ResourceTemplate/ResourceTemplateInterface.php
@@ -49,6 +49,8 @@
  * for details. A template consists of a sequence of literals, wildcards, and variable bindings,
  * where each binding can have a sub-path. A string representation can be parsed into an
  * instance of AbsoluteResourceTemplate, which can then be used to perform matching and instantiation.
+ *
+ * @internal
  */
 interface ResourceTemplateInterface
 {
@@ -71,7 +73,7 @@ public function render(array $bindings);
      * @param string $path A resource string.
      * @return bool
      */
-    public function matches($path);
+    public function matches(string $path);
     /**
      * Matches a given $path to a resource template, and returns an array of bindings between
      * wildcards / variables in the template and values in the path. If $path does not match the
@@ -81,5 +83,5 @@ public function matches($path);
      * @throws ValidationException if path can't be matched to the template.
      * @return array Array matching var names to binding values.
      */
-    public function match($path);
+    public function match(string $path);
 }
diff --git a/vendor/prefixed/google/gax/src/ResourceTemplate/Segment.php b/vendor/prefixed/google/gax/src/ResourceTemplate/Segment.php
index eb0e6d360..aa6c28725 100644
--- a/vendor/prefixed/google/gax/src/ResourceTemplate/Segment.php
+++ b/vendor/prefixed/google/gax/src/ResourceTemplate/Segment.php
@@ -36,6 +36,7 @@
 /**
  * Represents a segment in a resource template. This is used internally by RelativeResourceTemplate,
  * but is not intended for public use and may change without notice.
+ *
  * @internal
  */
 class Segment
@@ -44,17 +45,29 @@ class Segment
     const WILDCARD_SEGMENT = 1;
     const DOUBLE_WILDCARD_SEGMENT = 2;
     const VARIABLE_SEGMENT = 3;
-    /** @var int */
+    /**
+     * @var int
+     */
     private $segmentType;
-    /** @var string|null */
+    /**
+     * @var string|null
+     */
     private $value;
-    /** @var string|null */
+    /**
+     * @var string|null
+     */
     private $key;
-    /** @var RelativeResourceTemplate|null */
+    /**
+     * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\ResourceTemplate\RelativeResourceTemplate|null
+     */
     private $template;
-    /** @var string */
+    /**
+     * @var string|null
+     */
     private $stringRepr;
-    /** @var string */
+    /**
+     * @var string|null
+     */
     private $separator;
     /**
      * Segment constructor.
@@ -65,7 +78,7 @@ class Segment
      * @param string $separator The separator that belongs at the end of a segment. Ending segments should use '/'.
      * @throws ValidationException
      */
-    public function __construct($segmentType, $value = null, $key = null, RelativeResourceTemplate $template = null, $separator = '/')
+    public function __construct(int $segmentType, string $value = null, string $key = null, RelativeResourceTemplate $template = null, string $separator = '/')
     {
         $this->segmentType = $segmentType;
         $this->value = $value;
@@ -103,7 +116,7 @@ public function __toString()
      * @return bool
      * @throws ValidationException
      */
-    public function matches($value)
+    public function matches(string $value)
     {
         switch ($this->segmentType) {
             case Segment::LITERAL_SEGMENT:
@@ -160,7 +173,7 @@ public function getSeparator()
      * @param string $binding
      * @return bool
      */
-    private static function isValidBinding($binding)
+    private static function isValidBinding(string $binding)
     {
         return preg_match("-^[^/]+\$-", $binding) === 1;
     }
@@ -171,7 +184,7 @@ private static function isValidBinding($binding)
      * @param string $binding
      * @return bool
      */
-    private static function isValidDoubleWildcardBinding($binding)
+    private static function isValidDoubleWildcardBinding(string $binding)
     {
         return preg_match("-^.+\$-", $binding) === 1;
     }
diff --git a/vendor/prefixed/google/gax/src/RetrySettings.php b/vendor/prefixed/google/gax/src/RetrySettings.php
index 589537465..2fec15cd6 100644
--- a/vendor/prefixed/google/gax/src/RetrySettings.php
+++ b/vendor/prefixed/google/gax/src/RetrySettings.php
@@ -32,6 +32,7 @@
  */
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore;
 
+use Closure;
 /**
  * The RetrySettings class is used to configure retrying and timeouts for RPCs.
  * This class can be passed as an optional parameter to RPC methods, or as part
@@ -203,6 +204,7 @@
 class RetrySettings
 {
     use ValidationTrait;
+    const DEFAULT_MAX_RETRIES = 0;
     private $retriesEnabled;
     private $retryableCodes;
     private $initialRetryDelayMillis;
@@ -213,6 +215,20 @@ class RetrySettings
     private $maxRpcTimeoutMillis;
     private $totalTimeoutMillis;
     private $noRetriesRpcTimeoutMillis;
+    /**
+     * The number of maximum retries an operation can do.
+     * This doesn't include the original API call.
+     * Setting this to 0 means no limit.
+     * @var int
+     */
+    private $maxRetries;
+    /**
+     * When set, this function will be used to evaluate if the retry should
+     * take place or not. The callable will have the following signature:
+     * function (Exception $e, array $options): bool
+     * @var \Closure|null
+     */
+    private $retryFunction;
     /**
      * Constructs an instance.
      *
@@ -221,22 +237,28 @@ class RetrySettings
      *     $retriesEnabled and $noRetriesRpcTimeoutMillis, which are optional and have defaults
      *     determined based on the other settings provided.
      *
-     *     @type bool    $retriesEnabled Optional. Enables retries. If not specified, the value is
-     *                   determined using the $retryableCodes setting. If $retryableCodes is empty,
-     *                   then $retriesEnabled is set to false; otherwise, it is set to true.
-     *     @type int     $noRetriesRpcTimeoutMillis Optional. The timeout of the rpc call to be used
-     *                   if $retriesEnabled is false, in milliseconds. It not specified, the value
-     *                   of $initialRpcTimeoutMillis is used.
-     *     @type array   $retryableCodes The Status codes that are retryable. Each status should be
-     *                   either one of the string constants defined on {@see \Google\ApiCore\ApiStatus}
-     *                   or an integer constant defined on {@see \Google\Rpc\Code}.
-     *     @type int     $initialRetryDelayMillis The initial delay of retry in milliseconds.
-     *     @type int     $retryDelayMultiplier The exponential multiplier of retry delay.
-     *     @type int     $maxRetryDelayMillis The max delay of retry in milliseconds.
-     *     @type int     $initialRpcTimeoutMillis The initial timeout of rpc call in milliseconds.
-     *     @type int     $rpcTimeoutMultiplier The exponential multiplier of rpc timeout.
-     *     @type int     $maxRpcTimeoutMillis The max timeout of rpc call in milliseconds.
-     *     @type int     $totalTimeoutMillis The max accumulative timeout in total.
+     *     @type bool     $retriesEnabled Optional. Enables retries. If not specified, the value is
+     *                    determined using the $retryableCodes setting. If $retryableCodes is empty,
+     *                    then $retriesEnabled is set to false; otherwise, it is set to true.
+     *     @type int      $noRetriesRpcTimeoutMillis Optional. The timeout of the rpc call to be used
+     *                    if $retriesEnabled is false, in milliseconds. It not specified, the value
+     *                    of $initialRpcTimeoutMillis is used.
+     *     @type array    $retryableCodes The Status codes that are retryable. Each status should be
+     *                    either one of the string constants defined on {@see \Google\ApiCore\ApiStatus}
+     *                    or an integer constant defined on {@see \Google\Rpc\Code}.
+     *     @type int      $initialRetryDelayMillis The initial delay of retry in milliseconds.
+     *     @type int      $retryDelayMultiplier The exponential multiplier of retry delay.
+     *     @type int      $maxRetryDelayMillis The max delay of retry in milliseconds.
+     *     @type int      $initialRpcTimeoutMillis The initial timeout of rpc call in milliseconds.
+     *     @type int      $rpcTimeoutMultiplier The exponential multiplier of rpc timeout.
+     *     @type int      $maxRpcTimeoutMillis The max timeout of rpc call in milliseconds.
+     *     @type int      $totalTimeoutMillis The max accumulative timeout in total.
+     *     @type int      $maxRetries The max retries allowed for an operation.
+     *                    Defaults to the value of the DEFAULT_MAX_RETRIES constant.
+     *                    This option is experimental.
+     *     @type callable $retryFunction This function will be used to decide if we should retry or not.
+     *                    Callable signature: `function (Exception $e, array $options): bool`
+     *                    This option is experimental.
      * }
      */
     public function __construct(array $settings)
@@ -252,6 +274,8 @@ public function __construct(array $settings)
         $this->retryableCodes = $settings['retryableCodes'];
         $this->retriesEnabled = array_key_exists('retriesEnabled', $settings) ? $settings['retriesEnabled'] : count($this->retryableCodes) > 0;
         $this->noRetriesRpcTimeoutMillis = array_key_exists('noRetriesRpcTimeoutMillis', $settings) ? $settings['noRetriesRpcTimeoutMillis'] : $this->initialRpcTimeoutMillis;
+        $this->maxRetries = $settings['maxRetries'] ?? self::DEFAULT_MAX_RETRIES;
+        $this->retryFunction = $settings['retryFunction'] ?? null;
     }
     /**
      * Constructs an array mapping method names to CallSettings.
@@ -266,7 +290,7 @@ public function __construct(array $settings)
      * @throws ValidationException
      * @return RetrySettings[] $retrySettings
      */
-    public static function load($serviceName, $clientConfig, $disableRetries = \false)
+    public static function load(string $serviceName, array $clientConfig, bool $disableRetries = \false)
     {
         $serviceRetrySettings = [];
         $serviceConfig = $clientConfig['interfaces'][$serviceName];
@@ -303,7 +327,7 @@ public static function load($serviceName, $clientConfig, $disableRetries = \fals
     }
     public static function constructDefault()
     {
-        return new RetrySettings(['retriesEnabled' => \false, 'noRetriesRpcTimeoutMillis' => 30000, 'initialRetryDelayMillis' => 100, 'retryDelayMultiplier' => 1.3, 'maxRetryDelayMillis' => 60000, 'initialRpcTimeoutMillis' => 20000, 'rpcTimeoutMultiplier' => 1, 'maxRpcTimeoutMillis' => 20000, 'totalTimeoutMillis' => 600000, 'retryableCodes' => []]);
+        return new RetrySettings(['retriesEnabled' => \false, 'noRetriesRpcTimeoutMillis' => 30000, 'initialRetryDelayMillis' => 100, 'retryDelayMultiplier' => 1.3, 'maxRetryDelayMillis' => 60000, 'initialRpcTimeoutMillis' => 20000, 'rpcTimeoutMultiplier' => 1, 'maxRpcTimeoutMillis' => 20000, 'totalTimeoutMillis' => 600000, 'retryableCodes' => [], 'maxRetries' => self::DEFAULT_MAX_RETRIES, 'retryFunction' => null]);
     }
     /**
      * Creates a new instance of RetrySettings that updates the settings in the existing instance
@@ -318,7 +342,7 @@ public static function constructDefault()
      */
     public function with(array $settings)
     {
-        $existingSettings = ['initialRetryDelayMillis' => $this->getInitialRetryDelayMillis(), 'retryDelayMultiplier' => $this->getRetryDelayMultiplier(), 'maxRetryDelayMillis' => $this->getMaxRetryDelayMillis(), 'initialRpcTimeoutMillis' => $this->getInitialRpcTimeoutMillis(), 'rpcTimeoutMultiplier' => $this->getRpcTimeoutMultiplier(), 'maxRpcTimeoutMillis' => $this->getMaxRpcTimeoutMillis(), 'totalTimeoutMillis' => $this->getTotalTimeoutMillis(), 'retryableCodes' => $this->getRetryableCodes(), 'retriesEnabled' => $this->retriesEnabled(), 'noRetriesRpcTimeoutMillis' => $this->getNoRetriesRpcTimeoutMillis()];
+        $existingSettings = ['initialRetryDelayMillis' => $this->getInitialRetryDelayMillis(), 'retryDelayMultiplier' => $this->getRetryDelayMultiplier(), 'maxRetryDelayMillis' => $this->getMaxRetryDelayMillis(), 'initialRpcTimeoutMillis' => $this->getInitialRpcTimeoutMillis(), 'rpcTimeoutMultiplier' => $this->getRpcTimeoutMultiplier(), 'maxRpcTimeoutMillis' => $this->getMaxRpcTimeoutMillis(), 'totalTimeoutMillis' => $this->getTotalTimeoutMillis(), 'retryableCodes' => $this->getRetryableCodes(), 'retriesEnabled' => $this->retriesEnabled(), 'noRetriesRpcTimeoutMillis' => $this->getNoRetriesRpcTimeoutMillis(), 'maxRetries' => $this->getMaxRetries(), 'retryFunction' => $this->getRetryFunction()];
         return new RetrySettings($settings + $existingSettings);
     }
     /**
@@ -328,7 +352,7 @@ public function with(array $settings)
      * @param int $timeout The timeout in milliseconds to be used as a logical call timeout.
      * @return array
      */
-    public static function logicalTimeout($timeout)
+    public static function logicalTimeout(int $timeout)
     {
         return ['initialRpcTimeoutMillis' => $timeout, 'maxRpcTimeoutMillis' => $timeout, 'totalTimeoutMillis' => $timeout, 'noRetriesRpcTimeoutMillis' => $timeout, 'rpcTimeoutMultiplier' => 1.0];
     }
@@ -414,7 +438,21 @@ public function getTotalTimeoutMillis()
     {
         return $this->totalTimeoutMillis;
     }
-    private static function convertArrayFromSnakeCase($settings)
+    /**
+     * @experimental
+     */
+    public function getMaxRetries()
+    {
+        return $this->maxRetries;
+    }
+    /**
+     * @experimental
+     */
+    public function getRetryFunction()
+    {
+        return $this->retryFunction;
+    }
+    private static function convertArrayFromSnakeCase(array $settings)
     {
         $camelCaseSettings = [];
         foreach ($settings as $key => $value) {
diff --git a/vendor/prefixed/google/gax/src/Serializer.php b/vendor/prefixed/google/gax/src/Serializer.php
index 3a1bcf318..7ccd999cf 100644
--- a/vendor/prefixed/google/gax/src/Serializer.php
+++ b/vendor/prefixed/google/gax/src/Serializer.php
@@ -46,11 +46,33 @@ class Serializer
     const MAP_KEY_FIELD_NAME = 'key';
     const MAP_VALUE_FIELD_NAME = 'value';
     private static $phpArraySerializer;
+    // Caches for different helper functions
+    /**
+     * @var mixed[]
+     */
+    private static $getterMap = [];
+    /**
+     * @var mixed[]
+     */
+    private static $setterMap = [];
+    /**
+     * @var mixed[]
+     */
+    private static $snakeCaseMap = [];
+    /**
+     * @var mixed[]
+     */
+    private static $camelCaseMap = [];
     private static $metadataKnownTypes = ['google.rpc.retryinfo-bin' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\RetryInfo::class, 'google.rpc.debuginfo-bin' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\DebugInfo::class, 'google.rpc.quotafailure-bin' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\QuotaFailure::class, 'google.rpc.badrequest-bin' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\BadRequest::class, 'google.rpc.requestinfo-bin' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\RequestInfo::class, 'google.rpc.resourceinfo-bin' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\ResourceInfo::class, 'google.rpc.errorinfo-bin' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\ErrorInfo::class, 'google.rpc.help-bin' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Help::class, 'google.rpc.localizedmessage-bin' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\LocalizedMessage::class];
     private $fieldTransformers;
     private $messageTypeTransformers;
     private $decodeFieldTransformers;
     private $decodeMessageTypeTransformers;
+    // Array of key-value pairs which specify a custom encoding function.
+    // The key is the proto class and the value is the function
+    // which will be used to convert the proto instead of the
+    // encodeMessage method from the Serializer class.
+    private $customEncoders;
     private $descriptorMaps = [];
     /**
      * Serializer constructor.
@@ -60,12 +82,13 @@ class Serializer
      * @param array $decodeFieldTransformers An array mapping field names to transformation functions
      * @param array $decodeMessageTypeTransformers An array mapping message names to transformation functions
      */
-    public function __construct($fieldTransformers = [], $messageTypeTransformers = [], $decodeFieldTransformers = [], $decodeMessageTypeTransformers = [])
+    public function __construct($fieldTransformers = [], $messageTypeTransformers = [], $decodeFieldTransformers = [], $decodeMessageTypeTransformers = [], $customEncoders = [])
     {
         $this->fieldTransformers = $fieldTransformers;
         $this->messageTypeTransformers = $messageTypeTransformers;
         $this->decodeFieldTransformers = $decodeFieldTransformers;
         $this->decodeMessageTypeTransformers = $decodeMessageTypeTransformers;
+        $this->customEncoders = $customEncoders;
     }
     /**
      * Encode protobuf message as a PHP array
@@ -76,6 +99,13 @@ public function __construct($fieldTransformers = [], $messageTypeTransformers =
      */
     public function encodeMessage($message)
     {
+        $cls = get_class($message);
+        // If we have supplied a customEncoder for this class type,
+        // then we use that instead of the general encodeMessage definition.
+        if (array_key_exists($cls, $this->customEncoders)) {
+            $func = $this->customEncoders[$cls];
+            return call_user_func($func, $message);
+        }
         // Get message descriptor
         $pool = DescriptorPool::getGeneratedPool();
         $messageType = $pool->getDescriptorByClassName(get_class($message));
@@ -93,7 +123,7 @@ public function encodeMessage($message)
      * @return mixed
      * @throws ValidationException
      */
-    public function decodeMessage($message, $data)
+    public function decodeMessage($message, array $data)
     {
         // Get message descriptor
         $pool = DescriptorPool::getGeneratedPool();
@@ -109,7 +139,7 @@ public function decodeMessage($message, $data)
      * @return string Json representation of $message
      * @throws ValidationException
      */
-    public static function serializeToJson($message)
+    public static function serializeToJson(Message $message)
     {
         return json_encode(self::serializeToPhpArray($message), \JSON_PRETTY_PRINT);
     }
@@ -118,7 +148,7 @@ public static function serializeToJson($message)
      * @return array PHP array representation of $message
      * @throws ValidationException
      */
-    public static function serializeToPhpArray($message)
+    public static function serializeToPhpArray(Message $message)
     {
         return self::getPhpArraySerializer()->encodeMessage($message);
     }
@@ -128,9 +158,9 @@ public static function serializeToPhpArray($message)
      * @param array $metadata
      * @return array
      */
-    public static function decodeMetadata($metadata)
+    public static function decodeMetadata(array $metadata)
     {
-        if (is_null($metadata) || count($metadata) == 0) {
+        if (count($metadata) == 0) {
             return [];
         }
         $result = [];
@@ -186,7 +216,7 @@ public static function decodeAnyMessages($anyArray)
     }
     /**
      * @param FieldDescriptor $field
-     * @param array $data
+     * @param Message|array|string $data
      * @return mixed
      * @throws \Exception
      */
@@ -242,12 +272,13 @@ private function getDescriptorMaps(Descriptor $descriptor)
      * @return array
      * @throws \Exception
      */
-    private function encodeMessageImpl($message, Descriptor $messageType)
+    private function encodeMessageImpl(Message $message, Descriptor $messageType)
     {
         $data = [];
-        $fieldCount = $messageType->getFieldCount();
-        for ($i = 0; $i < $fieldCount; $i++) {
-            $field = $messageType->getField($i);
+        // Call the getDescriptorMaps outside of the loop to save processing.
+        // Use the same set of fields to loop over, instead of using field count.
+        list($fields, $fieldsToOneof) = $this->getDescriptorMaps($messageType);
+        foreach ($fields as $field) {
             $key = $field->getName();
             $getter = $this->getGetter($key);
             $v = $message->{$getter}();
@@ -255,7 +286,6 @@ private function encodeMessageImpl($message, Descriptor $messageType)
                 continue;
             }
             // Check and skip unset fields inside oneofs
-            list($_, $fieldsToOneof) = $this->getDescriptorMaps($messageType);
             if (isset($fieldsToOneof[$key])) {
                 $oneofName = $fieldsToOneof[$key];
                 $oneofGetter = $this->getGetter($oneofName);
@@ -321,7 +351,7 @@ private function decodeElement(FieldDescriptor $field, $data)
      * @return mixed
      * @throws \Exception
      */
-    private function decodeMessageImpl($message, Descriptor $messageType, $data)
+    private function decodeMessageImpl(Message $message, Descriptor $messageType, array $data)
     {
         list($fieldsByName, $_) = $this->getDescriptorMaps($messageType);
         foreach ($data as $key => $v) {
@@ -363,17 +393,23 @@ private function decodeMessageImpl($message, Descriptor $messageType, $data)
      * @param string $name
      * @return string Getter function
      */
-    public static function getGetter($name)
+    public static function getGetter(string $name)
     {
-        return 'get' . ucfirst(self::toCamelCase($name));
+        if (!isset(self::$getterMap[$name])) {
+            self::$getterMap[$name] = 'get' . ucfirst(self::toCamelCase($name));
+        }
+        return self::$getterMap[$name];
     }
     /**
      * @param string $name
      * @return string Setter function
      */
-    public static function getSetter($name)
+    public static function getSetter(string $name)
     {
-        return 'set' . ucfirst(self::toCamelCase($name));
+        if (!isset(self::$setterMap[$name])) {
+            self::$setterMap[$name] = 'set' . ucfirst(self::toCamelCase($name));
+        }
+        return self::$setterMap[$name];
     }
     /**
      * Convert string from camelCase to snake_case
@@ -381,9 +417,12 @@ public static function getSetter($name)
      * @param string $key
      * @return string
      */
-    public static function toSnakeCase($key)
+    public static function toSnakeCase(string $key)
     {
-        return strtolower(preg_replace(['/([a-z\\d])([A-Z])/', '/([^_])([A-Z][a-z])/'], '$1_$2', $key));
+        if (!isset(self::$snakeCaseMap[$key])) {
+            self::$snakeCaseMap[$key] = strtolower(preg_replace(['/([a-z\\d])([A-Z])/', '/([^_])([A-Z][a-z])/'], '$1_$2', $key));
+        }
+        return self::$snakeCaseMap[$key];
     }
     /**
      * Convert string from snake_case to camelCase
@@ -391,11 +430,14 @@ public static function toSnakeCase($key)
      * @param string $key
      * @return string
      */
-    public static function toCamelCase($key)
+    public static function toCamelCase(string $key)
     {
-        return lcfirst(str_replace(' ', '', ucwords(str_replace('_', ' ', $key))));
+        if (!isset(self::$camelCaseMap[$key])) {
+            self::$camelCaseMap[$key] = lcfirst(str_replace(' ', '', ucwords(str_replace('_', ' ', $key))));
+        }
+        return self::$camelCaseMap[$key];
     }
-    private static function hasBinaryHeaderSuffix($key)
+    private static function hasBinaryHeaderSuffix(string $key)
     {
         return substr_compare($key, "-bin", strlen($key) - 4) === 0;
     }
diff --git a/vendor/prefixed/google/gax/src/ServerStreamingCallInterface.php b/vendor/prefixed/google/gax/src/ServerStreamingCallInterface.php
index a29c0fe5c..bfddec41b 100644
--- a/vendor/prefixed/google/gax/src/ServerStreamingCallInterface.php
+++ b/vendor/prefixed/google/gax/src/ServerStreamingCallInterface.php
@@ -32,6 +32,9 @@
  */
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore;
 
+/**
+ * @internal
+ */
 interface ServerStreamingCallInterface
 {
     /**
diff --git a/vendor/prefixed/google/gax/src/ServiceAddressTrait.php b/vendor/prefixed/google/gax/src/ServiceAddressTrait.php
index e00a8a8e0..26bf6ee38 100644
--- a/vendor/prefixed/google/gax/src/ServiceAddressTrait.php
+++ b/vendor/prefixed/google/gax/src/ServiceAddressTrait.php
@@ -35,6 +35,7 @@
 /**
  * Provides helper methods for service address handling.
  *
+ * @deprecated
  * @todo (dwsupplee) serviceAddress is deprecated now in favor of
  *        apiEndpoint. Rename the trait/method in our next major release.
  */
@@ -46,7 +47,7 @@ trait ServiceAddressTrait
      * @return array
      * @throws ValidationException
      */
-    private static function normalizeServiceAddress($apiEndpoint)
+    private static function normalizeServiceAddress(string $apiEndpoint)
     {
         $components = explode(':', $apiEndpoint);
         if (count($components) == 2) {
diff --git a/vendor/prefixed/google/gax/src/Testing/GeneratedTest.php b/vendor/prefixed/google/gax/src/Testing/GeneratedTest.php
index cb03ab896..09ef0e623 100644
--- a/vendor/prefixed/google/gax/src/Testing/GeneratedTest.php
+++ b/vendor/prefixed/google/gax/src/Testing/GeneratedTest.php
@@ -37,8 +37,15 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
 use PHPUnit\Framework\TestCase;
+/**
+ * @internal
+ */
 abstract class GeneratedTest extends TestCase
 {
+    /**
+     * @param mixed $expected
+     * @param mixed $actual
+     */
     public function assertProtobufEquals(&$expected, &$actual)
     {
         if ($expected === $actual) {
@@ -74,6 +81,9 @@ public function assertProtobufEquals(&$expected, &$actual)
             }
         }
     }
+    /**
+     * @param iterable $field
+     */
     private function getValues($field)
     {
         return array_values(is_array($field) ? $field : iterator_to_array($field));
diff --git a/vendor/prefixed/google/gax/src/Testing/MessageAwareArrayComparator.php b/vendor/prefixed/google/gax/src/Testing/MessageAwareArrayComparator.php
index e19a645d2..626d8eb71 100644
--- a/vendor/prefixed/google/gax/src/Testing/MessageAwareArrayComparator.php
+++ b/vendor/prefixed/google/gax/src/Testing/MessageAwareArrayComparator.php
@@ -18,6 +18,9 @@
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Testing;
 
 use SebastianBergmann\Comparator\ArrayComparator;
+/**
+ * @internal
+ */
 class MessageAwareArrayComparator extends ArrayComparator
 {
     public function __construct()
diff --git a/vendor/prefixed/google/gax/src/Testing/MessageAwareExporter.php b/vendor/prefixed/google/gax/src/Testing/MessageAwareExporter.php
index 143b21ba6..2baa85aad 100644
--- a/vendor/prefixed/google/gax/src/Testing/MessageAwareExporter.php
+++ b/vendor/prefixed/google/gax/src/Testing/MessageAwareExporter.php
@@ -19,6 +19,9 @@
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message;
 use SebastianBergmann\Exporter\Exporter;
+/**
+ * @internal
+ */
 class MessageAwareExporter extends Exporter
 {
     /**
diff --git a/vendor/prefixed/google/gax/src/Testing/MockBidiStreamingCall.php b/vendor/prefixed/google/gax/src/Testing/MockBidiStreamingCall.php
index 4074d00a7..39e0ee55b 100644
--- a/vendor/prefixed/google/gax/src/Testing/MockBidiStreamingCall.php
+++ b/vendor/prefixed/google/gax/src/Testing/MockBidiStreamingCall.php
@@ -36,9 +36,12 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Code;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Grpc;
+use stdClass;
 /**
  * The MockBidiStreamingCall class is used to mock out the \Grpc\BidiStreamingCall class
  * (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BidiStreamingCall.php)
+ *
+ * @internal
  */
 class MockBidiStreamingCall extends Grpc\BidiStreamingCall
 {
@@ -50,10 +53,10 @@ class MockBidiStreamingCall extends Grpc\BidiStreamingCall
     /**
      * MockBidiStreamingCall constructor.
      * @param mixed[] $responses A list of response objects.
-     * @param callable|null $deserialize An optional deserialize method for the response object.
-     * @param MockStatus|null $status An optional status object. If set to null, a status of OK is used.
+     * @param mixed|null $deserialize An optional deserialize method for the response object.
+     * @param stdClass|null $status An optional status object. If set to null, a status of OK is used.
      */
-    public function __construct($responses, $deserialize = null, $status = null)
+    public function __construct(array $responses, $deserialize = null, stdClass $status = null)
     {
         $this->responses = $responses;
         $this->deserialize = $deserialize;
@@ -87,7 +90,7 @@ public function read()
         }
     }
     /**
-     * @return MockStatus|null|\stdClass
+     * @return stdClass|null
      * @throws ApiException
      */
     public function getStatus()
@@ -102,7 +105,7 @@ public function getStatus()
     }
     /**
      * Save the request object, to be retrieved via getReceivedCalls()
-     * @param \Google\Protobuf\Internal\Message|mixed $request The request object
+     * @param Message|mixed $request The request object
      * @param array $options An array of options.
      * @throws ApiException
      */
diff --git a/vendor/prefixed/google/gax/src/Testing/MockClientStreamingCall.php b/vendor/prefixed/google/gax/src/Testing/MockClientStreamingCall.php
index 1d5c23218..c54ff86cd 100644
--- a/vendor/prefixed/google/gax/src/Testing/MockClientStreamingCall.php
+++ b/vendor/prefixed/google/gax/src/Testing/MockClientStreamingCall.php
@@ -37,6 +37,7 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Code;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Grpc;
+use stdClass;
 /**
  * The MockClientStreamingCall class is used to mock out the \Grpc\ClientStreamingCall class
  * (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/ClientStreamingCall.php)
@@ -45,6 +46,8 @@
  * method, and an optional status. The response object and status are returned immediately from the
  * wait() method. It also provides a write() method that accepts request objects, and a
  * getAllRequests() method that returns all request objects passed to write(), and clears them.
+ *
+ * @internal
  */
 class MockClientStreamingCall extends Grpc\ClientStreamingCall
 {
@@ -53,11 +56,11 @@ class MockClientStreamingCall extends Grpc\ClientStreamingCall
     private $receivedWrites = [];
     /**
      * MockClientStreamingCall constructor.
-     * @param Message $response The response object.
-     * @param callable|null $deserialize An optional deserialize method for the response object.
-     * @param MockStatus|null $status An optional status object. If set to null, a status of OK is used.
+     * @param Message|string $response The response object.
+     * @param callable|array|null $deserialize An optional deserialize method for the response object.
+     * @param stdClass|null $status An optional status object. If set to null, a status of OK is used.
      */
-    public function __construct($response, $deserialize = null, $status = null)
+    public function __construct($response, $deserialize = null, stdClass $status = null)
     {
         $this->mockUnaryCall = new MockUnaryCall($response, $deserialize, $status);
     }
@@ -72,7 +75,7 @@ public function wait()
     }
     /**
      * Save the request object, to be retrieved via getReceivedCalls()
-     * @param \Google\Protobuf\Internal\Message|mixed $request The request object
+     * @param Message|mixed $request The request object
      * @param array $options An array of options
      * @throws ApiException
      */
diff --git a/vendor/prefixed/google/gax/src/Testing/MockGrpcTransport.php b/vendor/prefixed/google/gax/src/Testing/MockGrpcTransport.php
index 833d8a8bf..eefe55743 100644
--- a/vendor/prefixed/google/gax/src/Testing/MockGrpcTransport.php
+++ b/vendor/prefixed/google/gax/src/Testing/MockGrpcTransport.php
@@ -34,37 +34,66 @@
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Transport\GrpcTransport;
 use Grpc\ChannelCredentials;
+/**
+ * @internal
+ */
 class MockGrpcTransport extends GrpcTransport
 {
     private $requestArguments;
     private $mockCall;
+    /**
+     * @param mixed $mockCall
+     */
     public function __construct($mockCall = null)
     {
         $this->mockCall = $mockCall;
         $opts = ['credentials' => ChannelCredentials::createSsl()];
         parent::__construct('', $opts);
     }
+    /**
+     * @param string $method
+     * @param array $arguments
+     * @param callable $deserialize
+     */
     protected function _simpleRequest($method, $arguments, $deserialize, array $metadata = [], array $options = [])
     {
         $this->logCall($method, $deserialize, $metadata, $options, $arguments);
         return $this->mockCall;
     }
+    /**
+     * @param string $method
+     * @param callable $deserialize
+     */
     protected function _clientStreamRequest($method, $deserialize, array $metadata = [], array $options = [])
     {
         $this->logCall($method, $deserialize, $metadata, $options);
         return $this->mockCall;
     }
+    /**
+     * @param string $method
+     * @param array $arguments
+     * @param callable $deserialize
+     */
     protected function _serverStreamRequest($method, $arguments, $deserialize, array $metadata = [], array $options = [])
     {
         $this->logCall($method, $deserialize, $metadata, $options, $arguments);
         return $this->mockCall;
     }
+    /**
+     * @param string $method
+     * @param callable $deserialize
+     */
     protected function _bidiRequest($method, $deserialize, array $metadata = [], array $options = [])
     {
         $this->logCall($method, $deserialize, $metadata, $options);
         return $this->mockCall;
     }
-    private function logCall($method, $deserialize, $metadata = [], $options = [], $arguments = null)
+    /**
+     * @param string $method
+     * @param callable $deserialize
+     * @param array $arguments
+     */
+    private function logCall($method, $deserialize, array $metadata = [], array $options = [], $arguments = null)
     {
         $this->requestArguments = ['method' => $method, 'arguments' => $arguments, 'deserialize' => $deserialize, 'metadata' => $metadata, 'options' => $options];
     }
diff --git a/vendor/prefixed/google/gax/src/Testing/MockRequest.php b/vendor/prefixed/google/gax/src/Testing/MockRequest.php
index c43e110ff..eb4bb3263 100644
--- a/vendor/prefixed/google/gax/src/Testing/MockRequest.php
+++ b/vendor/prefixed/google/gax/src/Testing/MockRequest.php
@@ -8,6 +8,8 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\ApiCore\Testing\Mocks;
 /**
  * Generated from protobuf message google.apicore.testing.MockRequest
+ *
+ * @internal
  */
 class MockRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
diff --git a/vendor/prefixed/google/gax/src/Testing/MockRequestBody.php b/vendor/prefixed/google/gax/src/Testing/MockRequestBody.php
index fec3211b7..398fc96cd 100644
--- a/vendor/prefixed/google/gax/src/Testing/MockRequestBody.php
+++ b/vendor/prefixed/google/gax/src/Testing/MockRequestBody.php
@@ -7,6 +7,8 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
  * Generated from protobuf message google.apicore.testing.MockRequestBody
+ *
+ * @internal
  */
 class MockRequestBody extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
diff --git a/vendor/prefixed/google/gax/src/Testing/MockResponse.php b/vendor/prefixed/google/gax/src/Testing/MockResponse.php
index 617cd550b..9492b60f0 100644
--- a/vendor/prefixed/google/gax/src/Testing/MockResponse.php
+++ b/vendor/prefixed/google/gax/src/Testing/MockResponse.php
@@ -7,6 +7,8 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
 /**
  * Generated from protobuf message google.apicore.testing.MockResponse
+ *
+ * @internal
  */
 class MockResponse extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
diff --git a/vendor/prefixed/google/gax/src/Testing/MockServerStreamingCall.php b/vendor/prefixed/google/gax/src/Testing/MockServerStreamingCall.php
index 5002b7fca..79b33c5dd 100644
--- a/vendor/prefixed/google/gax/src/Testing/MockServerStreamingCall.php
+++ b/vendor/prefixed/google/gax/src/Testing/MockServerStreamingCall.php
@@ -34,13 +34,16 @@
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\ApiException;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\ApiStatus;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\ServerStreamingCallInterface;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Code;
 use stdClass;
 /**
  * The MockServerStreamingCall class is used to mock out the \Grpc\ServerStreamingCall class
  * (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/ServerStreamingCall.php)
+ *
+ * @internal
  */
-class MockServerStreamingCall extends \Matomo\Dependencies\GoogleAnalyticsImporter\Grpc\ServerStreamingCall
+class MockServerStreamingCall extends \Matomo\Dependencies\GoogleAnalyticsImporter\Grpc\ServerStreamingCall implements ServerStreamingCallInterface
 {
     use SerializationTrait;
     private $responses;
@@ -48,10 +51,10 @@ class MockServerStreamingCall extends \Matomo\Dependencies\GoogleAnalyticsImport
     /**
      * MockServerStreamingCall constructor.
      * @param mixed[] $responses A list of response objects.
-     * @param callable|null $deserialize An optional deserialize method for the response object.
-     * @param MockStatus|stdClass|null $status An optional status object. If set to null, a status of OK is used.
+     * @param callable|array|null $deserialize An optional deserialize method for the response object.
+     * @param stdClass|null $status An optional status object. If set to null, a status of OK is used.
      */
-    public function __construct($responses, $deserialize = null, $status = null)
+    public function __construct(array $responses, $deserialize = null, stdClass $status = null)
     {
         $this->responses = $responses;
         $this->deserialize = $deserialize;
@@ -73,7 +76,7 @@ public function responses()
         }
     }
     /**
-     * @return MockStatus|null|\stdClass
+     * @return stdClass|null
      * @throws ApiException
      */
     public function getStatus()
diff --git a/vendor/prefixed/google/gax/src/Testing/MockStatus.php b/vendor/prefixed/google/gax/src/Testing/MockStatus.php
index e75ea797b..47014a924 100644
--- a/vendor/prefixed/google/gax/src/Testing/MockStatus.php
+++ b/vendor/prefixed/google/gax/src/Testing/MockStatus.php
@@ -33,13 +33,17 @@
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Testing;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Code;
-class MockStatus
+use stdClass;
+/**
+ * @internal
+ */
+class MockStatus extends stdClass
 {
-    /** @var Code $code */
+    /** @var Code|int $code */
     public $code;
     public $details;
     public $metadata;
-    public function __construct($code, $details = null, array $metadata = [])
+    public function __construct($code, string $details = null, array $metadata = [])
     {
         $this->code = $code;
         $this->details = $details;
diff --git a/vendor/prefixed/google/gax/src/Testing/MockStubTrait.php b/vendor/prefixed/google/gax/src/Testing/MockStubTrait.php
index 8c8d01dce..924bd73d9 100644
--- a/vendor/prefixed/google/gax/src/Testing/MockStubTrait.php
+++ b/vendor/prefixed/google/gax/src/Testing/MockStubTrait.php
@@ -33,13 +33,15 @@
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Testing;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message;
-use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Status;
 use UnderflowException;
+use stdClass;
 /**
  * The MockStubTrait is used by generated mock stub classes which extent \Grpc\BaseStub
  * (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BaseStub.php)
  * It provides functionality to add responses, get received calls, and overrides the _simpleRequest
  * method so that the elements of $responses are returned instead of making a call to the API.
+ *
+ * @internal
  */
 trait MockStubTrait
 {
@@ -164,9 +166,9 @@ public static function stripStatusFromResponses($responses)
      * Add a response object, and an optional status, to the list of responses to be returned via
      * _simpleRequest.
      * @param \Google\Protobuf\Internal\Message $response
-     * @param Status $status
+     * @param stdClass $status
      */
-    public function addResponse($response, $status = null)
+    public function addResponse($response, stdClass $status = null)
     {
         if (!$this->deserialize && $response) {
             $this->deserialize = [get_class($response), 'decode'];
@@ -179,9 +181,9 @@ public function addResponse($response, $status = null)
     /**
      * Set the status object to be used when creating streaming calls.
      *
-     * @param Status $status
+     * @param stdClass $status
      */
-    public function setStreamingStatus($status)
+    public function setStreamingStatus(stdClass $status)
     {
         $this->serverStreamingStatus = $status;
     }
@@ -221,11 +223,11 @@ public function isExhausted()
     }
     /**
      * @param mixed $responseObject
-     * @param Status|null $status
+     * @param stdClass|null $status
      * @param callable $deserialize
      * @return static An instance of the current class type.
      */
-    public static function create($responseObject, $status = null, $deserialize = null)
+    public static function create($responseObject, stdClass $status = null, callable $deserialize = null)
     {
         $stub = new static($deserialize);
         // @phpstan-ignore-line
@@ -236,10 +238,10 @@ public static function create($responseObject, $status = null, $deserialize = nu
      * Creates a sequence such that the responses are returned in order.
      * @param mixed[] $sequence
      * @param callable $deserialize
-     * @param Status $finalStatus
+     * @param stdClass $finalStatus
      * @return static An instance of the current class type.
      */
-    public static function createWithResponseSequence($sequence, $deserialize = null, $finalStatus = null)
+    public static function createWithResponseSequence(array $sequence, callable $deserialize = null, stdClass $finalStatus = null)
     {
         $stub = new static($deserialize);
         // @phpstan-ignore-line
diff --git a/vendor/prefixed/google/gax/src/Testing/MockTransport.php b/vendor/prefixed/google/gax/src/Testing/MockTransport.php
index 508cdee92..a41a8d40c 100644
--- a/vendor/prefixed/google/gax/src/Testing/MockTransport.php
+++ b/vendor/prefixed/google/gax/src/Testing/MockTransport.php
@@ -40,6 +40,9 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Transport\TransportInterface;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Code;
 use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Promise\Promise;
+/**
+ * @internal
+ */
 class MockTransport implements TransportInterface
 {
     use MockStubTrait;
@@ -64,22 +67,22 @@ public function startUnaryCall(Call $call, array $options)
     public function startBidiStreamingCall(Call $call, array $options)
     {
         $newArgs = ['/' . $call->getMethod(), $this->deserialize, $options, $options];
-        $response = call_user_func_array(array($this, '_bidiRequest'), $newArgs);
+        $response = $this->_bidiRequest(...$newArgs);
         return new BidiStream($response, $call->getDescriptor());
     }
     public function startClientStreamingCall(Call $call, array $options)
     {
         $newArgs = ['/' . $call->getMethod(), $this->deserialize, $options, $options];
-        $response = call_user_func_array(array($this, '_clientStreamRequest'), $newArgs);
+        $response = $this->_clientStreamRequest(...$newArgs);
         return new ClientStream($response, $call->getDescriptor());
     }
     public function startServerStreamingCall(Call $call, array $options)
     {
         $newArgs = ['/' . $call->getMethod(), $call->getMessage(), $this->deserialize, $options, $options];
-        $response = call_user_func_array(array($this, '_serverStreamRequest'), $newArgs);
+        $response = $this->_serverStreamRequest(...$newArgs);
         return new ServerStream($response, $call->getDescriptor());
     }
-    public function __call($name, $arguments)
+    public function __call(string $name, array $arguments)
     {
         $call = $arguments[0];
         $options = $arguments[1];
diff --git a/vendor/prefixed/google/gax/src/Testing/MockUnaryCall.php b/vendor/prefixed/google/gax/src/Testing/MockUnaryCall.php
index 9d57d4d8c..f6e0024b2 100644
--- a/vendor/prefixed/google/gax/src/Testing/MockUnaryCall.php
+++ b/vendor/prefixed/google/gax/src/Testing/MockUnaryCall.php
@@ -33,6 +33,8 @@
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Testing;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Rpc\Code;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message;
+use stdClass;
 /**
  * The MockUnaryCall class is used to mock out the \Grpc\UnaryCall class
  * (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/UnaryCall.php)
@@ -40,6 +42,8 @@
  * The MockUnaryCall object is constructed with a response object, an optional deserialize
  * method, and an optional status. The response object and status are returned immediately from the
  * wait() method.
+ *
+ * @internal
  */
 class MockUnaryCall extends \Matomo\Dependencies\GoogleAnalyticsImporter\Grpc\UnaryCall
 {
@@ -48,11 +52,11 @@ class MockUnaryCall extends \Matomo\Dependencies\GoogleAnalyticsImporter\Grpc\Un
     private $status;
     /**
      * MockUnaryCall constructor.
-     * @param \Google\Protobuf\Internal\Message $response The response object.
-     * @param callable|null $deserialize An optional deserialize method for the response object.
-     * @param MockStatus|null $status An optional status object. If set to null, a status of OK is used.
+     * @param Message|string|null $response The response object.
+     * @param callable|array|null $deserialize An optional deserialize method for the response object.
+     * @param stdClass|null $status An optional status object. If set to null, a status of OK is used.
      */
-    public function __construct($response, $deserialize = null, $status = null)
+    public function __construct($response = null, $deserialize = null, stdClass $status = null)
     {
         $this->response = $response;
         $this->deserialize = $deserialize;
diff --git a/vendor/prefixed/google/gax/src/Testing/ProtobufGPBEmptyComparator.php b/vendor/prefixed/google/gax/src/Testing/ProtobufGPBEmptyComparator.php
index 23c9783cb..44853818b 100644
--- a/vendor/prefixed/google/gax/src/Testing/ProtobufGPBEmptyComparator.php
+++ b/vendor/prefixed/google/gax/src/Testing/ProtobufGPBEmptyComparator.php
@@ -21,6 +21,9 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message;
 use SebastianBergmann\Comparator\Comparator;
 use SebastianBergmann\Comparator\ComparisonFailure;
+/**
+ * @internal
+ */
 class ProtobufGPBEmptyComparator extends Comparator
 {
     /**
diff --git a/vendor/prefixed/google/gax/src/Testing/ProtobufMessageComparator.php b/vendor/prefixed/google/gax/src/Testing/ProtobufMessageComparator.php
index ee0757a34..8da3eda7a 100644
--- a/vendor/prefixed/google/gax/src/Testing/ProtobufMessageComparator.php
+++ b/vendor/prefixed/google/gax/src/Testing/ProtobufMessageComparator.php
@@ -21,6 +21,9 @@
 use SebastianBergmann\Comparator\Comparator;
 use SebastianBergmann\Comparator\ComparisonFailure;
 use SebastianBergmann\Exporter\Exporter;
+/**
+ * @internal
+ */
 class ProtobufMessageComparator extends Comparator
 {
     /** @var Exporter */
diff --git a/vendor/prefixed/google/gax/src/Testing/ReceivedRequest.php b/vendor/prefixed/google/gax/src/Testing/ReceivedRequest.php
index 215203cda..6417c584e 100644
--- a/vendor/prefixed/google/gax/src/Testing/ReceivedRequest.php
+++ b/vendor/prefixed/google/gax/src/Testing/ReceivedRequest.php
@@ -35,6 +35,8 @@
 /**
  * Class ReceivedRequest used to hold the function name and request object of a call
  * make to a mock gRPC stub.
+ *
+ * @internal
  */
 class ReceivedRequest
 {
diff --git a/vendor/prefixed/google/gax/src/Testing/SerializationTrait.php b/vendor/prefixed/google/gax/src/Testing/SerializationTrait.php
index af8f3de89..63342f01e 100644
--- a/vendor/prefixed/google/gax/src/Testing/SerializationTrait.php
+++ b/vendor/prefixed/google/gax/src/Testing/SerializationTrait.php
@@ -33,8 +33,15 @@
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Testing;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message;
+/**
+ * @internal
+ */
 trait SerializationTrait
 {
+    /**
+     * @param mixed $message
+     * @param mixed $deserialize
+     */
     protected function deserializeMessage($message, $deserialize)
     {
         if ($message === null) {
diff --git a/vendor/prefixed/google/gax/src/Transport/Grpc/ForwardingCall.php b/vendor/prefixed/google/gax/src/Transport/Grpc/ForwardingCall.php
index 4f8103f1d..9f959a6e7 100644
--- a/vendor/prefixed/google/gax/src/Transport/Grpc/ForwardingCall.php
+++ b/vendor/prefixed/google/gax/src/Transport/Grpc/ForwardingCall.php
@@ -40,7 +40,9 @@
  */
 abstract class ForwardingCall
 {
-    /** @var AbstractCall */
+    /**
+     * @var AbstractCall|ForwardingCall
+     */
     protected $innerCall;
     /**
      * ForwardingCall constructor.
diff --git a/vendor/prefixed/google/gax/src/Transport/Grpc/ForwardingServerStreamingCall.php b/vendor/prefixed/google/gax/src/Transport/Grpc/ForwardingServerStreamingCall.php
index b9036c005..48a0044a5 100644
--- a/vendor/prefixed/google/gax/src/Transport/Grpc/ForwardingServerStreamingCall.php
+++ b/vendor/prefixed/google/gax/src/Transport/Grpc/ForwardingServerStreamingCall.php
@@ -32,6 +32,7 @@
  */
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Transport\Grpc;
 
+use Matomo\Dependencies\GoogleAnalyticsImporter\Grpc\ServerStreamingCall;
 /**
  * Class ForwardingServerStreamingCall wraps a \Grpc\ServerStreamingCall.
  *
@@ -39,9 +40,7 @@
  */
 class ForwardingServerStreamingCall extends ForwardingCall
 {
-    /**
-     * @var \Grpc\ServerStreamingCall
-     */
+    /** @var ServerStreamingCall */
     protected $innerCall;
     /**
      * @return mixed An iterator of response values
diff --git a/vendor/prefixed/google/gax/src/Transport/Grpc/ForwardingUnaryCall.php b/vendor/prefixed/google/gax/src/Transport/Grpc/ForwardingUnaryCall.php
index 753a926b3..fa566baa0 100644
--- a/vendor/prefixed/google/gax/src/Transport/Grpc/ForwardingUnaryCall.php
+++ b/vendor/prefixed/google/gax/src/Transport/Grpc/ForwardingUnaryCall.php
@@ -32,6 +32,7 @@
  */
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Transport\Grpc;
 
+use Matomo\Dependencies\GoogleAnalyticsImporter\Grpc\UnaryCall;
 /**
  * Class ForwardingUnaryCall wraps a \Grpc\UnaryCall.
  *
@@ -39,9 +40,7 @@
  */
 class ForwardingUnaryCall extends ForwardingCall
 {
-    /**
-     * @var \Grpc\UnaryCall
-     */
+    /** @var UnaryCall */
     protected $innerCall;
     /**
      * Wait for the server to respond with data and a status.
diff --git a/vendor/prefixed/google/gax/src/Transport/Grpc/ServerStreamingCallWrapper.php b/vendor/prefixed/google/gax/src/Transport/Grpc/ServerStreamingCallWrapper.php
index 0ceac167b..de1459eb8 100644
--- a/vendor/prefixed/google/gax/src/Transport/Grpc/ServerStreamingCallWrapper.php
+++ b/vendor/prefixed/google/gax/src/Transport/Grpc/ServerStreamingCallWrapper.php
@@ -41,6 +41,9 @@
  */
 class ServerStreamingCallWrapper implements ServerStreamingCallInterface
 {
+    /**
+     * @var ServerStreamingCall|GCPServerStreamCall
+     */
     private $stream;
     /**
      * @param ServerStreamingCall|GCPServerStreamCall $stream
diff --git a/vendor/prefixed/google/gax/src/Transport/GrpcFallbackTransport.php b/vendor/prefixed/google/gax/src/Transport/GrpcFallbackTransport.php
index 2b82ef18c..d5332cd97 100644
--- a/vendor/prefixed/google/gax/src/Transport/GrpcFallbackTransport.php
+++ b/vendor/prefixed/google/gax/src/Transport/GrpcFallbackTransport.php
@@ -53,12 +53,15 @@ class GrpcFallbackTransport implements TransportInterface
     use ValidationTrait;
     use ServiceAddressTrait;
     use HttpUnaryTransportTrait;
+    /**
+     * @var string
+     */
     private $baseUri;
     /**
      * @param string $baseUri
      * @param callable $httpHandler A handler used to deliver PSR-7 requests.
      */
-    public function __construct($baseUri, callable $httpHandler)
+    public function __construct(string $baseUri, callable $httpHandler)
     {
         $this->baseUri = $baseUri;
         $this->httpHandler = $httpHandler;
@@ -77,7 +80,7 @@ public function __construct($baseUri, callable $httpHandler)
      * @return GrpcFallbackTransport
      * @throws ValidationException
      */
-    public static function build($apiEndpoint, array $config = [])
+    public static function build(string $apiEndpoint, array $config = [])
     {
         $config += ['httpHandler' => null, 'clientCertSource' => null];
         list($baseUri, $port) = self::normalizeServiceAddress($apiEndpoint);
@@ -142,7 +145,7 @@ private function unpackResponse(Call $call, ResponseInterface $response)
      */
     private function getCallOptions(array $options)
     {
-        $callOptions = isset($options['transportOptions']['grpcFallbackOptions']) ? $options['transportOptions']['grpcFallbackOptions'] : [];
+        $callOptions = $options['transportOptions']['grpcFallbackOptions'] ?? [];
         if (isset($options['timeoutMillis'])) {
             $callOptions['timeout'] = $options['timeoutMillis'] / 1000;
         }
diff --git a/vendor/prefixed/google/gax/src/Transport/GrpcTransport.php b/vendor/prefixed/google/gax/src/Transport/GrpcTransport.php
index 199805bcd..481fcc970 100644
--- a/vendor/prefixed/google/gax/src/Transport/GrpcTransport.php
+++ b/vendor/prefixed/google/gax/src/Transport/GrpcTransport.php
@@ -75,7 +75,7 @@ class GrpcTransport extends BaseStub implements TransportInterface
      *        extends {@see Grpc\Interceptor}.
      * @throws Exception
      */
-    public function __construct($hostname, $opts, Channel $channel = null, array $interceptors = [])
+    public function __construct(string $hostname, array $opts, Channel $channel = null, array $interceptors = [])
     {
         if ($interceptors) {
             $channel = Interceptor::intercept($channel ?: new Channel($hostname, $opts), $interceptors);
@@ -91,7 +91,8 @@ public function __construct($hostname, $opts, Channel $channel = null, array $in
      * @param array $config {
      *    Config options used to construct the gRPC transport.
      *
-     *    @type array $stubOpts Options used to construct the gRPC stub.
+     *    @type array $stubOpts Options used to construct the gRPC stub (see
+     *          {@link https://grpc.github.io/grpc/core/group__grpc__arg__keys.html}).
      *    @type Channel $channel Grpc channel to be used.
      *    @type Interceptor[]|UnaryInterceptorInterface[] $interceptors *EXPERIMENTAL*
      *          Interceptors used to intercept RPC invocations before a call starts.
@@ -106,7 +107,7 @@ public function __construct($hostname, $opts, Channel $channel = null, array $in
      * @return GrpcTransport
      * @throws ValidationException
      */
-    public static function build($apiEndpoint, array $config = [])
+    public static function build(string $apiEndpoint, array $config = [])
     {
         self::validateGrpcSupport();
         $config += ['stubOpts' => [], 'channel' => null, 'interceptors' => [], 'clientCertSource' => null];
@@ -138,6 +139,7 @@ public static function build($apiEndpoint, array $config = [])
      */
     public function startBidiStreamingCall(Call $call, array $options)
     {
+        $this->verifyUniverseDomain($options);
         return new BidiStream($this->_bidiRequest('/' . $call->getMethod(), [$call->getDecodeType(), 'decode'], isset($options['headers']) ? $options['headers'] : [], $this->getCallOptions($options)), $call->getDescriptor());
     }
     /**
@@ -145,6 +147,7 @@ public function startBidiStreamingCall(Call $call, array $options)
      */
     public function startClientStreamingCall(Call $call, array $options)
     {
+        $this->verifyUniverseDomain($options);
         return new ClientStream($this->_clientStreamRequest('/' . $call->getMethod(), [$call->getDecodeType(), 'decode'], isset($options['headers']) ? $options['headers'] : [], $this->getCallOptions($options)), $call->getDescriptor());
     }
     /**
@@ -152,6 +155,7 @@ public function startClientStreamingCall(Call $call, array $options)
      */
     public function startServerStreamingCall(Call $call, array $options)
     {
+        $this->verifyUniverseDomain($options);
         $message = $call->getMessage();
         if (!$message) {
             throw new \InvalidArgumentException('A message is required for ServerStreaming calls.');
@@ -165,6 +169,7 @@ public function startServerStreamingCall(Call $call, array $options)
      */
     public function startUnaryCall(Call $call, array $options)
     {
+        $this->verifyUniverseDomain($options);
         $unaryCall = $this->_simpleRequest('/' . $call->getMethod(), $call->getMessage(), [$call->getDecodeType(), 'decode'], isset($options['headers']) ? $options['headers'] : [], $this->getCallOptions($options));
         /** @var Promise $promise */
         $promise = new Promise(function () use($unaryCall, $options, &$promise) {
@@ -181,11 +186,17 @@ public function startUnaryCall(Call $call, array $options)
         }, [$unaryCall, 'cancel']);
         return $promise;
     }
+    private function verifyUniverseDomain(array $options)
+    {
+        if (isset($options['credentialsWrapper'])) {
+            $options['credentialsWrapper']->checkUniverseDomain();
+        }
+    }
     private function getCallOptions(array $options)
     {
-        $callOptions = isset($options['transportOptions']['grpcOptions']) ? $options['transportOptions']['grpcOptions'] : [];
+        $callOptions = $options['transportOptions']['grpcOptions'] ?? [];
         if (isset($options['credentialsWrapper'])) {
-            $audience = isset($options['audience']) ? $options['audience'] : null;
+            $audience = $options['audience'] ?? null;
             $credentialsWrapper = $options['credentialsWrapper'];
             $callOptions['call_credentials_callback'] = $credentialsWrapper->getAuthorizationHeaderCallback($audience);
         }
diff --git a/vendor/prefixed/google/gax/src/Transport/HttpUnaryTransportTrait.php b/vendor/prefixed/google/gax/src/Transport/HttpUnaryTransportTrait.php
index cec2a3857..0627d1c2e 100644
--- a/vendor/prefixed/google/gax/src/Transport/HttpUnaryTransportTrait.php
+++ b/vendor/prefixed/google/gax/src/Transport/HttpUnaryTransportTrait.php
@@ -39,6 +39,8 @@
 /**
  * A trait for shared functionality between transports that support only unary RPCs using simple
  * HTTP requests.
+ *
+ * @internal
  */
 trait HttpUnaryTransportTrait
 {
@@ -85,19 +87,20 @@ public function close()
      */
     private static function buildCommonHeaders(array $options)
     {
-        $headers = isset($options['headers']) ? $options['headers'] : [];
+        $headers = $options['headers'] ?? [];
         if (!is_array($headers)) {
             throw new \InvalidArgumentException('The "headers" option must be an array');
         }
         // If not already set, add an auth header to the request
         if (!isset($headers['Authorization']) && isset($options['credentialsWrapper'])) {
             $credentialsWrapper = $options['credentialsWrapper'];
-            $audience = isset($options['audience']) ? $options['audience'] : null;
+            $audience = $options['audience'] ?? null;
             $callback = $credentialsWrapper->getAuthorizationHeaderCallback($audience);
             // Prevent unexpected behavior, as the authorization header callback
             // uses lowercase "authorization"
             unset($headers['authorization']);
-            $authHeaders = $callback();
+            // Mitigate scenario where InsecureCredentialsWrapper returns null.
+            $authHeaders = empty($callback) ? [] : $callback();
             if (!is_array($authHeaders)) {
                 throw new \UnexpectedValueException('Expected array response from authorization header callback');
             }
diff --git a/vendor/prefixed/google/gax/src/Transport/Rest/JsonStreamDecoder.php b/vendor/prefixed/google/gax/src/Transport/Rest/JsonStreamDecoder.php
index 82ec4e937..dc7b209ca 100644
--- a/vendor/prefixed/google/gax/src/Transport/Rest/JsonStreamDecoder.php
+++ b/vendor/prefixed/google/gax/src/Transport/Rest/JsonStreamDecoder.php
@@ -38,7 +38,7 @@ class JsonStreamDecoder
 {
     const ESCAPE_CHAR = '\\';
     /**
-     * @var StreamInterface
+     * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Http\Message\StreamInterface
      */
     private $stream;
     /**
@@ -79,7 +79,7 @@ class JsonStreamDecoder
      *
      * @experimental
      */
-    public function __construct(StreamInterface $stream, $decodeType, $options = [])
+    public function __construct(StreamInterface $stream, string $decodeType, array $options = [])
     {
         $this->stream = $stream;
         $this->decodeType = $decodeType;
diff --git a/vendor/prefixed/google/gax/src/Transport/Rest/RestServerStreamingCall.php b/vendor/prefixed/google/gax/src/Transport/Rest/RestServerStreamingCall.php
index 584ccf702..12861fc66 100644
--- a/vendor/prefixed/google/gax/src/Transport/Rest/RestServerStreamingCall.php
+++ b/vendor/prefixed/google/gax/src/Transport/Rest/RestServerStreamingCall.php
@@ -47,16 +47,16 @@
  */
 class RestServerStreamingCall implements ServerStreamingCallInterface
 {
-    /**
-     * @var callable
-     */
+    /** @var callable */
     private $httpHandler;
+    /** @var array */
+    private $decoderOptions;
     /**
-     * @var RequestInterface
+     * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Http\Message\RequestInterface
      */
     private $originalRequest;
     /**
-     * @var ?JsonStreamDecoder
+     * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Transport\Rest\JsonStreamDecoder|null
      */
     private $decoder;
     /**
@@ -64,15 +64,11 @@ class RestServerStreamingCall implements ServerStreamingCallInterface
      */
     private $decodeType;
     /**
-     * @var array
-     */
-    private $decoderOptions;
-    /**
-     * @var ?ResponseInterface
+     * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Http\Message\ResponseInterface|null
      */
     private $response;
     /**
-     * @var stdClass
+     * @var \stdClass
      */
     private $status;
     /**
@@ -80,7 +76,7 @@ class RestServerStreamingCall implements ServerStreamingCallInterface
      * @param string $decodeType
      * @param array $decoderOptions
      */
-    public function __construct($httpHandler, $decodeType, array $decoderOptions)
+    public function __construct(callable $httpHandler, string $decodeType, array $decoderOptions)
     {
         $this->httpHandler = $httpHandler;
         $this->decodeType = $decodeType;
@@ -118,7 +114,7 @@ public function start($request, array $headers = [], array $callOptions = [])
      * @param array $headers
      * @return RequestInterface
      */
-    private function appendHeaders($request, $headers)
+    private function appendHeaders(RequestInterface $request, array $headers)
     {
         foreach ($headers as $key => $value) {
             $request = $request->hasHeader($key) ? $request->withAddedHeader($key, $value) : $request->withHeader($key, $value);
@@ -143,7 +139,7 @@ public function responses()
      * Return the status of the server stream. If the call has not been started
      * this will be null.
      *
-     * @return \stdClass The status, with integer $code, string
+     * @return stdClass The status, with integer $code, string
      *                   $details, and array $metadata members
      */
     public function getStatus()
diff --git a/vendor/prefixed/google/gax/src/Transport/RestTransport.php b/vendor/prefixed/google/gax/src/Transport/RestTransport.php
index fa9394b00..4d9f20175 100644
--- a/vendor/prefixed/google/gax/src/Transport/RestTransport.php
+++ b/vendor/prefixed/google/gax/src/Transport/RestTransport.php
@@ -56,7 +56,7 @@ class RestTransport implements TransportInterface
         startServerStreamingCall as protected unsupportedServerStreamingCall;
     }
     /**
-     * @var RequestBuilder
+     * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\RequestBuilder
      */
     private $requestBuilder;
     /**
@@ -86,7 +86,7 @@ public function __construct(RequestBuilder $requestBuilder, callable $httpHandle
      * @return RestTransport
      * @throws ValidationException
      */
-    public static function build($apiEndpoint, $restConfigPath, array $config = [])
+    public static function build(string $apiEndpoint, string $restConfigPath, array $config = [])
     {
         $config += ['httpHandler' => null, 'clientCertSource' => null];
         list($baseUri, $port) = self::normalizeServiceAddress($apiEndpoint);
@@ -110,13 +110,30 @@ public function startUnaryCall(Call $call, array $options)
             $decodeType = $call->getDecodeType();
             /** @var Message $return */
             $return = new $decodeType();
-            $return->mergeFromJsonString((string) $response->getBody(), \true);
+            $body = (string) $response->getBody();
+            // In some rare cases LRO response metadata may not be loaded
+            // in the descriptor pool, triggering an exception. The catch
+            // statement handles this case and attempts to add the LRO
+            // metadata type to the pool by directly instantiating the
+            // metadata class.
+            try {
+                $return->mergeFromJsonString($body, \true);
+            } catch (\Exception $ex) {
+                if (!isset($options['metadataReturnType'])) {
+                    throw $ex;
+                }
+                if (strpos($ex->getMessage(), 'Error occurred during parsing:') !== 0) {
+                    throw $ex;
+                }
+                new $options['metadataReturnType']();
+                $return->mergeFromJsonString($body, \true);
+            }
             if (isset($options['metadataCallback'])) {
                 $metadataCallback = $options['metadataCallback'];
                 $metadataCallback($response->getHeaders());
             }
             return $return;
-        }, function (\Exception $ex) {
+        }, function (\Throwable $ex) {
             if ($ex instanceof RequestException && $ex->hasResponse()) {
                 throw ApiException::createFromRequestException($ex);
             }
@@ -172,7 +189,7 @@ private function _serverStreamRequest($httpHandler, $request, $headers, $decodeT
      */
     private function getCallOptions(array $options)
     {
-        $callOptions = isset($options['transportOptions']['restOptions']) ? $options['transportOptions']['restOptions'] : [];
+        $callOptions = $options['transportOptions']['restOptions'] ?? [];
         if (isset($options['timeoutMillis'])) {
             $callOptions['timeout'] = $options['timeoutMillis'] / 1000;
         }
diff --git a/vendor/prefixed/google/gax/src/ValidationTrait.php b/vendor/prefixed/google/gax/src/ValidationTrait.php
index 2e440d6f8..6c82a48d8 100644
--- a/vendor/prefixed/google/gax/src/ValidationTrait.php
+++ b/vendor/prefixed/google/gax/src/ValidationTrait.php
@@ -32,6 +32,9 @@
  */
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore;
 
+/**
+ * @internal
+ */
 trait ValidationTrait
 {
     /**
@@ -39,7 +42,7 @@ trait ValidationTrait
      * @param array $requiredKeys List of keys to check for in $arr
      * @return array Returns $arr for fluent use
      */
-    public static function validate($arr, $requiredKeys)
+    public static function validate(array $arr, array $requiredKeys)
     {
         return self::validateImpl($arr, $requiredKeys, \true);
     }
@@ -48,7 +51,7 @@ public static function validate($arr, $requiredKeys)
      * @param array $requiredKeys List of keys to check for in $arr
      * @return array Returns $arr for fluent use
      */
-    public static function validateNotNull($arr, $requiredKeys)
+    public static function validateNotNull(array $arr, array $requiredKeys)
     {
         return self::validateImpl($arr, $requiredKeys, \false);
     }
@@ -66,7 +69,7 @@ private static function validateImpl($arr, $requiredKeys, $allowNull)
      * @param string $filePath
      * @throws ValidationException
      */
-    private static function validateFileExists($filePath)
+    private static function validateFileExists(string $filePath)
     {
         if (!file_exists($filePath)) {
             throw new ValidationException("Could not find specified file: {$filePath}");
diff --git a/vendor/prefixed/google/gax/src/Version.php b/vendor/prefixed/google/gax/src/Version.php
index 5a9bf9097..95719794e 100644
--- a/vendor/prefixed/google/gax/src/Version.php
+++ b/vendor/prefixed/google/gax/src/Version.php
@@ -32,6 +32,9 @@
  */
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore;
 
+/**
+ * @internal
+ */
 class Version
 {
     /**
@@ -56,7 +59,7 @@ public static function getApiCoreVersion()
      * @param string $file
      * @return string
      */
-    public static function readVersionFile($file)
+    public static function readVersionFile(string $file)
     {
         $versionString = file_exists($file) ? (string) file_get_contents($file) : "";
         return trim($versionString);
diff --git a/vendor/prefixed/google/grpc-gcp/cloudprober/grpc_gpc_prober/spanner_probes.php b/vendor/prefixed/google/grpc-gcp/cloudprober/grpc_gpc_prober/spanner_probes.php
index 8d2fd2540..448754384 100644
--- a/vendor/prefixed/google/grpc-gcp/cloudprober/grpc_gpc_prober/spanner_probes.php
+++ b/vendor/prefixed/google/grpc-gcp/cloudprober/grpc_gpc_prober/spanner_probes.php
@@ -210,7 +210,7 @@ function partition($client, &$metrics)
     hardAssertIfStatusOk($status);
     hardAssert($session !== null, 'Call completed with a null response');
     $txn_options = new Google\Cloud\Spanner\V1\TransactionOptions();
-    $ro = new Google\Cloud\Spanner\V1\TransactionOptions\ReadOnly();
+    $ro = new Google\Cloud\Spanner\V1\TransactionOptions\PBReadOnly();
     $txn_options->setReadOnly($ro);
     $txn_selector = new Google\Cloud\Spanner\V1\TransactionSelector();
     $txn_selector->setBegin($txn_options);
diff --git a/vendor/prefixed/google/grpc-gcp/cloudprober/grpc_gpc_prober/stackdriver_util.php b/vendor/prefixed/google/grpc-gcp/cloudprober/grpc_gpc_prober/stackdriver_util.php
index eabc03756..02c0d6b76 100644
--- a/vendor/prefixed/google/grpc-gcp/cloudprober/grpc_gpc_prober/stackdriver_util.php
+++ b/vendor/prefixed/google/grpc-gcp/cloudprober/grpc_gpc_prober/stackdriver_util.php
@@ -9,6 +9,10 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Cloud\ErrorReporting\V1beta1\SourceLocation;
 class StackdriverUtil
 {
+    protected $api;
+    protected $metrics;
+    protected $success;
+    protected $err_client;
     function __construct($api)
     {
         $this->api = $api;
diff --git a/vendor/prefixed/google/grpc-gcp/src/CreatedByDeserializeCheck.php b/vendor/prefixed/google/grpc-gcp/src/CreatedByDeserializeCheck.php
index 2bcfc6d0d..93d3ea4aa 100644
--- a/vendor/prefixed/google/grpc-gcp/src/CreatedByDeserializeCheck.php
+++ b/vendor/prefixed/google/grpc-gcp/src/CreatedByDeserializeCheck.php
@@ -41,6 +41,13 @@ public function serialize()
     {
         return '0';
     }
+    /**
+     * @return string
+     */
+    public function __serialize()
+    {
+        return $this->serialize();
+    }
     /**
      * @param string $data
      */
@@ -48,6 +55,13 @@ public function unserialize($data)
     {
         $this->data = 1;
     }
+    /**
+     * @param string $data
+     */
+    public function __unserialize($data)
+    {
+        $this->unserialize($data);
+    }
     /**
      * @param $data
      */
diff --git a/vendor/prefixed/google/grpc-gcp/src/GCPCallInvoker.php b/vendor/prefixed/google/grpc-gcp/src/GCPCallInvoker.php
index adac6f48d..43be9adbb 100644
--- a/vendor/prefixed/google/grpc-gcp/src/GCPCallInvoker.php
+++ b/vendor/prefixed/google/grpc-gcp/src/GCPCallInvoker.php
@@ -50,7 +50,7 @@ public function createChannelFactory($hostname, $opts)
     {
         if ($this->channel) {
             // $call_invoker object has already created from previews PHP-FPM scripts.
-            // Only need to udpate the $opts including the credentials.
+            // Only need to update the $opts including the credentials.
             $this->channel->updateOpts($opts);
         } else {
             $opts['affinity_conf'] = $this->affinity_conf;
diff --git a/vendor/prefixed/google/grpc-gcp/src/GcpBaseCall.php b/vendor/prefixed/google/grpc-gcp/src/GcpBaseCall.php
index 9dae25541..8fd7b936d 100644
--- a/vendor/prefixed/google/grpc-gcp/src/GcpBaseCall.php
+++ b/vendor/prefixed/google/grpc-gcp/src/GcpBaseCall.php
@@ -36,6 +36,7 @@ abstract class GcpBaseCall
     protected $argument;
     protected $metadata;
     protected $options;
+    protected $deserialize;
     // In GCP extension, it is when a RPC calls "start", we pick a channel.
     // Thus we need to save the $me
     protected $metadata_rpc = array();
diff --git a/vendor/prefixed/google/longrunning/VERSION b/vendor/prefixed/google/longrunning/VERSION
index 6e8bf73aa..17b2ccd9b 100644
--- a/vendor/prefixed/google/longrunning/VERSION
+++ b/vendor/prefixed/google/longrunning/VERSION
@@ -1 +1 @@
-0.1.0
+0.4.3
diff --git a/vendor/prefixed/google/longrunning/metadata/Longrunning/Operations.php b/vendor/prefixed/google/longrunning/metadata/Longrunning/Operations.php
index ba98012e8..b7240e2f8 100644
Binary files a/vendor/prefixed/google/longrunning/metadata/Longrunning/Operations.php and b/vendor/prefixed/google/longrunning/metadata/Longrunning/Operations.php differ
diff --git a/vendor/prefixed/google/longrunning/src/ApiCore/LongRunning/Gapic/OperationsGapicClient.php b/vendor/prefixed/google/longrunning/src/ApiCore/LongRunning/Gapic/OperationsGapicClient.php
index bfe558683..f7059156c 100644
--- a/vendor/prefixed/google/longrunning/src/ApiCore/LongRunning/Gapic/OperationsGapicClient.php
+++ b/vendor/prefixed/google/longrunning/src/ApiCore/LongRunning/Gapic/OperationsGapicClient.php
@@ -1,375 +1,15 @@
  'my-service-address',
- *     'scopes' => ['my-service-scope'],
- * ];
- * $operationsClient = new OperationsClient($options);
- * try {
- *     $name = '';
- *     $response = $operationsClient->getOperation($name);
- * } finally {
- *     if (isset($operationsClient)) {
- *         $operationsClient->close();
- *     }
- * }
- * ```
- *
- * @experimental
- */
-class OperationsGapicClient
-{
-    use GapicClientTrait;
+if (\false) {
     /**
-     * The name of the service.
+     * This class is deprecated. Use Google\LongRunning\OperationsClient instead.
+     * @deprecated
      */
-    const SERVICE_NAME = 'google.longrunning.Operations';
-    /**
-     * The default port of the service.
-     */
-    const DEFAULT_SERVICE_PORT = 443;
-    /**
-     * The name of the code generator, to be included in the agent header.
-     */
-    const CODEGEN_NAME = 'gapic';
-    private static function getClientDefaults()
-    {
-        return ['serviceName' => self::SERVICE_NAME, 'clientConfig' => __DIR__ . '/../resources/operations_client_config.json', 'descriptorsConfigPath' => __DIR__ . '/../resources/operations_descriptor_config.php', 'credentialsConfig' => [], 'transportConfig' => ['rest' => ['restClientConfigPath' => __DIR__ . '/../resources/operations_rest_client_config.php']]];
-    }
-    /**
-     * Constructor.
-     *
-     * @param array $options {
-     *                       Required. Options for configuring the service API wrapper. Those options
-     *                       that must be provided are marked as Required.
-     *
-     *     @type string $apiEndpoint
-     *           Required. The address of the API remote host. May optionally include the port,
-     *           formatted as ":".
-     *     @type string|array $credentials
-     *           The credentials to be used by the client to authorize API calls. This option
-     *           accepts either a path to a credentials file, or a decoded credentials file as a
-     *           PHP array.
-     *           *Advanced usage*: In addition, this option can also accept a pre-constructed
-     *           \Google\Auth\FetchAuthTokenInterface object or \Google\ApiCore\CredentialsWrapper
-     *           object. Note that when one of these objects are provided, any settings in
-     *           $credentialsConfig will be ignored.
-     *     @type array $credentialsConfig
-     *           Options used to configure credentials, including auth token caching, for the client. For
-     *           a full list of supporting configuration options, 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 $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
-     *           TransportInterface object. Note that when this objects 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 GrpcTransport::build and RestTransport::build methods for the supported
-     *           options.
-     * }
-     * @experimental
-     */
-    public function __construct($options = [])
-    {
-        $clientOptions = $this->buildClientOptions($options);
-        $this->setClientOptions($clientOptions);
-    }
-    /**
-     * Gets the latest state of a long-running operation.  Clients can use this
-     * method to poll the operation result at intervals as recommended by the API
-     * service.
-     *
-     * Sample code:
-     * ```
-     * $options = [
-     *     'apiEndpoint' => 'my-service-address',
-     *     'scopes' => ['my-service-scope'],
-     * ];
-     * $operationsClient = new OperationsClient($options);
-     * try {
-     *     $name = '';
-     *     $response = $operationsClient->getOperation($name);
-     * } finally {
-     *     if (isset($operationsClient)) {
-     *         $operationsClient->close();
-     *     }
-     * }
-     * ```
-     *
-     * @param string $name         The name of the operation resource.
-     * @param array  $optionalArgs {
-     *                             Optional.
-     *
-     *     @type RetrySettings|array $retrySettings
-     *          Retry settings to use for this call. Can be a
-     *          {@see Google\ApiCore\RetrySettings} object, or an associative array
-     *          of retry settings parameters. See the documentation on
-     *          {@see Google\ApiCore\RetrySettings} for example usage.
-     * }
-     *
-     * @return \Google\LongRunning\Operation
-     *
-     * @throws ApiException if the remote call fails
-     * @experimental
-     */
-    public function getOperation($name, $optionalArgs = [])
-    {
-        $request = new GetOperationRequest();
-        $request->setName($name);
-        $requestParams = new RequestParamsHeaderDescriptor(['name' => $request->getName()]);
-        $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
-        return $this->startCall('GetOperation', Operation::class, $optionalArgs, $request)->wait();
-    }
-    /**
-     * Lists operations that match the specified filter in the request. If the
-     * server doesn't support this method, it returns `UNIMPLEMENTED`.
-     *
-     * NOTE: the `name` binding below allows API services to override the binding
-     * to use different resource name schemes, such as `users/*/operations`.
-     *
-     * Sample code:
-     * ```
-     * $options = [
-     *     'apiEndpoint' => 'my-service-address',
-     *     'scopes' => ['my-service-scope'],
-     * ];
-     * $operationsClient = new OperationsClient($options);
-     * try {
-     *     $name = '';
-     *     $filter = '';
-     *     // Iterate through all elements
-     *     $pagedResponse = $operationsClient->listOperations($name, $filter);
-     *     foreach ($pagedResponse->iterateAllElements() as $element) {
-     *         // doSomethingWith($element);
-     *     }
-     *
-     *     // OR iterate over pages of elements
-     *     $pagedResponse = $operationsClient->listOperations($name, $filter);
-     *     foreach ($pagedResponse->iteratePages() as $page) {
-     *         foreach ($page as $element) {
-     *             // doSomethingWith($element);
-     *         }
-     *     }
-     * } finally {
-     *     if (isset($operationsClient)) {
-     *         $operationsClient->close();
-     *     }
-     * }
-     * ```
-     *
-     * @param string $name         The name of the operation collection.
-     * @param string $filter       The standard list filter.
-     * @param array  $optionalArgs {
-     *                             Optional.
-     *
-     *     @type int $pageSize
-     *          The maximum number of resources contained in the underlying API
-     *          response. The API may return fewer values in a page, even if
-     *          there are additional values to be retrieved.
-     *     @type string $pageToken
-     *          A page token is used to specify a page of values to be returned.
-     *          If no page token is specified (the default), the first page
-     *          of values will be returned. Any page token used here must have
-     *          been generated by a previous call to the API.
-     *     @type RetrySettings|array $retrySettings
-     *          Retry settings to use for this call. Can be a
-     *          {@see Google\ApiCore\RetrySettings} object, or an associative array
-     *          of retry settings parameters. See the documentation on
-     *          {@see Google\ApiCore\RetrySettings} for example usage.
-     * }
-     *
-     * @return \Google\ApiCore\PagedListResponse
-     *
-     * @throws ApiException if the remote call fails
-     * @experimental
-     */
-    public function listOperations($name, $filter, $optionalArgs = [])
-    {
-        $request = new ListOperationsRequest();
-        $request->setName($name);
-        $request->setFilter($filter);
-        if (isset($optionalArgs['pageSize'])) {
-            $request->setPageSize($optionalArgs['pageSize']);
-        }
-        if (isset($optionalArgs['pageToken'])) {
-            $request->setPageToken($optionalArgs['pageToken']);
-        }
-        $requestParams = new RequestParamsHeaderDescriptor(['name' => $request->getName()]);
-        $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
-        return $this->getPagedListResponse('ListOperations', $optionalArgs, ListOperationsResponse::class, $request);
-    }
-    /**
-     * Starts asynchronous cancellation on a long-running operation.  The server
-     * makes a best effort to cancel the operation, but success is not
-     * guaranteed.  If the server doesn't support this method, it returns
-     * `google.rpc.Code.UNIMPLEMENTED`.  Clients can use
-     * [Operations.GetOperation][google.longrunning.Operations.GetOperation] or
-     * other methods to check whether the cancellation succeeded or whether the
-     * operation completed despite cancellation. On successful cancellation,
-     * the operation is not deleted; instead, it becomes an operation with
-     * an [Operation.error][google.longrunning.Operation.error] value with a
-     * [google.rpc.Status.code][google.rpc.Status.code] of 1,
-     * corresponding to `Code.CANCELLED`.
-     *
-     * Sample code:
-     * ```
-     * $options = [
-     *     'apiEndpoint' => 'my-service-address',
-     *     'scopes' => ['my-service-scope'],
-     * ];
-     * $operationsClient = new OperationsClient($options);
-     * try {
-     *     $name = '';
-     *     $operationsClient->cancelOperation($name);
-     * } finally {
-     *     if (isset($operationsClient)) {
-     *         $operationsClient->close();
-     *     }
-     * }
-     * ```
-     *
-     * @param string $name         The name of the operation resource to be cancelled.
-     * @param array  $optionalArgs {
-     *                             Optional.
-     *
-     *     @type RetrySettings|array $retrySettings
-     *          Retry settings to use for this call. Can be a
-     *          {@see Google\ApiCore\RetrySettings} object, or an associative array
-     *          of retry settings parameters. See the documentation on
-     *          {@see Google\ApiCore\RetrySettings} for example usage.
-     * }
-     *
-     * @throws ApiException if the remote call fails
-     * @experimental
-     */
-    public function cancelOperation($name, $optionalArgs = [])
-    {
-        $request = new CancelOperationRequest();
-        $request->setName($name);
-        $requestParams = new RequestParamsHeaderDescriptor(['name' => $request->getName()]);
-        $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
-        return $this->startCall('CancelOperation', GPBEmpty::class, $optionalArgs, $request)->wait();
-    }
-    /**
-     * Deletes a long-running operation. This method indicates that the client is
-     * no longer interested in the operation result. It does not cancel the
-     * operation. If the server doesn't support this method, it returns
-     * `google.rpc.Code.UNIMPLEMENTED`.
-     *
-     * Sample code:
-     * ```
-     * $options = [
-     *     'apiEndpoint' => 'my-service-address',
-     *     'scopes' => ['my-service-scope'],
-     * ];
-     * $operationsClient = new OperationsClient($options);
-     * try {
-     *     $name = '';
-     *     $operationsClient->deleteOperation($name);
-     * } finally {
-     *     if (isset($operationsClient)) {
-     *         $operationsClient->close();
-     *     }
-     * }
-     * ```
-     *
-     * @param string $name         The name of the operation resource to be deleted.
-     * @param array  $optionalArgs {
-     *                             Optional.
-     *
-     *     @type RetrySettings|array $retrySettings
-     *          Retry settings to use for this call. Can be a
-     *          {@see Google\ApiCore\RetrySettings} object, or an associative array
-     *          of retry settings parameters. See the documentation on
-     *          {@see Google\ApiCore\RetrySettings} for example usage.
-     * }
-     *
-     * @throws ApiException if the remote call fails
-     * @experimental
-     */
-    public function deleteOperation($name, $optionalArgs = [])
+    class OperationsGapicClient extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\Client\OperationsClient
     {
-        $request = new DeleteOperationRequest();
-        $request->setName($name);
-        $requestParams = new RequestParamsHeaderDescriptor(['name' => $request->getName()]);
-        $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
-        return $this->startCall('DeleteOperation', GPBEmpty::class, $optionalArgs, $request)->wait();
     }
 }
+// Autoload the class and its alias
+class_exists('Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Gapic\\OperationsGapicClient');
diff --git a/vendor/prefixed/google/longrunning/src/ApiCore/LongRunning/OperationsClient.php b/vendor/prefixed/google/longrunning/src/ApiCore/LongRunning/OperationsClient.php
index a33c588f1..dfbce6cf3 100644
--- a/vendor/prefixed/google/longrunning/src/ApiCore/LongRunning/OperationsClient.php
+++ b/vendor/prefixed/google/longrunning/src/ApiCore/LongRunning/OperationsClient.php
@@ -1,40 +1,16 @@
  ['google.longrunning.Operations' => ['ListOperations' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getOperations']]]]];
diff --git a/vendor/prefixed/google/longrunning/src/ApiCore/LongRunning/resources/operations_rest_client_config.php b/vendor/prefixed/google/longrunning/src/ApiCore/LongRunning/resources/operations_rest_client_config.php
deleted file mode 100644
index 8f27b3ab3..000000000
--- a/vendor/prefixed/google/longrunning/src/ApiCore/LongRunning/resources/operations_rest_client_config.php
+++ /dev/null
@@ -1,5 +0,0 @@
- ['google.longrunning.Operations' => ['GetOperation' => ['method' => 'get', 'uriTemplate' => '/v1/{name=operations/**}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'ListOperations' => ['method' => 'get', 'uriTemplate' => '/v1/{name=operations}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'CancelOperation' => ['method' => 'post', 'uriTemplate' => '/v1/{name=operations/**}:cancel', 'body' => '*', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'DeleteOperation' => ['method' => 'delete', 'uriTemplate' => '/v1/{name=operations/**}', 'placeholders' => ['name' => ['getters' => ['getName']]]]]]];
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/CancelOperationRequest.php b/vendor/prefixed/google/longrunning/src/LongRunning/CancelOperationRequest.php
index 2539c86f5..46d985b5f 100644
--- a/vendor/prefixed/google/longrunning/src/LongRunning/CancelOperationRequest.php
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/CancelOperationRequest.php
@@ -20,6 +20,17 @@ class CancelOperationRequest extends \Matomo\Dependencies\GoogleAnalyticsImporte
      * Generated from protobuf field string name = 1;
      */
     private $name = '';
+    /**
+     * @param string $name The name of the operation resource to be cancelled.
+     *
+     * @return \Google\LongRunning\CancelOperationRequest
+     *
+     * @experimental
+     */
+    public static function build(string $name) : self
+    {
+        return (new self())->setName($name);
+    }
     /**
      * Constructor.
      *
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/Client/OperationsClient.php b/vendor/prefixed/google/longrunning/src/LongRunning/Client/OperationsClient.php
new file mode 100644
index 000000000..c9787c052
--- /dev/null
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/Client/OperationsClient.php
@@ -0,0 +1,304 @@
+ self::SERVICE_NAME, 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, 'clientConfig' => __DIR__ . '/../resources/operations_client_config.json', 'descriptorsConfigPath' => __DIR__ . '/../resources/operations_descriptor_config.php', 'gcpApiConfigPath' => __DIR__ . '/../resources/operations_grpc_config.json', 'credentialsConfig' => ['defaultScopes' => self::$serviceScopes], 'transportConfig' => ['rest' => ['restClientConfigPath' => __DIR__ . '/../resources/operations_rest_client_config.php']]];
+    }
+    /**
+     * Constructor.
+     *
+     * @param array $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 'longrunning.googleapis.com:443'.
+     *     @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
+     *           The credentials to be used by the client to authorize API calls. This option
+     *           accepts either a path to a credentials file, or a decoded credentials file as a
+     *           PHP array.
+     *           *Advanced usage*: In addition, this option can also accept a pre-constructed
+     *           {@see \Google\Auth\FetchAuthTokenInterface} object or
+     *           {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
+     *           objects are provided, any settings in $credentialsConfig will be ignored.
+     *     @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.
+     * }
+     *
+     * @throws ValidationException
+     */
+    public function __construct(array $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);
+    }
+    /**
+     * Starts asynchronous cancellation on a long-running operation.  The server
+     * makes a best effort to cancel the operation, but success is not
+     * guaranteed.  If the server doesn't support this method, it returns
+     * `google.rpc.Code.UNIMPLEMENTED`.  Clients can use
+     * [Operations.GetOperation][google.longrunning.Operations.GetOperation] or
+     * other methods to check whether the cancellation succeeded or whether the
+     * operation completed despite cancellation. On successful cancellation,
+     * the operation is not deleted; instead, it becomes an operation with
+     * an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
+     * corresponding to `Code.CANCELLED`.
+     *
+     * The async variant is {@see OperationsClient::cancelOperationAsync()} .
+     *
+     * @example samples/OperationsClient/cancel_operation.php
+     *
+     * @param CancelOperationRequest $request     A request to house fields associated with the call.
+     * @param array                  $callOptions {
+     *     Optional.
+     *
+     *     @type RetrySettings|array $retrySettings
+     *           Retry settings to use for this 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.
+     */
+    public function cancelOperation(CancelOperationRequest $request, array $callOptions = []) : void
+    {
+        $this->startApiCall('CancelOperation', $request, $callOptions)->wait();
+    }
+    /**
+     * Deletes a long-running operation. This method indicates that the client is
+     * no longer interested in the operation result. It does not cancel the
+     * operation. If the server doesn't support this method, it returns
+     * `google.rpc.Code.UNIMPLEMENTED`.
+     *
+     * The async variant is {@see OperationsClient::deleteOperationAsync()} .
+     *
+     * @example samples/OperationsClient/delete_operation.php
+     *
+     * @param DeleteOperationRequest $request     A request to house fields associated with the call.
+     * @param array                  $callOptions {
+     *     Optional.
+     *
+     *     @type RetrySettings|array $retrySettings
+     *           Retry settings to use for this 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.
+     */
+    public function deleteOperation(DeleteOperationRequest $request, array $callOptions = []) : void
+    {
+        $this->startApiCall('DeleteOperation', $request, $callOptions)->wait();
+    }
+    /**
+     * Gets the latest state of a long-running operation.  Clients can use this
+     * method to poll the operation result at intervals as recommended by the API
+     * service.
+     *
+     * The async variant is {@see OperationsClient::getOperationAsync()} .
+     *
+     * @example samples/OperationsClient/get_operation.php
+     *
+     * @param GetOperationRequest $request     A request to house fields associated with the call.
+     * @param array               $callOptions {
+     *     Optional.
+     *
+     *     @type RetrySettings|array $retrySettings
+     *           Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+     *           associative array of retry settings parameters. See the documentation on
+     *           {@see RetrySettings} for example usage.
+     * }
+     *
+     * @return Operation
+     *
+     * @throws ApiException Thrown if the API call fails.
+     */
+    public function getOperation(GetOperationRequest $request, array $callOptions = []) : Operation
+    {
+        return $this->startApiCall('GetOperation', $request, $callOptions)->wait();
+    }
+    /**
+     * Lists operations that match the specified filter in the request. If the
+     * server doesn't support this method, it returns `UNIMPLEMENTED`.
+     *
+     * NOTE: the `name` binding allows API services to override the binding
+     * to use different resource name schemes, such as `users/*/operations`. To
+     * override the binding, API services can add a binding such as
+     * `"/v1/{name=users/*}/operations"` to their service configuration.
+     * For backwards compatibility, the default name includes the operations
+     * collection id, however overriding users must ensure the name binding
+     * is the parent resource, without the operations collection id.
+     *
+     * The async variant is {@see OperationsClient::listOperationsAsync()} .
+     *
+     * @example samples/OperationsClient/list_operations.php
+     *
+     * @param ListOperationsRequest $request     A request to house fields associated with the call.
+     * @param array                 $callOptions {
+     *     Optional.
+     *
+     *     @type RetrySettings|array $retrySettings
+     *           Retry settings to use for this call. 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.
+     */
+    public function listOperations(ListOperationsRequest $request, array $callOptions = []) : PagedListResponse
+    {
+        return $this->startApiCall('ListOperations', $request, $callOptions);
+    }
+    /**
+     * Waits until the specified long-running operation is done or reaches at most
+     * a specified timeout, returning the latest state.  If the operation is
+     * already done, the latest state is immediately returned.  If the timeout
+     * specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
+     * timeout is used.  If the server does not support this method, it returns
+     * `google.rpc.Code.UNIMPLEMENTED`.
+     * Note that this method is on a best-effort basis.  It may return the latest
+     * state before the specified timeout (including immediately), meaning even an
+     * immediate response is no guarantee that the operation is done.
+     *
+     * The async variant is {@see OperationsClient::waitOperationAsync()} .
+     *
+     * @example samples/OperationsClient/wait_operation.php
+     *
+     * @param WaitOperationRequest $request     A request to house fields associated with the call.
+     * @param array                $callOptions {
+     *     Optional.
+     *
+     *     @type RetrySettings|array $retrySettings
+     *           Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+     *           associative array of retry settings parameters. See the documentation on
+     *           {@see RetrySettings} for example usage.
+     * }
+     *
+     * @return Operation
+     *
+     * @throws ApiException Thrown if the API call fails.
+     */
+    public function waitOperation(WaitOperationRequest $request, array $callOptions = []) : Operation
+    {
+        return $this->startApiCall('WaitOperation', $request, $callOptions)->wait();
+    }
+}
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/DeleteOperationRequest.php b/vendor/prefixed/google/longrunning/src/LongRunning/DeleteOperationRequest.php
index 7df34ffe2..a73e440b1 100644
--- a/vendor/prefixed/google/longrunning/src/LongRunning/DeleteOperationRequest.php
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/DeleteOperationRequest.php
@@ -20,6 +20,17 @@ class DeleteOperationRequest extends \Matomo\Dependencies\GoogleAnalyticsImporte
      * Generated from protobuf field string name = 1;
      */
     private $name = '';
+    /**
+     * @param string $name The name of the operation resource to be deleted.
+     *
+     * @return \Google\LongRunning\DeleteOperationRequest
+     *
+     * @experimental
+     */
+    public static function build(string $name) : self
+    {
+        return (new self())->setName($name);
+    }
     /**
      * Constructor.
      *
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/Gapic/OperationsGapicClient.php b/vendor/prefixed/google/longrunning/src/LongRunning/Gapic/OperationsGapicClient.php
new file mode 100644
index 000000000..6b239693b
--- /dev/null
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/Gapic/OperationsGapicClient.php
@@ -0,0 +1,403 @@
+cancelOperation($name);
+ * } finally {
+ *     $operationsClient->close();
+ * }
+ * ```
+ *
+ * @deprecated Please use the new service client {@see \Google\LongRunning\Client\OperationsClient}.
+ */
+class OperationsGapicClient
+{
+    use GapicClientTrait;
+    /** The name of the service. */
+    const SERVICE_NAME = 'google.longrunning.Operations';
+    /**
+     * The default address of the service.
+     *
+     * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
+     */
+    const SERVICE_ADDRESS = 'longrunning.googleapis.com';
+    /** The address template of the service. */
+    private const SERVICE_ADDRESS_TEMPLATE = 'longrunning.UNIVERSE_DOMAIN';
+    /** The default port of the service. */
+    const DEFAULT_SERVICE_PORT = 443;
+    /** The name of the code generator, to be included in the agent header. */
+    const CODEGEN_NAME = 'gapic';
+    /** The default scopes required by the service. */
+    public static $serviceScopes = [];
+    private static function getClientDefaults()
+    {
+        return ['serviceName' => self::SERVICE_NAME, 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, 'clientConfig' => __DIR__ . '/../resources/operations_client_config.json', 'descriptorsConfigPath' => __DIR__ . '/../resources/operations_descriptor_config.php', 'gcpApiConfigPath' => __DIR__ . '/../resources/operations_grpc_config.json', 'credentialsConfig' => ['defaultScopes' => self::$serviceScopes], 'transportConfig' => ['rest' => ['restClientConfigPath' => __DIR__ . '/../resources/operations_rest_client_config.php']]];
+    }
+    /**
+     * Constructor.
+     *
+     * @param array $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 'longrunning.googleapis.com:443'.
+     *     @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
+     *           The credentials to be used by the client to authorize API calls. This option
+     *           accepts either a path to a credentials file, or a decoded credentials file as a
+     *           PHP array.
+     *           *Advanced usage*: In addition, this option can also accept a pre-constructed
+     *           {@see \Google\Auth\FetchAuthTokenInterface} object or
+     *           {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
+     *           objects are provided, any settings in $credentialsConfig will be ignored.
+     *     @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.
+     * }
+     *
+     * @throws ValidationException
+     */
+    public function __construct(array $options = [])
+    {
+        $clientOptions = $this->buildClientOptions($options);
+        $this->setClientOptions($clientOptions);
+    }
+    /**
+     * Starts asynchronous cancellation on a long-running operation.  The server
+     * makes a best effort to cancel the operation, but success is not
+     * guaranteed.  If the server doesn't support this method, it returns
+     * `google.rpc.Code.UNIMPLEMENTED`.  Clients can use
+     * [Operations.GetOperation][google.longrunning.Operations.GetOperation] or
+     * other methods to check whether the cancellation succeeded or whether the
+     * operation completed despite cancellation. On successful cancellation,
+     * the operation is not deleted; instead, it becomes an operation with
+     * an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
+     * corresponding to `Code.CANCELLED`.
+     *
+     * Sample code:
+     * ```
+     * $operationsClient = new OperationsClient();
+     * try {
+     *     $name = 'name';
+     *     $operationsClient->cancelOperation($name);
+     * } finally {
+     *     $operationsClient->close();
+     * }
+     * ```
+     *
+     * @param string $name         The name of the operation resource to be cancelled.
+     * @param array  $optionalArgs {
+     *     Optional.
+     *
+     *     @type RetrySettings|array $retrySettings
+     *           Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+     *           associative array of retry settings parameters. See the documentation on
+     *           {@see RetrySettings} for example usage.
+     * }
+     *
+     * @throws ApiException if the remote call fails
+     */
+    public function cancelOperation($name, array $optionalArgs = [])
+    {
+        $request = new CancelOperationRequest();
+        $requestParamHeaders = [];
+        $request->setName($name);
+        $requestParamHeaders['name'] = $name;
+        $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
+        $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
+        return $this->startCall('CancelOperation', GPBEmpty::class, $optionalArgs, $request)->wait();
+    }
+    /**
+     * Deletes a long-running operation. This method indicates that the client is
+     * no longer interested in the operation result. It does not cancel the
+     * operation. If the server doesn't support this method, it returns
+     * `google.rpc.Code.UNIMPLEMENTED`.
+     *
+     * Sample code:
+     * ```
+     * $operationsClient = new OperationsClient();
+     * try {
+     *     $name = 'name';
+     *     $operationsClient->deleteOperation($name);
+     * } finally {
+     *     $operationsClient->close();
+     * }
+     * ```
+     *
+     * @param string $name         The name of the operation resource to be deleted.
+     * @param array  $optionalArgs {
+     *     Optional.
+     *
+     *     @type RetrySettings|array $retrySettings
+     *           Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+     *           associative array of retry settings parameters. See the documentation on
+     *           {@see RetrySettings} for example usage.
+     * }
+     *
+     * @throws ApiException if the remote call fails
+     */
+    public function deleteOperation($name, array $optionalArgs = [])
+    {
+        $request = new DeleteOperationRequest();
+        $requestParamHeaders = [];
+        $request->setName($name);
+        $requestParamHeaders['name'] = $name;
+        $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
+        $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
+        return $this->startCall('DeleteOperation', GPBEmpty::class, $optionalArgs, $request)->wait();
+    }
+    /**
+     * Gets the latest state of a long-running operation.  Clients can use this
+     * method to poll the operation result at intervals as recommended by the API
+     * service.
+     *
+     * Sample code:
+     * ```
+     * $operationsClient = new OperationsClient();
+     * try {
+     *     $name = 'name';
+     *     $response = $operationsClient->getOperation($name);
+     * } finally {
+     *     $operationsClient->close();
+     * }
+     * ```
+     *
+     * @param string $name         The name of the operation resource.
+     * @param array  $optionalArgs {
+     *     Optional.
+     *
+     *     @type RetrySettings|array $retrySettings
+     *           Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+     *           associative array of retry settings parameters. See the documentation on
+     *           {@see RetrySettings} for example usage.
+     * }
+     *
+     * @return \Google\LongRunning\Operation
+     *
+     * @throws ApiException if the remote call fails
+     */
+    public function getOperation($name, array $optionalArgs = [])
+    {
+        $request = new GetOperationRequest();
+        $requestParamHeaders = [];
+        $request->setName($name);
+        $requestParamHeaders['name'] = $name;
+        $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
+        $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
+        return $this->startCall('GetOperation', Operation::class, $optionalArgs, $request)->wait();
+    }
+    /**
+     * Lists operations that match the specified filter in the request. If the
+     * server doesn't support this method, it returns `UNIMPLEMENTED`.
+     *
+     * NOTE: the `name` binding allows API services to override the binding
+     * to use different resource name schemes, such as `users/*/operations`. To
+     * override the binding, API services can add a binding such as
+     * `"/v1/{name=users/*}/operations"` to their service configuration.
+     * For backwards compatibility, the default name includes the operations
+     * collection id, however overriding users must ensure the name binding
+     * is the parent resource, without the operations collection id.
+     *
+     * Sample code:
+     * ```
+     * $operationsClient = new OperationsClient();
+     * try {
+     *     $name = 'name';
+     *     $filter = 'filter';
+     *     // Iterate over pages of elements
+     *     $pagedResponse = $operationsClient->listOperations($name, $filter);
+     *     foreach ($pagedResponse->iteratePages() as $page) {
+     *         foreach ($page as $element) {
+     *             // doSomethingWith($element);
+     *         }
+     *     }
+     *     // Alternatively:
+     *     // Iterate through all elements
+     *     $pagedResponse = $operationsClient->listOperations($name, $filter);
+     *     foreach ($pagedResponse->iterateAllElements() as $element) {
+     *         // doSomethingWith($element);
+     *     }
+     * } finally {
+     *     $operationsClient->close();
+     * }
+     * ```
+     *
+     * @param string $name         The name of the operation's parent resource.
+     * @param string $filter       The standard list filter.
+     * @param array  $optionalArgs {
+     *     Optional.
+     *
+     *     @type int $pageSize
+     *           The maximum number of resources contained in the underlying API
+     *           response. The API may return fewer values in a page, even if
+     *           there are additional values to be retrieved.
+     *     @type string $pageToken
+     *           A page token is used to specify a page of values to be returned.
+     *           If no page token is specified (the default), the first page
+     *           of values will be returned. Any page token used here must have
+     *           been generated by a previous call to the API.
+     *     @type RetrySettings|array $retrySettings
+     *           Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+     *           associative array of retry settings parameters. See the documentation on
+     *           {@see RetrySettings} for example usage.
+     * }
+     *
+     * @return \Google\ApiCore\PagedListResponse
+     *
+     * @throws ApiException if the remote call fails
+     */
+    public function listOperations($name, $filter, array $optionalArgs = [])
+    {
+        $request = new ListOperationsRequest();
+        $requestParamHeaders = [];
+        $request->setName($name);
+        $request->setFilter($filter);
+        $requestParamHeaders['name'] = $name;
+        if (isset($optionalArgs['pageSize'])) {
+            $request->setPageSize($optionalArgs['pageSize']);
+        }
+        if (isset($optionalArgs['pageToken'])) {
+            $request->setPageToken($optionalArgs['pageToken']);
+        }
+        $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
+        $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
+        return $this->getPagedListResponse('ListOperations', $optionalArgs, ListOperationsResponse::class, $request);
+    }
+    /**
+     * Waits until the specified long-running operation is done or reaches at most
+     * a specified timeout, returning the latest state.  If the operation is
+     * already done, the latest state is immediately returned.  If the timeout
+     * specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
+     * timeout is used.  If the server does not support this method, it returns
+     * `google.rpc.Code.UNIMPLEMENTED`.
+     * Note that this method is on a best-effort basis.  It may return the latest
+     * state before the specified timeout (including immediately), meaning even an
+     * immediate response is no guarantee that the operation is done.
+     *
+     * Sample code:
+     * ```
+     * $operationsClient = new OperationsClient();
+     * try {
+     *     $response = $operationsClient->waitOperation();
+     * } finally {
+     *     $operationsClient->close();
+     * }
+     * ```
+     *
+     * @param array $optionalArgs {
+     *     Optional.
+     *
+     *     @type string $name
+     *           The name of the operation resource to wait on.
+     *     @type Duration $timeout
+     *           The maximum duration to wait before timing out. If left blank, the wait
+     *           will be at most the time permitted by the underlying HTTP/RPC protocol.
+     *           If RPC context deadline is also specified, the shorter one will be used.
+     *     @type RetrySettings|array $retrySettings
+     *           Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+     *           associative array of retry settings parameters. See the documentation on
+     *           {@see RetrySettings} for example usage.
+     * }
+     *
+     * @return \Google\LongRunning\Operation
+     *
+     * @throws ApiException if the remote call fails
+     */
+    public function waitOperation(array $optionalArgs = [])
+    {
+        $request = new WaitOperationRequest();
+        if (isset($optionalArgs['name'])) {
+            $request->setName($optionalArgs['name']);
+        }
+        if (isset($optionalArgs['timeout'])) {
+            $request->setTimeout($optionalArgs['timeout']);
+        }
+        return $this->startCall('WaitOperation', Operation::class, $optionalArgs, $request)->wait();
+    }
+}
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/GetOperationRequest.php b/vendor/prefixed/google/longrunning/src/LongRunning/GetOperationRequest.php
index 8de5c5631..5c061a46b 100644
--- a/vendor/prefixed/google/longrunning/src/LongRunning/GetOperationRequest.php
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/GetOperationRequest.php
@@ -20,6 +20,17 @@ class GetOperationRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\G
      * Generated from protobuf field string name = 1;
      */
     private $name = '';
+    /**
+     * @param string $name The name of the operation resource.
+     *
+     * @return \Google\LongRunning\GetOperationRequest
+     *
+     * @experimental
+     */
+    public static function build(string $name) : self
+    {
+        return (new self())->setName($name);
+    }
     /**
      * Constructor.
      *
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/ListOperationsRequest.php b/vendor/prefixed/google/longrunning/src/LongRunning/ListOperationsRequest.php
index 6744545ee..8994d5ae6 100644
--- a/vendor/prefixed/google/longrunning/src/LongRunning/ListOperationsRequest.php
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/ListOperationsRequest.php
@@ -15,7 +15,7 @@
 class ListOperationsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
 {
     /**
-     * The name of the operation collection.
+     * The name of the operation's parent resource.
      *
      * Generated from protobuf field string name = 4;
      */
@@ -38,6 +38,18 @@ class ListOperationsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter
      * Generated from protobuf field string page_token = 3;
      */
     private $page_token = '';
+    /**
+     * @param string $name   The name of the operation's parent resource.
+     * @param string $filter The standard list filter.
+     *
+     * @return \Google\LongRunning\ListOperationsRequest
+     *
+     * @experimental
+     */
+    public static function build(string $name, string $filter) : self
+    {
+        return (new self())->setName($name)->setFilter($filter);
+    }
     /**
      * Constructor.
      *
@@ -45,7 +57,7 @@ class ListOperationsRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter
      *     Optional. Data for populating the Message object.
      *
      *     @type string $name
-     *           The name of the operation collection.
+     *           The name of the operation's parent resource.
      *     @type string $filter
      *           The standard list filter.
      *     @type int $page_size
@@ -60,7 +72,7 @@ public function __construct($data = NULL)
         parent::__construct($data);
     }
     /**
-     * The name of the operation collection.
+     * The name of the operation's parent resource.
      *
      * Generated from protobuf field string name = 4;
      * @return string
@@ -70,7 +82,7 @@ public function getName()
         return $this->name;
     }
     /**
-     * The name of the operation collection.
+     * The name of the operation's parent resource.
      *
      * Generated from protobuf field string name = 4;
      * @param string $var
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/ListOperationsResponse.php b/vendor/prefixed/google/longrunning/src/LongRunning/ListOperationsResponse.php
index 30cda5d2b..43620f293 100644
--- a/vendor/prefixed/google/longrunning/src/LongRunning/ListOperationsResponse.php
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/ListOperationsResponse.php
@@ -32,7 +32,7 @@ class ListOperationsResponse extends \Matomo\Dependencies\GoogleAnalyticsImporte
      * @param array $data {
      *     Optional. Data for populating the Message object.
      *
-     *     @type \Google\LongRunning\Operation[]|\Google\Protobuf\Internal\RepeatedField $operations
+     *     @type array<\Google\LongRunning\Operation>|\Google\Protobuf\Internal\RepeatedField $operations
      *           A list of operations that matches the specified filter in the request.
      *     @type string $next_page_token
      *           The standard List next-page token.
@@ -57,7 +57,7 @@ public function getOperations()
      * A list of operations that matches the specified filter in the request.
      *
      * Generated from protobuf field repeated .google.longrunning.Operation operations = 1;
-     * @param \Google\LongRunning\Operation[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @param array<\Google\LongRunning\Operation>|\Google\Protobuf\Internal\RepeatedField $var
      * @return $this
      */
     public function setOperations($var)
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/Operation.php b/vendor/prefixed/google/longrunning/src/LongRunning/Operation.php
index dd281e5ef..67700d920 100644
--- a/vendor/prefixed/google/longrunning/src/LongRunning/Operation.php
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/Operation.php
@@ -18,7 +18,7 @@ class Operation extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot
     /**
      * The server-assigned name, which is only unique within the same service that
      * originally returns it. If you use the default HTTP mapping, the
-     * `name` should have the format of `operations/some/unique/name`.
+     * `name` should be a resource name ending with `operations/{unique_id}`.
      *
      * Generated from protobuf field string name = 1;
      */
@@ -34,7 +34,7 @@ class Operation extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot
     private $metadata = null;
     /**
      * If the value is `false`, it means the operation is still in progress.
-     * If true, the operation is completed, and either `error` or `response` is
+     * If `true`, the operation is completed, and either `error` or `response` is
      * available.
      *
      * Generated from protobuf field bool done = 3;
@@ -50,7 +50,7 @@ class Operation extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot
      *     @type string $name
      *           The server-assigned name, which is only unique within the same service that
      *           originally returns it. If you use the default HTTP mapping, the
-     *           `name` should have the format of `operations/some/unique/name`.
+     *           `name` should be a resource name ending with `operations/{unique_id}`.
      *     @type \Google\Protobuf\Any $metadata
      *           Service-specific metadata associated with the operation.  It typically
      *           contains progress information and common metadata such as create time.
@@ -58,7 +58,7 @@ class Operation extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Prot
      *           long-running operation should document the metadata type, if any.
      *     @type bool $done
      *           If the value is `false`, it means the operation is still in progress.
-     *           If true, the operation is completed, and either `error` or `response` is
+     *           If `true`, the operation is completed, and either `error` or `response` is
      *           available.
      *     @type \Google\Rpc\Status $error
      *           The error result of the operation in case of failure or cancellation.
@@ -81,7 +81,7 @@ public function __construct($data = NULL)
     /**
      * The server-assigned name, which is only unique within the same service that
      * originally returns it. If you use the default HTTP mapping, the
-     * `name` should have the format of `operations/some/unique/name`.
+     * `name` should be a resource name ending with `operations/{unique_id}`.
      *
      * Generated from protobuf field string name = 1;
      * @return string
@@ -93,7 +93,7 @@ public function getName()
     /**
      * The server-assigned name, which is only unique within the same service that
      * originally returns it. If you use the default HTTP mapping, the
-     * `name` should have the format of `operations/some/unique/name`.
+     * `name` should be a resource name ending with `operations/{unique_id}`.
      *
      * Generated from protobuf field string name = 1;
      * @param string $var
@@ -112,12 +112,20 @@ public function setName($var)
      * long-running operation should document the metadata type, if any.
      *
      * Generated from protobuf field .google.protobuf.Any metadata = 2;
-     * @return \Google\Protobuf\Any
+     * @return \Google\Protobuf\Any|null
      */
     public function getMetadata()
     {
         return $this->metadata;
     }
+    public function hasMetadata()
+    {
+        return isset($this->metadata);
+    }
+    public function clearMetadata()
+    {
+        unset($this->metadata);
+    }
     /**
      * Service-specific metadata associated with the operation.  It typically
      * contains progress information and common metadata such as create time.
@@ -136,7 +144,7 @@ public function setMetadata($var)
     }
     /**
      * If the value is `false`, it means the operation is still in progress.
-     * If true, the operation is completed, and either `error` or `response` is
+     * If `true`, the operation is completed, and either `error` or `response` is
      * available.
      *
      * Generated from protobuf field bool done = 3;
@@ -148,7 +156,7 @@ public function getDone()
     }
     /**
      * If the value is `false`, it means the operation is still in progress.
-     * If true, the operation is completed, and either `error` or `response` is
+     * If `true`, the operation is completed, and either `error` or `response` is
      * available.
      *
      * Generated from protobuf field bool done = 3;
@@ -165,12 +173,16 @@ public function setDone($var)
      * The error result of the operation in case of failure or cancellation.
      *
      * Generated from protobuf field .google.rpc.Status error = 4;
-     * @return \Google\Rpc\Status
+     * @return \Google\Rpc\Status|null
      */
     public function getError()
     {
         return $this->readOneof(4);
     }
+    public function hasError()
+    {
+        return $this->hasOneof(4);
+    }
     /**
      * The error result of the operation in case of failure or cancellation.
      *
@@ -195,12 +207,16 @@ public function setError($var)
      * `TakeSnapshotResponse`.
      *
      * Generated from protobuf field .google.protobuf.Any response = 5;
-     * @return \Google\Protobuf\Any
+     * @return \Google\Protobuf\Any|null
      */
     public function getResponse()
     {
         return $this->readOneof(5);
     }
+    public function hasResponse()
+    {
+        return $this->hasOneof(5);
+    }
     /**
      * The normal response of the operation in case of success.  If the original
      * method returns no data on success, such as `Delete`, the response is
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/OperationsClient.php b/vendor/prefixed/google/longrunning/src/LongRunning/OperationsClient.php
new file mode 100644
index 000000000..169454b79
--- /dev/null
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/OperationsClient.php
@@ -0,0 +1,33 @@
+_simpleRequest('/google.longrunning.Operations/ListOperations', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\ListOperationsResponse', 'decode'], $metadata, $options);
+    }
+    /**
+     * Gets the latest state of a long-running operation.  Clients can use this
+     * method to poll the operation result at intervals as recommended by the API
+     * service.
+     * @param \Google\LongRunning\GetOperationRequest $argument input argument
+     * @param array $metadata metadata
+     * @param array $options call options
+     * @return \Grpc\UnaryCall
+     */
+    public function GetOperation(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\GetOperationRequest $argument, $metadata = [], $options = [])
+    {
+        return $this->_simpleRequest('/google.longrunning.Operations/GetOperation', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Operation', 'decode'], $metadata, $options);
+    }
+    /**
+     * Deletes a long-running operation. This method indicates that the client is
+     * no longer interested in the operation result. It does not cancel the
+     * operation. If the server doesn't support this method, it returns
+     * `google.rpc.Code.UNIMPLEMENTED`.
+     * @param \Google\LongRunning\DeleteOperationRequest $argument input argument
+     * @param array $metadata metadata
+     * @param array $options call options
+     * @return \Grpc\UnaryCall
+     */
+    public function DeleteOperation(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\DeleteOperationRequest $argument, $metadata = [], $options = [])
+    {
+        return $this->_simpleRequest('/google.longrunning.Operations/DeleteOperation', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'decode'], $metadata, $options);
+    }
+    /**
+     * Starts asynchronous cancellation on a long-running operation.  The server
+     * makes a best effort to cancel the operation, but success is not
+     * guaranteed.  If the server doesn't support this method, it returns
+     * `google.rpc.Code.UNIMPLEMENTED`.  Clients can use
+     * [Operations.GetOperation][google.longrunning.Operations.GetOperation] or
+     * other methods to check whether the cancellation succeeded or whether the
+     * operation completed despite cancellation. On successful cancellation,
+     * the operation is not deleted; instead, it becomes an operation with
+     * an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
+     * corresponding to `Code.CANCELLED`.
+     * @param \Google\LongRunning\CancelOperationRequest $argument input argument
+     * @param array $metadata metadata
+     * @param array $options call options
+     * @return \Grpc\UnaryCall
+     */
+    public function CancelOperation(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\CancelOperationRequest $argument, $metadata = [], $options = [])
+    {
+        return $this->_simpleRequest('/google.longrunning.Operations/CancelOperation', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'decode'], $metadata, $options);
+    }
+    /**
+     * Waits until the specified long-running operation is done or reaches at most
+     * a specified timeout, returning the latest state.  If the operation is
+     * already done, the latest state is immediately returned.  If the timeout
+     * specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
+     * timeout is used.  If the server does not support this method, it returns
+     * `google.rpc.Code.UNIMPLEMENTED`.
+     * Note that this method is on a best-effort basis.  It may return the latest
+     * state before the specified timeout (including immediately), meaning even an
+     * immediate response is no guarantee that the operation is done.
+     * @param \Google\LongRunning\WaitOperationRequest $argument input argument
+     * @param array $metadata metadata
+     * @param array $options call options
+     * @return \Grpc\UnaryCall
+     */
+    public function WaitOperation(\Matomo\Dependencies\GoogleAnalyticsImporter\Google\LongRunning\WaitOperationRequest $argument, $metadata = [], $options = [])
+    {
+        return $this->_simpleRequest('/google.longrunning.Operations/WaitOperation', $argument, ['Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Operation', 'decode'], $metadata, $options);
+    }
+}
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/WaitOperationRequest.php b/vendor/prefixed/google/longrunning/src/LongRunning/WaitOperationRequest.php
new file mode 100644
index 000000000..9d3c966ab
--- /dev/null
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/WaitOperationRequest.php
@@ -0,0 +1,108 @@
+google.longrunning.WaitOperationRequest
+ */
+class WaitOperationRequest extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
+{
+    /**
+     * The name of the operation resource to wait on.
+     *
+     * Generated from protobuf field string name = 1;
+     */
+    private $name = '';
+    /**
+     * The maximum duration to wait before timing out. If left blank, the wait
+     * will be at most the time permitted by the underlying HTTP/RPC protocol.
+     * If RPC context deadline is also specified, the shorter one will be used.
+     *
+     * Generated from protobuf field .google.protobuf.Duration timeout = 2;
+     */
+    private $timeout = null;
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type string $name
+     *           The name of the operation resource to wait on.
+     *     @type \Google\Protobuf\Duration $timeout
+     *           The maximum duration to wait before timing out. If left blank, the wait
+     *           will be at most the time permitted by the underlying HTTP/RPC protocol.
+     *           If RPC context deadline is also specified, the shorter one will be used.
+     * }
+     */
+    public function __construct($data = NULL)
+    {
+        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Longrunning\Operations::initOnce();
+        parent::__construct($data);
+    }
+    /**
+     * The name of the operation resource to wait on.
+     *
+     * Generated from protobuf field string name = 1;
+     * @return string
+     */
+    public function getName()
+    {
+        return $this->name;
+    }
+    /**
+     * The name of the operation resource to wait on.
+     *
+     * 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;
+    }
+    /**
+     * The maximum duration to wait before timing out. If left blank, the wait
+     * will be at most the time permitted by the underlying HTTP/RPC protocol.
+     * If RPC context deadline is also specified, the shorter one will be used.
+     *
+     * Generated from protobuf field .google.protobuf.Duration timeout = 2;
+     * @return \Google\Protobuf\Duration|null
+     */
+    public function getTimeout()
+    {
+        return $this->timeout;
+    }
+    public function hasTimeout()
+    {
+        return isset($this->timeout);
+    }
+    public function clearTimeout()
+    {
+        unset($this->timeout);
+    }
+    /**
+     * The maximum duration to wait before timing out. If left blank, the wait
+     * will be at most the time permitted by the underlying HTTP/RPC protocol.
+     * If RPC context deadline is also specified, the shorter one will be used.
+     *
+     * Generated from protobuf field .google.protobuf.Duration timeout = 2;
+     * @param \Google\Protobuf\Duration $var
+     * @return $this
+     */
+    public function setTimeout($var)
+    {
+        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Duration::class);
+        $this->timeout = $var;
+        return $this;
+    }
+}
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/resources/operations_client_config.json b/vendor/prefixed/google/longrunning/src/LongRunning/resources/operations_client_config.json
new file mode 100644
index 000000000..cbc0a41eb
--- /dev/null
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/resources/operations_client_config.json
@@ -0,0 +1,59 @@
+{
+    "interfaces": {
+        "google.longrunning.Operations": {
+            "retry_codes": {
+                "no_retry_codes": [],
+                "retry_policy_1_codes": [
+                    "UNAVAILABLE"
+                ]
+            },
+            "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": 500,
+                    "retry_delay_multiplier": 2.0,
+                    "max_retry_delay_millis": 10000,
+                    "initial_rpc_timeout_millis": 10000,
+                    "rpc_timeout_multiplier": 1.0,
+                    "max_rpc_timeout_millis": 10000,
+                    "total_timeout_millis": 10000
+                }
+            },
+            "methods": {
+                "CancelOperation": {
+                    "timeout_millis": 10000,
+                    "retry_codes_name": "retry_policy_1_codes",
+                    "retry_params_name": "retry_policy_1_params"
+                },
+                "DeleteOperation": {
+                    "timeout_millis": 10000,
+                    "retry_codes_name": "retry_policy_1_codes",
+                    "retry_params_name": "retry_policy_1_params"
+                },
+                "GetOperation": {
+                    "timeout_millis": 10000,
+                    "retry_codes_name": "retry_policy_1_codes",
+                    "retry_params_name": "retry_policy_1_params"
+                },
+                "ListOperations": {
+                    "timeout_millis": 10000,
+                    "retry_codes_name": "retry_policy_1_codes",
+                    "retry_params_name": "retry_policy_1_params"
+                },
+                "WaitOperation": {
+                    "timeout_millis": 60000,
+                    "retry_codes_name": "no_retry_codes",
+                    "retry_params_name": "no_retry_params"
+                }
+            }
+        }
+    }
+}
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/resources/operations_descriptor_config.php b/vendor/prefixed/google/longrunning/src/LongRunning/resources/operations_descriptor_config.php
new file mode 100644
index 000000000..8335058fb
--- /dev/null
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/resources/operations_descriptor_config.php
@@ -0,0 +1,24 @@
+ ['google.longrunning.Operations' => ['CancelOperation' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'DeleteOperation' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\GPBEmpty', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'GetOperation' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Operation', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'ListOperations' => ['pageStreaming' => ['requestPageTokenGetMethod' => 'getPageToken', 'requestPageTokenSetMethod' => 'setPageToken', 'requestPageSizeGetMethod' => 'getPageSize', 'requestPageSizeSetMethod' => 'setPageSize', 'responsePageTokenGetMethod' => 'getNextPageToken', 'resourcesGetMethod' => 'getOperations'], 'callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::PAGINATED_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\ListOperationsResponse', 'headerParams' => [['keyName' => 'name', 'fieldAccessors' => ['getName']]]], 'WaitOperation' => ['callType' => \Matomo\Dependencies\GoogleAnalyticsImporter\Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Operation']]]];
diff --git a/vendor/prefixed/google/longrunning/src/LongRunning/resources/operations_rest_client_config.php b/vendor/prefixed/google/longrunning/src/LongRunning/resources/operations_rest_client_config.php
new file mode 100644
index 000000000..78b85b396
--- /dev/null
+++ b/vendor/prefixed/google/longrunning/src/LongRunning/resources/operations_rest_client_config.php
@@ -0,0 +1,24 @@
+ ['google.longrunning.Operations' => ['CancelOperation' => ['method' => 'post', 'uriTemplate' => '/v1/{name=operations/**}:cancel', 'body' => '*', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'DeleteOperation' => ['method' => 'delete', 'uriTemplate' => '/v1/{name=operations/**}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'GetOperation' => ['method' => 'get', 'uriTemplate' => '/v1/{name=operations/**}', 'placeholders' => ['name' => ['getters' => ['getName']]]], 'ListOperations' => ['method' => 'get', 'uriTemplate' => '/v1/{name=operations}', 'placeholders' => ['name' => ['getters' => ['getName']]], 'queryParams' => ['filter']]]]];
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Descriptor.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Descriptor.php
index 0084cd042..67eee5afa 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Descriptor.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Descriptor.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2017 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GetPublicDescriptorTrait;
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/DescriptorPool.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/DescriptorPool.php
index fbb7cb014..62970525b 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/DescriptorPool.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/DescriptorPool.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2017 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf;
 
 class DescriptorPool
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/EnumDescriptor.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/EnumDescriptor.php
index 066dcedbb..92729a490 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/EnumDescriptor.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/EnumDescriptor.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2017 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf;
 
 class EnumDescriptor
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/EnumValueDescriptor.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/EnumValueDescriptor.php
index e1cd968ae..dccddebf9 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/EnumValueDescriptor.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/EnumValueDescriptor.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf;
 
 class EnumValueDescriptor
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/FieldDescriptor.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/FieldDescriptor.php
index e64b9e70e..06e8b5b10 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/FieldDescriptor.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/FieldDescriptor.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2017 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GetPublicDescriptorTrait;
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php
index 43fd739d0..c58147d1f 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Uint64;
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php
index 79fa4f707..751cfb881 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class CodedOutputStream
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php
index 0dba9b8ad..50a852644 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class Descriptor
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php
index 9c61fc8b6..dd92414dc 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Descriptor;
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php
index c20716629..463473afb 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\EnumDescriptor;
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php
index bf5e0fb74..30f982f42 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php
@@ -35,7 +35,7 @@ class EnumOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr
      * and strips underscored from the fields before comparison in proto3 only.
      * The new behavior takes `json_name` into account and applies to proto2 as
      * well.
-     * TODO(b/261750190) Remove this legacy behavior once downstream teams have
+     * TODO Remove this legacy behavior once downstream teams have
      * had time to migrate.
      *
      * Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
@@ -67,7 +67,7 @@ class EnumOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Pr
      *           and strips underscored from the fields before comparison in proto3 only.
      *           The new behavior takes `json_name` into account and applies to proto2 as
      *           well.
-     *           TODO(b/261750190) Remove this legacy behavior once downstream teams have
+     *           TODO Remove this legacy behavior once downstream teams have
      *           had time to migrate.
      *     @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option
      *           The parser stores options it doesn't recognize here. See above.
@@ -153,7 +153,7 @@ public function setDeprecated($var)
      * and strips underscored from the fields before comparison in proto3 only.
      * The new behavior takes `json_name` into account and applies to proto2 as
      * well.
-     * TODO(b/261750190) Remove this legacy behavior once downstream teams have
+     * TODO Remove this legacy behavior once downstream teams have
      * had time to migrate.
      *
      * Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
@@ -180,7 +180,7 @@ public function clearDeprecatedLegacyJsonFieldConflicts()
      * and strips underscored from the fields before comparison in proto3 only.
      * The new behavior takes `json_name` into account and applies to proto2 as
      * well.
-     * TODO(b/261750190) Remove this legacy behavior once downstream teams have
+     * TODO Remove this legacy behavior once downstream teams have
      * had time to migrate.
      *
      * Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php
index f64b8a66f..decc2d64d 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class FieldDescriptor
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileDescriptor.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileDescriptor.php
index ebd2fc75d..1a02da7d2 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileDescriptor.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/FileDescriptor.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class FileDescriptor
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php
index 4b77abaf6..8c7684374 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class GPBDecodeException extends \Exception
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php
index edf0215cc..1f4484536 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class GPBJsonWire
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php
index 7c976aab3..05fd6edaa 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class GPBLabel
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBType.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBType.php
index 235030fa4..90a6a74f8 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBType.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBType.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class GPBType
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php
index 8957a31df..81efaba7c 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Duration;
@@ -377,6 +354,9 @@ public static function parseTimestamp($timestamp)
             if ($nanosecondsLength > 0) {
                 $nanoseconds = substr($timestamp, $periodIndex + 1, $nanosecondsLength);
                 $nanoseconds = intval($nanoseconds);
+                if ($nanosecondsLength < 9) {
+                    $nanoseconds = $nanoseconds * pow(10, 9 - $nanosecondsLength);
+                }
                 // remove the nanoseconds and preceding period from the timestamp
                 $date = substr($timestamp, 0, $periodIndex);
                 $timezone = substr($timestamp, $periodIndex + $nanosecondsLength + 1);
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php
index 8ddb6c219..d557f0e6d 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class GPBWire
@@ -217,7 +194,7 @@ public static function readFloat(&$input, &$value)
         if (!$input->readRaw(4, $data)) {
             return \false;
         }
-        $value = unpack('f', $data)[1];
+        $value = unpack('g', $data)[1];
         return \true;
     }
     public static function readDouble(&$input, &$value)
@@ -226,7 +203,7 @@ public static function readDouble(&$input, &$value)
         if (!$input->readRaw(8, $data)) {
             return \false;
         }
-        $value = unpack('d', $data)[1];
+        $value = unpack('e', $data)[1];
         return \true;
     }
     public static function readBool(&$input, &$value)
@@ -316,12 +293,12 @@ public static function writeBool(&$output, $value)
     }
     public static function writeFloat(&$output, $value)
     {
-        $data = pack("f", $value);
+        $data = pack("g", $value);
         return $output->writeRaw($data, 4);
     }
     public static function writeDouble(&$output, $value)
     {
-        $data = pack("d", $value);
+        $data = pack("e", $value);
         return $output->writeRaw($data, 8);
     }
     public static function writeString(&$output, $value)
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php
index 66a451f72..75fe7b57c 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class GPBWireType
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php
index 2362ed7f5..5135ca73e 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2017 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 trait GetPublicDescriptorTrait
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php
index 4f296eec4..b0cfbb8f4 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 trait HasPublicDescriptorTrait
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php
index fc76701f0..609175912 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType;
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MapField.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MapField.php
index 0a997464b..235a44758 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MapField.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MapField.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 /**
  * MapField and MapFieldIter are used by generated protocol message classes to
  * manipulate map fields.
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MapFieldIter.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MapFieldIter.php
index 7ccea0475..e7e24b7a5 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MapFieldIter.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MapFieldIter.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 /**
  * MapField and MapFieldIter are used by generated protocol message classes to
  * manipulate map fields.
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/Message.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/Message.php
index 54db160b7..5e4e62f1b 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/Message.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/Message.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 /**
  * Defines Message, the parent class extended by all protocol message classes.
  */
@@ -374,7 +351,7 @@ private static function parseFieldFromStreamNoTag($input, $field, &$value)
                 }
                 break;
             case GPBType::STRING:
-                // TODO(teboring): Add utf-8 check.
+                // TODO: Add utf-8 check.
                 if (!GPBWire::readString($input, $value)) {
                     throw new GPBDecodeException("Unexpected EOF inside string field.");
                 }
@@ -404,7 +381,7 @@ private static function parseFieldFromStreamNoTag($input, $field, &$value)
                 }
                 break;
             case GPBType::ENUM:
-                // TODO(teboring): Check unknown enum value.
+                // TODO: Check unknown enum value.
                 if (!GPBWire::readInt32($input, $value)) {
                     throw new GPBDecodeException("Unexpected EOF inside enum field.");
                 }
@@ -1219,7 +1196,7 @@ public function parseFromJsonStream($input, $ignore_unknown)
         try {
             $this->mergeFromJsonArray($array, $ignore_unknown);
         } catch (\Exception $e) {
-            throw new GPBDecodeException($e->getMessage());
+            throw new GPBDecodeException($e->getMessage(), $e->getCode(), $e);
         }
     }
     /**
@@ -1521,7 +1498,7 @@ private function fieldDataOnlyByteSize($field, $value)
                 $size += GPBWire::varint32Size($size);
                 break;
             case GPBType::GROUP:
-                // TODO(teboring): Add support.
+                // TODO: Add support.
                 user_error("Unsupported type.");
                 break;
             default:
@@ -1626,7 +1603,7 @@ private function fieldDataOnlyJsonByteSize($field, $value)
                 $size += $value->jsonByteSize();
                 break;
             #             case GPBType::GROUP:
-            #                 // TODO(teboring): Add support.
+            #                 // TODO: Add support.
             #                 user_error("Unsupported type.");
             #                 break;
             default:
@@ -1880,4 +1857,34 @@ public function jsonByteSize()
         }
         return $size;
     }
+    public function __debugInfo()
+    {
+        if (is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\FieldMask')) {
+            return ['paths' => $this->getPaths()->__debugInfo()];
+        }
+        if (is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Value')) {
+            switch ($this->getKind()) {
+                case 'null_value':
+                    return ['nullValue' => $this->getNullValue()];
+                case 'number_value':
+                    return ['numberValue' => $this->getNumberValue()];
+                case 'string_value':
+                    return ['stringValue' => $this->getStringValue()];
+                case 'bool_value':
+                    return ['boolValue' => $this->getBoolValue()];
+                case 'struct_value':
+                    return ['structValue' => $this->getStructValue()->__debugInfo()];
+                case 'list_value':
+                    return ['listValue' => $this->getListValue()->__debugInfo()];
+            }
+            return [];
+        }
+        if (is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\BoolValue') || is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\BytesValue') || is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\DoubleValue') || is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\FloatValue') || is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\StringValue') || is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Int32Value') || is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Int64Value') || is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\UInt32Value') || is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\UInt64Value')) {
+            return ['value' => json_decode($this->serializeToJsonString(), \true)];
+        }
+        if (is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Duration') || is_a($this, 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Timestamp')) {
+            return ['seconds' => $this->getSeconds(), 'nanos' => $this->getNanos()];
+        }
+        return json_decode($this->serializeToJsonString(), \true);
+    }
 }
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MessageBuilderContext.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MessageBuilderContext.php
index c528b144d..e3a72a949 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MessageBuilderContext.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MessageBuilderContext.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBLabel;
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php
index 477a4e3ff..a2f924ccc 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php
@@ -81,7 +81,7 @@ class MessageOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google
      * well.
      * This should only be used as a temporary measure against broken builds due
      * to the change in behavior for JSON field name conflicts.
-     * TODO(b/261750190) This is legacy behavior we plan to remove once downstream
+     * TODO This is legacy behavior we plan to remove once downstream
      * teams have had time to migrate.
      *
      * Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
@@ -151,7 +151,7 @@ class MessageOptions extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google
      *           well.
      *           This should only be used as a temporary measure against broken builds due
      *           to the change in behavior for JSON field name conflicts.
-     *           TODO(b/261750190) This is legacy behavior we plan to remove once downstream
+     *           TODO This is legacy behavior we plan to remove once downstream
      *           teams have had time to migrate.
      *     @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option
      *           The parser stores options it doesn't recognize here. See above.
@@ -365,7 +365,7 @@ public function setMapEntry($var)
      * well.
      * This should only be used as a temporary measure against broken builds due
      * to the change in behavior for JSON field name conflicts.
-     * TODO(b/261750190) This is legacy behavior we plan to remove once downstream
+     * TODO This is legacy behavior we plan to remove once downstream
      * teams have had time to migrate.
      *
      * Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
@@ -394,7 +394,7 @@ public function clearDeprecatedLegacyJsonFieldConflicts()
      * well.
      * This should only be used as a temporary measure against broken builds due
      * to the change in behavior for JSON field name conflicts.
-     * TODO(b/261750190) This is legacy behavior we plan to remove once downstream
+     * TODO This is legacy behavior we plan to remove once downstream
      * teams have had time to migrate.
      *
      * Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptor.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptor.php
index 73b9fa717..53eb869b0 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptor.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptor.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class OneofDescriptor
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/OneofField.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/OneofField.php
index c983f85c0..9af5bba50 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/OneofField.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/OneofField.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class OneofField
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RawInputStream.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RawInputStream.php
index afd3f0f19..42aa9b70c 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RawInputStream.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RawInputStream.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal;
 
 class RawInputStream
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php
index 0dca4eb62..95c5b4349 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 /**
  * RepeatedField and RepeatedFieldIter are used by generated protocol message
  * classes to manipulate repeated fields.
@@ -207,11 +184,11 @@ public function offsetSet($offset, $value)
     public function offsetUnset($offset)
     {
         $count = count($this->container);
-        if (!is_numeric($offset) || $count === 0 || $offset !== $count - 1) {
+        if (!is_numeric($offset) || $count === 0 || $offset < 0 || $offset >= $count) {
             trigger_error("Cannot remove element at the given index", \E_USER_ERROR);
             return;
         }
-        array_pop($this->container);
+        array_splice($this->container, $offset, 1);
     }
     /**
      * Check the existence of the element at the given index.
@@ -244,4 +221,13 @@ public function count() : int
     {
         return count($this->container);
     }
+    public function __debugInfo()
+    {
+        return array_map(function ($item) {
+            if ($item instanceof Message || $item instanceof RepeatedField) {
+                return $item->__debugInfo();
+            }
+            return $item;
+        }, iterator_to_array($this));
+    }
 }
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RepeatedFieldIter.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RepeatedFieldIter.php
index 5134355bb..3fa94dd9c 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RepeatedFieldIter.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/Internal/RepeatedFieldIter.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2008 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 /**
  * RepeatedField and RepeatedFieldIter are used by generated protocol message
  * classes to manipulate repeated fields.
diff --git a/vendor/prefixed/google/protobuf/src/Google/Protobuf/OneofDescriptor.php b/vendor/prefixed/google/protobuf/src/Google/Protobuf/OneofDescriptor.php
index a3070c431..f4c972139 100644
--- a/vendor/prefixed/google/protobuf/src/Google/Protobuf/OneofDescriptor.php
+++ b/vendor/prefixed/google/protobuf/src/Google/Protobuf/OneofDescriptor.php
@@ -2,33 +2,10 @@
 
 // Protocol Buffers - Google's data interchange format
 // Copyright 2017 Google Inc.  All rights reserved.
-// https://developers.google.com/protocol-buffers/
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-//     * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf;
 
 use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GetPublicDescriptorTrait;
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/BodySummarizer.php b/vendor/prefixed/guzzlehttp/guzzle/src/BodySummarizer.php
index 9b7b4a6c1..d2588e756 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/BodySummarizer.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/BodySummarizer.php
@@ -9,7 +9,7 @@ final class BodySummarizer implements BodySummarizerInterface
      * @var int|null
      */
     private $truncateAt;
-    public function __construct(int $truncateAt = null)
+    public function __construct(?int $truncateAt = null)
     {
         $this->truncateAt = $truncateAt;
     }
@@ -18,6 +18,6 @@ public function __construct(int $truncateAt = null)
      */
     public function summarize(MessageInterface $message) : ?string
     {
-        return $this->truncateAt === null ? \Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Psr7\Message::bodySummary($message) : \Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Psr7\Message::bodySummary($message, $this->truncateAt);
+        return $this->truncateAt === null ? Psr7\Message::bodySummary($message) : Psr7\Message::bodySummary($message, $this->truncateAt);
     }
 }
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/Client.php b/vendor/prefixed/guzzlehttp/guzzle/src/Client.php
index 00b45768a..9b9d33c5b 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/Client.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/Client.php
@@ -49,7 +49,7 @@ class Client implements ClientInterface, \Matomo\Dependencies\GoogleAnalyticsImp
      *
      * @param array $config Client configuration settings.
      *
-     * @see \GuzzleHttp\RequestOptions for a list of available request options.
+     * @see RequestOptions for a list of available request options.
      */
     public function __construct(array $config = [])
     {
@@ -178,7 +178,7 @@ public function request(string $method, $uri = '', array $options = []) : Respon
      *
      * @deprecated Client::getConfig will be removed in guzzlehttp/guzzle:8.0.
      */
-    public function getConfig(string $option = null)
+    public function getConfig(?string $option = null)
     {
         return $option === null ? $this->config : $this->config[$option] ?? null;
     }
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/ClientInterface.php b/vendor/prefixed/guzzlehttp/guzzle/src/ClientInterface.php
index 6f9ab2a93..8f12dd767 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/ClientInterface.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/ClientInterface.php
@@ -74,5 +74,5 @@ public function requestAsync(string $method, $uri, array $options = []) : Promis
      *
      * @deprecated ClientInterface::getConfig will be removed in guzzlehttp/guzzle:8.0.
      */
-    public function getConfig(string $option = null);
+    public function getConfig(?string $option = null);
 }
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/CookieJar.php b/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/CookieJar.php
index 659242629..1c4b7d561 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/CookieJar.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/CookieJar.php
@@ -86,7 +86,7 @@ public function toArray() : array
             return $cookie->toArray();
         }, $this->getIterator()->getArrayCopy());
     }
-    public function clear(string $domain = null, string $path = null, string $name = null) : void
+    public function clear(?string $domain = null, ?string $path = null, ?string $name = null) : void
     {
         if (!$domain) {
             $this->cookies = [];
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php b/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php
index 2a7a5546a..16e29e517 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php
@@ -58,7 +58,7 @@ public function setCookie(SetCookie $cookie) : bool;
      * @param string|null $path   Clears cookies matching a domain and path
      * @param string|null $name   Clears cookies matching a domain, path, and name
      */
-    public function clear(string $domain = null, string $path = null, string $name = null) : void;
+    public function clear(?string $domain = null, ?string $path = null, ?string $name = null) : void;
     /**
      * Discard all sessions cookies.
      *
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/Exception/BadResponseException.php b/vendor/prefixed/guzzlehttp/guzzle/src/Exception/BadResponseException.php
index c077370b2..73847c630 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/Exception/BadResponseException.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/Exception/BadResponseException.php
@@ -9,7 +9,7 @@
  */
 class BadResponseException extends RequestException
 {
-    public function __construct(string $message, RequestInterface $request, ResponseInterface $response, \Throwable $previous = null, array $handlerContext = [])
+    public function __construct(string $message, RequestInterface $request, ResponseInterface $response, ?\Throwable $previous = null, array $handlerContext = [])
     {
         parent::__construct($message, $request, $response, $previous, $handlerContext);
     }
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/Exception/ConnectException.php b/vendor/prefixed/guzzlehttp/guzzle/src/Exception/ConnectException.php
index cf2cfbd1a..bd0a8def8 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/Exception/ConnectException.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/Exception/ConnectException.php
@@ -19,7 +19,7 @@ class ConnectException extends TransferException implements NetworkExceptionInte
      * @var array
      */
     private $handlerContext;
-    public function __construct(string $message, RequestInterface $request, \Throwable $previous = null, array $handlerContext = [])
+    public function __construct(string $message, RequestInterface $request, ?\Throwable $previous = null, array $handlerContext = [])
     {
         parent::__construct($message, 0, $previous);
         $this->request = $request;
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/Exception/RequestException.php b/vendor/prefixed/guzzlehttp/guzzle/src/Exception/RequestException.php
index 49e2d7f78..344c5e4bd 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/Exception/RequestException.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/Exception/RequestException.php
@@ -7,7 +7,6 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Http\Client\RequestExceptionInterface;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Http\Message\RequestInterface;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Http\Message\ResponseInterface;
-use Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Http\Message\UriInterface;
 /**
  * HTTP Request exception
  */
@@ -25,7 +24,7 @@ class RequestException extends TransferException implements RequestExceptionInte
      * @var array
      */
     private $handlerContext;
-    public function __construct(string $message, RequestInterface $request, ResponseInterface $response = null, \Throwable $previous = null, array $handlerContext = [])
+    public function __construct(string $message, RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $previous = null, array $handlerContext = [])
     {
         // Set the code of the exception if the response is set and not future.
         $code = $response ? $response->getStatusCode() : 0;
@@ -50,7 +49,7 @@ public static function wrapException(RequestInterface $request, \Throwable $e) :
      * @param array                        $handlerContext Optional handler context
      * @param BodySummarizerInterface|null $bodySummarizer Optional body summarizer
      */
-    public static function create(RequestInterface $request, ResponseInterface $response = null, \Throwable $previous = null, array $handlerContext = [], BodySummarizerInterface $bodySummarizer = null) : self
+    public static function create(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $previous = null, array $handlerContext = [], ?BodySummarizerInterface $bodySummarizer = null) : self
     {
         if (!$response) {
             return new self('Error completing request', $request, null, $previous, $handlerContext);
@@ -66,8 +65,7 @@ public static function create(RequestInterface $request, ResponseInterface $resp
             $label = 'Unsuccessful request';
             $className = __CLASS__;
         }
-        $uri = $request->getUri();
-        $uri = static::obfuscateUri($uri);
+        $uri = \Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Psr7\Utils::redactUserInfo($request->getUri());
         // Client Error: `GET /` resulted in a `404 Not Found` response:
         //  ... (truncated)
         $message = \sprintf('%s: `%s %s` resulted in a `%s %s` response', $label, $request->getMethod(), $uri->__toString(), $response->getStatusCode(), $response->getReasonPhrase());
@@ -77,17 +75,6 @@ public static function create(RequestInterface $request, ResponseInterface $resp
         }
         return new $className($message, $request, $response, $previous, $handlerContext);
     }
-    /**
-     * Obfuscates URI if there is a username and a password present
-     */
-    private static function obfuscateUri(UriInterface $uri) : UriInterface
-    {
-        $userInfo = $uri->getUserInfo();
-        if (\false !== ($pos = \strpos($userInfo, ':'))) {
-            return $uri->withUserInfo(\substr($userInfo, 0, $pos), '***');
-        }
-        return $uri;
-    }
     /**
      * Get the request that caused the exception
      */
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/Handler/CurlFactory.php b/vendor/prefixed/guzzlehttp/guzzle/src/Handler/CurlFactory.php
index f6c899c14..9be927ce4 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/Handler/CurlFactory.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/Handler/CurlFactory.php
@@ -11,6 +11,7 @@
 use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\TransferStats;
 use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Utils;
 use Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Http\Message\RequestInterface;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Psr\Http\Message\UriInterface;
 /**
  * Creates curl resources from a request
  *
@@ -40,6 +41,14 @@ public function __construct(int $maxHandles)
     }
     public function create(RequestInterface $request, array $options) : EasyHandle
     {
+        $protocolVersion = $request->getProtocolVersion();
+        if ('2' === $protocolVersion || '2.0' === $protocolVersion) {
+            if (!self::supportsHttp2()) {
+                throw new ConnectException('HTTP/2 is supported by the cURL handler, however libcurl is built without HTTP/2 support.', $request);
+            }
+        } elseif ('1.0' !== $protocolVersion && '1.1' !== $protocolVersion) {
+            throw new ConnectException(sprintf('HTTP/%s is not supported by the cURL handler.', $protocolVersion), $request);
+        }
         if (isset($options['curl']['body_as_string'])) {
             $options['_body_as_string'] = $options['curl']['body_as_string'];
             unset($options['curl']['body_as_string']);
@@ -61,6 +70,30 @@ public function create(RequestInterface $request, array $options) : EasyHandle
         curl_setopt_array($easy->handle, $conf);
         return $easy;
     }
+    private static function supportsHttp2() : bool
+    {
+        static $supportsHttp2 = null;
+        if (null === $supportsHttp2) {
+            $supportsHttp2 = self::supportsTls12() && defined('CURL_VERSION_HTTP2') && \CURL_VERSION_HTTP2 & \curl_version()['features'];
+        }
+        return $supportsHttp2;
+    }
+    private static function supportsTls12() : bool
+    {
+        static $supportsTls12 = null;
+        if (null === $supportsTls12) {
+            $supportsTls12 = \CURL_SSLVERSION_TLSv1_2 & \curl_version()['features'];
+        }
+        return $supportsTls12;
+    }
+    private static function supportsTls13() : bool
+    {
+        static $supportsTls13 = null;
+        if (null === $supportsTls13) {
+            $supportsTls13 = defined('CURL_SSLVERSION_TLSv1_3') && \CURL_SSLVERSION_TLSv1_3 & \curl_version()['features'];
+        }
+        return $supportsTls13;
+    }
     public function release(EasyHandle $easy) : void
     {
         $resource = $easy->handle;
@@ -118,7 +151,7 @@ private static function finishError(callable $handler, EasyHandle $easy, CurlFac
     {
         // Get error information and release the handle to the factory.
         $ctx = ['errno' => $easy->errno, 'error' => \curl_error($easy->handle), 'appconnect_time' => \curl_getinfo($easy->handle, \CURLINFO_APPCONNECT_TIME)] + \curl_getinfo($easy->handle);
-        $ctx[self::CURL_VERSION_STR] = \curl_version()['version'];
+        $ctx[self::CURL_VERSION_STR] = self::getCurlVersion();
         $factory->release($easy);
         // Retry when nothing is present or when curl failed to rewind.
         if (empty($easy->options['_err_message']) && (!$easy->errno || $easy->errno == 65)) {
@@ -126,6 +159,14 @@ private static function finishError(callable $handler, EasyHandle $easy, CurlFac
         }
         return self::createRejection($easy, $ctx);
     }
+    private static function getCurlVersion() : string
+    {
+        static $curlVersion = null;
+        if (null === $curlVersion) {
+            $curlVersion = \curl_version()['version'];
+        }
+        return $curlVersion;
+    }
     private static function createRejection(EasyHandle $easy, array $ctx) : PromiseInterface
     {
         static $connectionErrors = [\CURLE_OPERATION_TIMEOUTED => \true, \CURLE_COULDNT_RESOLVE_HOST => \true, \CURLE_COULDNT_CONNECT => \true, \CURLE_SSL_CONNECT_ERROR => \true, \CURLE_GOT_NOTHING => \true];
@@ -137,15 +178,32 @@ private static function createRejection(EasyHandle $easy, array $ctx) : PromiseI
         if ($easy->onHeadersException) {
             return P\Create::rejectionFor(new RequestException('An error was encountered during the on_headers event', $easy->request, $easy->response, $easy->onHeadersException, $ctx));
         }
-        $message = \sprintf('cURL error %s: %s (%s)', $ctx['errno'], $ctx['error'], 'see https://curl.haxx.se/libcurl/c/libcurl-errors.html');
-        $uriString = (string) $easy->request->getUri();
-        if ($uriString !== '' && \false === \strpos($ctx['error'], $uriString)) {
-            $message .= \sprintf(' for %s', $uriString);
+        $uri = $easy->request->getUri();
+        $sanitizedError = self::sanitizeCurlError($ctx['error'] ?? '', $uri);
+        $message = \sprintf('cURL error %s: %s (%s)', $ctx['errno'], $sanitizedError, 'see https://curl.haxx.se/libcurl/c/libcurl-errors.html');
+        if ('' !== $sanitizedError) {
+            $redactedUriString = \Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Psr7\Utils::redactUserInfo($uri)->__toString();
+            if ($redactedUriString !== '' && \false === \strpos($sanitizedError, $redactedUriString)) {
+                $message .= \sprintf(' for %s', $redactedUriString);
+            }
         }
         // Create a connection exception if it was a specific error code.
         $error = isset($connectionErrors[$easy->errno]) ? new ConnectException($message, $easy->request, null, $ctx) : new RequestException($message, $easy->request, $easy->response, null, $ctx);
         return P\Create::rejectionFor($error);
     }
+    private static function sanitizeCurlError(string $error, UriInterface $uri) : string
+    {
+        if ('' === $error) {
+            return $error;
+        }
+        $baseUri = $uri->withQuery('')->withFragment('');
+        $baseUriString = $baseUri->__toString();
+        if ('' === $baseUriString) {
+            return $error;
+        }
+        $redactedUriString = \Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Psr7\Utils::redactUserInfo($baseUri)->__toString();
+        return str_replace($baseUriString, $redactedUriString, $error);
+    }
     /**
      * @return array
      */
@@ -156,10 +214,10 @@ private function getDefaultConf(EasyHandle $easy) : array
             $conf[\CURLOPT_PROTOCOLS] = \CURLPROTO_HTTP | \CURLPROTO_HTTPS;
         }
         $version = $easy->request->getProtocolVersion();
-        if ($version == 1.1) {
-            $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_1_1;
-        } elseif ($version == 2.0) {
+        if ('2' === $version || '2.0' === $version) {
             $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_2_0;
+        } elseif ('1.1' === $version) {
+            $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_1_1;
         } else {
             $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_1_0;
         }
@@ -285,8 +343,10 @@ private function applyHandlerOptions(EasyHandle $easy, array &$conf) : void
                 // The empty string enables all available decoders and implicitly
                 // sets a matching 'Accept-Encoding' header.
                 $conf[\CURLOPT_ENCODING] = '';
-                // But as the user did not specify any acceptable encodings we need
-                // to overwrite this implicit header with an empty one.
+                // But as the user did not specify any encoding preference,
+                // let's leave it up to server by preventing curl from sending
+                // the header, which will be interpreted as 'Accept-Encoding: *'.
+                // https://www.rfc-editor.org/rfc/rfc9110#field.accept-encoding
                 $conf[\CURLOPT_HTTPHEADER][] = 'Accept-Encoding:';
             }
         }
@@ -343,23 +403,30 @@ private function applyHandlerOptions(EasyHandle $easy, array &$conf) : void
             }
         }
         if (isset($options['crypto_method'])) {
-            if (\STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT === $options['crypto_method']) {
-                if (!defined('CURL_SSLVERSION_TLSv1_0')) {
-                    throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.0 not supported by your version of cURL');
+            $protocolVersion = $easy->request->getProtocolVersion();
+            // If HTTP/2, upgrade TLS 1.0 and 1.1 to 1.2
+            if ('2' === $protocolVersion || '2.0' === $protocolVersion) {
+                if (\STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT === $options['crypto_method'] || \STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT === $options['crypto_method'] || \STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT === $options['crypto_method']) {
+                    $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_2;
+                } elseif (defined('STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT') && \STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT === $options['crypto_method']) {
+                    if (!self::supportsTls13()) {
+                        throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.3 not supported by your version of cURL');
+                    }
+                    $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_3;
+                } else {
+                    throw new \InvalidArgumentException('Invalid crypto_method request option: unknown version provided');
                 }
+            } elseif (\STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT === $options['crypto_method']) {
                 $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_0;
             } elseif (\STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT === $options['crypto_method']) {
-                if (!defined('CURL_SSLVERSION_TLSv1_1')) {
-                    throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.1 not supported by your version of cURL');
-                }
                 $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_1;
             } elseif (\STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT === $options['crypto_method']) {
-                if (!defined('CURL_SSLVERSION_TLSv1_2')) {
+                if (!self::supportsTls12()) {
                     throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.2 not supported by your version of cURL');
                 }
                 $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_2;
             } elseif (defined('STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT') && \STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT === $options['crypto_method']) {
-                if (!defined('CURL_SSLVERSION_TLSv1_3')) {
+                if (!self::supportsTls13()) {
                     throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.3 not supported by your version of cURL');
                 }
                 $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_3;
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php b/vendor/prefixed/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php
index 0c7a1e27e..fafa77168 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php
@@ -2,6 +2,7 @@
 
 namespace Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Handler;
 
+use Closure;
 use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Promise as P;
 use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Promise\Promise;
 use Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Promise\PromiseInterface;
@@ -129,6 +130,8 @@ public function tick() : void
                 }
             }
         }
+        // Run curl_multi_exec in the queue to enable other async tasks to run
+        P\Utils::queue()->add(Closure::fromCallable([$this, 'tickInQueue']));
         // Step through the task queue which may add additional requests.
         P\Utils::queue()->run();
         if ($this->active && \curl_multi_select($this->_mh, $this->selectTimeout) === -1) {
@@ -137,9 +140,21 @@ public function tick() : void
             \usleep(250);
         }
         while (\curl_multi_exec($this->_mh, $this->active) === \CURLM_CALL_MULTI_PERFORM) {
+            // Prevent busy looping for slow HTTP requests.
+            \curl_multi_select($this->_mh, $this->selectTimeout);
         }
         $this->processMessages();
     }
+    /**
+     * Runs \curl_multi_exec() inside the event loop, to prevent busy looping
+     */
+    private function tickInQueue() : void
+    {
+        if (\curl_multi_exec($this->_mh, $this->active) === \CURLM_CALL_MULTI_PERFORM) {
+            \curl_multi_select($this->_mh, 0);
+            P\Utils::queue()->add(Closure::fromCallable([$this, 'tickInQueue']));
+        }
+    }
     /**
      * Runs until all outstanding connections have completed.
      */
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/Handler/MockHandler.php b/vendor/prefixed/guzzlehttp/guzzle/src/Handler/MockHandler.php
index 9e56c75e7..4ecb329a3 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/Handler/MockHandler.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/Handler/MockHandler.php
@@ -46,20 +46,20 @@ class MockHandler implements \Countable
      * @param callable|null $onFulfilled Callback to invoke when the return value is fulfilled.
      * @param callable|null $onRejected  Callback to invoke when the return value is rejected.
      */
-    public static function createWithMiddleware(array $queue = null, callable $onFulfilled = null, callable $onRejected = null) : HandlerStack
+    public static function createWithMiddleware(?array $queue = null, ?callable $onFulfilled = null, ?callable $onRejected = null) : HandlerStack
     {
         return HandlerStack::create(new self($queue, $onFulfilled, $onRejected));
     }
     /**
      * The passed in value must be an array of
-     * {@see \Psr\Http\Message\ResponseInterface} objects, Exceptions,
+     * {@see ResponseInterface} objects, Exceptions,
      * callables, or Promises.
      *
      * @param array|null $queue       The parameters to be passed to the append function, as an indexed array.
      * @param callable|null          $onFulfilled Callback to invoke when the return value is fulfilled.
      * @param callable|null          $onRejected  Callback to invoke when the return value is rejected.
      */
-    public function __construct(array $queue = null, callable $onFulfilled = null, callable $onRejected = null)
+    public function __construct(?array $queue = null, ?callable $onFulfilled = null, ?callable $onRejected = null)
     {
         $this->onFulfilled = $onFulfilled;
         $this->onRejected = $onRejected;
@@ -163,7 +163,7 @@ public function reset() : void
     /**
      * @param mixed $reason Promise or reason.
      */
-    private function invokeStats(RequestInterface $request, array $options, ResponseInterface $response = null, $reason = null) : void
+    private function invokeStats(RequestInterface $request, array $options, ?ResponseInterface $response = null, $reason = null) : void
     {
         if (isset($options['on_stats'])) {
             $transferTime = $options['transfer_time'] ?? 0;
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php b/vendor/prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php
index b4b0f9618..5ca402b34 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php
@@ -37,6 +37,10 @@ public function __invoke(RequestInterface $request, array $options) : PromiseInt
         if (isset($options['delay'])) {
             \usleep($options['delay'] * 1000);
         }
+        $protocolVersion = $request->getProtocolVersion();
+        if ('1.0' !== $protocolVersion && '1.1' !== $protocolVersion) {
+            throw new ConnectException(sprintf('HTTP/%s is not supported by the stream handler.', $protocolVersion), $request);
+        }
         $startTime = isset($options['on_stats']) ? Utils::currentTime() : null;
         try {
             // Does not support the expect header.
@@ -62,7 +66,7 @@ public function __invoke(RequestInterface $request, array $options) : PromiseInt
             return P\Create::rejectionFor($e);
         }
     }
-    private function invokeStats(array $options, RequestInterface $request, ?float $startTime, ResponseInterface $response = null, \Throwable $error = null) : void
+    private function invokeStats(array $options, RequestInterface $request, ?float $startTime, ?ResponseInterface $response = null, ?\Throwable $error = null) : void
     {
         if (isset($options['on_stats'])) {
             $stats = new TransferStats($request, $response, Utils::currentTime() - $startTime, $error, []);
@@ -210,7 +214,7 @@ private function createStream(RequestInterface $request, array $options)
         }
         // HTTP/1.1 streams using the PHP stream wrapper require a
         // Connection: close header
-        if ($request->getProtocolVersion() == '1.1' && !$request->hasHeader('Connection')) {
+        if ($request->getProtocolVersion() === '1.1' && !$request->hasHeader('Connection')) {
             $request = $request->withHeader('Connection', 'close');
         }
         // Ensure SSL is verified by default
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/HandlerStack.php b/vendor/prefixed/guzzlehttp/guzzle/src/HandlerStack.php
index da5d46bd4..e2c93dcfb 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/HandlerStack.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/HandlerStack.php
@@ -40,7 +40,7 @@ class HandlerStack
      *                                                                            handler is provided, the best handler for your
      *                                                                            system will be utilized.
      */
-    public static function create(callable $handler = null) : self
+    public static function create(?callable $handler = null) : self
     {
         $stack = new self($handler ?: Utils::chooseHandler());
         $stack->push(Middleware::httpErrors(), 'http_errors');
@@ -52,7 +52,7 @@ public static function create(callable $handler = null) : self
     /**
      * @param (callable(RequestInterface, array): PromiseInterface)|null $handler Underlying HTTP handler.
      */
-    public function __construct(callable $handler = null)
+    public function __construct(?callable $handler = null)
     {
         $this->handler = $handler;
     }
@@ -115,7 +115,7 @@ public function hasHandler() : bool
      * @param callable(callable): callable $middleware Middleware function
      * @param string                       $name       Name to register for this middleware.
      */
-    public function unshift(callable $middleware, string $name = null) : void
+    public function unshift(callable $middleware, ?string $name = null) : void
     {
         \array_unshift($this->stack, [$middleware, $name]);
         $this->cached = null;
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/MessageFormatter.php b/vendor/prefixed/guzzlehttp/guzzle/src/MessageFormatter.php
index 309fec5f2..71234cb55 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/MessageFormatter.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/MessageFormatter.php
@@ -64,7 +64,7 @@ public function __construct(?string $template = self::CLF)
      * @param ResponseInterface|null $response Response that was received
      * @param \Throwable|null        $error    Exception that was received
      */
-    public function format(RequestInterface $request, ResponseInterface $response = null, \Throwable $error = null) : string
+    public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null) : string
     {
         $cache = [];
         /** @var string */
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/MessageFormatterInterface.php b/vendor/prefixed/guzzlehttp/guzzle/src/MessageFormatterInterface.php
index 1d80edc3a..d9558d369 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/MessageFormatterInterface.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/MessageFormatterInterface.php
@@ -13,5 +13,5 @@ interface MessageFormatterInterface
      * @param ResponseInterface|null $response Response that was received
      * @param \Throwable|null        $error    Exception that was received
      */
-    public function format(RequestInterface $request, ResponseInterface $response = null, \Throwable $error = null) : string;
+    public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null) : string;
 }
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/Middleware.php b/vendor/prefixed/guzzlehttp/guzzle/src/Middleware.php
index 79c54853f..4b7b954c9 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/Middleware.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/Middleware.php
@@ -48,7 +48,7 @@ public static function cookies() : callable
      *
      * @return callable(callable): callable Returns a function that accepts the next handler.
      */
-    public static function httpErrors(BodySummarizerInterface $bodySummarizer = null) : callable
+    public static function httpErrors(?BodySummarizerInterface $bodySummarizer = null) : callable
     {
         return static function (callable $handler) use($bodySummarizer) : callable {
             return static function ($request, array $options) use($handler, $bodySummarizer) {
@@ -104,7 +104,7 @@ public static function history(&$container) : callable
      *
      * @return callable Returns a function that accepts the next handler.
      */
-    public static function tap(callable $before = null, callable $after = null) : callable
+    public static function tap(?callable $before = null, ?callable $after = null) : callable
     {
         return static function (callable $handler) use($before, $after) : callable {
             return static function (RequestInterface $request, array $options) use($handler, $before, $after) {
@@ -145,7 +145,7 @@ public static function redirect() : callable
      *
      * @return callable Returns a function that accepts the next handler.
      */
-    public static function retry(callable $decider, callable $delay = null) : callable
+    public static function retry(callable $decider, ?callable $delay = null) : callable
     {
         return static function (callable $handler) use($decider, $delay) : RetryMiddleware {
             return new RetryMiddleware($decider, $handler, $delay);
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php b/vendor/prefixed/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php
index 0ad64b2c9..aa70ab265 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php
@@ -62,8 +62,8 @@ private function addExpectHeader(RequestInterface $request, array $options, arra
             return;
         }
         $expect = $options['expect'] ?? null;
-        // Return if disabled or if you're not using HTTP/1.1 or HTTP/2.0
-        if ($expect === \false || $request->getProtocolVersion() < 1.1) {
+        // Return if disabled or using HTTP/1.0
+        if ($expect === \false || $request->getProtocolVersion() === '1.0') {
             return;
         }
         // The expect header is unconditionally enabled
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/RequestOptions.php b/vendor/prefixed/guzzlehttp/guzzle/src/RequestOptions.php
index 54a2453b1..c603ff5dc 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/RequestOptions.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/RequestOptions.php
@@ -57,7 +57,7 @@ final class RequestOptions
      * Specifies whether or not cookies are used in a request or what cookie
      * jar to use or what cookies to send. This option only works if your
      * handler has the `cookie` middleware. Valid values are `false` and
-     * an instance of {@see \GuzzleHttp\Cookie\CookieJarInterface}.
+     * an instance of {@see Cookie\CookieJarInterface}.
      */
     public const COOKIES = 'cookies';
     /**
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/RetryMiddleware.php b/vendor/prefixed/guzzlehttp/guzzle/src/RetryMiddleware.php
index d3fb0ca45..e4ad5736a 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/RetryMiddleware.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/RetryMiddleware.php
@@ -36,7 +36,7 @@ class RetryMiddleware
      *                                                                         and returns the number of
      *                                                                         milliseconds to delay.
      */
-    public function __construct(callable $decider, callable $nextHandler, callable $delay = null)
+    public function __construct(callable $decider, callable $nextHandler, ?callable $delay = null)
     {
         $this->decider = $decider;
         $this->nextHandler = $nextHandler;
@@ -83,7 +83,7 @@ private function onRejected(RequestInterface $req, array $options) : callable
             return $this->doRetry($req, $options);
         };
     }
-    private function doRetry(RequestInterface $request, array $options, ResponseInterface $response = null) : PromiseInterface
+    private function doRetry(RequestInterface $request, array $options, ?ResponseInterface $response = null) : PromiseInterface
     {
         $options['delay'] = ($this->delay)(++$options['retries'], $response, $request);
         return $this($request, $options);
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/TransferStats.php b/vendor/prefixed/guzzlehttp/guzzle/src/TransferStats.php
index 6915de511..d749209a9 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/TransferStats.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/TransferStats.php
@@ -38,7 +38,7 @@ final class TransferStats
      * @param mixed                  $handlerErrorData Handler error data.
      * @param array                  $handlerStats     Handler specific stats.
      */
-    public function __construct(RequestInterface $request, ResponseInterface $response = null, float $transferTime = null, $handlerErrorData = null, array $handlerStats = [])
+    public function __construct(RequestInterface $request, ?ResponseInterface $response = null, ?float $transferTime = null, $handlerErrorData = null, array $handlerStats = [])
     {
         $this->request = $request;
         $this->response = $response;
diff --git a/vendor/prefixed/guzzlehttp/guzzle/src/Utils.php b/vendor/prefixed/guzzlehttp/guzzle/src/Utils.php
index fe6488cd6..1d08ff884 100644
--- a/vendor/prefixed/guzzlehttp/guzzle/src/Utils.php
+++ b/vendor/prefixed/guzzlehttp/guzzle/src/Utils.php
@@ -64,7 +64,7 @@ public static function debugResource($value = null)
         if (\defined('STDOUT')) {
             return \STDOUT;
         }
-        return \Matomo\Dependencies\GoogleAnalyticsImporter\GuzzleHttp\Psr7\Utils::tryFopen('php://output', 'w');
+        return Psr7\Utils::tryFopen('php://output', 'w');
     }
     /**
      * Chooses and creates a default handler to use based on the environment.
@@ -78,7 +78,7 @@ public static function debugResource($value = null)
     public static function chooseHandler() : callable
     {
         $handler = null;
-        if (\defined('CURLOPT_CUSTOMREQUEST')) {
+        if (\defined('CURLOPT_CUSTOMREQUEST') && \function_exists('curl_version') && version_compare(curl_version()['version'], '7.21.2') >= 0) {
             if (\function_exists('curl_multi_exec') && \function_exists('curl_exec')) {
                 $handler = Proxy::wrapSync(new CurlMultiHandler(), new CurlHandler());
             } elseif (\function_exists('curl_exec')) {
diff --git a/vendor/prefixed/guzzlehttp/promises/src/AggregateException.php b/vendor/prefixed/guzzlehttp/promises/src/AggregateException.php
index a990a906a..b63d59fa4 100644
--- a/vendor/prefixed/guzzlehttp/promises/src/AggregateException.php
+++ b/vendor/prefixed/guzzlehttp/promises/src/AggregateException.php
@@ -1,5 +1,6 @@
 generator = $generatorFn();
-        $this->result = new Promise(function () {
+        $this->result = new Promise(function () : void {
             while (isset($this->currentPromise)) {
                 $this->currentPromise->wait();
             }
         });
         try {
             $this->nextCoroutine($this->generator->current());
-        } catch (\Exception $exception) {
-            $this->result->reject($exception);
         } catch (Throwable $throwable) {
             $this->result->reject($throwable);
         }
     }
     /**
      * Create a new coroutine.
-     *
-     * @return self
      */
-    public static function of(callable $generatorFn)
+    public static function of(callable $generatorFn) : self
     {
         return new self($generatorFn);
     }
-    public function then(callable $onFulfilled = null, callable $onRejected = null)
+    public function then(?callable $onFulfilled = null, ?callable $onRejected = null) : PromiseInterface
     {
         return $this->result->then($onFulfilled, $onRejected);
     }
-    public function otherwise(callable $onRejected)
+    public function otherwise(callable $onRejected) : PromiseInterface
     {
         return $this->result->otherwise($onRejected);
     }
-    public function wait($unwrap = \true)
+    public function wait(bool $unwrap = \true)
     {
         return $this->result->wait($unwrap);
     }
-    public function getState()
+    public function getState() : string
     {
         return $this->result->getState();
     }
-    public function resolve($value)
+    public function resolve($value) : void
     {
         $this->result->resolve($value);
     }
-    public function reject($reason)
+    public function reject($reason) : void
     {
         $this->result->reject($reason);
     }
-    public function cancel()
+    public function cancel() : void
     {
         $this->currentPromise->cancel();
         $this->result->cancel();
     }
-    private function nextCoroutine($yielded)
+    private function nextCoroutine($yielded) : void
     {
         $this->currentPromise = Create::promiseFor($yielded)->then([$this, '_handleSuccess'], [$this, '_handleFailure']);
     }
     /**
      * @internal
      */
-    public function _handleSuccess($value)
+    public function _handleSuccess($value) : void
     {
         unset($this->currentPromise);
         try {
@@ -126,8 +122,6 @@ public function _handleSuccess($value)
             } else {
                 $this->result->resolve($value);
             }
-        } catch (Exception $exception) {
-            $this->result->reject($exception);
         } catch (Throwable $throwable) {
             $this->result->reject($throwable);
         }
@@ -135,15 +129,13 @@ public function _handleSuccess($value)
     /**
      * @internal
      */
-    public function _handleFailure($reason)
+    public function _handleFailure($reason) : void
     {
         unset($this->currentPromise);
         try {
             $nextYield = $this->generator->throw(Create::exceptionFor($reason));
             // The throw was caught, so keep iterating on the coroutine
             $this->nextCoroutine($nextYield);
-        } catch (Exception $exception) {
-            $this->result->reject($exception);
         } catch (Throwable $throwable) {
             $this->result->reject($throwable);
         }
diff --git a/vendor/prefixed/guzzlehttp/promises/src/Create.php b/vendor/prefixed/guzzlehttp/promises/src/Create.php
index 69ce23dd4..8e25c6993 100644
--- a/vendor/prefixed/guzzlehttp/promises/src/Create.php
+++ b/vendor/prefixed/guzzlehttp/promises/src/Create.php
@@ -1,5 +1,6 @@
  $onFulfilled, 'rejected' => $onRejected]))->promise();
     }
@@ -37,12 +34,8 @@ public static function of($iterable, callable $onFulfilled = null, callable $onR
      *
      * @param mixed        $iterable
      * @param int|callable $concurrency
-     * @param callable     $onFulfilled
-     * @param callable     $onRejected
-     *
-     * @return PromiseInterface
      */
-    public static function ofLimit($iterable, $concurrency, callable $onFulfilled = null, callable $onRejected = null)
+    public static function ofLimit($iterable, $concurrency, ?callable $onFulfilled = null, ?callable $onRejected = null) : PromiseInterface
     {
         return (new EachPromise($iterable, ['fulfilled' => $onFulfilled, 'rejected' => $onRejected, 'concurrency' => $concurrency]))->promise();
     }
@@ -53,13 +46,10 @@ public static function ofLimit($iterable, $concurrency, callable $onFulfilled =
      *
      * @param mixed        $iterable
      * @param int|callable $concurrency
-     * @param callable     $onFulfilled
-     *
-     * @return PromiseInterface
      */
-    public static function ofLimitAll($iterable, $concurrency, callable $onFulfilled = null)
+    public static function ofLimitAll($iterable, $concurrency, ?callable $onFulfilled = null) : PromiseInterface
     {
-        return self::ofLimit($iterable, $concurrency, $onFulfilled, function ($reason, $idx, PromiseInterface $aggregate) {
+        return self::ofLimit($iterable, $concurrency, $onFulfilled, function ($reason, $idx, PromiseInterface $aggregate) : void {
             $aggregate->reject($reason);
         });
     }
diff --git a/vendor/prefixed/guzzlehttp/promises/src/EachPromise.php b/vendor/prefixed/guzzlehttp/promises/src/EachPromise.php
index 315b700fa..e13ef13eb 100644
--- a/vendor/prefixed/guzzlehttp/promises/src/EachPromise.php
+++ b/vendor/prefixed/guzzlehttp/promises/src/EachPromise.php
@@ -1,10 +1,13 @@
 aggregate) {
             return $this->aggregate;
@@ -69,19 +72,16 @@ public function promise()
             $this->refillPending();
         } catch (\Throwable $e) {
             $this->aggregate->reject($e);
-        } catch (\Exception $e) {
-            $this->aggregate->reject($e);
         }
         /**
          * @psalm-suppress NullableReturnStatement
-         * @phpstan-ignore-next-line
          */
         return $this->aggregate;
     }
-    private function createPromise()
+    private function createPromise() : void
     {
         $this->mutex = \false;
-        $this->aggregate = new Promise(function () {
+        $this->aggregate = new Promise(function () : void {
             if ($this->checkIfFinished()) {
                 return;
             }
@@ -97,14 +97,14 @@ private function createPromise()
             }
         });
         // Clear the references when the promise is resolved.
-        $clearFn = function () {
+        $clearFn = function () : void {
             $this->iterable = $this->concurrency = $this->pending = null;
             $this->onFulfilled = $this->onRejected = null;
             $this->nextPendingIndex = 0;
         };
         $this->aggregate->then($clearFn, $clearFn);
     }
-    private function refillPending()
+    private function refillPending() : void
     {
         if (!$this->concurrency) {
             // Add all pending promises.
@@ -113,7 +113,7 @@ private function refillPending()
             return;
         }
         // Add only up to N pending promises.
-        $concurrency = is_callable($this->concurrency) ? call_user_func($this->concurrency, count($this->pending)) : $this->concurrency;
+        $concurrency = is_callable($this->concurrency) ? ($this->concurrency)(count($this->pending)) : $this->concurrency;
         $concurrency = max($concurrency - count($this->pending), 0);
         // Concurrency may be set to 0 to disallow new promises.
         if (!$concurrency) {
@@ -128,7 +128,7 @@ private function refillPending()
         while (--$concurrency && $this->advanceIterator() && $this->addPending()) {
         }
     }
-    private function addPending()
+    private function addPending() : bool
     {
         if (!$this->iterable || !$this->iterable->valid()) {
             return \false;
@@ -138,20 +138,20 @@ private function addPending()
         // Iterable keys may not be unique, so we use a counter to
         // guarantee uniqueness
         $idx = $this->nextPendingIndex++;
-        $this->pending[$idx] = $promise->then(function ($value) use($idx, $key) {
+        $this->pending[$idx] = $promise->then(function ($value) use($idx, $key) : void {
             if ($this->onFulfilled) {
-                call_user_func($this->onFulfilled, $value, $key, $this->aggregate);
+                ($this->onFulfilled)($value, $key, $this->aggregate);
             }
             $this->step($idx);
-        }, function ($reason) use($idx, $key) {
+        }, function ($reason) use($idx, $key) : void {
             if ($this->onRejected) {
-                call_user_func($this->onRejected, $reason, $key, $this->aggregate);
+                ($this->onRejected)($reason, $key, $this->aggregate);
             }
             $this->step($idx);
         });
         return \true;
     }
-    private function advanceIterator()
+    private function advanceIterator() : bool
     {
         // Place a lock on the iterator so that we ensure to not recurse,
         // preventing fatal generator errors.
@@ -167,13 +167,9 @@ private function advanceIterator()
             $this->aggregate->reject($e);
             $this->mutex = \false;
             return \false;
-        } catch (\Exception $e) {
-            $this->aggregate->reject($e);
-            $this->mutex = \false;
-            return \false;
         }
     }
-    private function step($idx)
+    private function step(int $idx) : void
     {
         // If the promise was already resolved, then ignore this step.
         if (Is::settled($this->aggregate)) {
@@ -188,7 +184,7 @@ private function step($idx)
             $this->refillPending();
         }
     }
-    private function checkIfFinished()
+    private function checkIfFinished() : bool
     {
         if (!$this->pending && !$this->iterable->valid()) {
             // Resolve the promise if there's nothing left to do.
diff --git a/vendor/prefixed/guzzlehttp/promises/src/FulfilledPromise.php b/vendor/prefixed/guzzlehttp/promises/src/FulfilledPromise.php
index f64b88b4a..fa4be27a1 100644
--- a/vendor/prefixed/guzzlehttp/promises/src/FulfilledPromise.php
+++ b/vendor/prefixed/guzzlehttp/promises/src/FulfilledPromise.php
@@ -1,5 +1,6 @@
 value = $value;
     }
-    public function then(callable $onFulfilled = null, callable $onRejected = null)
+    public function then(?callable $onFulfilled = null, ?callable $onRejected = null) : PromiseInterface
     {
         // Return itself if there is no onFulfilled function.
         if (!$onFulfilled) {
@@ -27,42 +33,40 @@ public function then(callable $onFulfilled = null, callable $onRejected = null)
         $queue = Utils::queue();
         $p = new Promise([$queue, 'run']);
         $value = $this->value;
-        $queue->add(static function () use($p, $value, $onFulfilled) {
+        $queue->add(static function () use($p, $value, $onFulfilled) : void {
             if (Is::pending($p)) {
                 try {
                     $p->resolve($onFulfilled($value));
                 } catch (\Throwable $e) {
                     $p->reject($e);
-                } catch (\Exception $e) {
-                    $p->reject($e);
                 }
             }
         });
         return $p;
     }
-    public function otherwise(callable $onRejected)
+    public function otherwise(callable $onRejected) : PromiseInterface
     {
         return $this->then(null, $onRejected);
     }
-    public function wait($unwrap = \true, $defaultDelivery = null)
+    public function wait(bool $unwrap = \true)
     {
         return $unwrap ? $this->value : null;
     }
-    public function getState()
+    public function getState() : string
     {
         return self::FULFILLED;
     }
-    public function resolve($value)
+    public function resolve($value) : void
     {
         if ($value !== $this->value) {
-            throw new \LogicException("Cannot resolve a fulfilled promise");
+            throw new \LogicException('Cannot resolve a fulfilled promise');
         }
     }
-    public function reject($reason)
+    public function reject($reason) : void
     {
-        throw new \LogicException("Cannot reject a fulfilled promise");
+        throw new \LogicException('Cannot reject a fulfilled promise');
     }
-    public function cancel()
+    public function cancel() : void
     {
         // pass
     }
diff --git a/vendor/prefixed/guzzlehttp/promises/src/Is.php b/vendor/prefixed/guzzlehttp/promises/src/Is.php
index abb898943..296cbb747 100644
--- a/vendor/prefixed/guzzlehttp/promises/src/Is.php
+++ b/vendor/prefixed/guzzlehttp/promises/src/Is.php
@@ -1,42 +1,35 @@
 getState() === PromiseInterface::PENDING;
     }
     /**
      * Returns true if a promise is fulfilled or rejected.
-     *
-     * @return bool
      */
-    public static function settled(PromiseInterface $promise)
+    public static function settled(PromiseInterface $promise) : bool
     {
         return $promise->getState() !== PromiseInterface::PENDING;
     }
     /**
      * Returns true if a promise is fulfilled.
-     *
-     * @return bool
      */
-    public static function fulfilled(PromiseInterface $promise)
+    public static function fulfilled(PromiseInterface $promise) : bool
     {
         return $promise->getState() === PromiseInterface::FULFILLED;
     }
     /**
      * Returns true if a promise is rejected.
-     *
-     * @return bool
      */
-    public static function rejected(PromiseInterface $promise)
+    public static function rejected(PromiseInterface $promise) : bool
     {
         return $promise->getState() === PromiseInterface::REJECTED;
     }
diff --git a/vendor/prefixed/guzzlehttp/promises/src/Promise.php b/vendor/prefixed/guzzlehttp/promises/src/Promise.php
index 964e00326..d3d4a4001 100644
--- a/vendor/prefixed/guzzlehttp/promises/src/Promise.php
+++ b/vendor/prefixed/guzzlehttp/promises/src/Promise.php
@@ -1,11 +1,14 @@
 waitFn = $waitFn;
         $this->cancelFn = $cancelFn;
     }
-    public function then(callable $onFulfilled = null, callable $onRejected = null)
+    public function then(?callable $onFulfilled = null, ?callable $onRejected = null) : PromiseInterface
     {
         if ($this->state === self::PENDING) {
             $p = new Promise(null, [$this, 'cancel']);
@@ -43,11 +46,11 @@ public function then(callable $onFulfilled = null, callable $onRejected = null)
         $rejection = Create::rejectionFor($this->result);
         return $onRejected ? $rejection->then(null, $onRejected) : $rejection;
     }
-    public function otherwise(callable $onRejected)
+    public function otherwise(callable $onRejected) : PromiseInterface
     {
         return $this->then(null, $onRejected);
     }
-    public function wait($unwrap = \true)
+    public function wait(bool $unwrap = \true)
     {
         $this->waitIfPending();
         if ($this->result instanceof PromiseInterface) {
@@ -61,11 +64,11 @@ public function wait($unwrap = \true)
             throw Create::exceptionFor($this->result);
         }
     }
-    public function getState()
+    public function getState() : string
     {
         return $this->state;
     }
-    public function cancel()
+    public function cancel() : void
     {
         if ($this->state !== self::PENDING) {
             return;
@@ -78,8 +81,6 @@ public function cancel()
                 $fn();
             } catch (\Throwable $e) {
                 $this->reject($e);
-            } catch (\Exception $e) {
-                $this->reject($e);
             }
         }
         // Reject the promise only if it wasn't rejected in a then callback.
@@ -88,15 +89,15 @@ public function cancel()
             $this->reject(new CancellationException('Promise has been cancelled'));
         }
     }
-    public function resolve($value)
+    public function resolve($value) : void
     {
         $this->settle(self::FULFILLED, $value);
     }
-    public function reject($reason)
+    public function reject($reason) : void
     {
         $this->settle(self::REJECTED, $reason);
     }
-    private function settle($state, $value)
+    private function settle(string $state, $value) : void
     {
         if ($this->state !== self::PENDING) {
             // Ignore calls with the same resolution.
@@ -123,7 +124,7 @@ private function settle($state, $value)
         if (!is_object($value) || !method_exists($value, 'then')) {
             $id = $state === self::FULFILLED ? 1 : 2;
             // It's a success, so resolve the handlers in the queue.
-            Utils::queue()->add(static function () use($id, $value, $handlers) {
+            Utils::queue()->add(static function () use($id, $value, $handlers) : void {
                 foreach ($handlers as $handler) {
                     self::callHandler($id, $value, $handler);
                 }
@@ -133,11 +134,11 @@ private function settle($state, $value)
             $value->handlers = array_merge($value->handlers, $handlers);
         } else {
             // Resolve the handlers when the forwarded promise is resolved.
-            $value->then(static function ($value) use($handlers) {
+            $value->then(static function ($value) use($handlers) : void {
                 foreach ($handlers as $handler) {
                     self::callHandler(1, $value, $handler);
                 }
-            }, static function ($reason) use($handlers) {
+            }, static function ($reason) use($handlers) : void {
                 foreach ($handlers as $handler) {
                     self::callHandler(2, $reason, $handler);
                 }
@@ -151,7 +152,7 @@ private function settle($state, $value)
      * @param mixed $value   Value to pass to the callback.
      * @param array $handler Array of handler data (promise and callbacks).
      */
-    private static function callHandler($index, $value, array $handler)
+    private static function callHandler(int $index, $value, array $handler) : void
     {
         /** @var PromiseInterface $promise */
         $promise = $handler[0];
@@ -180,11 +181,9 @@ private static function callHandler($index, $value, array $handler)
             }
         } catch (\Throwable $reason) {
             $promise->reject($reason);
-        } catch (\Exception $reason) {
-            $promise->reject($reason);
         }
     }
-    private function waitIfPending()
+    private function waitIfPending() : void
     {
         if ($this->state !== self::PENDING) {
             return;
@@ -202,13 +201,13 @@ private function waitIfPending()
             $this->reject('Invoking the wait callback did not resolve the promise');
         }
     }
-    private function invokeWaitFn()
+    private function invokeWaitFn() : void
     {
         try {
             $wfn = $this->waitFn;
             $this->waitFn = null;
             $wfn(\true);
-        } catch (\Exception $reason) {
+        } catch (\Throwable $reason) {
             if ($this->state === self::PENDING) {
                 // The promise has not been resolved yet, so reject the promise
                 // with the exception.
@@ -220,7 +219,7 @@ private function invokeWaitFn()
             }
         }
     }
-    private function invokeWaitList()
+    private function invokeWaitList() : void
     {
         $waitList = $this->waitList;
         $this->waitList = null;
diff --git a/vendor/prefixed/guzzlehttp/promises/src/PromiseInterface.php b/vendor/prefixed/guzzlehttp/promises/src/PromiseInterface.php
index dbd3f4941..a1d68899c 100644
--- a/vendor/prefixed/guzzlehttp/promises/src/PromiseInterface.php
+++ b/vendor/prefixed/guzzlehttp/promises/src/PromiseInterface.php
@@ -1,5 +1,6 @@
 reason = $reason;
     }
-    public function then(callable $onFulfilled = null, callable $onRejected = null)
+    public function then(?callable $onFulfilled = null, ?callable $onRejected = null) : PromiseInterface
     {
         // If there's no onRejected callback then just return self.
         if (!$onRejected) {
@@ -27,7 +33,7 @@ public function then(callable $onFulfilled = null, callable $onRejected = null)
         $queue = Utils::queue();
         $reason = $this->reason;
         $p = new Promise([$queue, 'run']);
-        $queue->add(static function () use($p, $reason, $onRejected) {
+        $queue->add(static function () use($p, $reason, $onRejected) : void {
             if (Is::pending($p)) {
                 try {
                     // Return a resolved promise if onRejected does not throw.
@@ -35,40 +41,37 @@ public function then(callable $onFulfilled = null, callable $onRejected = null)
                 } catch (\Throwable $e) {
                     // onRejected threw, so return a rejected promise.
                     $p->reject($e);
-                } catch (\Exception $e) {
-                    // onRejected threw, so return a rejected promise.
-                    $p->reject($e);
                 }
             }
         });
         return $p;
     }
-    public function otherwise(callable $onRejected)
+    public function otherwise(callable $onRejected) : PromiseInterface
     {
         return $this->then(null, $onRejected);
     }
-    public function wait($unwrap = \true, $defaultDelivery = null)
+    public function wait(bool $unwrap = \true)
     {
         if ($unwrap) {
             throw Create::exceptionFor($this->reason);
         }
         return null;
     }
-    public function getState()
+    public function getState() : string
     {
         return self::REJECTED;
     }
-    public function resolve($value)
+    public function resolve($value) : void
     {
-        throw new \LogicException("Cannot resolve a rejected promise");
+        throw new \LogicException('Cannot resolve a rejected promise');
     }
-    public function reject($reason)
+    public function reject($reason) : void
     {
         if ($reason !== $this->reason) {
-            throw new \LogicException("Cannot reject a rejected promise");
+            throw new \LogicException('Cannot reject a rejected promise');
         }
     }
-    public function cancel()
+    public function cancel() : void
     {
         // pass
     }
diff --git a/vendor/prefixed/guzzlehttp/promises/src/RejectionException.php b/vendor/prefixed/guzzlehttp/promises/src/RejectionException.php
index e81348f5a..db6f950fb 100644
--- a/vendor/prefixed/guzzlehttp/promises/src/RejectionException.php
+++ b/vendor/prefixed/guzzlehttp/promises/src/RejectionException.php
@@ -1,5 +1,6 @@
 reason = $reason;
         $message = 'The promise was rejected';
diff --git a/vendor/prefixed/guzzlehttp/promises/src/TaskQueue.php b/vendor/prefixed/guzzlehttp/promises/src/TaskQueue.php
index 743f64d83..032635a3a 100644
--- a/vendor/prefixed/guzzlehttp/promises/src/TaskQueue.php
+++ b/vendor/prefixed/guzzlehttp/promises/src/TaskQueue.php
@@ -1,5 +1,6 @@
 run();
+ *
+ * @final
  */
 class TaskQueue implements TaskQueueInterface
 {
     private $enableShutdown = \true;
     private $queue = [];
-    public function __construct($withShutdown = \true)
+    public function __construct(bool $withShutdown = \true)
     {
         if ($withShutdown) {
-            register_shutdown_function(function () {
+            register_shutdown_function(function () : void {
                 if ($this->enableShutdown) {
                     // Only run the tasks if an E_ERROR didn't occur.
                     $err = error_get_last();
@@ -29,15 +32,15 @@ public function __construct($withShutdown = \true)
             });
         }
     }
-    public function isEmpty()
+    public function isEmpty() : bool
     {
         return !$this->queue;
     }
-    public function add(callable $task)
+    public function add(callable $task) : void
     {
         $this->queue[] = $task;
     }
-    public function run()
+    public function run() : void
     {
         while ($task = array_shift($this->queue)) {
             /** @var callable $task */
@@ -55,7 +58,7 @@ public function run()
      *
      * Note: This shutdown will occur before any destructors are triggered.
      */
-    public function disableShutdown()
+    public function disableShutdown() : void
     {
         $this->enableShutdown = \false;
     }
diff --git a/vendor/prefixed/guzzlehttp/promises/src/TaskQueueInterface.php b/vendor/prefixed/guzzlehttp/promises/src/TaskQueueInterface.php
index 19d23172b..a9058a916 100644
--- a/vendor/prefixed/guzzlehttp/promises/src/TaskQueueInterface.php
+++ b/vendor/prefixed/guzzlehttp/promises/src/TaskQueueInterface.php
@@ -1,22 +1,21 @@
 
      *
-     * @param TaskQueueInterface $assign Optionally specify a new queue instance.
-     *
-     * @return TaskQueueInterface
+     * @param TaskQueueInterface|null $assign Optionally specify a new queue instance.
      */
-    public static function queue(TaskQueueInterface $assign = null)
+    public static function queue(?TaskQueueInterface $assign = null) : TaskQueueInterface
     {
         static $queue;
         if ($assign) {
@@ -36,22 +35,18 @@ public static function queue(TaskQueueInterface $assign = null)
      * returns a promise that is fulfilled or rejected with the result.
      *
      * @param callable $task Task function to run.
-     *
-     * @return PromiseInterface
      */
-    public static function task(callable $task)
+    public static function task(callable $task) : PromiseInterface
     {
         $queue = self::queue();
         $promise = new Promise([$queue, 'run']);
-        $queue->add(function () use($task, $promise) {
+        $queue->add(function () use($task, $promise) : void {
             try {
                 if (Is::pending($promise)) {
                     $promise->resolve($task());
                 }
             } catch (\Throwable $e) {
                 $promise->reject($e);
-            } catch (\Exception $e) {
-                $promise->reject($e);
             }
         });
         return $promise;
@@ -67,10 +62,8 @@ public static function task(callable $task)
      * key mapping to the rejection reason of the promise.
      *
      * @param PromiseInterface $promise Promise or value.
-     *
-     * @return array
      */
-    public static function inspect(PromiseInterface $promise)
+    public static function inspect(PromiseInterface $promise) : array
     {
         try {
             return ['state' => PromiseInterface::FULFILLED, 'value' => $promise->wait()];
@@ -78,8 +71,6 @@ public static function inspect(PromiseInterface $promise)
             return ['state' => PromiseInterface::REJECTED, 'reason' => $e->getReason()];
         } catch (\Throwable $e) {
             return ['state' => PromiseInterface::REJECTED, 'reason' => $e];
-        } catch (\Exception $e) {
-            return ['state' => PromiseInterface::REJECTED, 'reason' => $e];
         }
     }
     /**
@@ -91,10 +82,8 @@ public static function inspect(PromiseInterface $promise)
      * @see inspect for the inspection state array format.
      *
      * @param PromiseInterface[] $promises Traversable of promises to wait upon.
-     *
-     * @return array
      */
-    public static function inspectAll($promises)
+    public static function inspectAll($promises) : array
     {
         $results = [];
         foreach ($promises as $key => $promise) {
@@ -111,12 +100,9 @@ public static function inspectAll($promises)
      *
      * @param iterable $promises Iterable of PromiseInterface objects to wait on.
      *
-     * @return array
-     *
-     * @throws \Exception on error
-     * @throws \Throwable on error in PHP >=7
+     * @throws \Throwable on error
      */
-    public static function unwrap($promises)
+    public static function unwrap($promises) : array
     {
         $results = [];
         foreach ($promises as $key => $promise) {
@@ -134,15 +120,13 @@ public static function unwrap($promises)
      *
      * @param mixed $promises  Promises or values.
      * @param bool  $recursive If true, resolves new promises that might have been added to the stack during its own resolution.
-     *
-     * @return PromiseInterface
      */
-    public static function all($promises, $recursive = \false)
+    public static function all($promises, bool $recursive = \false) : PromiseInterface
     {
         $results = [];
-        $promise = Each::of($promises, function ($value, $idx) use(&$results) {
+        $promise = Each::of($promises, function ($value, $idx) use(&$results) : void {
             $results[$idx] = $value;
-        }, function ($reason, $idx, Promise $aggregate) {
+        }, function ($reason, $idx, Promise $aggregate) : void {
             $aggregate->reject($reason);
         })->then(function () use(&$results) {
             ksort($results);
@@ -173,14 +157,12 @@ public static function all($promises, $recursive = \false)
      *
      * @param int   $count    Total number of promises.
      * @param mixed $promises Promises or values.
-     *
-     * @return PromiseInterface
      */
-    public static function some($count, $promises)
+    public static function some(int $count, $promises) : PromiseInterface
     {
         $results = [];
         $rejections = [];
-        return Each::of($promises, function ($value, $idx, PromiseInterface $p) use(&$results, $count) {
+        return Each::of($promises, function ($value, $idx, PromiseInterface $p) use(&$results, $count) : void {
             if (Is::settled($p)) {
                 return;
             }
@@ -188,7 +170,7 @@ public static function some($count, $promises)
             if (count($results) >= $count) {
                 $p->resolve(null);
             }
-        }, function ($reason) use(&$rejections) {
+        }, function ($reason) use(&$rejections) : void {
             $rejections[] = $reason;
         })->then(function () use(&$results, &$rejections, $count) {
             if (count($results) !== $count) {
@@ -203,10 +185,8 @@ public static function some($count, $promises)
      * fulfillment value is not an array of 1 but the value directly.
      *
      * @param mixed $promises Promises or values.
-     *
-     * @return PromiseInterface
      */
-    public static function any($promises)
+    public static function any($promises) : PromiseInterface
     {
         return self::some(1, $promises)->then(function ($values) {
             return $values[0];
@@ -221,15 +201,13 @@ public static function any($promises)
      * @see inspect for the inspection state array format.
      *
      * @param mixed $promises Promises or values.
-     *
-     * @return PromiseInterface
      */
-    public static function settle($promises)
+    public static function settle($promises) : PromiseInterface
     {
         $results = [];
-        return Each::of($promises, function ($value, $idx) use(&$results) {
+        return Each::of($promises, function ($value, $idx) use(&$results) : void {
             $results[$idx] = ['state' => PromiseInterface::FULFILLED, 'value' => $value];
-        }, function ($reason, $idx) use(&$results) {
+        }, function ($reason, $idx) use(&$results) : void {
             $results[$idx] = ['state' => PromiseInterface::REJECTED, 'reason' => $reason];
         })->then(function () use(&$results) {
             ksort($results);
diff --git a/vendor/prefixed/guzzlehttp/promises/src/functions.php b/vendor/prefixed/guzzlehttp/promises/src/functions.php
deleted file mode 100644
index 7ecd912ea..000000000
--- a/vendor/prefixed/guzzlehttp/promises/src/functions.php
+++ /dev/null
@@ -1,334 +0,0 @@
-
- * while ($eventLoop->isRunning()) {
- *     GuzzleHttp\Promise\queue()->run();
- * }
- * 
- *
- * @param TaskQueueInterface $assign Optionally specify a new queue instance.
- *
- * @return TaskQueueInterface
- *
- * @deprecated queue will be removed in guzzlehttp/promises:2.0. Use Utils::queue instead.
- */
-function queue(TaskQueueInterface $assign = null)
-{
-    return Utils::queue($assign);
-}
-/**
- * Adds a function to run in the task queue when it is next `run()` and returns
- * a promise that is fulfilled or rejected with the result.
- *
- * @param callable $task Task function to run.
- *
- * @return PromiseInterface
- *
- * @deprecated task will be removed in guzzlehttp/promises:2.0. Use Utils::task instead.
- */
-function task(callable $task)
-{
-    return Utils::task($task);
-}
-/**
- * Creates a promise for a value if the value is not a promise.
- *
- * @param mixed $value Promise or value.
- *
- * @return PromiseInterface
- *
- * @deprecated promise_for will be removed in guzzlehttp/promises:2.0. Use Create::promiseFor instead.
- */
-function promise_for($value)
-{
-    return Create::promiseFor($value);
-}
-/**
- * Creates a rejected promise for a reason if the reason is not a promise. If
- * the provided reason is a promise, then it is returned as-is.
- *
- * @param mixed $reason Promise or reason.
- *
- * @return PromiseInterface
- *
- * @deprecated rejection_for will be removed in guzzlehttp/promises:2.0. Use Create::rejectionFor instead.
- */
-function rejection_for($reason)
-{
-    return Create::rejectionFor($reason);
-}
-/**
- * Create an exception for a rejected promise value.
- *
- * @param mixed $reason
- *
- * @return \Exception|\Throwable
- *
- * @deprecated exception_for will be removed in guzzlehttp/promises:2.0. Use Create::exceptionFor instead.
- */
-function exception_for($reason)
-{
-    return Create::exceptionFor($reason);
-}
-/**
- * Returns an iterator for the given value.
- *
- * @param mixed $value
- *
- * @return \Iterator
- *
- * @deprecated iter_for will be removed in guzzlehttp/promises:2.0. Use Create::iterFor instead.
- */
-function iter_for($value)
-{
-    return Create::iterFor($value);
-}
-/**
- * Synchronously waits on a promise to resolve and returns an inspection state
- * array.
- *
- * Returns a state associative array containing a "state" key mapping to a
- * valid promise state. If the state of the promise is "fulfilled", the array
- * will contain a "value" key mapping to the fulfilled value of the promise. If
- * the promise is rejected, the array will contain a "reason" key mapping to
- * the rejection reason of the promise.
- *
- * @param PromiseInterface $promise Promise or value.
- *
- * @return array
- *
- * @deprecated inspect will be removed in guzzlehttp/promises:2.0. Use Utils::inspect instead.
- */
-function inspect(PromiseInterface $promise)
-{
-    return Utils::inspect($promise);
-}
-/**
- * Waits on all of the provided promises, but does not unwrap rejected promises
- * as thrown exception.
- *
- * Returns an array of inspection state arrays.
- *
- * @see inspect for the inspection state array format.
- *
- * @param PromiseInterface[] $promises Traversable of promises to wait upon.
- *
- * @return array
- *
- * @deprecated inspect will be removed in guzzlehttp/promises:2.0. Use Utils::inspectAll instead.
- */
-function inspect_all($promises)
-{
-    return Utils::inspectAll($promises);
-}
-/**
- * Waits on all of the provided promises and returns the fulfilled values.
- *
- * Returns an array that contains the value of each promise (in the same order
- * the promises were provided). An exception is thrown if any of the promises
- * are rejected.
- *
- * @param iterable $promises Iterable of PromiseInterface objects to wait on.
- *
- * @return array
- *
- * @throws \Exception on error
- * @throws \Throwable on error in PHP >=7
- *
- * @deprecated unwrap will be removed in guzzlehttp/promises:2.0. Use Utils::unwrap instead.
- */
-function unwrap($promises)
-{
-    return Utils::unwrap($promises);
-}
-/**
- * Given an array of promises, return a promise that is fulfilled when all the
- * items in the array are fulfilled.
- *
- * The promise's fulfillment value is an array with fulfillment values at
- * respective positions to the original array. If any promise in the array
- * rejects, the returned promise is rejected with the rejection reason.
- *
- * @param mixed $promises  Promises or values.
- * @param bool  $recursive If true, resolves new promises that might have been added to the stack during its own resolution.
- *
- * @return PromiseInterface
- *
- * @deprecated all will be removed in guzzlehttp/promises:2.0. Use Utils::all instead.
- */
-function all($promises, $recursive = \false)
-{
-    return Utils::all($promises, $recursive);
-}
-/**
- * Initiate a competitive race between multiple promises or values (values will
- * become immediately fulfilled promises).
- *
- * When count amount of promises have been fulfilled, the returned promise is
- * fulfilled with an array that contains the fulfillment values of the winners
- * in order of resolution.
- *
- * This promise is rejected with a {@see AggregateException} if the number of
- * fulfilled promises is less than the desired $count.
- *
- * @param int   $count    Total number of promises.
- * @param mixed $promises Promises or values.
- *
- * @return PromiseInterface
- *
- * @deprecated some will be removed in guzzlehttp/promises:2.0. Use Utils::some instead.
- */
-function some($count, $promises)
-{
-    return Utils::some($count, $promises);
-}
-/**
- * Like some(), with 1 as count. However, if the promise fulfills, the
- * fulfillment value is not an array of 1 but the value directly.
- *
- * @param mixed $promises Promises or values.
- *
- * @return PromiseInterface
- *
- * @deprecated any will be removed in guzzlehttp/promises:2.0. Use Utils::any instead.
- */
-function any($promises)
-{
-    return Utils::any($promises);
-}
-/**
- * Returns a promise that is fulfilled when all of the provided promises have
- * been fulfilled or rejected.
- *
- * The returned promise is fulfilled with an array of inspection state arrays.
- *
- * @see inspect for the inspection state array format.
- *
- * @param mixed $promises Promises or values.
- *
- * @return PromiseInterface
- *
- * @deprecated settle will be removed in guzzlehttp/promises:2.0. Use Utils::settle instead.
- */
-function settle($promises)
-{
-    return Utils::settle($promises);
-}
-/**
- * Given an iterator that yields promises or values, returns a promise that is
- * fulfilled with a null value when the iterator has been consumed or the
- * aggregate promise has been fulfilled or rejected.
- *
- * $onFulfilled is a function that accepts the fulfilled value, iterator index,
- * and the aggregate promise. The callback can invoke any necessary side
- * effects and choose to resolve or reject the aggregate if needed.
- *
- * $onRejected is a function that accepts the rejection reason, iterator index,
- * and the aggregate promise. The callback can invoke any necessary side
- * effects and choose to resolve or reject the aggregate if needed.
- *
- * @param mixed    $iterable    Iterator or array to iterate over.
- * @param callable $onFulfilled
- * @param callable $onRejected
- *
- * @return PromiseInterface
- *
- * @deprecated each will be removed in guzzlehttp/promises:2.0. Use Each::of instead.
- */
-function each($iterable, callable $onFulfilled = null, callable $onRejected = null)
-{
-    return Each::of($iterable, $onFulfilled, $onRejected);
-}
-/**
- * Like each, but only allows a certain number of outstanding promises at any
- * given time.
- *
- * $concurrency may be an integer or a function that accepts the number of
- * pending promises and returns a numeric concurrency limit value to allow for
- * dynamic a concurrency size.
- *
- * @param mixed        $iterable
- * @param int|callable $concurrency
- * @param callable     $onFulfilled
- * @param callable     $onRejected
- *
- * @return PromiseInterface
- *
- * @deprecated each_limit will be removed in guzzlehttp/promises:2.0. Use Each::ofLimit instead.
- */
-function each_limit($iterable, $concurrency, callable $onFulfilled = null, callable $onRejected = null)
-{
-    return Each::ofLimit($iterable, $concurrency, $onFulfilled, $onRejected);
-}
-/**
- * Like each_limit, but ensures that no promise in the given $iterable argument
- * is rejected. If any promise is rejected, then the aggregate promise is
- * rejected with the encountered rejection.
- *
- * @param mixed        $iterable
- * @param int|callable $concurrency
- * @param callable     $onFulfilled
- *
- * @return PromiseInterface
- *
- * @deprecated each_limit_all will be removed in guzzlehttp/promises:2.0. Use Each::ofLimitAll instead.
- */
-function each_limit_all($iterable, $concurrency, callable $onFulfilled = null)
-{
-    return Each::ofLimitAll($iterable, $concurrency, $onFulfilled);
-}
-/**
- * Returns true if a promise is fulfilled.
- *
- * @return bool
- *
- * @deprecated is_fulfilled will be removed in guzzlehttp/promises:2.0. Use Is::fulfilled instead.
- */
-function is_fulfilled(PromiseInterface $promise)
-{
-    return Is::fulfilled($promise);
-}
-/**
- * Returns true if a promise is rejected.
- *
- * @return bool
- *
- * @deprecated is_rejected will be removed in guzzlehttp/promises:2.0. Use Is::rejected instead.
- */
-function is_rejected(PromiseInterface $promise)
-{
-    return Is::rejected($promise);
-}
-/**
- * Returns true if a promise is fulfilled or rejected.
- *
- * @return bool
- *
- * @deprecated is_settled will be removed in guzzlehttp/promises:2.0. Use Is::settled instead.
- */
-function is_settled(PromiseInterface $promise)
-{
-    return Is::settled($promise);
-}
-/**
- * Create a new coroutine.
- *
- * @see Coroutine
- *
- * @return PromiseInterface
- *
- * @deprecated coroutine will be removed in guzzlehttp/promises:2.0. Use Coroutine::of instead.
- */
-function coroutine(callable $generatorFn)
-{
-    return Coroutine::of($generatorFn);
-}
diff --git a/vendor/prefixed/guzzlehttp/promises/src/functions_include.php b/vendor/prefixed/guzzlehttp/promises/src/functions_include.php
deleted file mode 100644
index 4ef919bbe..000000000
--- a/vendor/prefixed/guzzlehttp/promises/src/functions_include.php
+++ /dev/null
@@ -1,8 +0,0 @@
-remoteStream = $stream;
         $this->stream = $target ?: new Stream(Utils::tryFopen('php://temp', 'r+'));
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/FnStream.php b/vendor/prefixed/guzzlehttp/psr7/src/FnStream.php
index a1b50e09d..7ac911cc5 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/FnStream.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/FnStream.php
@@ -42,7 +42,7 @@ public function __get(string $name) : void
     public function __destruct()
     {
         if (isset($this->_fn_close)) {
-            call_user_func($this->_fn_close);
+            ($this->_fn_close)();
         }
     }
     /**
@@ -77,7 +77,8 @@ public static function decorate(StreamInterface $stream, array $methods)
     public function __toString() : string
     {
         try {
-            return call_user_func($this->_fn___toString);
+            /** @var string */
+            return ($this->_fn___toString)();
         } catch (\Throwable $e) {
             if (\PHP_VERSION_ID >= 70400) {
                 throw $e;
@@ -88,63 +89,61 @@ public function __toString() : string
     }
     public function close() : void
     {
-        call_user_func($this->_fn_close);
+        ($this->_fn_close)();
     }
     public function detach()
     {
-        return call_user_func($this->_fn_detach);
+        return ($this->_fn_detach)();
     }
     public function getSize() : ?int
     {
-        return call_user_func($this->_fn_getSize);
+        return ($this->_fn_getSize)();
     }
     public function tell() : int
     {
-        return call_user_func($this->_fn_tell);
+        return ($this->_fn_tell)();
     }
     public function eof() : bool
     {
-        return call_user_func($this->_fn_eof);
+        return ($this->_fn_eof)();
     }
     public function isSeekable() : bool
     {
-        return call_user_func($this->_fn_isSeekable);
+        return ($this->_fn_isSeekable)();
     }
     public function rewind() : void
     {
-        call_user_func($this->_fn_rewind);
+        ($this->_fn_rewind)();
     }
     public function seek($offset, $whence = \SEEK_SET) : void
     {
-        call_user_func($this->_fn_seek, $offset, $whence);
+        ($this->_fn_seek)($offset, $whence);
     }
     public function isWritable() : bool
     {
-        return call_user_func($this->_fn_isWritable);
+        return ($this->_fn_isWritable)();
     }
     public function write($string) : int
     {
-        return call_user_func($this->_fn_write, $string);
+        return ($this->_fn_write)($string);
     }
     public function isReadable() : bool
     {
-        return call_user_func($this->_fn_isReadable);
+        return ($this->_fn_isReadable)();
     }
     public function read($length) : string
     {
-        return call_user_func($this->_fn_read, $length);
+        return ($this->_fn_read)($length);
     }
     public function getContents() : string
     {
-        return call_user_func($this->_fn_getContents);
+        return ($this->_fn_getContents)();
     }
     /**
-     * {@inheritdoc}
-     *
      * @return mixed
      */
     public function getMetadata($key = null)
     {
-        return call_user_func($this->_fn_getMetadata, $key);
+        return ($this->_fn_getMetadata)($key);
     }
 }
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/Header.php b/vendor/prefixed/guzzlehttp/psr7/src/Header.php
index c04786ae4..4ebf72392 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/Header.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/Header.php
@@ -20,7 +20,7 @@ public static function parse($header) : array
         foreach ((array) $header as $value) {
             foreach (self::splitList($value) as $val) {
                 $part = [];
-                foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) as $kvp) {
+                foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) ?: [] as $kvp) {
                     if (preg_match_all('/<[^>]+>|[^=]+/', $kvp, $matches)) {
                         $m = $matches[0];
                         if (isset($m[1])) {
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/HttpFactory.php b/vendor/prefixed/guzzlehttp/psr7/src/HttpFactory.php
index b67f70be8..d14d54f35 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/HttpFactory.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/HttpFactory.php
@@ -23,7 +23,7 @@
  */
 final class HttpFactory implements RequestFactoryInterface, ResponseFactoryInterface, ServerRequestFactoryInterface, StreamFactoryInterface, UploadedFileFactoryInterface, UriFactoryInterface
 {
-    public function createUploadedFile(StreamInterface $stream, int $size = null, int $error = \UPLOAD_ERR_OK, string $clientFilename = null, string $clientMediaType = null) : UploadedFileInterface
+    public function createUploadedFile(StreamInterface $stream, ?int $size = null, int $error = \UPLOAD_ERR_OK, ?string $clientFilename = null, ?string $clientMediaType = null) : UploadedFileInterface
     {
         if ($size === null) {
             $size = $stream->getSize();
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/InflateStream.php b/vendor/prefixed/guzzlehttp/psr7/src/InflateStream.php
index 3933f27ef..7a5113b47 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/InflateStream.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/InflateStream.php
@@ -11,9 +11,9 @@
  * then appends the zlib.inflate filter. The stream is then converted back
  * to a Guzzle stream resource to be used as a Guzzle stream.
  *
- * @see http://tools.ietf.org/html/rfc1950
- * @see http://tools.ietf.org/html/rfc1952
- * @see http://php.net/manual/en/filters.compression.php
+ * @see https://datatracker.ietf.org/doc/html/rfc1950
+ * @see https://datatracker.ietf.org/doc/html/rfc1952
+ * @see https://www.php.net/manual/en/filters.compression.php
  */
 final class InflateStream implements StreamInterface
 {
@@ -24,7 +24,7 @@ public function __construct(StreamInterface $stream)
     {
         $resource = StreamWrapper::getResource($stream);
         // Specify window=15+32, so zlib will use header detection to both gzip (with header) and zlib data
-        // See http://www.zlib.net/manual.html#Advanced definition of inflateInit2
+        // See https://www.zlib.net/manual.html#Advanced definition of inflateInit2
         // "Add 32 to windowBits to enable zlib and gzip decoding with automatic header detection"
         // Default window size is 15.
         stream_filter_append($resource, 'zlib.inflate', \STREAM_FILTER_READ, ['window' => 15 + 32]);
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/Message.php b/vendor/prefixed/guzzlehttp/psr7/src/Message.php
index ed1ab4937..22affbf38 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/Message.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/Message.php
@@ -26,7 +26,7 @@ public static function toString(MessageInterface $message) : string
             throw new \InvalidArgumentException('Unknown message type');
         }
         foreach ($message->getHeaders() as $name => $values) {
-            if (strtolower($name) === 'set-cookie') {
+            if (is_string($name) && strtolower($name) === 'set-cookie') {
                 foreach ($values as $value) {
                     $msg .= "\r\n{$name}: " . $value;
                 }
@@ -119,7 +119,7 @@ public static function parseMessage(string $message) : array
         $count = preg_match_all(Rfc7230::HEADER_REGEX, $rawHeaders, $headerLines, \PREG_SET_ORDER);
         // If these aren't the same, then one line didn't match and there's an invalid header.
         if ($count !== substr_count($rawHeaders, "\n")) {
-            // Folding is deprecated, see https://tools.ietf.org/html/rfc7230#section-3.2.4
+            // Folding is deprecated, see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4
             if (preg_match(Rfc7230::HEADER_FOLD_REGEX, $rawHeaders)) {
                 throw new \InvalidArgumentException('Invalid header syntax: Obsolete line folding');
             }
@@ -177,9 +177,9 @@ public static function parseRequest(string $message) : RequestInterface
     public static function parseResponse(string $message) : ResponseInterface
     {
         $data = self::parseMessage($message);
-        // According to https://tools.ietf.org/html/rfc7230#section-3.1.2 the space
-        // between status-code and reason-phrase is required. But browsers accept
-        // responses without space and reason as well.
+        // According to https://datatracker.ietf.org/doc/html/rfc7230#section-3.1.2
+        // the space between status-code and reason-phrase is required. But
+        // browsers accept responses without space and reason as well.
         if (!preg_match('/^HTTP\\/.* [0-9]{3}( .*|$)/', $data['start-line'])) {
             throw new \InvalidArgumentException('Invalid response string: ' . $data['start-line']);
         }
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/MessageTrait.php b/vendor/prefixed/guzzlehttp/psr7/src/MessageTrait.php
index 92d07ed8b..54e9bf683 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/MessageTrait.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/MessageTrait.php
@@ -10,9 +10,9 @@
  */
 trait MessageTrait
 {
-    /** @var array Map of all registered headers, as original name => array of values */
+    /** @var string[][] Map of all registered headers, as original name => array of values */
     private $headers = [];
-    /** @var array Map of lowercase header name => original name at registration */
+    /** @var string[] Map of lowercase header name => original name at registration */
     private $headerNames = [];
     /** @var string */
     private $protocol = '1.1';
@@ -108,7 +108,7 @@ public function withBody(StreamInterface $body) : MessageInterface
         return $new;
     }
     /**
-     * @param array $headers
+     * @param (string|string[])[] $headers
      */
     private function setHeaders(array $headers) : void
     {
@@ -155,7 +155,7 @@ private function normalizeHeaderValue($value) : array
      *
      * @return string[] Trimmed header values
      *
-     * @see https://tools.ietf.org/html/rfc7230#section-3.2.4
+     * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4
      */
     private function trimAndValidateHeaderValues(array $values) : array
     {
@@ -169,7 +169,7 @@ private function trimAndValidateHeaderValues(array $values) : array
         }, array_values($values));
     }
     /**
-     * @see https://tools.ietf.org/html/rfc7230#section-3.2
+     * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2
      *
      * @param mixed $header
      */
@@ -183,7 +183,7 @@ private function assertHeader($header) : void
         }
     }
     /**
-     * @see https://tools.ietf.org/html/rfc7230#section-3.2
+     * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2
      *
      * field-value    = *( field-content / obs-fold )
      * field-content  = field-vchar [ 1*( SP / HTAB ) field-vchar ]
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/MimeType.php b/vendor/prefixed/guzzlehttp/psr7/src/MimeType.php
index fc2bf9a7b..33878c78a 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/MimeType.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/MimeType.php
@@ -5,7 +5,7 @@
 
 final class MimeType
 {
-    private const MIME_TYPES = ['1km' => 'application/vnd.1000minds.decision-model+xml', '3dml' => 'text/vnd.in3d.3dml', '3ds' => 'image/x-3ds', '3g2' => 'video/3gpp2', '3gp' => 'video/3gp', '3gpp' => 'video/3gpp', '3mf' => 'model/3mf', '7z' => 'application/x-7z-compressed', '7zip' => 'application/x-7z-compressed', '123' => 'application/vnd.lotus-1-2-3', 'aab' => 'application/x-authorware-bin', 'aac' => 'audio/aac', 'aam' => 'application/x-authorware-map', 'aas' => 'application/x-authorware-seg', 'abw' => 'application/x-abiword', 'ac' => 'application/vnd.nokia.n-gage.ac+xml', 'ac3' => 'audio/ac3', 'acc' => 'application/vnd.americandynamics.acc', 'ace' => 'application/x-ace-compressed', 'acu' => 'application/vnd.acucobol', 'acutc' => 'application/vnd.acucorp', 'adp' => 'audio/adpcm', 'aep' => 'application/vnd.audiograph', 'afm' => 'application/x-font-type1', 'afp' => 'application/vnd.ibm.modcap', 'age' => 'application/vnd.age', 'ahead' => 'application/vnd.ahead.space', 'ai' => 'application/pdf', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'air' => 'application/vnd.adobe.air-application-installer-package+zip', 'ait' => 'application/vnd.dvb.ait', 'ami' => 'application/vnd.amiga.ami', 'amr' => 'audio/amr', 'apk' => 'application/vnd.android.package-archive', 'apng' => 'image/apng', 'appcache' => 'text/cache-manifest', 'application' => 'application/x-ms-application', 'apr' => 'application/vnd.lotus-approach', 'arc' => 'application/x-freearc', 'arj' => 'application/x-arj', 'asc' => 'application/pgp-signature', 'asf' => 'video/x-ms-asf', 'asm' => 'text/x-asm', 'aso' => 'application/vnd.accpac.simply.aso', 'asx' => 'video/x-ms-asf', 'atc' => 'application/vnd.acucorp', 'atom' => 'application/atom+xml', 'atomcat' => 'application/atomcat+xml', 'atomdeleted' => 'application/atomdeleted+xml', 'atomsvc' => 'application/atomsvc+xml', 'atx' => 'application/vnd.antix.game-component', 'au' => 'audio/x-au', 'avci' => 'image/avci', 'avcs' => 'image/avcs', 'avi' => 'video/x-msvideo', 'avif' => 'image/avif', 'aw' => 'application/applixware', 'azf' => 'application/vnd.airzip.filesecure.azf', 'azs' => 'application/vnd.airzip.filesecure.azs', 'azv' => 'image/vnd.airzip.accelerator.azv', 'azw' => 'application/vnd.amazon.ebook', 'b16' => 'image/vnd.pco.b16', 'bat' => 'application/x-msdownload', 'bcpio' => 'application/x-bcpio', 'bdf' => 'application/x-font-bdf', 'bdm' => 'application/vnd.syncml.dm+wbxml', 'bdoc' => 'application/x-bdoc', 'bed' => 'application/vnd.realvnc.bed', 'bh2' => 'application/vnd.fujitsu.oasysprs', 'bin' => 'application/octet-stream', 'blb' => 'application/x-blorb', 'blorb' => 'application/x-blorb', 'bmi' => 'application/vnd.bmi', 'bmml' => 'application/vnd.balsamiq.bmml+xml', 'bmp' => 'image/bmp', 'book' => 'application/vnd.framemaker', 'box' => 'application/vnd.previewsystems.box', 'boz' => 'application/x-bzip2', 'bpk' => 'application/octet-stream', 'bpmn' => 'application/octet-stream', 'bsp' => 'model/vnd.valve.source.compiled-map', 'btif' => 'image/prs.btif', 'buffer' => 'application/octet-stream', 'bz' => 'application/x-bzip', 'bz2' => 'application/x-bzip2', 'c' => 'text/x-c', 'c4d' => 'application/vnd.clonk.c4group', 'c4f' => 'application/vnd.clonk.c4group', 'c4g' => 'application/vnd.clonk.c4group', 'c4p' => 'application/vnd.clonk.c4group', 'c4u' => 'application/vnd.clonk.c4group', 'c11amc' => 'application/vnd.cluetrust.cartomobile-config', 'c11amz' => 'application/vnd.cluetrust.cartomobile-config-pkg', 'cab' => 'application/vnd.ms-cab-compressed', 'caf' => 'audio/x-caf', 'cap' => 'application/vnd.tcpdump.pcap', 'car' => 'application/vnd.curl.car', 'cat' => 'application/vnd.ms-pki.seccat', 'cb7' => 'application/x-cbr', 'cba' => 'application/x-cbr', 'cbr' => 'application/x-cbr', 'cbt' => 'application/x-cbr', 'cbz' => 'application/x-cbr', 'cc' => 'text/x-c', 'cco' => 'application/x-cocoa', 'cct' => 'application/x-director', 'ccxml' => 'application/ccxml+xml', 'cdbcmsg' => 'application/vnd.contact.cmsg', 'cdf' => 'application/x-netcdf', 'cdfx' => 'application/cdfx+xml', 'cdkey' => 'application/vnd.mediastation.cdkey', 'cdmia' => 'application/cdmi-capability', 'cdmic' => 'application/cdmi-container', 'cdmid' => 'application/cdmi-domain', 'cdmio' => 'application/cdmi-object', 'cdmiq' => 'application/cdmi-queue', 'cdr' => 'application/cdr', 'cdx' => 'chemical/x-cdx', 'cdxml' => 'application/vnd.chemdraw+xml', 'cdy' => 'application/vnd.cinderella', 'cer' => 'application/pkix-cert', 'cfs' => 'application/x-cfs-compressed', 'cgm' => 'image/cgm', 'chat' => 'application/x-chat', 'chm' => 'application/vnd.ms-htmlhelp', 'chrt' => 'application/vnd.kde.kchart', 'cif' => 'chemical/x-cif', 'cii' => 'application/vnd.anser-web-certificate-issue-initiation', 'cil' => 'application/vnd.ms-artgalry', 'cjs' => 'application/node', 'cla' => 'application/vnd.claymore', 'class' => 'application/octet-stream', 'clkk' => 'application/vnd.crick.clicker.keyboard', 'clkp' => 'application/vnd.crick.clicker.palette', 'clkt' => 'application/vnd.crick.clicker.template', 'clkw' => 'application/vnd.crick.clicker.wordbank', 'clkx' => 'application/vnd.crick.clicker', 'clp' => 'application/x-msclip', 'cmc' => 'application/vnd.cosmocaller', 'cmdf' => 'chemical/x-cmdf', 'cml' => 'chemical/x-cml', 'cmp' => 'application/vnd.yellowriver-custom-menu', 'cmx' => 'image/x-cmx', 'cod' => 'application/vnd.rim.cod', 'coffee' => 'text/coffeescript', 'com' => 'application/x-msdownload', 'conf' => 'text/plain', 'cpio' => 'application/x-cpio', 'cpl' => 'application/cpl+xml', 'cpp' => 'text/x-c', 'cpt' => 'application/mac-compactpro', 'crd' => 'application/x-mscardfile', 'crl' => 'application/pkix-crl', 'crt' => 'application/x-x509-ca-cert', 'crx' => 'application/x-chrome-extension', 'cryptonote' => 'application/vnd.rig.cryptonote', 'csh' => 'application/x-csh', 'csl' => 'application/vnd.citationstyles.style+xml', 'csml' => 'chemical/x-csml', 'csp' => 'application/vnd.commonspace', 'csr' => 'application/octet-stream', 'css' => 'text/css', 'cst' => 'application/x-director', 'csv' => 'text/csv', 'cu' => 'application/cu-seeme', 'curl' => 'text/vnd.curl', 'cww' => 'application/prs.cww', 'cxt' => 'application/x-director', 'cxx' => 'text/x-c', 'dae' => 'model/vnd.collada+xml', 'daf' => 'application/vnd.mobius.daf', 'dart' => 'application/vnd.dart', 'dataless' => 'application/vnd.fdsn.seed', 'davmount' => 'application/davmount+xml', 'dbf' => 'application/vnd.dbf', 'dbk' => 'application/docbook+xml', 'dcr' => 'application/x-director', 'dcurl' => 'text/vnd.curl.dcurl', 'dd2' => 'application/vnd.oma.dd2+xml', 'ddd' => 'application/vnd.fujixerox.ddd', 'ddf' => 'application/vnd.syncml.dmddf+xml', 'dds' => 'image/vnd.ms-dds', 'deb' => 'application/x-debian-package', 'def' => 'text/plain', 'deploy' => 'application/octet-stream', 'der' => 'application/x-x509-ca-cert', 'dfac' => 'application/vnd.dreamfactory', 'dgc' => 'application/x-dgc-compressed', 'dic' => 'text/x-c', 'dir' => 'application/x-director', 'dis' => 'application/vnd.mobius.dis', 'disposition-notification' => 'message/disposition-notification', 'dist' => 'application/octet-stream', 'distz' => 'application/octet-stream', 'djv' => 'image/vnd.djvu', 'djvu' => 'image/vnd.djvu', 'dll' => 'application/octet-stream', 'dmg' => 'application/x-apple-diskimage', 'dmn' => 'application/octet-stream', 'dmp' => 'application/vnd.tcpdump.pcap', 'dms' => 'application/octet-stream', 'dna' => 'application/vnd.dna', 'doc' => 'application/msword', 'docm' => 'application/vnd.ms-word.template.macroEnabled.12', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'dot' => 'application/msword', 'dotm' => 'application/vnd.ms-word.template.macroEnabled.12', 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', 'dp' => 'application/vnd.osgi.dp', 'dpg' => 'application/vnd.dpgraph', 'dra' => 'audio/vnd.dra', 'drle' => 'image/dicom-rle', 'dsc' => 'text/prs.lines.tag', 'dssc' => 'application/dssc+der', 'dtb' => 'application/x-dtbook+xml', 'dtd' => 'application/xml-dtd', 'dts' => 'audio/vnd.dts', 'dtshd' => 'audio/vnd.dts.hd', 'dump' => 'application/octet-stream', 'dvb' => 'video/vnd.dvb.file', 'dvi' => 'application/x-dvi', 'dwd' => 'application/atsc-dwd+xml', 'dwf' => 'model/vnd.dwf', 'dwg' => 'image/vnd.dwg', 'dxf' => 'image/vnd.dxf', 'dxp' => 'application/vnd.spotfire.dxp', 'dxr' => 'application/x-director', 'ear' => 'application/java-archive', 'ecelp4800' => 'audio/vnd.nuera.ecelp4800', 'ecelp7470' => 'audio/vnd.nuera.ecelp7470', 'ecelp9600' => 'audio/vnd.nuera.ecelp9600', 'ecma' => 'application/ecmascript', 'edm' => 'application/vnd.novadigm.edm', 'edx' => 'application/vnd.novadigm.edx', 'efif' => 'application/vnd.picsel', 'ei6' => 'application/vnd.pg.osasli', 'elc' => 'application/octet-stream', 'emf' => 'image/emf', 'eml' => 'message/rfc822', 'emma' => 'application/emma+xml', 'emotionml' => 'application/emotionml+xml', 'emz' => 'application/x-msmetafile', 'eol' => 'audio/vnd.digital-winds', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'epub' => 'application/epub+zip', 'es' => 'application/ecmascript', 'es3' => 'application/vnd.eszigno3+xml', 'esa' => 'application/vnd.osgi.subsystem', 'esf' => 'application/vnd.epson.esf', 'et3' => 'application/vnd.eszigno3+xml', 'etx' => 'text/x-setext', 'eva' => 'application/x-eva', 'evy' => 'application/x-envoy', 'exe' => 'application/octet-stream', 'exi' => 'application/exi', 'exp' => 'application/express', 'exr' => 'image/aces', 'ext' => 'application/vnd.novadigm.ext', 'ez' => 'application/andrew-inset', 'ez2' => 'application/vnd.ezpix-album', 'ez3' => 'application/vnd.ezpix-package', 'f' => 'text/x-fortran', 'f4v' => 'video/mp4', 'f77' => 'text/x-fortran', 'f90' => 'text/x-fortran', 'fbs' => 'image/vnd.fastbidsheet', 'fcdt' => 'application/vnd.adobe.formscentral.fcdt', 'fcs' => 'application/vnd.isac.fcs', 'fdf' => 'application/vnd.fdf', 'fdt' => 'application/fdt+xml', 'fe_launch' => 'application/vnd.denovo.fcselayout-link', 'fg5' => 'application/vnd.fujitsu.oasysgp', 'fgd' => 'application/x-director', 'fh' => 'image/x-freehand', 'fh4' => 'image/x-freehand', 'fh5' => 'image/x-freehand', 'fh7' => 'image/x-freehand', 'fhc' => 'image/x-freehand', 'fig' => 'application/x-xfig', 'fits' => 'image/fits', 'flac' => 'audio/x-flac', 'fli' => 'video/x-fli', 'flo' => 'application/vnd.micrografx.flo', 'flv' => 'video/x-flv', 'flw' => 'application/vnd.kde.kivio', 'flx' => 'text/vnd.fmi.flexstor', 'fly' => 'text/vnd.fly', 'fm' => 'application/vnd.framemaker', 'fnc' => 'application/vnd.frogans.fnc', 'fo' => 'application/vnd.software602.filler.form+xml', 'for' => 'text/x-fortran', 'fpx' => 'image/vnd.fpx', 'frame' => 'application/vnd.framemaker', 'fsc' => 'application/vnd.fsc.weblaunch', 'fst' => 'image/vnd.fst', 'ftc' => 'application/vnd.fluxtime.clip', 'fti' => 'application/vnd.anser-web-funds-transfer-initiation', 'fvt' => 'video/vnd.fvt', 'fxp' => 'application/vnd.adobe.fxp', 'fxpl' => 'application/vnd.adobe.fxp', 'fzs' => 'application/vnd.fuzzysheet', 'g2w' => 'application/vnd.geoplan', 'g3' => 'image/g3fax', 'g3w' => 'application/vnd.geospace', 'gac' => 'application/vnd.groove-account', 'gam' => 'application/x-tads', 'gbr' => 'application/rpki-ghostbusters', 'gca' => 'application/x-gca-compressed', 'gdl' => 'model/vnd.gdl', 'gdoc' => 'application/vnd.google-apps.document', 'ged' => 'text/vnd.familysearch.gedcom', 'geo' => 'application/vnd.dynageo', 'geojson' => 'application/geo+json', 'gex' => 'application/vnd.geometry-explorer', 'ggb' => 'application/vnd.geogebra.file', 'ggt' => 'application/vnd.geogebra.tool', 'ghf' => 'application/vnd.groove-help', 'gif' => 'image/gif', 'gim' => 'application/vnd.groove-identity-message', 'glb' => 'model/gltf-binary', 'gltf' => 'model/gltf+json', 'gml' => 'application/gml+xml', 'gmx' => 'application/vnd.gmx', 'gnumeric' => 'application/x-gnumeric', 'gpg' => 'application/gpg-keys', 'gph' => 'application/vnd.flographit', 'gpx' => 'application/gpx+xml', 'gqf' => 'application/vnd.grafeq', 'gqs' => 'application/vnd.grafeq', 'gram' => 'application/srgs', 'gramps' => 'application/x-gramps-xml', 'gre' => 'application/vnd.geometry-explorer', 'grv' => 'application/vnd.groove-injector', 'grxml' => 'application/srgs+xml', 'gsf' => 'application/x-font-ghostscript', 'gsheet' => 'application/vnd.google-apps.spreadsheet', 'gslides' => 'application/vnd.google-apps.presentation', 'gtar' => 'application/x-gtar', 'gtm' => 'application/vnd.groove-tool-message', 'gtw' => 'model/vnd.gtw', 'gv' => 'text/vnd.graphviz', 'gxf' => 'application/gxf', 'gxt' => 'application/vnd.geonext', 'gz' => 'application/gzip', 'gzip' => 'application/gzip', 'h' => 'text/x-c', 'h261' => 'video/h261', 'h263' => 'video/h263', 'h264' => 'video/h264', 'hal' => 'application/vnd.hal+xml', 'hbci' => 'application/vnd.hbci', 'hbs' => 'text/x-handlebars-template', 'hdd' => 'application/x-virtualbox-hdd', 'hdf' => 'application/x-hdf', 'heic' => 'image/heic', 'heics' => 'image/heic-sequence', 'heif' => 'image/heif', 'heifs' => 'image/heif-sequence', 'hej2' => 'image/hej2k', 'held' => 'application/atsc-held+xml', 'hh' => 'text/x-c', 'hjson' => 'application/hjson', 'hlp' => 'application/winhlp', 'hpgl' => 'application/vnd.hp-hpgl', 'hpid' => 'application/vnd.hp-hpid', 'hps' => 'application/vnd.hp-hps', 'hqx' => 'application/mac-binhex40', 'hsj2' => 'image/hsj2', 'htc' => 'text/x-component', 'htke' => 'application/vnd.kenameaapp', 'htm' => 'text/html', 'html' => 'text/html', 'hvd' => 'application/vnd.yamaha.hv-dic', 'hvp' => 'application/vnd.yamaha.hv-voice', 'hvs' => 'application/vnd.yamaha.hv-script', 'i2g' => 'application/vnd.intergeo', 'icc' => 'application/vnd.iccprofile', 'ice' => 'x-conference/x-cooltalk', 'icm' => 'application/vnd.iccprofile', 'ico' => 'image/x-icon', 'ics' => 'text/calendar', 'ief' => 'image/ief', 'ifb' => 'text/calendar', 'ifm' => 'application/vnd.shana.informed.formdata', 'iges' => 'model/iges', 'igl' => 'application/vnd.igloader', 'igm' => 'application/vnd.insors.igm', 'igs' => 'model/iges', 'igx' => 'application/vnd.micrografx.igx', 'iif' => 'application/vnd.shana.informed.interchange', 'img' => 'application/octet-stream', 'imp' => 'application/vnd.accpac.simply.imp', 'ims' => 'application/vnd.ms-ims', 'in' => 'text/plain', 'ini' => 'text/plain', 'ink' => 'application/inkml+xml', 'inkml' => 'application/inkml+xml', 'install' => 'application/x-install-instructions', 'iota' => 'application/vnd.astraea-software.iota', 'ipfix' => 'application/ipfix', 'ipk' => 'application/vnd.shana.informed.package', 'irm' => 'application/vnd.ibm.rights-management', 'irp' => 'application/vnd.irepository.package+xml', 'iso' => 'application/x-iso9660-image', 'itp' => 'application/vnd.shana.informed.formtemplate', 'its' => 'application/its+xml', 'ivp' => 'application/vnd.immervision-ivp', 'ivu' => 'application/vnd.immervision-ivu', 'jad' => 'text/vnd.sun.j2me.app-descriptor', 'jade' => 'text/jade', 'jam' => 'application/vnd.jam', 'jar' => 'application/java-archive', 'jardiff' => 'application/x-java-archive-diff', 'java' => 'text/x-java-source', 'jhc' => 'image/jphc', 'jisp' => 'application/vnd.jisp', 'jls' => 'image/jls', 'jlt' => 'application/vnd.hp-jlyt', 'jng' => 'image/x-jng', 'jnlp' => 'application/x-java-jnlp-file', 'joda' => 'application/vnd.joost.joda-archive', 'jp2' => 'image/jp2', 'jpe' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpf' => 'image/jpx', 'jpg' => 'image/jpeg', 'jpg2' => 'image/jp2', 'jpgm' => 'video/jpm', 'jpgv' => 'video/jpeg', 'jph' => 'image/jph', 'jpm' => 'video/jpm', 'jpx' => 'image/jpx', 'js' => 'application/javascript', 'json' => 'application/json', 'json5' => 'application/json5', 'jsonld' => 'application/ld+json', 'jsonml' => 'application/jsonml+json', 'jsx' => 'text/jsx', 'jxr' => 'image/jxr', 'jxra' => 'image/jxra', 'jxrs' => 'image/jxrs', 'jxs' => 'image/jxs', 'jxsc' => 'image/jxsc', 'jxsi' => 'image/jxsi', 'jxss' => 'image/jxss', 'kar' => 'audio/midi', 'karbon' => 'application/vnd.kde.karbon', 'kdb' => 'application/octet-stream', 'kdbx' => 'application/x-keepass2', 'key' => 'application/x-iwork-keynote-sffkey', 'kfo' => 'application/vnd.kde.kformula', 'kia' => 'application/vnd.kidspiration', 'kml' => 'application/vnd.google-earth.kml+xml', 'kmz' => 'application/vnd.google-earth.kmz', 'kne' => 'application/vnd.kinar', 'knp' => 'application/vnd.kinar', 'kon' => 'application/vnd.kde.kontour', 'kpr' => 'application/vnd.kde.kpresenter', 'kpt' => 'application/vnd.kde.kpresenter', 'kpxx' => 'application/vnd.ds-keypoint', 'ksp' => 'application/vnd.kde.kspread', 'ktr' => 'application/vnd.kahootz', 'ktx' => 'image/ktx', 'ktx2' => 'image/ktx2', 'ktz' => 'application/vnd.kahootz', 'kwd' => 'application/vnd.kde.kword', 'kwt' => 'application/vnd.kde.kword', 'lasxml' => 'application/vnd.las.las+xml', 'latex' => 'application/x-latex', 'lbd' => 'application/vnd.llamagraphics.life-balance.desktop', 'lbe' => 'application/vnd.llamagraphics.life-balance.exchange+xml', 'les' => 'application/vnd.hhe.lesson-player', 'less' => 'text/less', 'lgr' => 'application/lgr+xml', 'lha' => 'application/octet-stream', 'link66' => 'application/vnd.route66.link66+xml', 'list' => 'text/plain', 'list3820' => 'application/vnd.ibm.modcap', 'listafp' => 'application/vnd.ibm.modcap', 'litcoffee' => 'text/coffeescript', 'lnk' => 'application/x-ms-shortcut', 'log' => 'text/plain', 'lostxml' => 'application/lost+xml', 'lrf' => 'application/octet-stream', 'lrm' => 'application/vnd.ms-lrm', 'ltf' => 'application/vnd.frogans.ltf', 'lua' => 'text/x-lua', 'luac' => 'application/x-lua-bytecode', 'lvp' => 'audio/vnd.lucent.voice', 'lwp' => 'application/vnd.lotus-wordpro', 'lzh' => 'application/octet-stream', 'm1v' => 'video/mpeg', 'm2a' => 'audio/mpeg', 'm2v' => 'video/mpeg', 'm3a' => 'audio/mpeg', 'm3u' => 'text/plain', 'm3u8' => 'application/vnd.apple.mpegurl', 'm4a' => 'audio/x-m4a', 'm4p' => 'application/mp4', 'm4s' => 'video/iso.segment', 'm4u' => 'application/vnd.mpegurl', 'm4v' => 'video/x-m4v', 'm13' => 'application/x-msmediaview', 'm14' => 'application/x-msmediaview', 'm21' => 'application/mp21', 'ma' => 'application/mathematica', 'mads' => 'application/mads+xml', 'maei' => 'application/mmt-aei+xml', 'mag' => 'application/vnd.ecowin.chart', 'maker' => 'application/vnd.framemaker', 'man' => 'text/troff', 'manifest' => 'text/cache-manifest', 'map' => 'application/json', 'mar' => 'application/octet-stream', 'markdown' => 'text/markdown', 'mathml' => 'application/mathml+xml', 'mb' => 'application/mathematica', 'mbk' => 'application/vnd.mobius.mbk', 'mbox' => 'application/mbox', 'mc1' => 'application/vnd.medcalcdata', 'mcd' => 'application/vnd.mcd', 'mcurl' => 'text/vnd.curl.mcurl', 'md' => 'text/markdown', 'mdb' => 'application/x-msaccess', 'mdi' => 'image/vnd.ms-modi', 'mdx' => 'text/mdx', 'me' => 'text/troff', 'mesh' => 'model/mesh', 'meta4' => 'application/metalink4+xml', 'metalink' => 'application/metalink+xml', 'mets' => 'application/mets+xml', 'mfm' => 'application/vnd.mfmp', 'mft' => 'application/rpki-manifest', 'mgp' => 'application/vnd.osgeo.mapguide.package', 'mgz' => 'application/vnd.proteus.magazine', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mie' => 'application/x-mie', 'mif' => 'application/vnd.mif', 'mime' => 'message/rfc822', 'mj2' => 'video/mj2', 'mjp2' => 'video/mj2', 'mjs' => 'application/javascript', 'mk3d' => 'video/x-matroska', 'mka' => 'audio/x-matroska', 'mkd' => 'text/x-markdown', 'mks' => 'video/x-matroska', 'mkv' => 'video/x-matroska', 'mlp' => 'application/vnd.dolby.mlp', 'mmd' => 'application/vnd.chipnuts.karaoke-mmd', 'mmf' => 'application/vnd.smaf', 'mml' => 'text/mathml', 'mmr' => 'image/vnd.fujixerox.edmics-mmr', 'mng' => 'video/x-mng', 'mny' => 'application/x-msmoney', 'mobi' => 'application/x-mobipocket-ebook', 'mods' => 'application/mods+xml', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mp2' => 'audio/mpeg', 'mp2a' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mp4' => 'video/mp4', 'mp4a' => 'audio/mp4', 'mp4s' => 'application/mp4', 'mp4v' => 'video/mp4', 'mp21' => 'application/mp21', 'mpc' => 'application/vnd.mophun.certificate', 'mpd' => 'application/dash+xml', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpf' => 'application/media-policy-dataset+xml', 'mpg' => 'video/mpeg', 'mpg4' => 'video/mp4', 'mpga' => 'audio/mpeg', 'mpkg' => 'application/vnd.apple.installer+xml', 'mpm' => 'application/vnd.blueice.multipass', 'mpn' => 'application/vnd.mophun.application', 'mpp' => 'application/vnd.ms-project', 'mpt' => 'application/vnd.ms-project', 'mpy' => 'application/vnd.ibm.minipay', 'mqy' => 'application/vnd.mobius.mqy', 'mrc' => 'application/marc', 'mrcx' => 'application/marcxml+xml', 'ms' => 'text/troff', 'mscml' => 'application/mediaservercontrol+xml', 'mseed' => 'application/vnd.fdsn.mseed', 'mseq' => 'application/vnd.mseq', 'msf' => 'application/vnd.epson.msf', 'msg' => 'application/vnd.ms-outlook', 'msh' => 'model/mesh', 'msi' => 'application/x-msdownload', 'msl' => 'application/vnd.mobius.msl', 'msm' => 'application/octet-stream', 'msp' => 'application/octet-stream', 'msty' => 'application/vnd.muvee.style', 'mtl' => 'model/mtl', 'mts' => 'model/vnd.mts', 'mus' => 'application/vnd.musician', 'musd' => 'application/mmt-usd+xml', 'musicxml' => 'application/vnd.recordare.musicxml+xml', 'mvb' => 'application/x-msmediaview', 'mvt' => 'application/vnd.mapbox-vector-tile', 'mwf' => 'application/vnd.mfer', 'mxf' => 'application/mxf', 'mxl' => 'application/vnd.recordare.musicxml', 'mxmf' => 'audio/mobile-xmf', 'mxml' => 'application/xv+xml', 'mxs' => 'application/vnd.triscape.mxs', 'mxu' => 'video/vnd.mpegurl', 'n-gage' => 'application/vnd.nokia.n-gage.symbian.install', 'n3' => 'text/n3', 'nb' => 'application/mathematica', 'nbp' => 'application/vnd.wolfram.player', 'nc' => 'application/x-netcdf', 'ncx' => 'application/x-dtbncx+xml', 'nfo' => 'text/x-nfo', 'ngdat' => 'application/vnd.nokia.n-gage.data', 'nitf' => 'application/vnd.nitf', 'nlu' => 'application/vnd.neurolanguage.nlu', 'nml' => 'application/vnd.enliven', 'nnd' => 'application/vnd.noblenet-directory', 'nns' => 'application/vnd.noblenet-sealer', 'nnw' => 'application/vnd.noblenet-web', 'npx' => 'image/vnd.net-fpx', 'nq' => 'application/n-quads', 'nsc' => 'application/x-conference', 'nsf' => 'application/vnd.lotus-notes', 'nt' => 'application/n-triples', 'ntf' => 'application/vnd.nitf', 'numbers' => 'application/x-iwork-numbers-sffnumbers', 'nzb' => 'application/x-nzb', 'oa2' => 'application/vnd.fujitsu.oasys2', 'oa3' => 'application/vnd.fujitsu.oasys3', 'oas' => 'application/vnd.fujitsu.oasys', 'obd' => 'application/x-msbinder', 'obgx' => 'application/vnd.openblox.game+xml', 'obj' => 'model/obj', 'oda' => 'application/oda', 'odb' => 'application/vnd.oasis.opendocument.database', 'odc' => 'application/vnd.oasis.opendocument.chart', 'odf' => 'application/vnd.oasis.opendocument.formula', 'odft' => 'application/vnd.oasis.opendocument.formula-template', 'odg' => 'application/vnd.oasis.opendocument.graphics', 'odi' => 'application/vnd.oasis.opendocument.image', 'odm' => 'application/vnd.oasis.opendocument.text-master', 'odp' => 'application/vnd.oasis.opendocument.presentation', 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', 'odt' => 'application/vnd.oasis.opendocument.text', 'oga' => 'audio/ogg', 'ogex' => 'model/vnd.opengex', 'ogg' => 'audio/ogg', 'ogv' => 'video/ogg', 'ogx' => 'application/ogg', 'omdoc' => 'application/omdoc+xml', 'onepkg' => 'application/onenote', 'onetmp' => 'application/onenote', 'onetoc' => 'application/onenote', 'onetoc2' => 'application/onenote', 'opf' => 'application/oebps-package+xml', 'opml' => 'text/x-opml', 'oprc' => 'application/vnd.palm', 'opus' => 'audio/ogg', 'org' => 'text/x-org', 'osf' => 'application/vnd.yamaha.openscoreformat', 'osfpvg' => 'application/vnd.yamaha.openscoreformat.osfpvg+xml', 'osm' => 'application/vnd.openstreetmap.data+xml', 'otc' => 'application/vnd.oasis.opendocument.chart-template', 'otf' => 'font/otf', 'otg' => 'application/vnd.oasis.opendocument.graphics-template', 'oth' => 'application/vnd.oasis.opendocument.text-web', 'oti' => 'application/vnd.oasis.opendocument.image-template', 'otp' => 'application/vnd.oasis.opendocument.presentation-template', 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', 'ott' => 'application/vnd.oasis.opendocument.text-template', 'ova' => 'application/x-virtualbox-ova', 'ovf' => 'application/x-virtualbox-ovf', 'owl' => 'application/rdf+xml', 'oxps' => 'application/oxps', 'oxt' => 'application/vnd.openofficeorg.extension', 'p' => 'text/x-pascal', 'p7a' => 'application/x-pkcs7-signature', 'p7b' => 'application/x-pkcs7-certificates', 'p7c' => 'application/pkcs7-mime', 'p7m' => 'application/pkcs7-mime', 'p7r' => 'application/x-pkcs7-certreqresp', 'p7s' => 'application/pkcs7-signature', 'p8' => 'application/pkcs8', 'p10' => 'application/x-pkcs10', 'p12' => 'application/x-pkcs12', 'pac' => 'application/x-ns-proxy-autoconfig', 'pages' => 'application/x-iwork-pages-sffpages', 'pas' => 'text/x-pascal', 'paw' => 'application/vnd.pawaafile', 'pbd' => 'application/vnd.powerbuilder6', 'pbm' => 'image/x-portable-bitmap', 'pcap' => 'application/vnd.tcpdump.pcap', 'pcf' => 'application/x-font-pcf', 'pcl' => 'application/vnd.hp-pcl', 'pclxl' => 'application/vnd.hp-pclxl', 'pct' => 'image/x-pict', 'pcurl' => 'application/vnd.curl.pcurl', 'pcx' => 'image/x-pcx', 'pdb' => 'application/x-pilot', 'pde' => 'text/x-processing', 'pdf' => 'application/pdf', 'pem' => 'application/x-x509-user-cert', 'pfa' => 'application/x-font-type1', 'pfb' => 'application/x-font-type1', 'pfm' => 'application/x-font-type1', 'pfr' => 'application/font-tdpfr', 'pfx' => 'application/x-pkcs12', 'pgm' => 'image/x-portable-graymap', 'pgn' => 'application/x-chess-pgn', 'pgp' => 'application/pgp', 'phar' => 'application/octet-stream', 'php' => 'application/x-httpd-php', 'php3' => 'application/x-httpd-php', 'php4' => 'application/x-httpd-php', 'phps' => 'application/x-httpd-php-source', 'phtml' => 'application/x-httpd-php', 'pic' => 'image/x-pict', 'pkg' => 'application/octet-stream', 'pki' => 'application/pkixcmp', 'pkipath' => 'application/pkix-pkipath', 'pkpass' => 'application/vnd.apple.pkpass', 'pl' => 'application/x-perl', 'plb' => 'application/vnd.3gpp.pic-bw-large', 'plc' => 'application/vnd.mobius.plc', 'plf' => 'application/vnd.pocketlearn', 'pls' => 'application/pls+xml', 'pm' => 'application/x-perl', 'pml' => 'application/vnd.ctc-posml', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'portpkg' => 'application/vnd.macports.portpkg', 'pot' => 'application/vnd.ms-powerpoint', 'potm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12', 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template', 'ppa' => 'application/vnd.ms-powerpoint', 'ppam' => 'application/vnd.ms-powerpoint.addin.macroEnabled.12', 'ppd' => 'application/vnd.cups-ppd', 'ppm' => 'image/x-portable-pixmap', 'pps' => 'application/vnd.ms-powerpoint', 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12', 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', 'ppt' => 'application/powerpoint', 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'pqa' => 'application/vnd.palm', 'prc' => 'model/prc', 'pre' => 'application/vnd.lotus-freelance', 'prf' => 'application/pics-rules', 'provx' => 'application/provenance+xml', 'ps' => 'application/postscript', 'psb' => 'application/vnd.3gpp.pic-bw-small', 'psd' => 'application/x-photoshop', 'psf' => 'application/x-font-linux-psf', 'pskcxml' => 'application/pskc+xml', 'pti' => 'image/prs.pti', 'ptid' => 'application/vnd.pvi.ptid1', 'pub' => 'application/x-mspublisher', 'pvb' => 'application/vnd.3gpp.pic-bw-var', 'pwn' => 'application/vnd.3m.post-it-notes', 'pya' => 'audio/vnd.ms-playready.media.pya', 'pyv' => 'video/vnd.ms-playready.media.pyv', 'qam' => 'application/vnd.epson.quickanime', 'qbo' => 'application/vnd.intu.qbo', 'qfx' => 'application/vnd.intu.qfx', 'qps' => 'application/vnd.publishare-delta-tree', 'qt' => 'video/quicktime', 'qwd' => 'application/vnd.quark.quarkxpress', 'qwt' => 'application/vnd.quark.quarkxpress', 'qxb' => 'application/vnd.quark.quarkxpress', 'qxd' => 'application/vnd.quark.quarkxpress', 'qxl' => 'application/vnd.quark.quarkxpress', 'qxt' => 'application/vnd.quark.quarkxpress', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'raml' => 'application/raml+yaml', 'rapd' => 'application/route-apd+xml', 'rar' => 'application/x-rar', 'ras' => 'image/x-cmu-raster', 'rcprofile' => 'application/vnd.ipunplugged.rcprofile', 'rdf' => 'application/rdf+xml', 'rdz' => 'application/vnd.data-vision.rdz', 'relo' => 'application/p2p-overlay+xml', 'rep' => 'application/vnd.businessobjects', 'res' => 'application/x-dtbresource+xml', 'rgb' => 'image/x-rgb', 'rif' => 'application/reginfo+xml', 'rip' => 'audio/vnd.rip', 'ris' => 'application/x-research-info-systems', 'rl' => 'application/resource-lists+xml', 'rlc' => 'image/vnd.fujixerox.edmics-rlc', 'rld' => 'application/resource-lists-diff+xml', 'rm' => 'audio/x-pn-realaudio', 'rmi' => 'audio/midi', 'rmp' => 'audio/x-pn-realaudio-plugin', 'rms' => 'application/vnd.jcp.javame.midlet-rms', 'rmvb' => 'application/vnd.rn-realmedia-vbr', 'rnc' => 'application/relax-ng-compact-syntax', 'rng' => 'application/xml', 'roa' => 'application/rpki-roa', 'roff' => 'text/troff', 'rp9' => 'application/vnd.cloanto.rp9', 'rpm' => 'audio/x-pn-realaudio-plugin', 'rpss' => 'application/vnd.nokia.radio-presets', 'rpst' => 'application/vnd.nokia.radio-preset', 'rq' => 'application/sparql-query', 'rs' => 'application/rls-services+xml', 'rsa' => 'application/x-pkcs7', 'rsat' => 'application/atsc-rsat+xml', 'rsd' => 'application/rsd+xml', 'rsheet' => 'application/urc-ressheet+xml', 'rss' => 'application/rss+xml', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'run' => 'application/x-makeself', 'rusd' => 'application/route-usd+xml', 'rv' => 'video/vnd.rn-realvideo', 's' => 'text/x-asm', 's3m' => 'audio/s3m', 'saf' => 'application/vnd.yamaha.smaf-audio', 'sass' => 'text/x-sass', 'sbml' => 'application/sbml+xml', 'sc' => 'application/vnd.ibm.secure-container', 'scd' => 'application/x-msschedule', 'scm' => 'application/vnd.lotus-screencam', 'scq' => 'application/scvp-cv-request', 'scs' => 'application/scvp-cv-response', 'scss' => 'text/x-scss', 'scurl' => 'text/vnd.curl.scurl', 'sda' => 'application/vnd.stardivision.draw', 'sdc' => 'application/vnd.stardivision.calc', 'sdd' => 'application/vnd.stardivision.impress', 'sdkd' => 'application/vnd.solent.sdkm+xml', 'sdkm' => 'application/vnd.solent.sdkm+xml', 'sdp' => 'application/sdp', 'sdw' => 'application/vnd.stardivision.writer', 'sea' => 'application/octet-stream', 'see' => 'application/vnd.seemail', 'seed' => 'application/vnd.fdsn.seed', 'sema' => 'application/vnd.sema', 'semd' => 'application/vnd.semd', 'semf' => 'application/vnd.semf', 'senmlx' => 'application/senml+xml', 'sensmlx' => 'application/sensml+xml', 'ser' => 'application/java-serialized-object', 'setpay' => 'application/set-payment-initiation', 'setreg' => 'application/set-registration-initiation', 'sfd-hdstx' => 'application/vnd.hydrostatix.sof-data', 'sfs' => 'application/vnd.spotfire.sfs', 'sfv' => 'text/x-sfv', 'sgi' => 'image/sgi', 'sgl' => 'application/vnd.stardivision.writer-global', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'shex' => 'text/shex', 'shf' => 'application/shf+xml', 'shtml' => 'text/html', 'sid' => 'image/x-mrsid-image', 'sieve' => 'application/sieve', 'sig' => 'application/pgp-signature', 'sil' => 'audio/silk', 'silo' => 'model/mesh', 'sis' => 'application/vnd.symbian.install', 'sisx' => 'application/vnd.symbian.install', 'sit' => 'application/x-stuffit', 'sitx' => 'application/x-stuffitx', 'siv' => 'application/sieve', 'skd' => 'application/vnd.koan', 'skm' => 'application/vnd.koan', 'skp' => 'application/vnd.koan', 'skt' => 'application/vnd.koan', 'sldm' => 'application/vnd.ms-powerpoint.slide.macroenabled.12', 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide', 'slim' => 'text/slim', 'slm' => 'text/slim', 'sls' => 'application/route-s-tsid+xml', 'slt' => 'application/vnd.epson.salt', 'sm' => 'application/vnd.stepmania.stepchart', 'smf' => 'application/vnd.stardivision.math', 'smi' => 'application/smil', 'smil' => 'application/smil', 'smv' => 'video/x-smv', 'smzip' => 'application/vnd.stepmania.package', 'snd' => 'audio/basic', 'snf' => 'application/x-font-snf', 'so' => 'application/octet-stream', 'spc' => 'application/x-pkcs7-certificates', 'spdx' => 'text/spdx', 'spf' => 'application/vnd.yamaha.smaf-phrase', 'spl' => 'application/x-futuresplash', 'spot' => 'text/vnd.in3d.spot', 'spp' => 'application/scvp-vp-response', 'spq' => 'application/scvp-vp-request', 'spx' => 'audio/ogg', 'sql' => 'application/x-sql', 'src' => 'application/x-wais-source', 'srt' => 'application/x-subrip', 'sru' => 'application/sru+xml', 'srx' => 'application/sparql-results+xml', 'ssdl' => 'application/ssdl+xml', 'sse' => 'application/vnd.kodak-descriptor', 'ssf' => 'application/vnd.epson.ssf', 'ssml' => 'application/ssml+xml', 'sst' => 'application/octet-stream', 'st' => 'application/vnd.sailingtracker.track', 'stc' => 'application/vnd.sun.xml.calc.template', 'std' => 'application/vnd.sun.xml.draw.template', 'stf' => 'application/vnd.wt.stf', 'sti' => 'application/vnd.sun.xml.impress.template', 'stk' => 'application/hyperstudio', 'stl' => 'model/stl', 'stpx' => 'model/step+xml', 'stpxz' => 'model/step-xml+zip', 'stpz' => 'model/step+zip', 'str' => 'application/vnd.pg.format', 'stw' => 'application/vnd.sun.xml.writer.template', 'styl' => 'text/stylus', 'stylus' => 'text/stylus', 'sub' => 'text/vnd.dvb.subtitle', 'sus' => 'application/vnd.sus-calendar', 'susp' => 'application/vnd.sus-calendar', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svc' => 'application/vnd.dvb.service', 'svd' => 'application/vnd.svd', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swa' => 'application/x-director', 'swf' => 'application/x-shockwave-flash', 'swi' => 'application/vnd.aristanetworks.swi', 'swidtag' => 'application/swid+xml', 'sxc' => 'application/vnd.sun.xml.calc', 'sxd' => 'application/vnd.sun.xml.draw', 'sxg' => 'application/vnd.sun.xml.writer.global', 'sxi' => 'application/vnd.sun.xml.impress', 'sxm' => 'application/vnd.sun.xml.math', 'sxw' => 'application/vnd.sun.xml.writer', 't' => 'text/troff', 't3' => 'application/x-t3vm-image', 't38' => 'image/t38', 'taglet' => 'application/vnd.mynfc', 'tao' => 'application/vnd.tao.intent-module-archive', 'tap' => 'image/vnd.tencent.tap', 'tar' => 'application/x-tar', 'tcap' => 'application/vnd.3gpp2.tcap', 'tcl' => 'application/x-tcl', 'td' => 'application/urc-targetdesc+xml', 'teacher' => 'application/vnd.smart.teacher', 'tei' => 'application/tei+xml', 'teicorpus' => 'application/tei+xml', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'text' => 'text/plain', 'tfi' => 'application/thraud+xml', 'tfm' => 'application/x-tex-tfm', 'tfx' => 'image/tiff-fx', 'tga' => 'image/x-tga', 'tgz' => 'application/x-tar', 'thmx' => 'application/vnd.ms-officetheme', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'tk' => 'application/x-tcl', 'tmo' => 'application/vnd.tmobile-livetv', 'toml' => 'application/toml', 'torrent' => 'application/x-bittorrent', 'tpl' => 'application/vnd.groove-tool-template', 'tpt' => 'application/vnd.trid.tpt', 'tr' => 'text/troff', 'tra' => 'application/vnd.trueapp', 'trig' => 'application/trig', 'trm' => 'application/x-msterminal', 'ts' => 'video/mp2t', 'tsd' => 'application/timestamped-data', 'tsv' => 'text/tab-separated-values', 'ttc' => 'font/collection', 'ttf' => 'font/ttf', 'ttl' => 'text/turtle', 'ttml' => 'application/ttml+xml', 'twd' => 'application/vnd.simtech-mindmapper', 'twds' => 'application/vnd.simtech-mindmapper', 'txd' => 'application/vnd.genomatix.tuxedo', 'txf' => 'application/vnd.mobius.txf', 'txt' => 'text/plain', 'u3d' => 'model/u3d', 'u8dsn' => 'message/global-delivery-status', 'u8hdr' => 'message/global-headers', 'u8mdn' => 'message/global-disposition-notification', 'u8msg' => 'message/global', 'u32' => 'application/x-authorware-bin', 'ubj' => 'application/ubjson', 'udeb' => 'application/x-debian-package', 'ufd' => 'application/vnd.ufdl', 'ufdl' => 'application/vnd.ufdl', 'ulx' => 'application/x-glulx', 'umj' => 'application/vnd.umajin', 'unityweb' => 'application/vnd.unity', 'uoml' => 'application/vnd.uoml+xml', 'uri' => 'text/uri-list', 'uris' => 'text/uri-list', 'urls' => 'text/uri-list', 'usdz' => 'model/vnd.usdz+zip', 'ustar' => 'application/x-ustar', 'utz' => 'application/vnd.uiq.theme', 'uu' => 'text/x-uuencode', 'uva' => 'audio/vnd.dece.audio', 'uvd' => 'application/vnd.dece.data', 'uvf' => 'application/vnd.dece.data', 'uvg' => 'image/vnd.dece.graphic', 'uvh' => 'video/vnd.dece.hd', 'uvi' => 'image/vnd.dece.graphic', 'uvm' => 'video/vnd.dece.mobile', 'uvp' => 'video/vnd.dece.pd', 'uvs' => 'video/vnd.dece.sd', 'uvt' => 'application/vnd.dece.ttml+xml', 'uvu' => 'video/vnd.uvvu.mp4', 'uvv' => 'video/vnd.dece.video', 'uvva' => 'audio/vnd.dece.audio', 'uvvd' => 'application/vnd.dece.data', 'uvvf' => 'application/vnd.dece.data', 'uvvg' => 'image/vnd.dece.graphic', 'uvvh' => 'video/vnd.dece.hd', 'uvvi' => 'image/vnd.dece.graphic', 'uvvm' => 'video/vnd.dece.mobile', 'uvvp' => 'video/vnd.dece.pd', 'uvvs' => 'video/vnd.dece.sd', 'uvvt' => 'application/vnd.dece.ttml+xml', 'uvvu' => 'video/vnd.uvvu.mp4', 'uvvv' => 'video/vnd.dece.video', 'uvvx' => 'application/vnd.dece.unspecified', 'uvvz' => 'application/vnd.dece.zip', 'uvx' => 'application/vnd.dece.unspecified', 'uvz' => 'application/vnd.dece.zip', 'vbox' => 'application/x-virtualbox-vbox', 'vbox-extpack' => 'application/x-virtualbox-vbox-extpack', 'vcard' => 'text/vcard', 'vcd' => 'application/x-cdlink', 'vcf' => 'text/x-vcard', 'vcg' => 'application/vnd.groove-vcard', 'vcs' => 'text/x-vcalendar', 'vcx' => 'application/vnd.vcx', 'vdi' => 'application/x-virtualbox-vdi', 'vds' => 'model/vnd.sap.vds', 'vhd' => 'application/x-virtualbox-vhd', 'vis' => 'application/vnd.visionary', 'viv' => 'video/vnd.vivo', 'vlc' => 'application/videolan', 'vmdk' => 'application/x-virtualbox-vmdk', 'vob' => 'video/x-ms-vob', 'vor' => 'application/vnd.stardivision.writer', 'vox' => 'application/x-authorware-bin', 'vrml' => 'model/vrml', 'vsd' => 'application/vnd.visio', 'vsf' => 'application/vnd.vsf', 'vss' => 'application/vnd.visio', 'vst' => 'application/vnd.visio', 'vsw' => 'application/vnd.visio', 'vtf' => 'image/vnd.valve.source.texture', 'vtt' => 'text/vtt', 'vtu' => 'model/vnd.vtu', 'vxml' => 'application/voicexml+xml', 'w3d' => 'application/x-director', 'wad' => 'application/x-doom', 'wadl' => 'application/vnd.sun.wadl+xml', 'war' => 'application/java-archive', 'wasm' => 'application/wasm', 'wav' => 'audio/x-wav', 'wax' => 'audio/x-ms-wax', 'wbmp' => 'image/vnd.wap.wbmp', 'wbs' => 'application/vnd.criticaltools.wbs+xml', 'wbxml' => 'application/wbxml', 'wcm' => 'application/vnd.ms-works', 'wdb' => 'application/vnd.ms-works', 'wdp' => 'image/vnd.ms-photo', 'weba' => 'audio/webm', 'webapp' => 'application/x-web-app-manifest+json', 'webm' => 'video/webm', 'webmanifest' => 'application/manifest+json', 'webp' => 'image/webp', 'wg' => 'application/vnd.pmi.widget', 'wgt' => 'application/widget', 'wif' => 'application/watcherinfo+xml', 'wks' => 'application/vnd.ms-works', 'wm' => 'video/x-ms-wm', 'wma' => 'audio/x-ms-wma', 'wmd' => 'application/x-ms-wmd', 'wmf' => 'image/wmf', 'wml' => 'text/vnd.wap.wml', 'wmlc' => 'application/wmlc', 'wmls' => 'text/vnd.wap.wmlscript', 'wmlsc' => 'application/vnd.wap.wmlscriptc', 'wmv' => 'video/x-ms-wmv', 'wmx' => 'video/x-ms-wmx', 'wmz' => 'application/x-msmetafile', 'woff' => 'font/woff', 'woff2' => 'font/woff2', 'word' => 'application/msword', 'wpd' => 'application/vnd.wordperfect', 'wpl' => 'application/vnd.ms-wpl', 'wps' => 'application/vnd.ms-works', 'wqd' => 'application/vnd.wqd', 'wri' => 'application/x-mswrite', 'wrl' => 'model/vrml', 'wsc' => 'message/vnd.wfa.wsc', 'wsdl' => 'application/wsdl+xml', 'wspolicy' => 'application/wspolicy+xml', 'wtb' => 'application/vnd.webturbo', 'wvx' => 'video/x-ms-wvx', 'x3d' => 'model/x3d+xml', 'x3db' => 'model/x3d+fastinfoset', 'x3dbz' => 'model/x3d+binary', 'x3dv' => 'model/x3d-vrml', 'x3dvz' => 'model/x3d+vrml', 'x3dz' => 'model/x3d+xml', 'x32' => 'application/x-authorware-bin', 'x_b' => 'model/vnd.parasolid.transmit.binary', 'x_t' => 'model/vnd.parasolid.transmit.text', 'xaml' => 'application/xaml+xml', 'xap' => 'application/x-silverlight-app', 'xar' => 'application/vnd.xara', 'xav' => 'application/xcap-att+xml', 'xbap' => 'application/x-ms-xbap', 'xbd' => 'application/vnd.fujixerox.docuworks.binder', 'xbm' => 'image/x-xbitmap', 'xca' => 'application/xcap-caps+xml', 'xcs' => 'application/calendar+xml', 'xdf' => 'application/xcap-diff+xml', 'xdm' => 'application/vnd.syncml.dm+xml', 'xdp' => 'application/vnd.adobe.xdp+xml', 'xdssc' => 'application/dssc+xml', 'xdw' => 'application/vnd.fujixerox.docuworks', 'xel' => 'application/xcap-el+xml', 'xenc' => 'application/xenc+xml', 'xer' => 'application/patch-ops-error+xml', 'xfdf' => 'application/vnd.adobe.xfdf', 'xfdl' => 'application/vnd.xfdl', 'xht' => 'application/xhtml+xml', 'xhtml' => 'application/xhtml+xml', 'xhvml' => 'application/xv+xml', 'xif' => 'image/vnd.xiff', 'xl' => 'application/excel', 'xla' => 'application/vnd.ms-excel', 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12', 'xlc' => 'application/vnd.ms-excel', 'xlf' => 'application/xliff+xml', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12', 'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlt' => 'application/vnd.ms-excel', 'xltm' => 'application/vnd.ms-excel.template.macroEnabled.12', 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', 'xlw' => 'application/vnd.ms-excel', 'xm' => 'audio/xm', 'xml' => 'application/xml', 'xns' => 'application/xcap-ns+xml', 'xo' => 'application/vnd.olpc-sugar', 'xop' => 'application/xop+xml', 'xpi' => 'application/x-xpinstall', 'xpl' => 'application/xproc+xml', 'xpm' => 'image/x-xpixmap', 'xpr' => 'application/vnd.is-xpr', 'xps' => 'application/vnd.ms-xpsdocument', 'xpw' => 'application/vnd.intercon.formnet', 'xpx' => 'application/vnd.intercon.formnet', 'xsd' => 'application/xml', 'xsl' => 'application/xml', 'xslt' => 'application/xslt+xml', 'xsm' => 'application/vnd.syncml+xml', 'xspf' => 'application/xspf+xml', 'xul' => 'application/vnd.mozilla.xul+xml', 'xvm' => 'application/xv+xml', 'xvml' => 'application/xv+xml', 'xwd' => 'image/x-xwindowdump', 'xyz' => 'chemical/x-xyz', 'xz' => 'application/x-xz', 'yaml' => 'text/yaml', 'yang' => 'application/yang', 'yin' => 'application/yin+xml', 'yml' => 'text/yaml', 'ymp' => 'text/x-suse-ymp', 'z' => 'application/x-compress', 'z1' => 'application/x-zmachine', 'z2' => 'application/x-zmachine', 'z3' => 'application/x-zmachine', 'z4' => 'application/x-zmachine', 'z5' => 'application/x-zmachine', 'z6' => 'application/x-zmachine', 'z7' => 'application/x-zmachine', 'z8' => 'application/x-zmachine', 'zaz' => 'application/vnd.zzazz.deck+xml', 'zip' => 'application/zip', 'zir' => 'application/vnd.zul', 'zirz' => 'application/vnd.zul', 'zmm' => 'application/vnd.handheld-entertainment+xml', 'zsh' => 'text/x-scriptzsh'];
+    private const MIME_TYPES = ['1km' => 'application/vnd.1000minds.decision-model+xml', '3dml' => 'text/vnd.in3d.3dml', '3ds' => 'image/x-3ds', '3g2' => 'video/3gpp2', '3gp' => 'video/3gp', '3gpp' => 'video/3gpp', '3mf' => 'model/3mf', '7z' => 'application/x-7z-compressed', '7zip' => 'application/x-7z-compressed', '123' => 'application/vnd.lotus-1-2-3', 'aab' => 'application/x-authorware-bin', 'aac' => 'audio/aac', 'aam' => 'application/x-authorware-map', 'aas' => 'application/x-authorware-seg', 'abw' => 'application/x-abiword', 'ac' => 'application/vnd.nokia.n-gage.ac+xml', 'ac3' => 'audio/ac3', 'acc' => 'application/vnd.americandynamics.acc', 'ace' => 'application/x-ace-compressed', 'acu' => 'application/vnd.acucobol', 'acutc' => 'application/vnd.acucorp', 'adp' => 'audio/adpcm', 'adts' => 'audio/aac', 'aep' => 'application/vnd.audiograph', 'afm' => 'application/x-font-type1', 'afp' => 'application/vnd.ibm.modcap', 'age' => 'application/vnd.age', 'ahead' => 'application/vnd.ahead.space', 'ai' => 'application/pdf', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'air' => 'application/vnd.adobe.air-application-installer-package+zip', 'ait' => 'application/vnd.dvb.ait', 'ami' => 'application/vnd.amiga.ami', 'aml' => 'application/automationml-aml+xml', 'amlx' => 'application/automationml-amlx+zip', 'amr' => 'audio/amr', 'apk' => 'application/vnd.android.package-archive', 'apng' => 'image/apng', 'appcache' => 'text/cache-manifest', 'appinstaller' => 'application/appinstaller', 'application' => 'application/x-ms-application', 'appx' => 'application/appx', 'appxbundle' => 'application/appxbundle', 'apr' => 'application/vnd.lotus-approach', 'arc' => 'application/x-freearc', 'arj' => 'application/x-arj', 'asc' => 'application/pgp-signature', 'asf' => 'video/x-ms-asf', 'asm' => 'text/x-asm', 'aso' => 'application/vnd.accpac.simply.aso', 'asx' => 'video/x-ms-asf', 'atc' => 'application/vnd.acucorp', 'atom' => 'application/atom+xml', 'atomcat' => 'application/atomcat+xml', 'atomdeleted' => 'application/atomdeleted+xml', 'atomsvc' => 'application/atomsvc+xml', 'atx' => 'application/vnd.antix.game-component', 'au' => 'audio/x-au', 'avci' => 'image/avci', 'avcs' => 'image/avcs', 'avi' => 'video/x-msvideo', 'avif' => 'image/avif', 'aw' => 'application/applixware', 'azf' => 'application/vnd.airzip.filesecure.azf', 'azs' => 'application/vnd.airzip.filesecure.azs', 'azv' => 'image/vnd.airzip.accelerator.azv', 'azw' => 'application/vnd.amazon.ebook', 'b16' => 'image/vnd.pco.b16', 'bat' => 'application/x-msdownload', 'bcpio' => 'application/x-bcpio', 'bdf' => 'application/x-font-bdf', 'bdm' => 'application/vnd.syncml.dm+wbxml', 'bdoc' => 'application/x-bdoc', 'bed' => 'application/vnd.realvnc.bed', 'bh2' => 'application/vnd.fujitsu.oasysprs', 'bin' => 'application/octet-stream', 'blb' => 'application/x-blorb', 'blorb' => 'application/x-blorb', 'bmi' => 'application/vnd.bmi', 'bmml' => 'application/vnd.balsamiq.bmml+xml', 'bmp' => 'image/bmp', 'book' => 'application/vnd.framemaker', 'box' => 'application/vnd.previewsystems.box', 'boz' => 'application/x-bzip2', 'bpk' => 'application/octet-stream', 'bpmn' => 'application/octet-stream', 'bsp' => 'model/vnd.valve.source.compiled-map', 'btf' => 'image/prs.btif', 'btif' => 'image/prs.btif', 'buffer' => 'application/octet-stream', 'bz' => 'application/x-bzip', 'bz2' => 'application/x-bzip2', 'c' => 'text/x-c', 'c4d' => 'application/vnd.clonk.c4group', 'c4f' => 'application/vnd.clonk.c4group', 'c4g' => 'application/vnd.clonk.c4group', 'c4p' => 'application/vnd.clonk.c4group', 'c4u' => 'application/vnd.clonk.c4group', 'c11amc' => 'application/vnd.cluetrust.cartomobile-config', 'c11amz' => 'application/vnd.cluetrust.cartomobile-config-pkg', 'cab' => 'application/vnd.ms-cab-compressed', 'caf' => 'audio/x-caf', 'cap' => 'application/vnd.tcpdump.pcap', 'car' => 'application/vnd.curl.car', 'cat' => 'application/vnd.ms-pki.seccat', 'cb7' => 'application/x-cbr', 'cba' => 'application/x-cbr', 'cbr' => 'application/x-cbr', 'cbt' => 'application/x-cbr', 'cbz' => 'application/x-cbr', 'cc' => 'text/x-c', 'cco' => 'application/x-cocoa', 'cct' => 'application/x-director', 'ccxml' => 'application/ccxml+xml', 'cdbcmsg' => 'application/vnd.contact.cmsg', 'cdf' => 'application/x-netcdf', 'cdfx' => 'application/cdfx+xml', 'cdkey' => 'application/vnd.mediastation.cdkey', 'cdmia' => 'application/cdmi-capability', 'cdmic' => 'application/cdmi-container', 'cdmid' => 'application/cdmi-domain', 'cdmio' => 'application/cdmi-object', 'cdmiq' => 'application/cdmi-queue', 'cdr' => 'application/cdr', 'cdx' => 'chemical/x-cdx', 'cdxml' => 'application/vnd.chemdraw+xml', 'cdy' => 'application/vnd.cinderella', 'cer' => 'application/pkix-cert', 'cfs' => 'application/x-cfs-compressed', 'cgm' => 'image/cgm', 'chat' => 'application/x-chat', 'chm' => 'application/vnd.ms-htmlhelp', 'chrt' => 'application/vnd.kde.kchart', 'cif' => 'chemical/x-cif', 'cii' => 'application/vnd.anser-web-certificate-issue-initiation', 'cil' => 'application/vnd.ms-artgalry', 'cjs' => 'application/node', 'cla' => 'application/vnd.claymore', 'class' => 'application/octet-stream', 'cld' => 'model/vnd.cld', 'clkk' => 'application/vnd.crick.clicker.keyboard', 'clkp' => 'application/vnd.crick.clicker.palette', 'clkt' => 'application/vnd.crick.clicker.template', 'clkw' => 'application/vnd.crick.clicker.wordbank', 'clkx' => 'application/vnd.crick.clicker', 'clp' => 'application/x-msclip', 'cmc' => 'application/vnd.cosmocaller', 'cmdf' => 'chemical/x-cmdf', 'cml' => 'chemical/x-cml', 'cmp' => 'application/vnd.yellowriver-custom-menu', 'cmx' => 'image/x-cmx', 'cod' => 'application/vnd.rim.cod', 'coffee' => 'text/coffeescript', 'com' => 'application/x-msdownload', 'conf' => 'text/plain', 'cpio' => 'application/x-cpio', 'cpl' => 'application/cpl+xml', 'cpp' => 'text/x-c', 'cpt' => 'application/mac-compactpro', 'crd' => 'application/x-mscardfile', 'crl' => 'application/pkix-crl', 'crt' => 'application/x-x509-ca-cert', 'crx' => 'application/x-chrome-extension', 'cryptonote' => 'application/vnd.rig.cryptonote', 'csh' => 'application/x-csh', 'csl' => 'application/vnd.citationstyles.style+xml', 'csml' => 'chemical/x-csml', 'csp' => 'application/vnd.commonspace', 'csr' => 'application/octet-stream', 'css' => 'text/css', 'cst' => 'application/x-director', 'csv' => 'text/csv', 'cu' => 'application/cu-seeme', 'curl' => 'text/vnd.curl', 'cwl' => 'application/cwl', 'cww' => 'application/prs.cww', 'cxt' => 'application/x-director', 'cxx' => 'text/x-c', 'dae' => 'model/vnd.collada+xml', 'daf' => 'application/vnd.mobius.daf', 'dart' => 'application/vnd.dart', 'dataless' => 'application/vnd.fdsn.seed', 'davmount' => 'application/davmount+xml', 'dbf' => 'application/vnd.dbf', 'dbk' => 'application/docbook+xml', 'dcr' => 'application/x-director', 'dcurl' => 'text/vnd.curl.dcurl', 'dd2' => 'application/vnd.oma.dd2+xml', 'ddd' => 'application/vnd.fujixerox.ddd', 'ddf' => 'application/vnd.syncml.dmddf+xml', 'dds' => 'image/vnd.ms-dds', 'deb' => 'application/x-debian-package', 'def' => 'text/plain', 'deploy' => 'application/octet-stream', 'der' => 'application/x-x509-ca-cert', 'dfac' => 'application/vnd.dreamfactory', 'dgc' => 'application/x-dgc-compressed', 'dib' => 'image/bmp', 'dic' => 'text/x-c', 'dir' => 'application/x-director', 'dis' => 'application/vnd.mobius.dis', 'disposition-notification' => 'message/disposition-notification', 'dist' => 'application/octet-stream', 'distz' => 'application/octet-stream', 'djv' => 'image/vnd.djvu', 'djvu' => 'image/vnd.djvu', 'dll' => 'application/octet-stream', 'dmg' => 'application/x-apple-diskimage', 'dmn' => 'application/octet-stream', 'dmp' => 'application/vnd.tcpdump.pcap', 'dms' => 'application/octet-stream', 'dna' => 'application/vnd.dna', 'doc' => 'application/msword', 'docm' => 'application/vnd.ms-word.template.macroEnabled.12', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'dot' => 'application/msword', 'dotm' => 'application/vnd.ms-word.template.macroEnabled.12', 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', 'dp' => 'application/vnd.osgi.dp', 'dpg' => 'application/vnd.dpgraph', 'dpx' => 'image/dpx', 'dra' => 'audio/vnd.dra', 'drle' => 'image/dicom-rle', 'dsc' => 'text/prs.lines.tag', 'dssc' => 'application/dssc+der', 'dtb' => 'application/x-dtbook+xml', 'dtd' => 'application/xml-dtd', 'dts' => 'audio/vnd.dts', 'dtshd' => 'audio/vnd.dts.hd', 'dump' => 'application/octet-stream', 'dvb' => 'video/vnd.dvb.file', 'dvi' => 'application/x-dvi', 'dwd' => 'application/atsc-dwd+xml', 'dwf' => 'model/vnd.dwf', 'dwg' => 'image/vnd.dwg', 'dxf' => 'image/vnd.dxf', 'dxp' => 'application/vnd.spotfire.dxp', 'dxr' => 'application/x-director', 'ear' => 'application/java-archive', 'ecelp4800' => 'audio/vnd.nuera.ecelp4800', 'ecelp7470' => 'audio/vnd.nuera.ecelp7470', 'ecelp9600' => 'audio/vnd.nuera.ecelp9600', 'ecma' => 'application/ecmascript', 'edm' => 'application/vnd.novadigm.edm', 'edx' => 'application/vnd.novadigm.edx', 'efif' => 'application/vnd.picsel', 'ei6' => 'application/vnd.pg.osasli', 'elc' => 'application/octet-stream', 'emf' => 'image/emf', 'eml' => 'message/rfc822', 'emma' => 'application/emma+xml', 'emotionml' => 'application/emotionml+xml', 'emz' => 'application/x-msmetafile', 'eol' => 'audio/vnd.digital-winds', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'epub' => 'application/epub+zip', 'es3' => 'application/vnd.eszigno3+xml', 'esa' => 'application/vnd.osgi.subsystem', 'esf' => 'application/vnd.epson.esf', 'et3' => 'application/vnd.eszigno3+xml', 'etx' => 'text/x-setext', 'eva' => 'application/x-eva', 'evy' => 'application/x-envoy', 'exe' => 'application/octet-stream', 'exi' => 'application/exi', 'exp' => 'application/express', 'exr' => 'image/aces', 'ext' => 'application/vnd.novadigm.ext', 'ez' => 'application/andrew-inset', 'ez2' => 'application/vnd.ezpix-album', 'ez3' => 'application/vnd.ezpix-package', 'f' => 'text/x-fortran', 'f4v' => 'video/mp4', 'f77' => 'text/x-fortran', 'f90' => 'text/x-fortran', 'fbs' => 'image/vnd.fastbidsheet', 'fcdt' => 'application/vnd.adobe.formscentral.fcdt', 'fcs' => 'application/vnd.isac.fcs', 'fdf' => 'application/vnd.fdf', 'fdt' => 'application/fdt+xml', 'fe_launch' => 'application/vnd.denovo.fcselayout-link', 'fg5' => 'application/vnd.fujitsu.oasysgp', 'fgd' => 'application/x-director', 'fh' => 'image/x-freehand', 'fh4' => 'image/x-freehand', 'fh5' => 'image/x-freehand', 'fh7' => 'image/x-freehand', 'fhc' => 'image/x-freehand', 'fig' => 'application/x-xfig', 'fits' => 'image/fits', 'flac' => 'audio/x-flac', 'fli' => 'video/x-fli', 'flo' => 'application/vnd.micrografx.flo', 'flv' => 'video/x-flv', 'flw' => 'application/vnd.kde.kivio', 'flx' => 'text/vnd.fmi.flexstor', 'fly' => 'text/vnd.fly', 'fm' => 'application/vnd.framemaker', 'fnc' => 'application/vnd.frogans.fnc', 'fo' => 'application/vnd.software602.filler.form+xml', 'for' => 'text/x-fortran', 'fpx' => 'image/vnd.fpx', 'frame' => 'application/vnd.framemaker', 'fsc' => 'application/vnd.fsc.weblaunch', 'fst' => 'image/vnd.fst', 'ftc' => 'application/vnd.fluxtime.clip', 'fti' => 'application/vnd.anser-web-funds-transfer-initiation', 'fvt' => 'video/vnd.fvt', 'fxp' => 'application/vnd.adobe.fxp', 'fxpl' => 'application/vnd.adobe.fxp', 'fzs' => 'application/vnd.fuzzysheet', 'g2w' => 'application/vnd.geoplan', 'g3' => 'image/g3fax', 'g3w' => 'application/vnd.geospace', 'gac' => 'application/vnd.groove-account', 'gam' => 'application/x-tads', 'gbr' => 'application/rpki-ghostbusters', 'gca' => 'application/x-gca-compressed', 'gdl' => 'model/vnd.gdl', 'gdoc' => 'application/vnd.google-apps.document', 'ged' => 'text/vnd.familysearch.gedcom', 'geo' => 'application/vnd.dynageo', 'geojson' => 'application/geo+json', 'gex' => 'application/vnd.geometry-explorer', 'ggb' => 'application/vnd.geogebra.file', 'ggt' => 'application/vnd.geogebra.tool', 'ghf' => 'application/vnd.groove-help', 'gif' => 'image/gif', 'gim' => 'application/vnd.groove-identity-message', 'glb' => 'model/gltf-binary', 'gltf' => 'model/gltf+json', 'gml' => 'application/gml+xml', 'gmx' => 'application/vnd.gmx', 'gnumeric' => 'application/x-gnumeric', 'gpg' => 'application/gpg-keys', 'gph' => 'application/vnd.flographit', 'gpx' => 'application/gpx+xml', 'gqf' => 'application/vnd.grafeq', 'gqs' => 'application/vnd.grafeq', 'gram' => 'application/srgs', 'gramps' => 'application/x-gramps-xml', 'gre' => 'application/vnd.geometry-explorer', 'grv' => 'application/vnd.groove-injector', 'grxml' => 'application/srgs+xml', 'gsf' => 'application/x-font-ghostscript', 'gsheet' => 'application/vnd.google-apps.spreadsheet', 'gslides' => 'application/vnd.google-apps.presentation', 'gtar' => 'application/x-gtar', 'gtm' => 'application/vnd.groove-tool-message', 'gtw' => 'model/vnd.gtw', 'gv' => 'text/vnd.graphviz', 'gxf' => 'application/gxf', 'gxt' => 'application/vnd.geonext', 'gz' => 'application/gzip', 'gzip' => 'application/gzip', 'h' => 'text/x-c', 'h261' => 'video/h261', 'h263' => 'video/h263', 'h264' => 'video/h264', 'hal' => 'application/vnd.hal+xml', 'hbci' => 'application/vnd.hbci', 'hbs' => 'text/x-handlebars-template', 'hdd' => 'application/x-virtualbox-hdd', 'hdf' => 'application/x-hdf', 'heic' => 'image/heic', 'heics' => 'image/heic-sequence', 'heif' => 'image/heif', 'heifs' => 'image/heif-sequence', 'hej2' => 'image/hej2k', 'held' => 'application/atsc-held+xml', 'hh' => 'text/x-c', 'hjson' => 'application/hjson', 'hlp' => 'application/winhlp', 'hpgl' => 'application/vnd.hp-hpgl', 'hpid' => 'application/vnd.hp-hpid', 'hps' => 'application/vnd.hp-hps', 'hqx' => 'application/mac-binhex40', 'hsj2' => 'image/hsj2', 'htc' => 'text/x-component', 'htke' => 'application/vnd.kenameaapp', 'htm' => 'text/html', 'html' => 'text/html', 'hvd' => 'application/vnd.yamaha.hv-dic', 'hvp' => 'application/vnd.yamaha.hv-voice', 'hvs' => 'application/vnd.yamaha.hv-script', 'i2g' => 'application/vnd.intergeo', 'icc' => 'application/vnd.iccprofile', 'ice' => 'x-conference/x-cooltalk', 'icm' => 'application/vnd.iccprofile', 'ico' => 'image/x-icon', 'ics' => 'text/calendar', 'ief' => 'image/ief', 'ifb' => 'text/calendar', 'ifm' => 'application/vnd.shana.informed.formdata', 'iges' => 'model/iges', 'igl' => 'application/vnd.igloader', 'igm' => 'application/vnd.insors.igm', 'igs' => 'model/iges', 'igx' => 'application/vnd.micrografx.igx', 'iif' => 'application/vnd.shana.informed.interchange', 'img' => 'application/octet-stream', 'imp' => 'application/vnd.accpac.simply.imp', 'ims' => 'application/vnd.ms-ims', 'in' => 'text/plain', 'ini' => 'text/plain', 'ink' => 'application/inkml+xml', 'inkml' => 'application/inkml+xml', 'install' => 'application/x-install-instructions', 'iota' => 'application/vnd.astraea-software.iota', 'ipfix' => 'application/ipfix', 'ipk' => 'application/vnd.shana.informed.package', 'irm' => 'application/vnd.ibm.rights-management', 'irp' => 'application/vnd.irepository.package+xml', 'iso' => 'application/x-iso9660-image', 'itp' => 'application/vnd.shana.informed.formtemplate', 'its' => 'application/its+xml', 'ivp' => 'application/vnd.immervision-ivp', 'ivu' => 'application/vnd.immervision-ivu', 'jad' => 'text/vnd.sun.j2me.app-descriptor', 'jade' => 'text/jade', 'jam' => 'application/vnd.jam', 'jar' => 'application/java-archive', 'jardiff' => 'application/x-java-archive-diff', 'java' => 'text/x-java-source', 'jhc' => 'image/jphc', 'jisp' => 'application/vnd.jisp', 'jls' => 'image/jls', 'jlt' => 'application/vnd.hp-jlyt', 'jng' => 'image/x-jng', 'jnlp' => 'application/x-java-jnlp-file', 'joda' => 'application/vnd.joost.joda-archive', 'jp2' => 'image/jp2', 'jpe' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpf' => 'image/jpx', 'jpg' => 'image/jpeg', 'jpg2' => 'image/jp2', 'jpgm' => 'video/jpm', 'jpgv' => 'video/jpeg', 'jph' => 'image/jph', 'jpm' => 'video/jpm', 'jpx' => 'image/jpx', 'js' => 'application/javascript', 'json' => 'application/json', 'json5' => 'application/json5', 'jsonld' => 'application/ld+json', 'jsonml' => 'application/jsonml+json', 'jsx' => 'text/jsx', 'jt' => 'model/jt', 'jxr' => 'image/jxr', 'jxra' => 'image/jxra', 'jxrs' => 'image/jxrs', 'jxs' => 'image/jxs', 'jxsc' => 'image/jxsc', 'jxsi' => 'image/jxsi', 'jxss' => 'image/jxss', 'kar' => 'audio/midi', 'karbon' => 'application/vnd.kde.karbon', 'kdb' => 'application/octet-stream', 'kdbx' => 'application/x-keepass2', 'key' => 'application/x-iwork-keynote-sffkey', 'kfo' => 'application/vnd.kde.kformula', 'kia' => 'application/vnd.kidspiration', 'kml' => 'application/vnd.google-earth.kml+xml', 'kmz' => 'application/vnd.google-earth.kmz', 'kne' => 'application/vnd.kinar', 'knp' => 'application/vnd.kinar', 'kon' => 'application/vnd.kde.kontour', 'kpr' => 'application/vnd.kde.kpresenter', 'kpt' => 'application/vnd.kde.kpresenter', 'kpxx' => 'application/vnd.ds-keypoint', 'ksp' => 'application/vnd.kde.kspread', 'ktr' => 'application/vnd.kahootz', 'ktx' => 'image/ktx', 'ktx2' => 'image/ktx2', 'ktz' => 'application/vnd.kahootz', 'kwd' => 'application/vnd.kde.kword', 'kwt' => 'application/vnd.kde.kword', 'lasxml' => 'application/vnd.las.las+xml', 'latex' => 'application/x-latex', 'lbd' => 'application/vnd.llamagraphics.life-balance.desktop', 'lbe' => 'application/vnd.llamagraphics.life-balance.exchange+xml', 'les' => 'application/vnd.hhe.lesson-player', 'less' => 'text/less', 'lgr' => 'application/lgr+xml', 'lha' => 'application/octet-stream', 'link66' => 'application/vnd.route66.link66+xml', 'list' => 'text/plain', 'list3820' => 'application/vnd.ibm.modcap', 'listafp' => 'application/vnd.ibm.modcap', 'litcoffee' => 'text/coffeescript', 'lnk' => 'application/x-ms-shortcut', 'log' => 'text/plain', 'lostxml' => 'application/lost+xml', 'lrf' => 'application/octet-stream', 'lrm' => 'application/vnd.ms-lrm', 'ltf' => 'application/vnd.frogans.ltf', 'lua' => 'text/x-lua', 'luac' => 'application/x-lua-bytecode', 'lvp' => 'audio/vnd.lucent.voice', 'lwp' => 'application/vnd.lotus-wordpro', 'lzh' => 'application/octet-stream', 'm1v' => 'video/mpeg', 'm2a' => 'audio/mpeg', 'm2v' => 'video/mpeg', 'm3a' => 'audio/mpeg', 'm3u' => 'text/plain', 'm3u8' => 'application/vnd.apple.mpegurl', 'm4a' => 'audio/x-m4a', 'm4p' => 'application/mp4', 'm4s' => 'video/iso.segment', 'm4u' => 'application/vnd.mpegurl', 'm4v' => 'video/x-m4v', 'm13' => 'application/x-msmediaview', 'm14' => 'application/x-msmediaview', 'm21' => 'application/mp21', 'ma' => 'application/mathematica', 'mads' => 'application/mads+xml', 'maei' => 'application/mmt-aei+xml', 'mag' => 'application/vnd.ecowin.chart', 'maker' => 'application/vnd.framemaker', 'man' => 'text/troff', 'manifest' => 'text/cache-manifest', 'map' => 'application/json', 'mar' => 'application/octet-stream', 'markdown' => 'text/markdown', 'mathml' => 'application/mathml+xml', 'mb' => 'application/mathematica', 'mbk' => 'application/vnd.mobius.mbk', 'mbox' => 'application/mbox', 'mc1' => 'application/vnd.medcalcdata', 'mcd' => 'application/vnd.mcd', 'mcurl' => 'text/vnd.curl.mcurl', 'md' => 'text/markdown', 'mdb' => 'application/x-msaccess', 'mdi' => 'image/vnd.ms-modi', 'mdx' => 'text/mdx', 'me' => 'text/troff', 'mesh' => 'model/mesh', 'meta4' => 'application/metalink4+xml', 'metalink' => 'application/metalink+xml', 'mets' => 'application/mets+xml', 'mfm' => 'application/vnd.mfmp', 'mft' => 'application/rpki-manifest', 'mgp' => 'application/vnd.osgeo.mapguide.package', 'mgz' => 'application/vnd.proteus.magazine', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mie' => 'application/x-mie', 'mif' => 'application/vnd.mif', 'mime' => 'message/rfc822', 'mj2' => 'video/mj2', 'mjp2' => 'video/mj2', 'mjs' => 'text/javascript', 'mk3d' => 'video/x-matroska', 'mka' => 'audio/x-matroska', 'mkd' => 'text/x-markdown', 'mks' => 'video/x-matroska', 'mkv' => 'video/x-matroska', 'mlp' => 'application/vnd.dolby.mlp', 'mmd' => 'application/vnd.chipnuts.karaoke-mmd', 'mmf' => 'application/vnd.smaf', 'mml' => 'text/mathml', 'mmr' => 'image/vnd.fujixerox.edmics-mmr', 'mng' => 'video/x-mng', 'mny' => 'application/x-msmoney', 'mobi' => 'application/x-mobipocket-ebook', 'mods' => 'application/mods+xml', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mp2' => 'audio/mpeg', 'mp2a' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mp4' => 'video/mp4', 'mp4a' => 'audio/mp4', 'mp4s' => 'application/mp4', 'mp4v' => 'video/mp4', 'mp21' => 'application/mp21', 'mpc' => 'application/vnd.mophun.certificate', 'mpd' => 'application/dash+xml', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpf' => 'application/media-policy-dataset+xml', 'mpg' => 'video/mpeg', 'mpg4' => 'video/mp4', 'mpga' => 'audio/mpeg', 'mpkg' => 'application/vnd.apple.installer+xml', 'mpm' => 'application/vnd.blueice.multipass', 'mpn' => 'application/vnd.mophun.application', 'mpp' => 'application/vnd.ms-project', 'mpt' => 'application/vnd.ms-project', 'mpy' => 'application/vnd.ibm.minipay', 'mqy' => 'application/vnd.mobius.mqy', 'mrc' => 'application/marc', 'mrcx' => 'application/marcxml+xml', 'ms' => 'text/troff', 'mscml' => 'application/mediaservercontrol+xml', 'mseed' => 'application/vnd.fdsn.mseed', 'mseq' => 'application/vnd.mseq', 'msf' => 'application/vnd.epson.msf', 'msg' => 'application/vnd.ms-outlook', 'msh' => 'model/mesh', 'msi' => 'application/x-msdownload', 'msix' => 'application/msix', 'msixbundle' => 'application/msixbundle', 'msl' => 'application/vnd.mobius.msl', 'msm' => 'application/octet-stream', 'msp' => 'application/octet-stream', 'msty' => 'application/vnd.muvee.style', 'mtl' => 'model/mtl', 'mts' => 'model/vnd.mts', 'mus' => 'application/vnd.musician', 'musd' => 'application/mmt-usd+xml', 'musicxml' => 'application/vnd.recordare.musicxml+xml', 'mvb' => 'application/x-msmediaview', 'mvt' => 'application/vnd.mapbox-vector-tile', 'mwf' => 'application/vnd.mfer', 'mxf' => 'application/mxf', 'mxl' => 'application/vnd.recordare.musicxml', 'mxmf' => 'audio/mobile-xmf', 'mxml' => 'application/xv+xml', 'mxs' => 'application/vnd.triscape.mxs', 'mxu' => 'video/vnd.mpegurl', 'n-gage' => 'application/vnd.nokia.n-gage.symbian.install', 'n3' => 'text/n3', 'nb' => 'application/mathematica', 'nbp' => 'application/vnd.wolfram.player', 'nc' => 'application/x-netcdf', 'ncx' => 'application/x-dtbncx+xml', 'nfo' => 'text/x-nfo', 'ngdat' => 'application/vnd.nokia.n-gage.data', 'nitf' => 'application/vnd.nitf', 'nlu' => 'application/vnd.neurolanguage.nlu', 'nml' => 'application/vnd.enliven', 'nnd' => 'application/vnd.noblenet-directory', 'nns' => 'application/vnd.noblenet-sealer', 'nnw' => 'application/vnd.noblenet-web', 'npx' => 'image/vnd.net-fpx', 'nq' => 'application/n-quads', 'nsc' => 'application/x-conference', 'nsf' => 'application/vnd.lotus-notes', 'nt' => 'application/n-triples', 'ntf' => 'application/vnd.nitf', 'numbers' => 'application/x-iwork-numbers-sffnumbers', 'nzb' => 'application/x-nzb', 'oa2' => 'application/vnd.fujitsu.oasys2', 'oa3' => 'application/vnd.fujitsu.oasys3', 'oas' => 'application/vnd.fujitsu.oasys', 'obd' => 'application/x-msbinder', 'obgx' => 'application/vnd.openblox.game+xml', 'obj' => 'model/obj', 'oda' => 'application/oda', 'odb' => 'application/vnd.oasis.opendocument.database', 'odc' => 'application/vnd.oasis.opendocument.chart', 'odf' => 'application/vnd.oasis.opendocument.formula', 'odft' => 'application/vnd.oasis.opendocument.formula-template', 'odg' => 'application/vnd.oasis.opendocument.graphics', 'odi' => 'application/vnd.oasis.opendocument.image', 'odm' => 'application/vnd.oasis.opendocument.text-master', 'odp' => 'application/vnd.oasis.opendocument.presentation', 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', 'odt' => 'application/vnd.oasis.opendocument.text', 'oga' => 'audio/ogg', 'ogex' => 'model/vnd.opengex', 'ogg' => 'audio/ogg', 'ogv' => 'video/ogg', 'ogx' => 'application/ogg', 'omdoc' => 'application/omdoc+xml', 'onepkg' => 'application/onenote', 'onetmp' => 'application/onenote', 'onetoc' => 'application/onenote', 'onetoc2' => 'application/onenote', 'opf' => 'application/oebps-package+xml', 'opml' => 'text/x-opml', 'oprc' => 'application/vnd.palm', 'opus' => 'audio/ogg', 'org' => 'text/x-org', 'osf' => 'application/vnd.yamaha.openscoreformat', 'osfpvg' => 'application/vnd.yamaha.openscoreformat.osfpvg+xml', 'osm' => 'application/vnd.openstreetmap.data+xml', 'otc' => 'application/vnd.oasis.opendocument.chart-template', 'otf' => 'font/otf', 'otg' => 'application/vnd.oasis.opendocument.graphics-template', 'oth' => 'application/vnd.oasis.opendocument.text-web', 'oti' => 'application/vnd.oasis.opendocument.image-template', 'otp' => 'application/vnd.oasis.opendocument.presentation-template', 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', 'ott' => 'application/vnd.oasis.opendocument.text-template', 'ova' => 'application/x-virtualbox-ova', 'ovf' => 'application/x-virtualbox-ovf', 'owl' => 'application/rdf+xml', 'oxps' => 'application/oxps', 'oxt' => 'application/vnd.openofficeorg.extension', 'p' => 'text/x-pascal', 'p7a' => 'application/x-pkcs7-signature', 'p7b' => 'application/x-pkcs7-certificates', 'p7c' => 'application/pkcs7-mime', 'p7m' => 'application/pkcs7-mime', 'p7r' => 'application/x-pkcs7-certreqresp', 'p7s' => 'application/pkcs7-signature', 'p8' => 'application/pkcs8', 'p10' => 'application/x-pkcs10', 'p12' => 'application/x-pkcs12', 'pac' => 'application/x-ns-proxy-autoconfig', 'pages' => 'application/x-iwork-pages-sffpages', 'pas' => 'text/x-pascal', 'paw' => 'application/vnd.pawaafile', 'pbd' => 'application/vnd.powerbuilder6', 'pbm' => 'image/x-portable-bitmap', 'pcap' => 'application/vnd.tcpdump.pcap', 'pcf' => 'application/x-font-pcf', 'pcl' => 'application/vnd.hp-pcl', 'pclxl' => 'application/vnd.hp-pclxl', 'pct' => 'image/x-pict', 'pcurl' => 'application/vnd.curl.pcurl', 'pcx' => 'image/x-pcx', 'pdb' => 'application/x-pilot', 'pde' => 'text/x-processing', 'pdf' => 'application/pdf', 'pem' => 'application/x-x509-user-cert', 'pfa' => 'application/x-font-type1', 'pfb' => 'application/x-font-type1', 'pfm' => 'application/x-font-type1', 'pfr' => 'application/font-tdpfr', 'pfx' => 'application/x-pkcs12', 'pgm' => 'image/x-portable-graymap', 'pgn' => 'application/x-chess-pgn', 'pgp' => 'application/pgp', 'phar' => 'application/octet-stream', 'php' => 'application/x-httpd-php', 'php3' => 'application/x-httpd-php', 'php4' => 'application/x-httpd-php', 'phps' => 'application/x-httpd-php-source', 'phtml' => 'application/x-httpd-php', 'pic' => 'image/x-pict', 'pkg' => 'application/octet-stream', 'pki' => 'application/pkixcmp', 'pkipath' => 'application/pkix-pkipath', 'pkpass' => 'application/vnd.apple.pkpass', 'pl' => 'application/x-perl', 'plb' => 'application/vnd.3gpp.pic-bw-large', 'plc' => 'application/vnd.mobius.plc', 'plf' => 'application/vnd.pocketlearn', 'pls' => 'application/pls+xml', 'pm' => 'application/x-perl', 'pml' => 'application/vnd.ctc-posml', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'portpkg' => 'application/vnd.macports.portpkg', 'pot' => 'application/vnd.ms-powerpoint', 'potm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12', 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template', 'ppa' => 'application/vnd.ms-powerpoint', 'ppam' => 'application/vnd.ms-powerpoint.addin.macroEnabled.12', 'ppd' => 'application/vnd.cups-ppd', 'ppm' => 'image/x-portable-pixmap', 'pps' => 'application/vnd.ms-powerpoint', 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12', 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', 'ppt' => 'application/powerpoint', 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'pqa' => 'application/vnd.palm', 'prc' => 'model/prc', 'pre' => 'application/vnd.lotus-freelance', 'prf' => 'application/pics-rules', 'provx' => 'application/provenance+xml', 'ps' => 'application/postscript', 'psb' => 'application/vnd.3gpp.pic-bw-small', 'psd' => 'application/x-photoshop', 'psf' => 'application/x-font-linux-psf', 'pskcxml' => 'application/pskc+xml', 'pti' => 'image/prs.pti', 'ptid' => 'application/vnd.pvi.ptid1', 'pub' => 'application/x-mspublisher', 'pvb' => 'application/vnd.3gpp.pic-bw-var', 'pwn' => 'application/vnd.3m.post-it-notes', 'pya' => 'audio/vnd.ms-playready.media.pya', 'pyo' => 'model/vnd.pytha.pyox', 'pyox' => 'model/vnd.pytha.pyox', 'pyv' => 'video/vnd.ms-playready.media.pyv', 'qam' => 'application/vnd.epson.quickanime', 'qbo' => 'application/vnd.intu.qbo', 'qfx' => 'application/vnd.intu.qfx', 'qps' => 'application/vnd.publishare-delta-tree', 'qt' => 'video/quicktime', 'qwd' => 'application/vnd.quark.quarkxpress', 'qwt' => 'application/vnd.quark.quarkxpress', 'qxb' => 'application/vnd.quark.quarkxpress', 'qxd' => 'application/vnd.quark.quarkxpress', 'qxl' => 'application/vnd.quark.quarkxpress', 'qxt' => 'application/vnd.quark.quarkxpress', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'raml' => 'application/raml+yaml', 'rapd' => 'application/route-apd+xml', 'rar' => 'application/x-rar', 'ras' => 'image/x-cmu-raster', 'rcprofile' => 'application/vnd.ipunplugged.rcprofile', 'rdf' => 'application/rdf+xml', 'rdz' => 'application/vnd.data-vision.rdz', 'relo' => 'application/p2p-overlay+xml', 'rep' => 'application/vnd.businessobjects', 'res' => 'application/x-dtbresource+xml', 'rgb' => 'image/x-rgb', 'rif' => 'application/reginfo+xml', 'rip' => 'audio/vnd.rip', 'ris' => 'application/x-research-info-systems', 'rl' => 'application/resource-lists+xml', 'rlc' => 'image/vnd.fujixerox.edmics-rlc', 'rld' => 'application/resource-lists-diff+xml', 'rm' => 'audio/x-pn-realaudio', 'rmi' => 'audio/midi', 'rmp' => 'audio/x-pn-realaudio-plugin', 'rms' => 'application/vnd.jcp.javame.midlet-rms', 'rmvb' => 'application/vnd.rn-realmedia-vbr', 'rnc' => 'application/relax-ng-compact-syntax', 'rng' => 'application/xml', 'roa' => 'application/rpki-roa', 'roff' => 'text/troff', 'rp9' => 'application/vnd.cloanto.rp9', 'rpm' => 'audio/x-pn-realaudio-plugin', 'rpss' => 'application/vnd.nokia.radio-presets', 'rpst' => 'application/vnd.nokia.radio-preset', 'rq' => 'application/sparql-query', 'rs' => 'application/rls-services+xml', 'rsa' => 'application/x-pkcs7', 'rsat' => 'application/atsc-rsat+xml', 'rsd' => 'application/rsd+xml', 'rsheet' => 'application/urc-ressheet+xml', 'rss' => 'application/rss+xml', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'run' => 'application/x-makeself', 'rusd' => 'application/route-usd+xml', 'rv' => 'video/vnd.rn-realvideo', 's' => 'text/x-asm', 's3m' => 'audio/s3m', 'saf' => 'application/vnd.yamaha.smaf-audio', 'sass' => 'text/x-sass', 'sbml' => 'application/sbml+xml', 'sc' => 'application/vnd.ibm.secure-container', 'scd' => 'application/x-msschedule', 'scm' => 'application/vnd.lotus-screencam', 'scq' => 'application/scvp-cv-request', 'scs' => 'application/scvp-cv-response', 'scss' => 'text/x-scss', 'scurl' => 'text/vnd.curl.scurl', 'sda' => 'application/vnd.stardivision.draw', 'sdc' => 'application/vnd.stardivision.calc', 'sdd' => 'application/vnd.stardivision.impress', 'sdkd' => 'application/vnd.solent.sdkm+xml', 'sdkm' => 'application/vnd.solent.sdkm+xml', 'sdp' => 'application/sdp', 'sdw' => 'application/vnd.stardivision.writer', 'sea' => 'application/octet-stream', 'see' => 'application/vnd.seemail', 'seed' => 'application/vnd.fdsn.seed', 'sema' => 'application/vnd.sema', 'semd' => 'application/vnd.semd', 'semf' => 'application/vnd.semf', 'senmlx' => 'application/senml+xml', 'sensmlx' => 'application/sensml+xml', 'ser' => 'application/java-serialized-object', 'setpay' => 'application/set-payment-initiation', 'setreg' => 'application/set-registration-initiation', 'sfd-hdstx' => 'application/vnd.hydrostatix.sof-data', 'sfs' => 'application/vnd.spotfire.sfs', 'sfv' => 'text/x-sfv', 'sgi' => 'image/sgi', 'sgl' => 'application/vnd.stardivision.writer-global', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'shex' => 'text/shex', 'shf' => 'application/shf+xml', 'shtml' => 'text/html', 'sid' => 'image/x-mrsid-image', 'sieve' => 'application/sieve', 'sig' => 'application/pgp-signature', 'sil' => 'audio/silk', 'silo' => 'model/mesh', 'sis' => 'application/vnd.symbian.install', 'sisx' => 'application/vnd.symbian.install', 'sit' => 'application/x-stuffit', 'sitx' => 'application/x-stuffitx', 'siv' => 'application/sieve', 'skd' => 'application/vnd.koan', 'skm' => 'application/vnd.koan', 'skp' => 'application/vnd.koan', 'skt' => 'application/vnd.koan', 'sldm' => 'application/vnd.ms-powerpoint.slide.macroenabled.12', 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide', 'slim' => 'text/slim', 'slm' => 'text/slim', 'sls' => 'application/route-s-tsid+xml', 'slt' => 'application/vnd.epson.salt', 'sm' => 'application/vnd.stepmania.stepchart', 'smf' => 'application/vnd.stardivision.math', 'smi' => 'application/smil', 'smil' => 'application/smil', 'smv' => 'video/x-smv', 'smzip' => 'application/vnd.stepmania.package', 'snd' => 'audio/basic', 'snf' => 'application/x-font-snf', 'so' => 'application/octet-stream', 'spc' => 'application/x-pkcs7-certificates', 'spdx' => 'text/spdx', 'spf' => 'application/vnd.yamaha.smaf-phrase', 'spl' => 'application/x-futuresplash', 'spot' => 'text/vnd.in3d.spot', 'spp' => 'application/scvp-vp-response', 'spq' => 'application/scvp-vp-request', 'spx' => 'audio/ogg', 'sql' => 'application/x-sql', 'src' => 'application/x-wais-source', 'srt' => 'application/x-subrip', 'sru' => 'application/sru+xml', 'srx' => 'application/sparql-results+xml', 'ssdl' => 'application/ssdl+xml', 'sse' => 'application/vnd.kodak-descriptor', 'ssf' => 'application/vnd.epson.ssf', 'ssml' => 'application/ssml+xml', 'sst' => 'application/octet-stream', 'st' => 'application/vnd.sailingtracker.track', 'stc' => 'application/vnd.sun.xml.calc.template', 'std' => 'application/vnd.sun.xml.draw.template', 'step' => 'application/STEP', 'stf' => 'application/vnd.wt.stf', 'sti' => 'application/vnd.sun.xml.impress.template', 'stk' => 'application/hyperstudio', 'stl' => 'model/stl', 'stp' => 'application/STEP', 'stpx' => 'model/step+xml', 'stpxz' => 'model/step-xml+zip', 'stpz' => 'model/step+zip', 'str' => 'application/vnd.pg.format', 'stw' => 'application/vnd.sun.xml.writer.template', 'styl' => 'text/stylus', 'stylus' => 'text/stylus', 'sub' => 'text/vnd.dvb.subtitle', 'sus' => 'application/vnd.sus-calendar', 'susp' => 'application/vnd.sus-calendar', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svc' => 'application/vnd.dvb.service', 'svd' => 'application/vnd.svd', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swa' => 'application/x-director', 'swf' => 'application/x-shockwave-flash', 'swi' => 'application/vnd.aristanetworks.swi', 'swidtag' => 'application/swid+xml', 'sxc' => 'application/vnd.sun.xml.calc', 'sxd' => 'application/vnd.sun.xml.draw', 'sxg' => 'application/vnd.sun.xml.writer.global', 'sxi' => 'application/vnd.sun.xml.impress', 'sxm' => 'application/vnd.sun.xml.math', 'sxw' => 'application/vnd.sun.xml.writer', 't' => 'text/troff', 't3' => 'application/x-t3vm-image', 't38' => 'image/t38', 'taglet' => 'application/vnd.mynfc', 'tao' => 'application/vnd.tao.intent-module-archive', 'tap' => 'image/vnd.tencent.tap', 'tar' => 'application/x-tar', 'tcap' => 'application/vnd.3gpp2.tcap', 'tcl' => 'application/x-tcl', 'td' => 'application/urc-targetdesc+xml', 'teacher' => 'application/vnd.smart.teacher', 'tei' => 'application/tei+xml', 'teicorpus' => 'application/tei+xml', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'text' => 'text/plain', 'tfi' => 'application/thraud+xml', 'tfm' => 'application/x-tex-tfm', 'tfx' => 'image/tiff-fx', 'tga' => 'image/x-tga', 'tgz' => 'application/x-tar', 'thmx' => 'application/vnd.ms-officetheme', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'tk' => 'application/x-tcl', 'tmo' => 'application/vnd.tmobile-livetv', 'toml' => 'application/toml', 'torrent' => 'application/x-bittorrent', 'tpl' => 'application/vnd.groove-tool-template', 'tpt' => 'application/vnd.trid.tpt', 'tr' => 'text/troff', 'tra' => 'application/vnd.trueapp', 'trig' => 'application/trig', 'trm' => 'application/x-msterminal', 'ts' => 'video/mp2t', 'tsd' => 'application/timestamped-data', 'tsv' => 'text/tab-separated-values', 'ttc' => 'font/collection', 'ttf' => 'font/ttf', 'ttl' => 'text/turtle', 'ttml' => 'application/ttml+xml', 'twd' => 'application/vnd.simtech-mindmapper', 'twds' => 'application/vnd.simtech-mindmapper', 'txd' => 'application/vnd.genomatix.tuxedo', 'txf' => 'application/vnd.mobius.txf', 'txt' => 'text/plain', 'u3d' => 'model/u3d', 'u8dsn' => 'message/global-delivery-status', 'u8hdr' => 'message/global-headers', 'u8mdn' => 'message/global-disposition-notification', 'u8msg' => 'message/global', 'u32' => 'application/x-authorware-bin', 'ubj' => 'application/ubjson', 'udeb' => 'application/x-debian-package', 'ufd' => 'application/vnd.ufdl', 'ufdl' => 'application/vnd.ufdl', 'ulx' => 'application/x-glulx', 'umj' => 'application/vnd.umajin', 'unityweb' => 'application/vnd.unity', 'uo' => 'application/vnd.uoml+xml', 'uoml' => 'application/vnd.uoml+xml', 'uri' => 'text/uri-list', 'uris' => 'text/uri-list', 'urls' => 'text/uri-list', 'usda' => 'model/vnd.usda', 'usdz' => 'model/vnd.usdz+zip', 'ustar' => 'application/x-ustar', 'utz' => 'application/vnd.uiq.theme', 'uu' => 'text/x-uuencode', 'uva' => 'audio/vnd.dece.audio', 'uvd' => 'application/vnd.dece.data', 'uvf' => 'application/vnd.dece.data', 'uvg' => 'image/vnd.dece.graphic', 'uvh' => 'video/vnd.dece.hd', 'uvi' => 'image/vnd.dece.graphic', 'uvm' => 'video/vnd.dece.mobile', 'uvp' => 'video/vnd.dece.pd', 'uvs' => 'video/vnd.dece.sd', 'uvt' => 'application/vnd.dece.ttml+xml', 'uvu' => 'video/vnd.uvvu.mp4', 'uvv' => 'video/vnd.dece.video', 'uvva' => 'audio/vnd.dece.audio', 'uvvd' => 'application/vnd.dece.data', 'uvvf' => 'application/vnd.dece.data', 'uvvg' => 'image/vnd.dece.graphic', 'uvvh' => 'video/vnd.dece.hd', 'uvvi' => 'image/vnd.dece.graphic', 'uvvm' => 'video/vnd.dece.mobile', 'uvvp' => 'video/vnd.dece.pd', 'uvvs' => 'video/vnd.dece.sd', 'uvvt' => 'application/vnd.dece.ttml+xml', 'uvvu' => 'video/vnd.uvvu.mp4', 'uvvv' => 'video/vnd.dece.video', 'uvvx' => 'application/vnd.dece.unspecified', 'uvvz' => 'application/vnd.dece.zip', 'uvx' => 'application/vnd.dece.unspecified', 'uvz' => 'application/vnd.dece.zip', 'vbox' => 'application/x-virtualbox-vbox', 'vbox-extpack' => 'application/x-virtualbox-vbox-extpack', 'vcard' => 'text/vcard', 'vcd' => 'application/x-cdlink', 'vcf' => 'text/x-vcard', 'vcg' => 'application/vnd.groove-vcard', 'vcs' => 'text/x-vcalendar', 'vcx' => 'application/vnd.vcx', 'vdi' => 'application/x-virtualbox-vdi', 'vds' => 'model/vnd.sap.vds', 'vhd' => 'application/x-virtualbox-vhd', 'vis' => 'application/vnd.visionary', 'viv' => 'video/vnd.vivo', 'vlc' => 'application/videolan', 'vmdk' => 'application/x-virtualbox-vmdk', 'vob' => 'video/x-ms-vob', 'vor' => 'application/vnd.stardivision.writer', 'vox' => 'application/x-authorware-bin', 'vrml' => 'model/vrml', 'vsd' => 'application/vnd.visio', 'vsf' => 'application/vnd.vsf', 'vss' => 'application/vnd.visio', 'vst' => 'application/vnd.visio', 'vsw' => 'application/vnd.visio', 'vtf' => 'image/vnd.valve.source.texture', 'vtt' => 'text/vtt', 'vtu' => 'model/vnd.vtu', 'vxml' => 'application/voicexml+xml', 'w3d' => 'application/x-director', 'wad' => 'application/x-doom', 'wadl' => 'application/vnd.sun.wadl+xml', 'war' => 'application/java-archive', 'wasm' => 'application/wasm', 'wav' => 'audio/x-wav', 'wax' => 'audio/x-ms-wax', 'wbmp' => 'image/vnd.wap.wbmp', 'wbs' => 'application/vnd.criticaltools.wbs+xml', 'wbxml' => 'application/wbxml', 'wcm' => 'application/vnd.ms-works', 'wdb' => 'application/vnd.ms-works', 'wdp' => 'image/vnd.ms-photo', 'weba' => 'audio/webm', 'webapp' => 'application/x-web-app-manifest+json', 'webm' => 'video/webm', 'webmanifest' => 'application/manifest+json', 'webp' => 'image/webp', 'wg' => 'application/vnd.pmi.widget', 'wgsl' => 'text/wgsl', 'wgt' => 'application/widget', 'wif' => 'application/watcherinfo+xml', 'wks' => 'application/vnd.ms-works', 'wm' => 'video/x-ms-wm', 'wma' => 'audio/x-ms-wma', 'wmd' => 'application/x-ms-wmd', 'wmf' => 'image/wmf', 'wml' => 'text/vnd.wap.wml', 'wmlc' => 'application/wmlc', 'wmls' => 'text/vnd.wap.wmlscript', 'wmlsc' => 'application/vnd.wap.wmlscriptc', 'wmv' => 'video/x-ms-wmv', 'wmx' => 'video/x-ms-wmx', 'wmz' => 'application/x-msmetafile', 'woff' => 'font/woff', 'woff2' => 'font/woff2', 'word' => 'application/msword', 'wpd' => 'application/vnd.wordperfect', 'wpl' => 'application/vnd.ms-wpl', 'wps' => 'application/vnd.ms-works', 'wqd' => 'application/vnd.wqd', 'wri' => 'application/x-mswrite', 'wrl' => 'model/vrml', 'wsc' => 'message/vnd.wfa.wsc', 'wsdl' => 'application/wsdl+xml', 'wspolicy' => 'application/wspolicy+xml', 'wtb' => 'application/vnd.webturbo', 'wvx' => 'video/x-ms-wvx', 'x3d' => 'model/x3d+xml', 'x3db' => 'model/x3d+fastinfoset', 'x3dbz' => 'model/x3d+binary', 'x3dv' => 'model/x3d-vrml', 'x3dvz' => 'model/x3d+vrml', 'x3dz' => 'model/x3d+xml', 'x32' => 'application/x-authorware-bin', 'x_b' => 'model/vnd.parasolid.transmit.binary', 'x_t' => 'model/vnd.parasolid.transmit.text', 'xaml' => 'application/xaml+xml', 'xap' => 'application/x-silverlight-app', 'xar' => 'application/vnd.xara', 'xav' => 'application/xcap-att+xml', 'xbap' => 'application/x-ms-xbap', 'xbd' => 'application/vnd.fujixerox.docuworks.binder', 'xbm' => 'image/x-xbitmap', 'xca' => 'application/xcap-caps+xml', 'xcs' => 'application/calendar+xml', 'xdf' => 'application/xcap-diff+xml', 'xdm' => 'application/vnd.syncml.dm+xml', 'xdp' => 'application/vnd.adobe.xdp+xml', 'xdssc' => 'application/dssc+xml', 'xdw' => 'application/vnd.fujixerox.docuworks', 'xel' => 'application/xcap-el+xml', 'xenc' => 'application/xenc+xml', 'xer' => 'application/patch-ops-error+xml', 'xfdf' => 'application/xfdf', 'xfdl' => 'application/vnd.xfdl', 'xht' => 'application/xhtml+xml', 'xhtm' => 'application/vnd.pwg-xhtml-print+xml', 'xhtml' => 'application/xhtml+xml', 'xhvml' => 'application/xv+xml', 'xif' => 'image/vnd.xiff', 'xl' => 'application/excel', 'xla' => 'application/vnd.ms-excel', 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12', 'xlc' => 'application/vnd.ms-excel', 'xlf' => 'application/xliff+xml', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12', 'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlt' => 'application/vnd.ms-excel', 'xltm' => 'application/vnd.ms-excel.template.macroEnabled.12', 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', 'xlw' => 'application/vnd.ms-excel', 'xm' => 'audio/xm', 'xml' => 'application/xml', 'xns' => 'application/xcap-ns+xml', 'xo' => 'application/vnd.olpc-sugar', 'xop' => 'application/xop+xml', 'xpi' => 'application/x-xpinstall', 'xpl' => 'application/xproc+xml', 'xpm' => 'image/x-xpixmap', 'xpr' => 'application/vnd.is-xpr', 'xps' => 'application/vnd.ms-xpsdocument', 'xpw' => 'application/vnd.intercon.formnet', 'xpx' => 'application/vnd.intercon.formnet', 'xsd' => 'application/xml', 'xsf' => 'application/prs.xsf+xml', 'xsl' => 'application/xml', 'xslt' => 'application/xslt+xml', 'xsm' => 'application/vnd.syncml+xml', 'xspf' => 'application/xspf+xml', 'xul' => 'application/vnd.mozilla.xul+xml', 'xvm' => 'application/xv+xml', 'xvml' => 'application/xv+xml', 'xwd' => 'image/x-xwindowdump', 'xyz' => 'chemical/x-xyz', 'xz' => 'application/x-xz', 'yaml' => 'text/yaml', 'yang' => 'application/yang', 'yin' => 'application/yin+xml', 'yml' => 'text/yaml', 'ymp' => 'text/x-suse-ymp', 'z' => 'application/x-compress', 'z1' => 'application/x-zmachine', 'z2' => 'application/x-zmachine', 'z3' => 'application/x-zmachine', 'z4' => 'application/x-zmachine', 'z5' => 'application/x-zmachine', 'z6' => 'application/x-zmachine', 'z7' => 'application/x-zmachine', 'z8' => 'application/x-zmachine', 'zaz' => 'application/vnd.zzazz.deck+xml', 'zip' => 'application/zip', 'zir' => 'application/vnd.zul', 'zirz' => 'application/vnd.zul', 'zmm' => 'application/vnd.handheld-entertainment+xml', 'zsh' => 'text/x-scriptzsh'];
     /**
      * Determines the mimetype of a file by looking at its extension.
      *
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/MultipartStream.php b/vendor/prefixed/guzzlehttp/psr7/src/MultipartStream.php
index 3885f1ce7..100d8228c 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/MultipartStream.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/MultipartStream.php
@@ -27,7 +27,7 @@ final class MultipartStream implements StreamInterface
      *
      * @throws \InvalidArgumentException
      */
-    public function __construct(array $elements = [], string $boundary = null)
+    public function __construct(array $elements = [], ?string $boundary = null)
     {
         $this->boundary = $boundary ?: bin2hex(random_bytes(20));
         $this->stream = $this->createStream($elements);
@@ -43,7 +43,7 @@ public function isWritable() : bool
     /**
      * Get the headers needed before transferring the content of a POST file
      *
-     * @param array $headers
+     * @param string[] $headers
      */
     private function getHeaders(array $headers) : string
     {
@@ -88,34 +88,40 @@ private function addElement(AppendStream $stream, array $element) : void
         $stream->addStream($body);
         $stream->addStream(Utils::streamFor("\r\n"));
     }
+    /**
+     * @param string[] $headers
+     *
+     * @return array{0: StreamInterface, 1: string[]}
+     */
     private function createElement(string $name, StreamInterface $stream, ?string $filename, array $headers) : array
     {
         // Set a default content-disposition header if one was no provided
-        $disposition = $this->getHeader($headers, 'content-disposition');
+        $disposition = self::getHeader($headers, 'content-disposition');
         if (!$disposition) {
             $headers['Content-Disposition'] = $filename === '0' || $filename ? sprintf('form-data; name="%s"; filename="%s"', $name, basename($filename)) : "form-data; name=\"{$name}\"";
         }
         // Set a default content-length header if one was no provided
-        $length = $this->getHeader($headers, 'content-length');
+        $length = self::getHeader($headers, 'content-length');
         if (!$length) {
             if ($length = $stream->getSize()) {
                 $headers['Content-Length'] = (string) $length;
             }
         }
         // Set a default Content-Type if one was not supplied
-        $type = $this->getHeader($headers, 'content-type');
+        $type = self::getHeader($headers, 'content-type');
         if (!$type && ($filename === '0' || $filename)) {
-            if ($type = MimeType::fromFilename($filename)) {
-                $headers['Content-Type'] = $type;
-            }
+            $headers['Content-Type'] = MimeType::fromFilename($filename) ?? 'application/octet-stream';
         }
         return [$stream, $headers];
     }
-    private function getHeader(array $headers, string $key)
+    /**
+     * @param string[] $headers
+     */
+    private static function getHeader(array $headers, string $key) : ?string
     {
         $lowercaseHeader = strtolower($key);
         foreach ($headers as $k => $v) {
-            if (strtolower($k) === $lowercaseHeader) {
+            if (strtolower((string) $k) === $lowercaseHeader) {
                 return $v;
             }
         }
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/PumpStream.php b/vendor/prefixed/guzzlehttp/psr7/src/PumpStream.php
index d6a64adb1..463722f79 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/PumpStream.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/PumpStream.php
@@ -16,7 +16,7 @@
  */
 final class PumpStream implements StreamInterface
 {
-    /** @var callable|null */
+    /** @var callable(int): (string|false|null)|null */
     private $source;
     /** @var int|null */
     private $size;
@@ -27,7 +27,7 @@ final class PumpStream implements StreamInterface
     /** @var BufferStream */
     private $buffer;
     /**
-     * @param callable(int): (string|null|false)  $source  Source of the stream data. The callable MAY
+     * @param callable(int): (string|false|null)  $source  Source of the stream data. The callable MAY
      *                                                     accept an integer argument used to control the
      *                                                     amount of data to return. The callable MUST
      *                                                     return a string when called, or false|null on error
@@ -123,8 +123,6 @@ public function getContents() : string
         return $result;
     }
     /**
-     * {@inheritdoc}
-     *
      * @return mixed
      */
     public function getMetadata($key = null)
@@ -136,9 +134,9 @@ public function getMetadata($key = null)
     }
     private function pump(int $length) : void
     {
-        if ($this->source) {
+        if ($this->source !== null) {
             do {
-                $data = call_user_func($this->source, $length);
+                $data = ($this->source)($length);
                 if ($data === \false || $data === null) {
                     $this->source = null;
                     return;
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/Query.php b/vendor/prefixed/guzzlehttp/psr7/src/Query.php
index a74729120..7e6e35442 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/Query.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/Query.php
@@ -57,12 +57,15 @@ public static function parse(string $str, $urlEncoding = \true) : array
      * string. This function does not modify the provided keys when an array is
      * encountered (like `http_build_query()` would).
      *
-     * @param array     $params   Query string parameters.
-     * @param int|false $encoding Set to false to not encode, PHP_QUERY_RFC3986
-     *                            to encode using RFC3986, or PHP_QUERY_RFC1738
-     *                            to encode using RFC1738.
+     * @param array     $params           Query string parameters.
+     * @param int|false $encoding         Set to false to not encode,
+     *                                    PHP_QUERY_RFC3986 to encode using
+     *                                    RFC3986, or PHP_QUERY_RFC1738 to
+     *                                    encode using RFC1738.
+     * @param bool      $treatBoolsAsInts Set to true to encode as 0/1, and
+     *                                    false as false/true.
      */
-    public static function build(array $params, $encoding = \PHP_QUERY_RFC3986) : string
+    public static function build(array $params, $encoding = \PHP_QUERY_RFC3986, bool $treatBoolsAsInts = \true) : string
     {
         if (!$params) {
             return '';
@@ -78,12 +81,17 @@ public static function build(array $params, $encoding = \PHP_QUERY_RFC3986) : st
         } else {
             throw new \InvalidArgumentException('Invalid type');
         }
+        $castBool = $treatBoolsAsInts ? static function ($v) {
+            return (int) $v;
+        } : static function ($v) {
+            return $v ? 'true' : 'false';
+        };
         $qs = '';
         foreach ($params as $k => $v) {
             $k = $encoder((string) $k);
             if (!is_array($v)) {
                 $qs .= $k;
-                $v = is_bool($v) ? (int) $v : $v;
+                $v = is_bool($v) ? $castBool($v) : $v;
                 if ($v !== null) {
                     $qs .= '=' . $encoder((string) $v);
                 }
@@ -91,7 +99,7 @@ public static function build(array $params, $encoding = \PHP_QUERY_RFC3986) : st
             } else {
                 foreach ($v as $vv) {
                     $qs .= $k;
-                    $vv = is_bool($vv) ? (int) $vv : $vv;
+                    $vv = is_bool($vv) ? $castBool($vv) : $vv;
                     if ($vv !== null) {
                         $qs .= '=' . $encoder((string) $vv);
                     }
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/Request.php b/vendor/prefixed/guzzlehttp/psr7/src/Request.php
index 42b5ee12f..b1e39d98b 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/Request.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/Request.php
@@ -22,7 +22,7 @@ class Request implements RequestInterface
     /**
      * @param string                               $method  HTTP method
      * @param string|UriInterface                  $uri     URI
-     * @param array       $headers Request headers
+     * @param (string|string[])[]                  $headers Request headers
      * @param string|resource|StreamInterface|null $body    Request body
      * @param string                               $version Protocol version
      */
@@ -109,7 +109,7 @@ private function updateHostFromUri() : void
             $this->headerNames['host'] = 'Host';
         }
         // Ensure Host is the first header.
-        // See: http://tools.ietf.org/html/rfc7230#section-5.4
+        // See: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4
         $this->headers = [$header => [$host]] + $this->headers;
     }
     /**
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/Response.php b/vendor/prefixed/guzzlehttp/psr7/src/Response.php
index 2943d54f0..ef0111194 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/Response.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/Response.php
@@ -19,12 +19,12 @@ class Response implements ResponseInterface
     private $statusCode;
     /**
      * @param int                                  $status  Status code
-     * @param array       $headers Response headers
+     * @param (string|string[])[]                  $headers Response headers
      * @param string|resource|StreamInterface|null $body    Response body
      * @param string                               $version Protocol version
      * @param string|null                          $reason  Reason phrase (when empty a default will be used based on the status code)
      */
-    public function __construct(int $status = 200, array $headers = [], $body = null, string $version = '1.1', string $reason = null)
+    public function __construct(int $status = 200, array $headers = [], $body = null, string $version = '1.1', ?string $reason = null)
     {
         $this->assertStatusCodeRange($status);
         $this->statusCode = $status;
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/ServerRequest.php b/vendor/prefixed/guzzlehttp/psr7/src/ServerRequest.php
index 13f734be4..bb4f22dbd 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/ServerRequest.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/ServerRequest.php
@@ -51,7 +51,7 @@ class ServerRequest extends Request implements ServerRequestInterface
     /**
      * @param string                               $method       HTTP method
      * @param string|UriInterface                  $uri          URI
-     * @param array       $headers      Request headers
+     * @param (string|string[])[]                  $headers      Request headers
      * @param string|resource|StreamInterface|null $body         Request body
      * @param string                               $version      Protocol version
      * @param array                                $serverParams Typically the $_SERVER superglobal
@@ -222,8 +222,6 @@ public function withQueryParams(array $query) : ServerRequestInterface
         return $new;
     }
     /**
-     * {@inheritdoc}
-     *
      * @return array|object|null
      */
     public function getParsedBody()
@@ -241,8 +239,6 @@ public function getAttributes() : array
         return $this->attributes;
     }
     /**
-     * {@inheritdoc}
-     *
      * @return mixed
      */
     public function getAttribute($attribute, $default = null)
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/Stream.php b/vendor/prefixed/guzzlehttp/psr7/src/Stream.php
index bde6de2a0..288f0d42c 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/Stream.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/Stream.php
@@ -10,8 +10,8 @@
 class Stream implements StreamInterface
 {
     /**
-     * @see http://php.net/manual/function.fopen.php
-     * @see http://php.net/manual/en/function.gzopen.php
+     * @see https://www.php.net/manual/en/function.fopen.php
+     * @see https://www.php.net/manual/en/function.gzopen.php
      */
     private const READABLE_MODES = '/r|a\\+|ab\\+|w\\+|wb\\+|x\\+|xb\\+|c\\+|cb\\+/';
     private const WRITABLE_MODES = '/a|w|r\\+|rb\\+|rw|x|c/';
@@ -218,8 +218,6 @@ public function write($string) : int
         return $result;
     }
     /**
-     * {@inheritdoc}
-     *
      * @return mixed
      */
     public function getMetadata($key = null)
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/StreamDecoratorTrait.php b/vendor/prefixed/guzzlehttp/psr7/src/StreamDecoratorTrait.php
index 9d79cfeb3..ef6d27494 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/StreamDecoratorTrait.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/StreamDecoratorTrait.php
@@ -60,7 +60,7 @@ public function __call(string $method, array $args)
     {
         /** @var callable $callable */
         $callable = [$this->stream, $method];
-        $result = call_user_func_array($callable, $args);
+        $result = $callable(...$args);
         // Always return the wrapped object if the result is a return $this
         return $result === $this->stream ? $this : $result;
     }
@@ -69,8 +69,6 @@ public function close() : void
         $this->stream->close();
     }
     /**
-     * {@inheritdoc}
-     *
      * @return mixed
      */
     public function getMetadata($key = null)
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/StreamWrapper.php b/vendor/prefixed/guzzlehttp/psr7/src/StreamWrapper.php
index 530ddf974..2e3e389b4 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/StreamWrapper.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/StreamWrapper.php
@@ -56,7 +56,7 @@ public static function register() : void
             stream_wrapper_register('guzzle', __CLASS__);
         }
     }
-    public function stream_open(string $path, string $mode, int $options, string &$opened_path = null) : bool
+    public function stream_open(string $path, string $mode, int $options, ?string &$opened_path = null) : bool
     {
         $options = stream_context_get_options($this->context);
         if (!isset($options['guzzle']['stream'])) {
@@ -97,15 +97,46 @@ public function stream_cast(int $cast_as)
         return $resource ?? \false;
     }
     /**
-     * @return array
+     * @return array{
+     *   dev: int,
+     *   ino: int,
+     *   mode: int,
+     *   nlink: int,
+     *   uid: int,
+     *   gid: int,
+     *   rdev: int,
+     *   size: int,
+     *   atime: int,
+     *   mtime: int,
+     *   ctime: int,
+     *   blksize: int,
+     *   blocks: int
+     * }|false
      */
-    public function stream_stat() : array
+    public function stream_stat()
     {
+        if ($this->stream->getSize() === null) {
+            return \false;
+        }
         static $modeMap = ['r' => 33060, 'rb' => 33060, 'r+' => 33206, 'w' => 33188, 'wb' => 33188];
         return ['dev' => 0, 'ino' => 0, 'mode' => $modeMap[$this->mode], 'nlink' => 0, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => $this->stream->getSize() ?: 0, 'atime' => 0, 'mtime' => 0, 'ctime' => 0, 'blksize' => 0, 'blocks' => 0];
     }
     /**
-     * @return array
+     * @return array{
+     *   dev: int,
+     *   ino: int,
+     *   mode: int,
+     *   nlink: int,
+     *   uid: int,
+     *   gid: int,
+     *   rdev: int,
+     *   size: int,
+     *   atime: int,
+     *   mtime: int,
+     *   ctime: int,
+     *   blksize: int,
+     *   blocks: int
+     * }
      */
     public function url_stat(string $path, int $flags) : array
     {
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/UploadedFile.php b/vendor/prefixed/guzzlehttp/psr7/src/UploadedFile.php
index 3b61ace27..02d011960 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/UploadedFile.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/UploadedFile.php
@@ -41,7 +41,7 @@ class UploadedFile implements UploadedFileInterface
     /**
      * @param StreamInterface|string|resource $streamOrFile
      */
-    public function __construct($streamOrFile, ?int $size, int $errorStatus, string $clientFilename = null, string $clientMediaType = null)
+    public function __construct($streamOrFile, ?int $size, int $errorStatus, ?string $clientFilename = null, ?string $clientMediaType = null)
     {
         $this->setError($errorStatus);
         $this->size = $size;
@@ -80,7 +80,7 @@ private function setError(int $error) : void
         }
         $this->error = $error;
     }
-    private function isStringNotEmpty($param) : bool
+    private static function isStringNotEmpty($param) : bool
     {
         return is_string($param) && \false === empty($param);
     }
@@ -120,7 +120,7 @@ public function getStream() : StreamInterface
     public function moveTo($targetPath) : void
     {
         $this->validateActive();
-        if (\false === $this->isStringNotEmpty($targetPath)) {
+        if (\false === self::isStringNotEmpty($targetPath)) {
             throw new InvalidArgumentException('Invalid path provided for move operation; must be a non-empty string');
         }
         if ($this->file) {
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/Uri.php b/vendor/prefixed/guzzlehttp/psr7/src/Uri.php
index 5a63f0d28..c4560a72d 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/Uri.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/Uri.php
@@ -25,13 +25,13 @@ class Uri implements UriInterface, \JsonSerializable
     /**
      * Unreserved characters for use in a regex.
      *
-     * @see https://tools.ietf.org/html/rfc3986#section-2.3
+     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-2.3
      */
     private const CHAR_UNRESERVED = 'a-zA-Z0-9_\\-\\.~';
     /**
      * Sub-delims for use in a regex.
      *
-     * @see https://tools.ietf.org/html/rfc3986#section-2.2
+     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-2.2
      */
     private const CHAR_SUB_DELIMS = '!\\$&\'\\(\\)\\*\\+,;=';
     private const QUERY_SEPARATORS_REPLACEMENT = ['=' => '%3D', '&' => '%26'];
@@ -118,7 +118,7 @@ public function __toString() : string
      * `file:///` is the more common syntax for the file scheme anyway (Chrome for example redirects to
      * that format).
      *
-     * @see https://tools.ietf.org/html/rfc3986#section-5.3
+     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.3
      */
     public static function composeComponents(?string $scheme, ?string $authority, string $path, ?string $query, ?string $fragment) : string
     {
@@ -165,7 +165,7 @@ public static function isDefaultPort(UriInterface $uri) : bool
      * @see Uri::isNetworkPathReference
      * @see Uri::isAbsolutePathReference
      * @see Uri::isRelativePathReference
-     * @see https://tools.ietf.org/html/rfc3986#section-4
+     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4
      */
     public static function isAbsolute(UriInterface $uri) : bool
     {
@@ -176,7 +176,7 @@ public static function isAbsolute(UriInterface $uri) : bool
      *
      * A relative reference that begins with two slash characters is termed an network-path reference.
      *
-     * @see https://tools.ietf.org/html/rfc3986#section-4.2
+     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2
      */
     public static function isNetworkPathReference(UriInterface $uri) : bool
     {
@@ -187,7 +187,7 @@ public static function isNetworkPathReference(UriInterface $uri) : bool
      *
      * A relative reference that begins with a single slash character is termed an absolute-path reference.
      *
-     * @see https://tools.ietf.org/html/rfc3986#section-4.2
+     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2
      */
     public static function isAbsolutePathReference(UriInterface $uri) : bool
     {
@@ -198,7 +198,7 @@ public static function isAbsolutePathReference(UriInterface $uri) : bool
      *
      * A relative reference that does not begin with a slash character is termed a relative-path reference.
      *
-     * @see https://tools.ietf.org/html/rfc3986#section-4.2
+     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2
      */
     public static function isRelativePathReference(UriInterface $uri) : bool
     {
@@ -214,9 +214,9 @@ public static function isRelativePathReference(UriInterface $uri) : bool
      * @param UriInterface      $uri  The URI to check
      * @param UriInterface|null $base An optional base URI to compare against
      *
-     * @see https://tools.ietf.org/html/rfc3986#section-4.4
+     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.4
      */
-    public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null) : bool
+    public static function isSameDocumentReference(UriInterface $uri, ?UriInterface $base = null) : bool
     {
         if ($base !== null) {
             $uri = UriResolver::resolve($base, $uri);
@@ -262,8 +262,8 @@ public static function withQueryValue(UriInterface $uri, string $key, ?string $v
      *
      * It has the same behavior as withQueryValue() but for an associative array of key => value.
      *
-     * @param UriInterface               $uri           URI to use as a base.
-     * @param array $keyValueArray Associative array of key and values
+     * @param UriInterface    $uri           URI to use as a base.
+     * @param (string|null)[] $keyValueArray Associative array of key and values
      */
     public static function withQueryValues(UriInterface $uri, array $keyValueArray) : UriInterface
     {
@@ -276,7 +276,7 @@ public static function withQueryValues(UriInterface $uri, array $keyValueArray)
     /**
      * Creates a URI from a hash of `parse_url` components.
      *
-     * @see http://php.net/manual/en/function.parse-url.php
+     * @see https://www.php.net/manual/en/function.parse-url.php
      *
      * @throws MalformedUriException If the components do not form a valid URI.
      */
@@ -489,7 +489,7 @@ private function filterPort($port) : ?int
         return $port;
     }
     /**
-     * @param string[] $keys
+     * @param (string|int)[] $keys
      *
      * @return string[]
      */
@@ -499,7 +499,9 @@ private static function getFilteredQueryString(UriInterface $uri, array $keys) :
         if ($current === '') {
             return [];
         }
-        $decodedKeys = array_map('rawurldecode', $keys);
+        $decodedKeys = array_map(function ($k) : string {
+            return rawurldecode((string) $k);
+        }, $keys);
         return array_filter(explode('&', $current), function ($part) use($decodedKeys) {
             return !in_array(rawurldecode(explode('=', $part)[0]), $decodedKeys, \true);
         });
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/UriNormalizer.php b/vendor/prefixed/guzzlehttp/psr7/src/UriNormalizer.php
index 2d8a1d1ce..48442f355 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/UriNormalizer.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/UriNormalizer.php
@@ -9,7 +9,7 @@
  *
  * @author Tobias Schultze
  *
- * @see https://tools.ietf.org/html/rfc3986#section-6
+ * @see https://datatracker.ietf.org/doc/html/rfc3986#section-6
  */
 final class UriNormalizer
 {
@@ -102,7 +102,7 @@ final class UriNormalizer
      * @param UriInterface $uri   The URI to normalize
      * @param int          $flags A bitmask of normalizations to apply, see constants
      *
-     * @see https://tools.ietf.org/html/rfc3986#section-6.2
+     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-6.2
      */
     public static function normalize(UriInterface $uri, int $flags = self::PRESERVING_NORMALIZATIONS) : UriInterface
     {
@@ -146,7 +146,7 @@ public static function normalize(UriInterface $uri, int $flags = self::PRESERVIN
      * @param UriInterface $uri2           An URI to compare
      * @param int          $normalizations A bitmask of normalizations to apply, see constants
      *
-     * @see https://tools.ietf.org/html/rfc3986#section-6.1
+     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-6.1
      */
     public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, int $normalizations = self::PRESERVING_NORMALIZATIONS) : bool
     {
@@ -155,7 +155,7 @@ public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, int
     private static function capitalizePercentEncoding(UriInterface $uri) : UriInterface
     {
         $regex = '/(?:%[A-Fa-f0-9]{2})++/';
-        $callback = function (array $match) {
+        $callback = function (array $match) : string {
             return strtoupper($match[0]);
         };
         return $uri->withPath(preg_replace_callback($regex, $callback, $uri->getPath()))->withQuery(preg_replace_callback($regex, $callback, $uri->getQuery()));
@@ -163,7 +163,7 @@ private static function capitalizePercentEncoding(UriInterface $uri) : UriInterf
     private static function decodeUnreservedCharacters(UriInterface $uri) : UriInterface
     {
         $regex = '/%(?:2D|2E|5F|7E|3[0-9]|[46][1-9A-F]|[57][0-9A])/i';
-        $callback = function (array $match) {
+        $callback = function (array $match) : string {
             return rawurldecode($match[0]);
         };
         return $uri->withPath(preg_replace_callback($regex, $callback, $uri->getPath()))->withQuery(preg_replace_callback($regex, $callback, $uri->getQuery()));
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/UriResolver.php b/vendor/prefixed/guzzlehttp/psr7/src/UriResolver.php
index 56cbb007e..ab557811d 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/UriResolver.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/UriResolver.php
@@ -9,14 +9,14 @@
  *
  * @author Tobias Schultze
  *
- * @see https://tools.ietf.org/html/rfc3986#section-5
+ * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5
  */
 final class UriResolver
 {
     /**
      * Removes dot segments from a path and returns the new path.
      *
-     * @see http://tools.ietf.org/html/rfc3986#section-5.2.4
+     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.2.4
      */
     public static function removeDotSegments(string $path) : string
     {
@@ -46,7 +46,7 @@ public static function removeDotSegments(string $path) : string
     /**
      * Converts the relative URI into a new URI that is resolved against the base URI.
      *
-     * @see http://tools.ietf.org/html/rfc3986#section-5.2
+     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.2
      */
     public static function resolve(UriInterface $base, UriInterface $rel) : UriInterface
     {
diff --git a/vendor/prefixed/guzzlehttp/psr7/src/Utils.php b/vendor/prefixed/guzzlehttp/psr7/src/Utils.php
index bc711cd12..139a967d8 100644
--- a/vendor/prefixed/guzzlehttp/psr7/src/Utils.php
+++ b/vendor/prefixed/guzzlehttp/psr7/src/Utils.php
@@ -12,16 +12,16 @@ final class Utils
     /**
      * Remove the items given by the keys, case insensitively from the data.
      *
-     * @param string[] $keys
+     * @param (string|int)[] $keys
      */
     public static function caselessRemove(array $keys, array $data) : array
     {
         $result = [];
         foreach ($keys as &$key) {
-            $key = strtolower($key);
+            $key = strtolower((string) $key);
         }
         foreach ($data as $k => $v) {
-            if (!is_string($k) || !in_array(strtolower($k), $keys)) {
+            if (!in_array(strtolower((string) $k), $keys)) {
                 $result[$k] = $v;
             }
         }
@@ -201,6 +201,17 @@ public static function readLine(StreamInterface $stream, ?int $maxLength = null)
         }
         return $buffer;
     }
+    /**
+     * Redact the password in the user info part of a URI.
+     */
+    public static function redactUserInfo(UriInterface $uri) : UriInterface
+    {
+        $userInfo = $uri->getUserInfo();
+        if (\false !== ($pos = \strpos($userInfo, ':'))) {
+            return $uri->withUserInfo(\substr($userInfo, 0, $pos), '***');
+        }
+        return $uri;
+    }
     /**
      * Create a new stream based on the input type.
      *
diff --git a/vendor/prefixed/phpseclib/bcmath_compat/src/BCMath.php b/vendor/prefixed/phpseclib/bcmath_compat/src/BCMath.php
index 33d5d80d3..4d5dc868b 100644
--- a/vendor/prefixed/phpseclib/bcmath_compat/src/BCMath.php
+++ b/vendor/prefixed/phpseclib/bcmath_compat/src/BCMath.php
@@ -66,11 +66,7 @@ private static function format($x, $scale, $pad)
         } elseif ($scale) {
             $temp[1] = str_repeat('0', $scale);
         }
-        $result = rtrim(implode('.', $temp), '.');
-        if ($sign == '-' && preg_match('#^0\\.?0*$#', $result)) {
-            $sign = '';
-        }
-        return $sign . $result;
+        return $sign . rtrim(implode('.', $temp), '.');
     }
     /**
      * Negativity Test
@@ -125,9 +121,8 @@ private static function mul($x, $y, $scale, $pad)
             return $r;
         }
         $z = $x->abs()->multiply($y->abs());
-        $result = self::format($z, $scale, 2 * $pad);
-        $sign = self::isNegative($x) ^ self::isNegative($y) && !preg_match('#^0\\.?0*$#', $result) ? '-' : '';
-        return $sign . $result;
+        $sign = self::isNegative($x) ^ self::isNegative($y) ? '-' : '';
+        return $sign . self::format($z, $scale, 2 * $pad);
     }
     /**
      * Divide two arbitrary precision numbers
@@ -435,6 +430,7 @@ public static function __callStatic($name, $arguments)
                 $numbers = [$arguments[0]];
         }
         $arguments = array_merge($numbers, $ints, [$scale, $pad]);
-        return call_user_func_array('self::' . $name, $arguments);
+        $result = call_user_func_array(self::class . "::{$name}", $arguments);
+        return preg_match('#^-0\\.?0*$#', $result) ? substr($result, 1) : $result;
     }
 }
diff --git a/vendor/prefixed/psr/cache/src/CacheException.php b/vendor/prefixed/psr/cache/src/CacheException.php
index f117b048c..364787705 100644
--- a/vendor/prefixed/psr/cache/src/CacheException.php
+++ b/vendor/prefixed/psr/cache/src/CacheException.php
@@ -5,6 +5,6 @@
 /**
  * Exception interface for all exceptions thrown by an Implementing Library.
  */
-interface CacheException
+interface CacheException extends \Throwable
 {
 }
diff --git a/vendor/prefixed/psr/cache/src/CacheItemInterface.php b/vendor/prefixed/psr/cache/src/CacheItemInterface.php
index cbe25e60c..f0e1bd22c 100644
--- a/vendor/prefixed/psr/cache/src/CacheItemInterface.php
+++ b/vendor/prefixed/psr/cache/src/CacheItemInterface.php
@@ -32,7 +32,7 @@ interface CacheItemInterface
      * @return string
      *   The key string for this cache item.
      */
-    public function getKey();
+    public function getKey() : string;
     /**
      * Retrieves the value of the item from the cache associated with this object's key.
      *
@@ -55,7 +55,7 @@ public function get();
      * @return bool
      *   True if the request resulted in a cache hit. False otherwise.
      */
-    public function isHit();
+    public function isHit() : bool;
     /**
      * Sets the value represented by this cache item.
      *
@@ -73,7 +73,7 @@ public function set($value);
     /**
      * Sets the expiration time for this cache item.
      *
-     * @param \DateTimeInterface|null $expiration
+     * @param ?\DateTimeInterface $expiration
      *   The point in time after which the item MUST be considered expired.
      *   If null is passed explicitly, a default value MAY be used. If none is set,
      *   the value should be stored permanently or for as long as the
@@ -82,7 +82,7 @@ public function set($value);
      * @return static
      *   The called object.
      */
-    public function expiresAt($expiration);
+    public function expiresAt(?\DateTimeInterface $expiration);
     /**
      * Sets the expiration time for this cache item.
      *
diff --git a/vendor/prefixed/psr/cache/src/CacheItemPoolInterface.php b/vendor/prefixed/psr/cache/src/CacheItemPoolInterface.php
index db167d7b5..314d44fa5 100644
--- a/vendor/prefixed/psr/cache/src/CacheItemPoolInterface.php
+++ b/vendor/prefixed/psr/cache/src/CacheItemPoolInterface.php
@@ -29,7 +29,7 @@ interface CacheItemPoolInterface
      * @return CacheItemInterface
      *   The corresponding Cache Item.
      */
-    public function getItem($key);
+    public function getItem(string $key) : CacheItemInterface;
     /**
      * Returns a traversable set of cache items.
      *
@@ -40,13 +40,13 @@ public function getItem($key);
      *   If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
      *   MUST be thrown.
      *
-     * @return array|\Traversable
-     *   A traversable collection of Cache Items keyed by the cache keys of
+     * @return iterable
+     *   An iterable collection of Cache Items keyed by the cache keys of
      *   each item. A Cache item will be returned for each key, even if that
      *   key is not found. However, if no keys are specified then an empty
      *   traversable MUST be returned instead.
      */
-    public function getItems(array $keys = array());
+    public function getItems(array $keys = []) : iterable;
     /**
      * Confirms if the cache contains specified cache item.
      *
@@ -64,14 +64,14 @@ public function getItems(array $keys = array());
      * @return bool
      *   True if item exists in the cache, false otherwise.
      */
-    public function hasItem($key);
+    public function hasItem(string $key) : bool;
     /**
      * Deletes all items in the pool.
      *
      * @return bool
      *   True if the pool was successfully cleared. False if there was an error.
      */
-    public function clear();
+    public function clear() : bool;
     /**
      * Removes the item from the pool.
      *
@@ -85,12 +85,13 @@ public function clear();
      * @return bool
      *   True if the item was successfully removed. False if there was an error.
      */
-    public function deleteItem($key);
+    public function deleteItem(string $key) : bool;
     /**
      * Removes multiple items from the pool.
      *
      * @param string[] $keys
      *   An array of keys that should be removed from the pool.
+     *
      * @throws InvalidArgumentException
      *   If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
      *   MUST be thrown.
@@ -98,7 +99,7 @@ public function deleteItem($key);
      * @return bool
      *   True if the items were successfully removed. False if there was an error.
      */
-    public function deleteItems(array $keys);
+    public function deleteItems(array $keys) : bool;
     /**
      * Persists a cache item immediately.
      *
@@ -108,7 +109,7 @@ public function deleteItems(array $keys);
      * @return bool
      *   True if the item was successfully persisted. False if there was an error.
      */
-    public function save(CacheItemInterface $item);
+    public function save(CacheItemInterface $item) : bool;
     /**
      * Sets a cache item to be persisted later.
      *
@@ -118,12 +119,12 @@ public function save(CacheItemInterface $item);
      * @return bool
      *   False if the item could not be queued or if a commit was attempted and failed. True otherwise.
      */
-    public function saveDeferred(CacheItemInterface $item);
+    public function saveDeferred(CacheItemInterface $item) : bool;
     /**
      * Persists any deferred cache items.
      *
      * @return bool
      *   True if all not-yet-saved items were successfully saved or there were none. False otherwise.
      */
-    public function commit();
+    public function commit() : bool;
 }
diff --git a/vendor/prefixed/ramsey/collection/LICENSE b/vendor/prefixed/ramsey/collection/LICENSE
new file mode 100644
index 000000000..a7fcf1201
--- /dev/null
+++ b/vendor/prefixed/ramsey/collection/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2015-2022 Ben Ramsey 
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/vendor/prefixed/ramsey/collection/conventional-commits.json b/vendor/prefixed/ramsey/collection/conventional-commits.json
new file mode 100644
index 000000000..5fe21d2fa
--- /dev/null
+++ b/vendor/prefixed/ramsey/collection/conventional-commits.json
@@ -0,0 +1,22 @@
+{
+    "typeCase": "kebab",
+    "types": [
+        "chore",
+        "ci",
+        "docs",
+        "feat",
+        "fix",
+        "refactor",
+        "security",
+        "style",
+        "test"
+    ],
+    "scopeCase": "kebab",
+    "scopeRequired": false,
+    "scopes": [],
+    "descriptionCase": null,
+    "descriptionEndMark": "",
+    "bodyRequired": false,
+    "bodyWrapWidth": 72,
+    "requiredFooters": []
+}
diff --git a/vendor/prefixed/ramsey/collection/src/AbstractArray.php b/vendor/prefixed/ramsey/collection/src/AbstractArray.php
new file mode 100644
index 000000000..13e1eb4e4
--- /dev/null
+++ b/vendor/prefixed/ramsey/collection/src/AbstractArray.php
@@ -0,0 +1,156 @@
+
+ * @license http://opensource.org/licenses/MIT MIT
+ */
+declare (strict_types=1);
+namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection;
+
+use ArrayIterator;
+use Traversable;
+use function count;
+/**
+ * This class provides a basic implementation of `ArrayInterface`, to minimize
+ * the effort required to implement this interface.
+ *
+ * @template T
+ * @implements ArrayInterface
+ */
+abstract class AbstractArray implements ArrayInterface
+{
+    /**
+     * The items of this array.
+     *
+     * @var array
+     */
+    protected $data = [];
+    /**
+     * Constructs a new array object.
+     *
+     * @param array $data The initial items to add to this array.
+     */
+    public function __construct(array $data = [])
+    {
+        // Invoke offsetSet() for each value added; in this way, sub-classes
+        // may provide additional logic about values added to the array object.
+        foreach ($data as $key => $value) {
+            $this[$key] = $value;
+        }
+    }
+    /**
+     * Returns an iterator for this array.
+     *
+     * @link http://php.net/manual/en/iteratoraggregate.getiterator.php IteratorAggregate::getIterator()
+     *
+     * @return Traversable
+     */
+    public function getIterator() : Traversable
+    {
+        return new ArrayIterator($this->data);
+    }
+    /**
+     * Returns `true` if the given offset exists in this array.
+     *
+     * @link http://php.net/manual/en/arrayaccess.offsetexists.php ArrayAccess::offsetExists()
+     *
+     * @param mixed $offset The offset to check.
+     */
+    public function offsetExists($offset) : bool
+    {
+        return isset($this->data[$offset]);
+    }
+    /**
+     * Returns the value at the specified offset.
+     *
+     * @link http://php.net/manual/en/arrayaccess.offsetget.php ArrayAccess::offsetGet()
+     *
+     * @param mixed $offset The offset for which a value should be returned.
+     *
+     * @return T the value stored at the offset, or null if the offset
+     *     does not exist.
+     */
+    #[\ReturnTypeWillChange]
+    public function offsetGet($offset)
+    {
+        return $this->data[$offset];
+    }
+    /**
+     * Sets the given value to the given offset in the array.
+     *
+     * @link http://php.net/manual/en/arrayaccess.offsetset.php ArrayAccess::offsetSet()
+     *
+     * @param mixed $offset The offset to set. If `null`, the value
+     *     may be set at a numerically-indexed offset.
+     * @param mixed $value The value to set at the given offset.
+     */
+    public function offsetSet($offset, $value) : void
+    {
+        if ($offset === null) {
+            $this->data[] = $value;
+        } else {
+            $this->data[$offset] = $value;
+        }
+    }
+    /**
+     * Removes the given offset and its value from the array.
+     *
+     * @link http://php.net/manual/en/arrayaccess.offsetunset.php ArrayAccess::offsetUnset()
+     *
+     * @param mixed $offset The offset to remove from the array.
+     */
+    public function offsetUnset($offset) : void
+    {
+        unset($this->data[$offset]);
+    }
+    /**
+     * Returns data suitable for PHP serialization.
+     *
+     * @link https://www.php.net/manual/en/language.oop5.magic.php#language.oop5.magic.serialize
+     * @link https://www.php.net/serialize
+     *
+     * @return array
+     */
+    public function __serialize() : array
+    {
+        return $this->data;
+    }
+    /**
+     * Adds unserialized data to the object.
+     *
+     * @param array $data
+     */
+    public function __unserialize(array $data) : void
+    {
+        $this->data = $data;
+    }
+    /**
+     * Returns the number of items in this array.
+     *
+     * @link http://php.net/manual/en/countable.count.php Countable::count()
+     */
+    public function count() : int
+    {
+        return count($this->data);
+    }
+    public function clear() : void
+    {
+        $this->data = [];
+    }
+    /**
+     * @inheritDoc
+     */
+    public function toArray() : array
+    {
+        return $this->data;
+    }
+    public function isEmpty() : bool
+    {
+        return $this->data === [];
+    }
+}
diff --git a/vendor/prefixed/ramsey/collection/src/AbstractCollection.php b/vendor/prefixed/ramsey/collection/src/AbstractCollection.php
new file mode 100644
index 000000000..80eb839d3
--- /dev/null
+++ b/vendor/prefixed/ramsey/collection/src/AbstractCollection.php
@@ -0,0 +1,343 @@
+
+ * @license http://opensource.org/licenses/MIT MIT
+ */
+declare (strict_types=1);
+namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection;
+
+use Closure;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\CollectionMismatchException;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\InvalidArgumentException;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\InvalidPropertyOrMethod;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\NoSuchElementException;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\UnsupportedOperationException;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Tool\TypeTrait;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Tool\ValueExtractorTrait;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Tool\ValueToStringTrait;
+use function array_filter;
+use function array_key_first;
+use function array_key_last;
+use function array_map;
+use function array_merge;
+use function array_reduce;
+use function array_search;
+use function array_udiff;
+use function array_uintersect;
+use function in_array;
+use function is_int;
+use function is_object;
+use function spl_object_id;
+use function sprintf;
+use function usort;
+/**
+ * This class provides a basic implementation of `CollectionInterface`, to
+ * minimize the effort required to implement this interface
+ *
+ * @template T
+ * @extends AbstractArray
+ * @implements CollectionInterface
+ */
+abstract class AbstractCollection extends AbstractArray implements CollectionInterface
+{
+    use TypeTrait;
+    use ValueToStringTrait;
+    use ValueExtractorTrait;
+    /**
+     * @throws InvalidArgumentException if $element is of the wrong type.
+     * @param mixed $element
+     */
+    public function add($element) : bool
+    {
+        $this[] = $element;
+        return \true;
+    }
+    /**
+     * @param mixed $element
+     */
+    public function contains($element, bool $strict = \true) : bool
+    {
+        return in_array($element, $this->data, $strict);
+    }
+    /**
+     * @throws InvalidArgumentException if $element is of the wrong type.
+     * @param mixed $offset
+     * @param mixed $value
+     */
+    public function offsetSet($offset, $value) : void
+    {
+        if ($this->checkType($this->getType(), $value) === \false) {
+            throw new InvalidArgumentException('Value must be of type ' . $this->getType() . '; value is ' . $this->toolValueToString($value));
+        }
+        if ($offset === null) {
+            $this->data[] = $value;
+        } else {
+            $this->data[$offset] = $value;
+        }
+    }
+    /**
+     * @param mixed $element
+     */
+    public function remove($element) : bool
+    {
+        if (($position = array_search($element, $this->data, \true)) !== \false) {
+            unset($this[$position]);
+            return \true;
+        }
+        return \false;
+    }
+    /**
+     * @throws InvalidPropertyOrMethod if the $propertyOrMethod does not exist
+     *     on the elements in this collection.
+     * @throws UnsupportedOperationException if unable to call column() on this
+     *     collection.
+     *
+     * @inheritDoc
+     */
+    public function column(string $propertyOrMethod) : array
+    {
+        $temp = [];
+        foreach ($this->data as $item) {
+            /** @psalm-suppress MixedAssignment */
+            $temp[] = $this->extractValue($item, $propertyOrMethod);
+        }
+        return $temp;
+    }
+    /**
+     * @return T
+     *
+     * @throws NoSuchElementException if this collection is empty.
+     */
+    public function first()
+    {
+        $firstIndex = array_key_first($this->data);
+        if ($firstIndex === null) {
+            throw new NoSuchElementException('Can\'t determine first item. Collection is empty');
+        }
+        return $this->data[$firstIndex];
+    }
+    /**
+     * @return T
+     *
+     * @throws NoSuchElementException if this collection is empty.
+     */
+    public function last()
+    {
+        $lastIndex = array_key_last($this->data);
+        if ($lastIndex === null) {
+            throw new NoSuchElementException('Can\'t determine last item. Collection is empty');
+        }
+        return $this->data[$lastIndex];
+    }
+    /**
+     * @return CollectionInterface
+     *
+     * @throws InvalidPropertyOrMethod if the $propertyOrMethod does not exist
+     *     on the elements in this collection.
+     * @throws UnsupportedOperationException if unable to call sort() on this
+     *     collection.
+     */
+    public function sort(?string $propertyOrMethod = null, Sort $order = Sort::Ascending) : CollectionInterface
+    {
+        $collection = clone $this;
+        usort(
+            $collection->data,
+            /**
+             * @param T $a
+             * @param T $b
+             */
+            function ($a, $b) use($propertyOrMethod, $order) : int {
+                /** @var mixed $aValue */
+                $aValue = $this->extractValue($a, $propertyOrMethod);
+                /** @var mixed $bValue */
+                $bValue = $this->extractValue($b, $propertyOrMethod);
+                return ($aValue <=> $bValue) * ($order === Sort::Descending ? -1 : 1);
+            }
+        );
+        return $collection;
+    }
+    /**
+     * @param callable(T): bool $callback A callable to use for filtering elements.
+     *
+     * @return CollectionInterface
+     */
+    public function filter(callable $callback) : CollectionInterface
+    {
+        $collection = clone $this;
+        $collection->data = array_merge([], array_filter($collection->data, $callback === null ? function ($value, $key) : bool {
+            return !empty($value);
+        } : $callback, $callback === null ? ARRAY_FILTER_USE_BOTH : 0));
+        return $collection;
+    }
+    /**
+     * @return CollectionInterface
+     *
+     * @throws InvalidPropertyOrMethod if the $propertyOrMethod does not exist
+     *     on the elements in this collection.
+     * @throws UnsupportedOperationException if unable to call where() on this
+     *     collection.
+     * @param mixed $value
+     */
+    public function where(?string $propertyOrMethod, $value) : CollectionInterface
+    {
+        return $this->filter(
+            /**
+             * @param T $item
+             */
+            function ($item) use($propertyOrMethod, $value) : bool {
+                /** @var mixed $accessorValue */
+                $accessorValue = $this->extractValue($item, $propertyOrMethod);
+                return $accessorValue === $value;
+            }
+        );
+    }
+    /**
+     * @param callable(T): TCallbackReturn $callback A callable to apply to each
+     *     item of the collection.
+     *
+     * @return CollectionInterface
+     *
+     * @template TCallbackReturn
+     */
+    public function map(callable $callback) : CollectionInterface
+    {
+        /** @var Collection */
+        return new Collection('mixed', array_map($callback, $this->data));
+    }
+    /**
+     * @param callable(TCarry, T): TCarry $callback A callable to apply to each
+     *     item of the collection to reduce it to a single value.
+     * @param mixed $initial This is the initial value provided to the callback.
+     *
+     * @return TCarry
+     *
+     * @template TCarry
+     */
+    public function reduce(callable $callback, $initial)
+    {
+        /** @var TCarry */
+        return array_reduce($this->data, $callback, $initial);
+    }
+    /**
+     * @param CollectionInterface $other The collection to check for divergent
+     *     items.
+     *
+     * @return CollectionInterface
+     *
+     * @throws CollectionMismatchException if the compared collections are of
+     *     differing types.
+     */
+    public function diff(CollectionInterface $other) : CollectionInterface
+    {
+        $this->compareCollectionTypes($other);
+        $diffAtoB = array_udiff($this->data, $other->toArray(), $this->getComparator());
+        $diffBtoA = array_udiff($other->toArray(), $this->data, $this->getComparator());
+        /** @var array $diff */
+        $diff = array_merge($diffAtoB, $diffBtoA);
+        $collection = clone $this;
+        $collection->data = $diff;
+        return $collection;
+    }
+    /**
+     * @param CollectionInterface $other The collection to check for
+     *     intersecting items.
+     *
+     * @return CollectionInterface
+     *
+     * @throws CollectionMismatchException if the compared collections are of
+     *     differing types.
+     */
+    public function intersect(CollectionInterface $other) : CollectionInterface
+    {
+        $this->compareCollectionTypes($other);
+        /** @var array $intersect */
+        $intersect = array_uintersect($this->data, $other->toArray(), $this->getComparator());
+        $collection = clone $this;
+        $collection->data = $intersect;
+        return $collection;
+    }
+    /**
+     * @param CollectionInterface ...$collections The collections to merge.
+     *
+     * @return CollectionInterface
+     *
+     * @throws CollectionMismatchException if unable to merge any of the given
+     *     collections or items within the given collections due to type
+     *     mismatch errors.
+     */
+    public function merge(CollectionInterface ...$collections) : CollectionInterface
+    {
+        $mergedCollection = clone $this;
+        foreach ($collections as $index => $collection) {
+            if (!$collection instanceof static) {
+                throw new CollectionMismatchException(sprintf('Collection with index %d must be of type %s', $index, static::class));
+            }
+            // When using generics (Collection.php, Set.php, etc),
+            // we also need to make sure that the internal types match each other
+            if ($this->getUniformType($collection) !== $this->getUniformType($this)) {
+                throw new CollectionMismatchException(sprintf('Collection items in collection with index %d must be of type %s', $index, $this->getType()));
+            }
+            foreach ($collection as $key => $value) {
+                if (is_int($key)) {
+                    $mergedCollection[] = $value;
+                } else {
+                    $mergedCollection[$key] = $value;
+                }
+            }
+        }
+        return $mergedCollection;
+    }
+    /**
+     * @param CollectionInterface $other
+     *
+     * @throws CollectionMismatchException
+     */
+    private function compareCollectionTypes(CollectionInterface $other) : void
+    {
+        if (!$other instanceof static) {
+            throw new CollectionMismatchException('Collection must be of type ' . static::class);
+        }
+        // When using generics (Collection.php, Set.php, etc),
+        // we also need to make sure that the internal types match each other
+        if ($this->getUniformType($other) !== $this->getUniformType($this)) {
+            throw new CollectionMismatchException('Collection items must be of type ' . $this->getType());
+        }
+    }
+    private function getComparator() : Closure
+    {
+        return function ($a, $b) : int {
+            // If the two values are object, we convert them to unique scalars.
+            // If the collection contains mixed values (unlikely) where some are objects
+            // and some are not, we leave them as they are.
+            // The comparator should still work and the result of $a < $b should
+            // be consistent but unpredictable since not documented.
+            if (is_object($a) && is_object($b)) {
+                $a = spl_object_id($a);
+                $b = spl_object_id($b);
+            }
+            return $a === $b ? 0 : ($a < $b ? 1 : -1);
+        };
+    }
+    /**
+     * @param CollectionInterface $collection
+     */
+    private function getUniformType(CollectionInterface $collection) : string
+    {
+        switch ($collection->getType()) {
+            case 'integer':
+                return 'int';
+            case 'boolean':
+                return 'bool';
+            case 'double':
+                return 'float';
+            default:
+                return $collection->getType();
+        }
+    }
+}
diff --git a/vendor/prefixed/ramsey/collection/src/AbstractSet.php b/vendor/prefixed/ramsey/collection/src/AbstractSet.php
new file mode 100644
index 000000000..d20718975
--- /dev/null
+++ b/vendor/prefixed/ramsey/collection/src/AbstractSet.php
@@ -0,0 +1,46 @@
+
+ * @license http://opensource.org/licenses/MIT MIT
+ */
+declare (strict_types=1);
+namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection;
+
+/**
+ * This class contains the basic implementation of a collection that does not
+ * allow duplicated values (a set), to minimize the effort required to implement
+ * this specific type of collection.
+ *
+ * @template T
+ * @extends AbstractCollection
+ */
+abstract class AbstractSet extends AbstractCollection
+{
+    /**
+     * @param mixed $element
+     */
+    public function add($element) : bool
+    {
+        if ($this->contains($element)) {
+            return \false;
+        }
+        return parent::add($element);
+    }
+    /**
+     * @param mixed $offset
+     * @param mixed $value
+     */
+    public function offsetSet($offset, $value) : void
+    {
+        if ($this->contains($value)) {
+            return;
+        }
+        parent::offsetSet($offset, $value);
+    }
+}
diff --git a/vendor/prefixed/ramsey/collection/src/ArrayInterface.php b/vendor/prefixed/ramsey/collection/src/ArrayInterface.php
new file mode 100644
index 000000000..881f11dd2
--- /dev/null
+++ b/vendor/prefixed/ramsey/collection/src/ArrayInterface.php
@@ -0,0 +1,41 @@
+
+ * @license http://opensource.org/licenses/MIT MIT
+ */
+declare (strict_types=1);
+namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection;
+
+use ArrayAccess;
+use Countable;
+use IteratorAggregate;
+/**
+ * `ArrayInterface` provides traversable array functionality to data types.
+ *
+ * @template T
+ * @extends ArrayAccess
+ * @extends IteratorAggregate
+ */
+interface ArrayInterface extends ArrayAccess, Countable, IteratorAggregate
+{
+    /**
+     * Removes all items from this array.
+     */
+    public function clear() : void;
+    /**
+     * Returns a native PHP array representation of this array object.
+     *
+     * @return array
+     */
+    public function toArray() : array;
+    /**
+     * Returns `true` if this array is empty.
+     */
+    public function isEmpty() : bool;
+}
diff --git a/vendor/prefixed/ramsey/collection/src/Collection.php b/vendor/prefixed/ramsey/collection/src/Collection.php
new file mode 100644
index 000000000..2efa76bf9
--- /dev/null
+++ b/vendor/prefixed/ramsey/collection/src/Collection.php
@@ -0,0 +1,98 @@
+
+ * @license http://opensource.org/licenses/MIT MIT
+ */
+declare (strict_types=1);
+namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection;
+
+/**
+ * A collection represents a group of objects.
+ *
+ * Each object in the collection is of a specific, defined type.
+ *
+ * This is a direct implementation of `CollectionInterface`, provided for
+ * the sake of convenience.
+ *
+ * Example usage:
+ *
+ * ``` php
+ * $collection = new \Ramsey\Collection\Collection('My\\Foo');
+ * $collection->add(new \My\Foo());
+ * $collection->add(new \My\Foo());
+ *
+ * foreach ($collection as $foo) {
+ *     // Do something with $foo
+ * }
+ * ```
+ *
+ * It is preferable to subclass `AbstractCollection` to create your own typed
+ * collections. For example:
+ *
+ * ``` php
+ * namespace My\Foo;
+ *
+ * class FooCollection extends \Ramsey\Collection\AbstractCollection
+ * {
+ *     public function getType()
+ *     {
+ *         return 'My\\Foo';
+ *     }
+ * }
+ * ```
+ *
+ * And then use it similarly to the earlier example:
+ *
+ * ``` php
+ * $fooCollection = new \My\Foo\FooCollection();
+ * $fooCollection->add(new \My\Foo());
+ * $fooCollection->add(new \My\Foo());
+ *
+ * foreach ($fooCollection as $foo) {
+ *     // Do something with $foo
+ * }
+ * ```
+ *
+ * The benefit with this approach is that you may do type-checking on the
+ * collection object:
+ *
+ * ``` php
+ * if ($collection instanceof \My\Foo\FooCollection) {
+ *     // the collection is a collection of My\Foo objects
+ * }
+ * ```
+ *
+ * @template T
+ * @extends AbstractCollection
+ */
+class Collection extends AbstractCollection
+{
+    /**
+     * @var string
+     * @readonly
+     */
+    private $collectionType;
+    /**
+     * Constructs a collection object of the specified type, optionally with the
+     * specified data.
+     *
+     * @param string $collectionType The type or class name associated with this
+     *     collection.
+     * @param array $data The initial items to store in the collection.
+     */
+    public function __construct(string $collectionType, array $data = [])
+    {
+        $this->collectionType = $collectionType;
+        parent::__construct($data);
+    }
+    public function getType() : string
+    {
+        return $this->collectionType;
+    }
+}
diff --git a/vendor/prefixed/ramsey/collection/src/CollectionInterface.php b/vendor/prefixed/ramsey/collection/src/CollectionInterface.php
new file mode 100644
index 000000000..b7b431cfe
--- /dev/null
+++ b/vendor/prefixed/ramsey/collection/src/CollectionInterface.php
@@ -0,0 +1,236 @@
+
+ * @license http://opensource.org/licenses/MIT MIT
+ */
+declare (strict_types=1);
+namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection;
+
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\CollectionMismatchException;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\InvalidArgumentException;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\InvalidPropertyOrMethod;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\NoSuchElementException;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\UnsupportedOperationException;
+/**
+ * A collection represents a group of values, known as its elements.
+ *
+ * Some collections allow duplicate elements and others do not. Some are ordered
+ * and others unordered.
+ *
+ * @template T
+ * @extends ArrayInterface
+ */
+interface CollectionInterface extends ArrayInterface
+{
+    /**
+     * Ensures that this collection contains the specified element (optional
+     * operation).
+     *
+     * Returns `true` if this collection changed as a result of the call.
+     * (Returns `false` if this collection does not permit duplicates and
+     * already contains the specified element.)
+     *
+     * Collections that support this operation may place limitations on what
+     * elements may be added to this collection. In particular, some
+     * collections will refuse to add `null` elements, and others will impose
+     * restrictions on the type of elements that may be added. Collection
+     * classes should clearly specify in their documentation any restrictions
+     * on what elements may be added.
+     *
+     * If a collection refuses to add a particular element for any reason other
+     * than that it already contains the element, it must throw an exception
+     * (rather than returning `false`). This preserves the invariant that a
+     * collection always contains the specified element after this call returns.
+     *
+     * @param mixed $element The element to add to the collection.
+     *
+     * @return bool `true` if this collection changed as a result of the call.
+     *
+     * @throws InvalidArgumentException if the collection refuses to add the
+     *     $element for any reason other than that it already contains the element.
+     */
+    public function add($element) : bool;
+    /**
+     * Returns `true` if this collection contains the specified element.
+     *
+     * @param mixed $element The element to check whether the collection contains.
+     * @param bool $strict Whether to perform a strict type check on the value.
+     */
+    public function contains($element, bool $strict = \true) : bool;
+    /**
+     * Returns the type associated with this collection.
+     */
+    public function getType() : string;
+    /**
+     * Removes a single instance of the specified element from this collection,
+     * if it is present.
+     *
+     * @param mixed $element The element to remove from the collection.
+     *
+     * @return bool `true` if an element was removed as a result of this call.
+     */
+    public function remove($element) : bool;
+    /**
+     * Returns the values from the given property, method, or array key.
+     *
+     * @param string $propertyOrMethod The name of the property, method, or
+     *     array key to evaluate and return.
+     *
+     * @return array
+     *
+     * @throws InvalidPropertyOrMethod if the $propertyOrMethod does not exist
+     *     on the elements in this collection.
+     * @throws UnsupportedOperationException if unable to call column() on this
+     *     collection.
+     */
+    public function column(string $propertyOrMethod) : array;
+    /**
+     * Returns the first item of the collection.
+     *
+     * @return T
+     *
+     * @throws NoSuchElementException if this collection is empty.
+     */
+    public function first();
+    /**
+     * Returns the last item of the collection.
+     *
+     * @return T
+     *
+     * @throws NoSuchElementException if this collection is empty.
+     */
+    public function last();
+    /**
+     * Sort the collection by a property, method, or array key with the given
+     * sort order.
+     *
+     * If $propertyOrMethod is `null`, this will sort by comparing each element.
+     *
+     * This will always leave the original collection untouched and will return
+     * a new one.
+     *
+     * @param string | null $propertyOrMethod The property, method, or array key
+     *     to sort by.
+     * @param Sort $order The sort order for the resulting collection.
+     *
+     * @return CollectionInterface
+     *
+     * @throws InvalidPropertyOrMethod if the $propertyOrMethod does not exist
+     *     on the elements in this collection.
+     * @throws UnsupportedOperationException if unable to call sort() on this
+     *     collection.
+     */
+    public function sort(?string $propertyOrMethod = null, Sort $order = Sort::Ascending) : self;
+    /**
+     * Filter out items of the collection which don't match the criteria of
+     * given callback.
+     *
+     * This will always leave the original collection untouched and will return
+     * a new one.
+     *
+     * See the {@link http://php.net/manual/en/function.array-filter.php PHP array_filter() documentation}
+     * for examples of how the `$callback` parameter works.
+     *
+     * @param callable(T): bool $callback A callable to use for filtering elements.
+     *
+     * @return CollectionInterface
+     */
+    public function filter(callable $callback) : self;
+    /**
+     * Create a new collection where the result of the given property, method,
+     * or array key of each item in the collection equals the given value.
+     *
+     * This will always leave the original collection untouched and will return
+     * a new one.
+     *
+     * @param string | null $propertyOrMethod The property, method, or array key
+     *     to evaluate. If `null`, the element itself is compared to $value.
+     * @param mixed $value The value to match.
+     *
+     * @return CollectionInterface
+     *
+     * @throws InvalidPropertyOrMethod if the $propertyOrMethod does not exist
+     *     on the elements in this collection.
+     * @throws UnsupportedOperationException if unable to call where() on this
+     *     collection.
+     */
+    public function where(?string $propertyOrMethod, $value) : self;
+    /**
+     * Apply a given callback method on each item of the collection.
+     *
+     * This will always leave the original collection untouched. The new
+     * collection is created by mapping the callback to each item of the
+     * original collection.
+     *
+     * See the {@link http://php.net/manual/en/function.array-map.php PHP array_map() documentation}
+     * for examples of how the `$callback` parameter works.
+     *
+     * @param callable(T): TCallbackReturn $callback A callable to apply to each
+     *     item of the collection.
+     *
+     * @return CollectionInterface
+     *
+     * @template TCallbackReturn
+     */
+    public function map(callable $callback) : self;
+    /**
+     * Apply a given callback method on each item of the collection
+     * to reduce it to a single value.
+     *
+     * See the {@link http://php.net/manual/en/function.array-reduce.php PHP array_reduce() documentation}
+     * for examples of how the `$callback` and `$initial` parameters work.
+     *
+     * @param callable(TCarry, T): TCarry $callback A callable to apply to each
+     *     item of the collection to reduce it to a single value.
+     * @param mixed $initial This is the initial value provided to the callback.
+     *
+     * @return TCarry
+     *
+     * @template TCarry
+     */
+    public function reduce(callable $callback, $initial);
+    /**
+     * Create a new collection with divergent items between current and given
+     * collection.
+     *
+     * @param CollectionInterface $other The collection to check for divergent
+     *     items.
+     *
+     * @return CollectionInterface
+     *
+     * @throws CollectionMismatchException if the compared collections are of
+     *     differing types.
+     */
+    public function diff(CollectionInterface $other) : self;
+    /**
+     * Create a new collection with intersecting item between current and given
+     * collection.
+     *
+     * @param CollectionInterface $other The collection to check for
+     *     intersecting items.
+     *
+     * @return CollectionInterface
+     *
+     * @throws CollectionMismatchException if the compared collections are of
+     *     differing types.
+     */
+    public function intersect(CollectionInterface $other) : self;
+    /**
+     * Merge current items and items of given collections into a new one.
+     *
+     * @param CollectionInterface ...$collections The collections to merge.
+     *
+     * @return CollectionInterface
+     *
+     * @throws CollectionMismatchException if unable to merge any of the given
+     *     collections or items within the given collections due to type
+     *     mismatch errors.
+     */
+    public function merge(CollectionInterface ...$collections) : self;
+}
diff --git a/vendor/prefixed/ramsey/collection/src/DoubleEndedQueue.php b/vendor/prefixed/ramsey/collection/src/DoubleEndedQueue.php
new file mode 100644
index 000000000..58cf420dc
--- /dev/null
+++ b/vendor/prefixed/ramsey/collection/src/DoubleEndedQueue.php
@@ -0,0 +1,159 @@
+
+ * @license http://opensource.org/licenses/MIT MIT
+ */
+declare (strict_types=1);
+namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection;
+
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\InvalidArgumentException;
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\NoSuchElementException;
+use function array_key_last;
+use function array_pop;
+use function array_unshift;
+/**
+ * This class provides a basic implementation of `DoubleEndedQueueInterface`, to
+ * minimize the effort required to implement this interface.
+ *
+ * @template T
+ * @extends Queue
+ * @implements DoubleEndedQueueInterface
+ */
+class DoubleEndedQueue extends Queue implements DoubleEndedQueueInterface
+{
+    /**
+     * @var string
+     * @readonly
+     */
+    private $queueType;
+    /**
+     * Constructs a double-ended queue (dequeue) object of the specified type,
+     * optionally with the specified data.
+     *
+     * @param string $queueType The type or class name associated with this dequeue.
+     * @param array $data The initial items to store in the dequeue.
+     */
+    public function __construct(string $queueType, array $data = [])
+    {
+        $this->queueType = $queueType;
+        parent::__construct($this->queueType, $data);
+    }
+    /**
+     * @throws InvalidArgumentException if $element is of the wrong type
+     * @param mixed $element
+     */
+    public function addFirst($element) : bool
+    {
+        if ($this->checkType($this->getType(), $element) === \false) {
+            throw new InvalidArgumentException('Value must be of type ' . $this->getType() . '; value is ' . $this->toolValueToString($element));
+        }
+        array_unshift($this->data, $element);
+        return \true;
+    }
+    /**
+     * @throws InvalidArgumentException if $element is of the wrong type
+     * @param mixed $element
+     */
+    public function addLast($element) : bool
+    {
+        return $this->add($element);
+    }
+    /**
+     * @param mixed $element
+     */
+    public function offerFirst($element) : bool
+    {
+        try {
+            return $this->addFirst($element);
+        } catch (InvalidArgumentException $exception) {
+            return \false;
+        }
+    }
+    /**
+     * @param mixed $element
+     */
+    public function offerLast($element) : bool
+    {
+        return $this->offer($element);
+    }
+    /**
+     * @return T the first element in this queue.
+     *
+     * @throws NoSuchElementException if the queue is empty
+     */
+    public function removeFirst()
+    {
+        return $this->remove();
+    }
+    /**
+     * @return T the last element in this queue.
+     *
+     * @throws NoSuchElementException if this queue is empty.
+     */
+    public function removeLast()
+    {
+        if ($this->pollLast() !== null) {
+            throw new NoSuchElementException('Can\'t return element from Queue. Queue is empty.');
+        }
+        return $this->pollLast();
+    }
+    /**
+     * @return T | null the head of this queue, or `null` if this queue is empty.
+     */
+    public function pollFirst()
+    {
+        return $this->poll();
+    }
+    /**
+     * @return T | null the tail of this queue, or `null` if this queue is empty.
+     */
+    public function pollLast()
+    {
+        return array_pop($this->data);
+    }
+    /**
+     * @return T the head of this queue.
+     *
+     * @throws NoSuchElementException if this queue is empty.
+     */
+    public function firstElement()
+    {
+        return $this->element();
+    }
+    /**
+     * @return T the tail of this queue.
+     *
+     * @throws NoSuchElementException if this queue is empty.
+     */
+    public function lastElement()
+    {
+        if ($this->peekLast() !== null) {
+            throw new NoSuchElementException('Can\'t return element from Queue. Queue is empty.');
+        }
+        return $this->peekLast();
+    }
+    /**
+     * @return T | null the head of this queue, or `null` if this queue is empty.
+     */
+    public function peekFirst()
+    {
+        return $this->peek();
+    }
+    /**
+     * @return T | null the tail of this queue, or `null` if this queue is empty.
+     */
+    public function peekLast()
+    {
+        $lastIndex = array_key_last($this->data);
+        if ($lastIndex === null) {
+            return null;
+        }
+        return $this->data[$lastIndex];
+    }
+}
diff --git a/vendor/prefixed/ramsey/collection/src/DoubleEndedQueueInterface.php b/vendor/prefixed/ramsey/collection/src/DoubleEndedQueueInterface.php
new file mode 100644
index 000000000..087e6fd57
--- /dev/null
+++ b/vendor/prefixed/ramsey/collection/src/DoubleEndedQueueInterface.php
@@ -0,0 +1,299 @@
+
+ * @license http://opensource.org/licenses/MIT MIT
+ */
+declare (strict_types=1);
+namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection;
+
+use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\NoSuchElementException;
+use RuntimeException;
+/**
+ * A linear collection that supports element insertion and removal at both ends.
+ *
+ * Most `DoubleEndedQueueInterface` implementations place no fixed limits on the
+ * number of elements they may contain, but this interface supports
+ * capacity-restricted double-ended queues as well as those with no fixed size
+ * limit.
+ *
+ * This interface defines methods to access the elements at both ends of the
+ * double-ended queue. Methods are provided to insert, remove, and examine the
+ * element. Each of these methods exists in two forms: one throws an exception
+ * if the operation fails, the other returns a special value (either `null` or
+ * `false`, depending on the operation). The latter form of the insert operation
+ * is designed specifically for use with capacity-restricted implementations; in
+ * most implementations, insert operations cannot fail.
+ *
+ * The twelve methods described above are summarized in the following table:
+ *
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
+ * 
Summary of DoubleEndedQueueInterface methods
First Element (Head)Last Element (Tail)
Throws exceptionSpecial valueThrows exceptionSpecial value
InsertaddFirst()offerFirst()addLast()offerLast()
RemoveremoveFirst()pollFirst()removeLast()pollLast()
ExaminefirstElement()peekFirst()lastElement()peekLast()
+ * + * This interface extends the `QueueInterface`. When a double-ended queue is + * used as a queue, FIFO (first-in-first-out) behavior results. Elements are + * added at the end of the double-ended queue and removed from the beginning. + * The methods inherited from the `QueueInterface` are precisely equivalent to + * `DoubleEndedQueueInterface` methods as indicated in the following table: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Comparison of QueueInterface and DoubleEndedQueueInterface methods
QueueInterface MethodDoubleEndedQueueInterface Method
add()addLast()
offer()offerLast()
remove()removeFirst()
poll()pollFirst()
element()firstElement()
peek()peekFirst()
+ * + * Double-ended queues can also be used as LIFO (last-in-first-out) stacks. When + * a double-ended queue is used as a stack, elements are pushed and popped from + * the beginning of the double-ended queue. Stack concepts are precisely + * equivalent to `DoubleEndedQueueInterface` methods as indicated in the table + * below: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Comparison of stack concepts and DoubleEndedQueueInterface methods
Stack conceptDoubleEndedQueueInterface Method
pushaddFirst()
popremoveFirst()
peekpeekFirst()
+ * + * Note that the `peek()` method works equally well when a double-ended queue is + * used as a queue or a stack; in either case, elements are drawn from the + * beginning of the double-ended queue. + * + * While `DoubleEndedQueueInterface` implementations are not strictly required + * to prohibit the insertion of `null` elements, they are strongly encouraged to + * do so. Users of any `DoubleEndedQueueInterface` implementations that do allow + * `null` elements are strongly encouraged *not* to take advantage of the + * ability to insert nulls. This is so because `null` is used as a special + * return value by various methods to indicated that the double-ended queue is + * empty. + * + * @template T + * @extends QueueInterface + */ +interface DoubleEndedQueueInterface extends QueueInterface +{ + /** + * Inserts the specified element at the front of this queue if it is + * possible to do so immediately without violating capacity restrictions. + * + * When using a capacity-restricted double-ended queue, it is generally + * preferable to use the `offerFirst()` method. + * + * @param mixed $element The element to add to the front of this queue. + * + * @return bool `true` if this queue changed as a result of the call. + * + * @throws RuntimeException if a queue refuses to add a particular element + * for any reason other than that it already contains the element. + * Implementations should use a more-specific exception that extends + * `\RuntimeException`. + */ + public function addFirst($element) : bool; + /** + * Inserts the specified element at the end of this queue if it is possible + * to do so immediately without violating capacity restrictions. + * + * When using a capacity-restricted double-ended queue, it is generally + * preferable to use the `offerLast()` method. + * + * This method is equivalent to `add()`. + * + * @param mixed $element The element to add to the end of this queue. + * + * @return bool `true` if this queue changed as a result of the call. + * + * @throws RuntimeException if a queue refuses to add a particular element + * for any reason other than that it already contains the element. + * Implementations should use a more-specific exception that extends + * `\RuntimeException`. + */ + public function addLast($element) : bool; + /** + * Inserts the specified element at the front of this queue if it is + * possible to do so immediately without violating capacity restrictions. + * + * When using a capacity-restricted queue, this method is generally + * preferable to `addFirst()`, which can fail to insert an element only by + * throwing an exception. + * + * @param mixed $element The element to add to the front of this queue. + * + * @return bool `true` if the element was added to this queue, else `false`. + */ + public function offerFirst($element) : bool; + /** + * Inserts the specified element at the end of this queue if it is possible + * to do so immediately without violating capacity restrictions. + * + * When using a capacity-restricted queue, this method is generally + * preferable to `addLast()` which can fail to insert an element only by + * throwing an exception. + * + * @param mixed $element The element to add to the end of this queue. + * + * @return bool `true` if the element was added to this queue, else `false`. + */ + public function offerLast($element) : bool; + /** + * Retrieves and removes the head of this queue. + * + * This method differs from `pollFirst()` only in that it throws an + * exception if this queue is empty. + * + * @return T the first element in this queue. + * + * @throws NoSuchElementException if this queue is empty. + */ + public function removeFirst(); + /** + * Retrieves and removes the tail of this queue. + * + * This method differs from `pollLast()` only in that it throws an exception + * if this queue is empty. + * + * @return T the last element in this queue. + * + * @throws NoSuchElementException if this queue is empty. + */ + public function removeLast(); + /** + * Retrieves and removes the head of this queue, or returns `null` if this + * queue is empty. + * + * @return T | null the head of this queue, or `null` if this queue is empty. + */ + public function pollFirst(); + /** + * Retrieves and removes the tail of this queue, or returns `null` if this + * queue is empty. + * + * @return T | null the tail of this queue, or `null` if this queue is empty. + */ + public function pollLast(); + /** + * Retrieves, but does not remove, the head of this queue. + * + * This method differs from `peekFirst()` only in that it throws an + * exception if this queue is empty. + * + * @return T the head of this queue. + * + * @throws NoSuchElementException if this queue is empty. + */ + public function firstElement(); + /** + * Retrieves, but does not remove, the tail of this queue. + * + * This method differs from `peekLast()` only in that it throws an exception + * if this queue is empty. + * + * @return T the tail of this queue. + * + * @throws NoSuchElementException if this queue is empty. + */ + public function lastElement(); + /** + * Retrieves, but does not remove, the head of this queue, or returns `null` + * if this queue is empty. + * + * @return T | null the head of this queue, or `null` if this queue is empty. + */ + public function peekFirst(); + /** + * Retrieves, but does not remove, the tail of this queue, or returns `null` + * if this queue is empty. + * + * @return T | null the tail of this queue, or `null` if this queue is empty. + */ + public function peekLast(); +} diff --git a/vendor/prefixed/ramsey/collection/src/Exception/CollectionException.php b/vendor/prefixed/ramsey/collection/src/Exception/CollectionException.php new file mode 100644 index 000000000..7e4361d00 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Exception/CollectionException.php @@ -0,0 +1,18 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception; + +use Throwable; +interface CollectionException extends Throwable +{ +} diff --git a/vendor/prefixed/ramsey/collection/src/Exception/CollectionMismatchException.php b/vendor/prefixed/ramsey/collection/src/Exception/CollectionMismatchException.php new file mode 100644 index 000000000..875236557 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Exception/CollectionMismatchException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception; + +use RuntimeException; +/** + * Thrown when attempting to operate on collections of differing types. + */ +class CollectionMismatchException extends RuntimeException implements CollectionException +{ +} diff --git a/vendor/prefixed/ramsey/collection/src/Exception/InvalidArgumentException.php b/vendor/prefixed/ramsey/collection/src/Exception/InvalidArgumentException.php new file mode 100644 index 000000000..b7a268eb4 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Exception/InvalidArgumentException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception; + +use InvalidArgumentException as PhpInvalidArgumentException; +/** + * Thrown to indicate an argument is not of the expected type. + */ +class InvalidArgumentException extends PhpInvalidArgumentException implements CollectionException +{ +} diff --git a/vendor/prefixed/ramsey/collection/src/Exception/InvalidPropertyOrMethod.php b/vendor/prefixed/ramsey/collection/src/Exception/InvalidPropertyOrMethod.php new file mode 100644 index 000000000..acb41fb90 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Exception/InvalidPropertyOrMethod.php @@ -0,0 +1,23 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception; + +use RuntimeException; +/** + * Thrown when attempting to evaluate a property, method, or array key + * that doesn't exist on an element or cannot otherwise be evaluated in the + * current context. + */ +class InvalidPropertyOrMethod extends RuntimeException implements CollectionException +{ +} diff --git a/vendor/prefixed/ramsey/collection/src/Exception/NoSuchElementException.php b/vendor/prefixed/ramsey/collection/src/Exception/NoSuchElementException.php new file mode 100644 index 000000000..39579e853 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Exception/NoSuchElementException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception; + +use RuntimeException; +/** + * Thrown when attempting to access an element that does not exist. + */ +class NoSuchElementException extends RuntimeException implements CollectionException +{ +} diff --git a/vendor/prefixed/ramsey/collection/src/Exception/OutOfBoundsException.php b/vendor/prefixed/ramsey/collection/src/Exception/OutOfBoundsException.php new file mode 100644 index 000000000..564c3def6 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Exception/OutOfBoundsException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception; + +use OutOfBoundsException as PhpOutOfBoundsException; +/** + * Thrown when attempting to access an element out of the range of the collection. + */ +class OutOfBoundsException extends PhpOutOfBoundsException implements CollectionException +{ +} diff --git a/vendor/prefixed/ramsey/collection/src/Exception/UnsupportedOperationException.php b/vendor/prefixed/ramsey/collection/src/Exception/UnsupportedOperationException.php new file mode 100644 index 000000000..3d9241f80 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Exception/UnsupportedOperationException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception; + +use RuntimeException; +/** + * Thrown to indicate that the requested operation is not supported. + */ +class UnsupportedOperationException extends RuntimeException implements CollectionException +{ +} diff --git a/vendor/prefixed/ramsey/collection/src/GenericArray.php b/vendor/prefixed/ramsey/collection/src/GenericArray.php new file mode 100644 index 000000000..bd344c4c1 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/GenericArray.php @@ -0,0 +1,22 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection; + +/** + * `GenericArray` represents a standard array object. + * + * @extends AbstractArray + */ +class GenericArray extends AbstractArray +{ +} diff --git a/vendor/prefixed/ramsey/collection/src/Map/AbstractMap.php b/vendor/prefixed/ramsey/collection/src/Map/AbstractMap.php new file mode 100644 index 000000000..f179fb218 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Map/AbstractMap.php @@ -0,0 +1,186 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Map; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\AbstractArray; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\InvalidArgumentException; +use Traversable; +use function array_key_exists; +use function array_keys; +use function in_array; +use function var_export; +/** + * This class provides a basic implementation of `MapInterface`, to minimize the + * effort required to implement this interface. + * + * @template K of array-key + * @template T + * @extends AbstractArray + * @implements MapInterface + */ +abstract class AbstractMap extends AbstractArray implements MapInterface +{ + /** + * @param array $data The initial items to add to this map. + */ + public function __construct(array $data = []) + { + parent::__construct($data); + } + /** + * @return Traversable + */ + public function getIterator() : Traversable + { + return parent::getIterator(); + } + /** + * @param mixed $offset The offset to set + * @param mixed $value The value to set at the given offset. + * + * @inheritDoc + * @psalm-suppress MoreSpecificImplementedParamType,DocblockTypeContradiction + */ + public function offsetSet($offset, $value) : void + { + if ($offset === null) { + throw new InvalidArgumentException('Map elements are key/value pairs; a key must be provided for ' . 'value ' . var_export($value, \true)); + } + $this->data[$offset] = $value; + } + /** + * @param int|string $key + */ + public function containsKey($key) : bool + { + return array_key_exists($key, $this->data); + } + /** + * @param mixed $value + */ + public function containsValue($value) : bool + { + return in_array($value, $this->data, \true); + } + /** + * @inheritDoc + */ + public function keys() : array + { + return array_keys($this->data); + } + /** + * @param int|string $key The key to return from the map. + * @param mixed $defaultValue The default value to use if `$key` is not found. + * + * @return T | null the value or `null` if the key could not be found. + */ + public function get($key, $defaultValue = null) + { + return $this[$key] ?? $defaultValue; + } + /** + * @param int|string $key The key to put or replace in the map. + * @param mixed $value The value to store at `$key`. + * + * @return T | null the previous value associated with key, or `null` if + * there was no mapping for `$key`. + */ + public function put($key, $value) + { + $previousValue = $this->get($key); + $this[$key] = $value; + return $previousValue; + } + /** + * @param int|string $key The key to put in the map. + * @param mixed $value The value to store at `$key`. + * + * @return T | null the previous value associated with key, or `null` if + * there was no mapping for `$key`. + */ + public function putIfAbsent($key, $value) + { + $currentValue = $this->get($key); + if ($currentValue === null) { + $this[$key] = $value; + } + return $currentValue; + } + /** + * @param int|string $key The key to remove from the map. + * + * @return T | null the previous value associated with key, or `null` if + * there was no mapping for `$key`. + */ + public function remove($key) + { + $previousValue = $this->get($key); + unset($this[$key]); + return $previousValue; + } + /** + * @param int|string $key + * @param mixed $value + */ + public function removeIf($key, $value) : bool + { + if ($this->get($key) === $value) { + unset($this[$key]); + return \true; + } + return \false; + } + /** + * @param int|string $key The key to replace. + * @param mixed $value The value to set at `$key`. + * + * @return T | null the previous value associated with key, or `null` if + * there was no mapping for `$key`. + */ + public function replace($key, $value) + { + $currentValue = $this->get($key); + if ($this->containsKey($key)) { + $this[$key] = $value; + } + return $currentValue; + } + /** + * @param int|string $key + * @param mixed $oldValue + * @param mixed $newValue + */ + public function replaceIf($key, $oldValue, $newValue) : bool + { + if ($this->get($key) === $oldValue) { + $this[$key] = $newValue; + return \true; + } + return \false; + } + /** + * @return array + */ + public function __serialize() : array + { + return parent::__serialize(); + } + /** + * @return array + */ + public function toArray() : array + { + return parent::toArray(); + } +} diff --git a/vendor/prefixed/ramsey/collection/src/Map/AbstractTypedMap.php b/vendor/prefixed/ramsey/collection/src/Map/AbstractTypedMap.php new file mode 100644 index 000000000..04d816c41 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Map/AbstractTypedMap.php @@ -0,0 +1,48 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Map; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Tool\TypeTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Tool\ValueToStringTrait; +/** + * This class provides a basic implementation of `TypedMapInterface`, to + * minimize the effort required to implement this interface. + * + * @template K of array-key + * @template T + * @extends AbstractMap + * @implements TypedMapInterface + */ +abstract class AbstractTypedMap extends AbstractMap implements TypedMapInterface +{ + use TypeTrait; + use ValueToStringTrait; + /** + * @param mixed $offset + * @param mixed $value + * + * @inheritDoc + * @psalm-suppress MoreSpecificImplementedParamType + */ + public function offsetSet($offset, $value) : void + { + if ($this->checkType($this->getKeyType(), $offset) === \false) { + throw new InvalidArgumentException('Key must be of type ' . $this->getKeyType() . '; key is ' . $this->toolValueToString($offset)); + } + if ($this->checkType($this->getValueType(), $value) === \false) { + throw new InvalidArgumentException('Value must be of type ' . $this->getValueType() . '; value is ' . $this->toolValueToString($value)); + } + parent::offsetSet($offset, $value); + } +} diff --git a/vendor/prefixed/ramsey/collection/src/Map/AssociativeArrayMap.php b/vendor/prefixed/ramsey/collection/src/Map/AssociativeArrayMap.php new file mode 100644 index 000000000..74e29ecb2 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Map/AssociativeArrayMap.php @@ -0,0 +1,22 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Map; + +/** + * `AssociativeArrayMap` represents a standard associative array object. + * + * @extends AbstractMap + */ +class AssociativeArrayMap extends AbstractMap +{ +} diff --git a/vendor/prefixed/ramsey/collection/src/Map/MapInterface.php b/vendor/prefixed/ramsey/collection/src/Map/MapInterface.php new file mode 100644 index 000000000..ca893c854 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Map/MapInterface.php @@ -0,0 +1,130 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Map; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\ArrayInterface; +/** + * An object that maps keys to values. + * + * A map cannot contain duplicate keys; each key can map to at most one value. + * + * @template K of array-key + * @template T + * @extends ArrayInterface + */ +interface MapInterface extends ArrayInterface +{ + /** + * Returns `true` if this map contains a mapping for the specified key. + * + * @param int|string $key The key to check in the map. + */ + public function containsKey($key) : bool; + /** + * Returns `true` if this map maps one or more keys to the specified value. + * + * This performs a strict type check on the value. + * + * @param mixed $value The value to check in the map. + */ + public function containsValue($value) : bool; + /** + * Return an array of the keys contained in this map. + * + * @return list + */ + public function keys() : array; + /** + * Returns the value to which the specified key is mapped, `null` if this + * map contains no mapping for the key, or (optionally) `$defaultValue` if + * this map contains no mapping for the key. + * + * @param int|string $key The key to return from the map. + * @param mixed $defaultValue The default value to use if `$key` is not found. + * + * @return T | null the value or `null` if the key could not be found. + */ + public function get($key, $defaultValue = null); + /** + * Associates the specified value with the specified key in this map. + * + * If the map previously contained a mapping for the key, the old value is + * replaced by the specified value. + * + * @param int|string $key The key to put or replace in the map. + * @param mixed $value The value to store at `$key`. + * + * @return T | null the previous value associated with key, or `null` if + * there was no mapping for `$key`. + */ + public function put($key, $value); + /** + * Associates the specified value with the specified key in this map only if + * it is not already set. + * + * If there is already a value associated with `$key`, this returns that + * value without replacing it. + * + * @param int|string $key The key to put in the map. + * @param mixed $value The value to store at `$key`. + * + * @return T | null the previous value associated with key, or `null` if + * there was no mapping for `$key`. + */ + public function putIfAbsent($key, $value); + /** + * Removes the mapping for a key from this map if it is present. + * + * @param int|string $key The key to remove from the map. + * + * @return T | null the previous value associated with key, or `null` if + * there was no mapping for `$key`. + */ + public function remove($key); + /** + * Removes the entry for the specified key only if it is currently mapped to + * the specified value. + * + * This performs a strict type check on the value. + * + * @param int|string $key The key to remove from the map. + * @param mixed $value The value to match. + * + * @return bool true if the value was removed. + */ + public function removeIf($key, $value) : bool; + /** + * Replaces the entry for the specified key only if it is currently mapped + * to some value. + * + * @param int|string $key The key to replace. + * @param mixed $value The value to set at `$key`. + * + * @return T | null the previous value associated with key, or `null` if + * there was no mapping for `$key`. + */ + public function replace($key, $value); + /** + * Replaces the entry for the specified key only if currently mapped to the + * specified value. + * + * This performs a strict type check on the value. + * + * @param int|string $key The key to remove from the map. + * @param mixed $oldValue The value to match. + * @param mixed $newValue The value to use as a replacement. + * + * @return bool true if the value was replaced. + */ + public function replaceIf($key, $oldValue, $newValue) : bool; +} diff --git a/vendor/prefixed/ramsey/collection/src/Map/NamedParameterMap.php b/vendor/prefixed/ramsey/collection/src/Map/NamedParameterMap.php new file mode 100644 index 000000000..4dfc57102 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Map/NamedParameterMap.php @@ -0,0 +1,95 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Map; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Tool\TypeTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Tool\ValueToStringTrait; +use function array_combine; +use function array_key_exists; +use function is_int; +/** + * `NamedParameterMap` represents a mapping of values to a set of named keys + * that may optionally be typed + * + * @extends AbstractMap + */ +class NamedParameterMap extends AbstractMap +{ + use TypeTrait; + use ValueToStringTrait; + /** + * Named parameters defined for this map. + * + * @var array + * @readonly + */ + private $namedParameters; + /** + * Constructs a new `NamedParameterMap`. + * + * @param array $namedParameters The named parameters defined for this map. + * @param array $data An initial set of data to set on this map. + */ + public function __construct(array $namedParameters, array $data = []) + { + $this->namedParameters = $this->filterNamedParameters($namedParameters); + parent::__construct($data); + } + /** + * Returns named parameters set for this `NamedParameterMap`. + * + * @return array + */ + public function getNamedParameters() : array + { + return $this->namedParameters; + } + /** + * @param mixed $offset + * @param mixed $value + */ + public function offsetSet($offset, $value) : void + { + if (!array_key_exists($offset, $this->namedParameters)) { + throw new InvalidArgumentException('Attempting to set value for unconfigured parameter \'' . $this->toolValueToString($offset) . '\''); + } + if ($this->checkType($this->namedParameters[$offset], $value) === \false) { + throw new InvalidArgumentException('Value for \'' . $offset . '\' must be of type ' . $this->namedParameters[$offset] . '; value is ' . $this->toolValueToString($value)); + } + $this->data[$offset] = $value; + } + /** + * Given an array of named parameters, constructs a proper mapping of + * named parameters to types. + * + * @param array $namedParameters The named parameters to filter. + * + * @return array + */ + protected function filterNamedParameters(array $namedParameters) : array + { + $names = []; + $types = []; + foreach ($namedParameters as $key => $value) { + if (is_int($key)) { + $names[] = $value; + $types[] = 'mixed'; + } else { + $names[] = $key; + $types[] = $value; + } + } + return array_combine($names, $types) ?: []; + } +} diff --git a/vendor/prefixed/ramsey/collection/src/Map/TypedMap.php b/vendor/prefixed/ramsey/collection/src/Map/TypedMap.php new file mode 100644 index 000000000..1287e0000 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Map/TypedMap.php @@ -0,0 +1,117 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Map; + +/** + * A `TypedMap` represents a map of elements where key and value are typed. + * + * Each element is identified by a key with defined type and a value of defined + * type. The keys of the map must be unique. The values on the map can be + * repeated but each with its own different key. + * + * The most common case is to use a string type key, but it's not limited to + * this type of keys. + * + * This is a direct implementation of `TypedMapInterface`, provided for the sake + * of convenience. + * + * Example usage: + * + * ```php + * $map = new TypedMap('string', Foo::class); + * $map['x'] = new Foo(); + * foreach ($map as $key => $value) { + * // do something with $key, it will be a Foo::class + * } + * + * // this will throw an exception since key must be string + * $map[10] = new Foo(); + * + * // this will throw an exception since value must be a Foo + * $map['bar'] = 'bar'; + * + * // initialize map with contents + * $map = new TypedMap('string', Foo::class, [ + * new Foo(), new Foo(), new Foo() + * ]); + * ``` + * + * It is preferable to subclass `AbstractTypedMap` to create your own typed map + * implementation: + * + * ```php + * class FooTypedMap extends AbstractTypedMap + * { + * public function getKeyType() + * { + * return 'int'; + * } + * + * public function getValueType() + * { + * return Foo::class; + * } + * } + * ``` + * + * … but you also may use the `TypedMap` class: + * + * ```php + * class FooTypedMap extends TypedMap + * { + * public function __constructor(array $data = []) + * { + * parent::__construct('int', Foo::class, $data); + * } + * } + * ``` + * + * @template K of array-key + * @template T + * @extends AbstractTypedMap + */ +class TypedMap extends AbstractTypedMap +{ + /** + * @var string + * @readonly + */ + private $keyType; + /** + * @var string + * @readonly + */ + private $valueType; + /** + * Constructs a map object of the specified key and value types, + * optionally with the specified data. + * + * @param string $keyType The data type of the map's keys. + * @param string $valueType The data type of the map's values. + * @param array $data The initial data to set for this map. + */ + public function __construct(string $keyType, string $valueType, array $data = []) + { + $this->keyType = $keyType; + $this->valueType = $valueType; + parent::__construct($data); + } + public function getKeyType() : string + { + return $this->keyType; + } + public function getValueType() : string + { + return $this->valueType; + } +} diff --git a/vendor/prefixed/ramsey/collection/src/Map/TypedMapInterface.php b/vendor/prefixed/ramsey/collection/src/Map/TypedMapInterface.php new file mode 100644 index 000000000..902cd8e91 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Map/TypedMapInterface.php @@ -0,0 +1,33 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Map; + +/** + * A `TypedMapInterface` represents a map of elements where key and value are + * typed. + * + * @template K of array-key + * @template T + * @extends MapInterface + */ +interface TypedMapInterface extends MapInterface +{ + /** + * Return the type used on the key. + */ + public function getKeyType() : string; + /** + * Return the type forced on the values. + */ + public function getValueType() : string; +} diff --git a/vendor/prefixed/ramsey/collection/src/Queue.php b/vendor/prefixed/ramsey/collection/src/Queue.php new file mode 100644 index 000000000..a07709c8e --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Queue.php @@ -0,0 +1,139 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\NoSuchElementException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Tool\TypeTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Tool\ValueToStringTrait; +use function array_key_first; +/** + * This class provides a basic implementation of `QueueInterface`, to minimize + * the effort required to implement this interface. + * + * @template T + * @extends AbstractArray + * @implements QueueInterface + */ +class Queue extends AbstractArray implements QueueInterface +{ + /** + * @var string + * @readonly + */ + private $queueType; + use TypeTrait; + use ValueToStringTrait; + /** + * Constructs a queue object of the specified type, optionally with the + * specified data. + * + * @param string $queueType The type or class name associated with this queue. + * @param array $data The initial items to store in the queue. + */ + public function __construct(string $queueType, array $data = []) + { + $this->queueType = $queueType; + parent::__construct($data); + } + /** + * {@inheritDoc} + * + * Since arbitrary offsets may not be manipulated in a queue, this method + * serves only to fulfill the `ArrayAccess` interface requirements. It is + * invoked by other operations when adding values to the queue. + * + * @throws InvalidArgumentException if $value is of the wrong type. + * @param mixed $offset + * @param mixed $value + */ + public function offsetSet($offset, $value) : void + { + if ($this->checkType($this->getType(), $value) === \false) { + throw new InvalidArgumentException('Value must be of type ' . $this->getType() . '; value is ' . $this->toolValueToString($value)); + } + $this->data[] = $value; + } + /** + * @throws InvalidArgumentException if $value is of the wrong type. + * @param mixed $element + */ + public function add($element) : bool + { + $this[] = $element; + return \true; + } + /** + * @return T + * + * @throws NoSuchElementException if this queue is empty. + */ + public function element() + { + if ($this->peek() !== null) { + throw new NoSuchElementException('Can\'t return element from Queue. Queue is empty.'); + } + return $this->peek(); + } + /** + * @param mixed $element + */ + public function offer($element) : bool + { + try { + return $this->add($element); + } catch (InvalidArgumentException $exception) { + return \false; + } + } + /** + * @return T | null + */ + public function peek() + { + $index = array_key_first($this->data); + if ($index === null) { + return null; + } + return $this[$index]; + } + /** + * @return T | null + */ + public function poll() + { + $index = array_key_first($this->data); + if ($index === null) { + return null; + } + $head = $this[$index]; + unset($this[$index]); + return $head; + } + /** + * @return T + * + * @throws NoSuchElementException if this queue is empty. + */ + public function remove() + { + if ($this->poll() !== null) { + throw new NoSuchElementException('Can\'t return element from Queue. Queue is empty.'); + } + return $this->poll(); + } + public function getType() : string + { + return $this->queueType; + } +} diff --git a/vendor/prefixed/ramsey/collection/src/QueueInterface.php b/vendor/prefixed/ramsey/collection/src/QueueInterface.php new file mode 100644 index 000000000..87b2e08ad --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/QueueInterface.php @@ -0,0 +1,193 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\NoSuchElementException; +use RuntimeException; +/** + * A queue is a collection in which the entities in the collection are kept in + * order. + * + * The principal operations on the queue are the addition of entities to the end + * (tail), also known as *enqueue*, and removal of entities from the front + * (head), also known as *dequeue*. This makes the queue a first-in-first-out + * (FIFO) data structure. + * + * Besides basic array operations, queues provide additional insertion, + * extraction, and inspection operations. Each of these methods exists in two + * forms: one throws an exception if the operation fails, the other returns a + * special value (either `null` or `false`, depending on the operation). The + * latter form of the insert operation is designed specifically for use with + * capacity-restricted `QueueInterface` implementations; in most + * implementations, insert operations cannot fail. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Summary of QueueInterface methods
Throws exceptionReturns special value
Insertadd()offer()
Removeremove()poll()
Examineelement()peek()
+ * + * Queues typically, but do not necessarily, order elements in a FIFO + * (first-in-first-out) manner. Among the exceptions are priority queues, which + * order elements according to a supplied comparator, or the elements' natural + * ordering, and LIFO queues (or stacks) which order the elements LIFO + * (last-in-first-out). Whatever the ordering used, the head of the queue is + * that element which would be removed by a call to remove() or poll(). In a + * FIFO queue, all new elements are inserted at the tail of the queue. Other + * kinds of queues may use different placement rules. Every `QueueInterface` + * implementation must specify its ordering properties. + * + * The `offer()` method inserts an element if possible, otherwise returning + * `false`. This differs from the `add()` method, which can fail to add an + * element only by throwing an unchecked exception. The `offer()` method is + * designed for use when failure is a normal, rather than exceptional + * occurrence, for example, in fixed-capacity (or "bounded") queues. + * + * The `remove()` and `poll()` methods remove and return the head of the queue. + * Exactly which element is removed from the queue is a function of the queue's + * ordering policy, which differs from implementation to implementation. The + * `remove()` and `poll()` methods differ only in their behavior when the queue + * is empty: the `remove()` method throws an exception, while the `poll()` + * method returns `null`. + * + * The `element()` and `peek()` methods return, but do not remove, the head of + * the queue. + * + * `QueueInterface` implementations generally do not allow insertion of `null` + * elements, although some implementations do not prohibit insertion of `null`. + * Even in the implementations that permit it, `null` should not be inserted + * into a queue, as `null` is also used as a special return value by the + * `poll()` method to indicate that the queue contains no elements. + * + * @template T + * @extends ArrayInterface + */ +interface QueueInterface extends ArrayInterface +{ + /** + * Ensures that this queue contains the specified element (optional + * operation). + * + * Returns `true` if this queue changed as a result of the call. (Returns + * `false` if this queue does not permit duplicates and already contains the + * specified element.) + * + * Queues that support this operation may place limitations on what elements + * may be added to this queue. In particular, some queues will refuse to add + * `null` elements, and others will impose restrictions on the type of + * elements that may be added. Queue classes should clearly specify in their + * documentation any restrictions on what elements may be added. + * + * If a queue refuses to add a particular element for any reason other than + * that it already contains the element, it must throw an exception (rather + * than returning `false`). This preserves the invariant that a queue always + * contains the specified element after this call returns. + * + * @see self::offer() + * + * @param mixed $element The element to add to this queue. + * + * @return bool `true` if this queue changed as a result of the call. + * + * @throws RuntimeException if a queue refuses to add a particular element + * for any reason other than that it already contains the element. + * Implementations should use a more-specific exception that extends + * `\RuntimeException`. + */ + public function add($element) : bool; + /** + * Retrieves, but does not remove, the head of this queue. + * + * This method differs from `peek()` only in that it throws an exception if + * this queue is empty. + * + * @see self::peek() + * + * @return T the head of this queue. + * + * @throws NoSuchElementException if this queue is empty. + */ + public function element(); + /** + * Inserts the specified element into this queue if it is possible to do so + * immediately without violating capacity restrictions. + * + * When using a capacity-restricted queue, this method is generally + * preferable to `add()`, which can fail to insert an element only by + * throwing an exception. + * + * @see self::add() + * + * @param mixed $element The element to add to this queue. + * + * @return bool `true` if the element was added to this queue, else `false`. + */ + public function offer($element) : bool; + /** + * Retrieves, but does not remove, the head of this queue, or returns `null` + * if this queue is empty. + * + * @see self::element() + * + * @return T | null the head of this queue, or `null` if this queue is empty. + */ + public function peek(); + /** + * Retrieves and removes the head of this queue, or returns `null` + * if this queue is empty. + * + * @see self::remove() + * + * @return T | null the head of this queue, or `null` if this queue is empty. + */ + public function poll(); + /** + * Retrieves and removes the head of this queue. + * + * This method differs from `poll()` only in that it throws an exception if + * this queue is empty. + * + * @see self::poll() + * + * @return T the head of this queue. + * + * @throws NoSuchElementException if this queue is empty. + */ + public function remove(); + /** + * Returns the type associated with this queue. + */ + public function getType() : string; +} diff --git a/vendor/prefixed/ramsey/collection/src/Set.php b/vendor/prefixed/ramsey/collection/src/Set.php new file mode 100644 index 000000000..2ec7f64b4 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Set.php @@ -0,0 +1,62 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection; + +/** + * A set is a collection that contains no duplicate elements. + * + * Great care must be exercised if mutable objects are used as set elements. + * The behavior of a set is not specified if the value of an object is changed + * in a manner that affects equals comparisons while the object is an element in + * the set. + * + * Example usage: + * + * ``` php + * $foo = new \My\Foo(); + * $set = new Set(\My\Foo::class); + * + * $set->add($foo); // returns TRUE, the element doesn't exist + * $set->add($foo); // returns FALSE, the element already exists + * + * $bar = new \My\Foo(); + * $set->add($bar); // returns TRUE, $bar !== $foo + * ``` + * + * @template T + * @extends AbstractSet + */ +class Set extends AbstractSet +{ + /** + * @var string + * @readonly + */ + private $setType; + /** + * Constructs a set object of the specified type, optionally with the + * specified data. + * + * @param string $setType The type or class name associated with this set. + * @param array $data The initial items to store in the set. + */ + public function __construct(string $setType, array $data = []) + { + $this->setType = $setType; + parent::__construct($data); + } + public function getType() : string + { + return $this->setType; + } +} diff --git a/vendor/prefixed/ramsey/collection/src/Sort.php b/vendor/prefixed/ramsey/collection/src/Sort.php new file mode 100644 index 000000000..52e7a8e0b --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Sort.php @@ -0,0 +1,19 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection; + +class Sort +{ + public const Ascending = 'asc'; + public const Descending = 'desc'; +} diff --git a/vendor/prefixed/ramsey/collection/src/Tool/TypeTrait.php b/vendor/prefixed/ramsey/collection/src/Tool/TypeTrait.php new file mode 100644 index 000000000..856ec1459 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Tool/TypeTrait.php @@ -0,0 +1,70 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Tool; + +use function is_array; +use function is_bool; +use function is_callable; +use function is_float; +use function is_int; +use function is_numeric; +use function is_object; +use function is_resource; +use function is_scalar; +use function is_string; +/** + * Provides functionality to check values for specific types. + */ +trait TypeTrait +{ + /** + * Returns `true` if value is of the specified type. + * + * @param string $type The type to check the value against. + * @param mixed $value The value to check. + */ + protected function checkType(string $type, $value) : bool + { + switch ($type) { + case 'array': + return is_array($value); + case 'bool': + case 'boolean': + return is_bool($value); + case 'callable': + return is_callable($value); + case 'float': + case 'double': + return is_float($value); + case 'int': + case 'integer': + return is_int($value); + case 'null': + return $value === null; + case 'numeric': + return is_numeric($value); + case 'object': + return is_object($value); + case 'resource': + return is_resource($value); + case 'scalar': + return is_scalar($value); + case 'string': + return is_string($value); + case 'mixed': + return \true; + default: + return $value instanceof $type; + } + } +} diff --git a/vendor/prefixed/ramsey/collection/src/Tool/ValueExtractorTrait.php b/vendor/prefixed/ramsey/collection/src/Tool/ValueExtractorTrait.php new file mode 100644 index 000000000..b968607b6 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Tool/ValueExtractorTrait.php @@ -0,0 +1,65 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Tool; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\InvalidPropertyOrMethod; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Exception\UnsupportedOperationException; +use function is_array; +use function is_object; +use function method_exists; +use function property_exists; +use function sprintf; +/** + * Provides functionality to extract the value of a property or method from an object. + */ +trait ValueExtractorTrait +{ + /** + * Extracts the value of the given property, method, or array key from the + * element. + * + * If `$propertyOrMethod` is `null`, we return the element as-is. + * + * @param mixed $element The element to extract the value from. + * @param string | null $propertyOrMethod The property or method for which the + * value should be extracted. + * + * @return mixed the value extracted from the specified property, method, + * or array key, or the element itself. + * + * @throws InvalidPropertyOrMethod + * @throws UnsupportedOperationException + */ + protected function extractValue($element, ?string $propertyOrMethod) + { + if ($propertyOrMethod === null) { + return $element; + } + if (!is_object($element) && !is_array($element)) { + throw new UnsupportedOperationException(sprintf('The collection type "%s" does not support the $propertyOrMethod parameter', $this->getType())); + } + if (is_array($element)) { + if (!isset($element[$propertyOrMethod])) { + throw new InvalidPropertyOrMethod(sprintf('Key or index "%s" not found in collection elements', $propertyOrMethod)); + } + return $element[$propertyOrMethod]; + } + if (property_exists($element, $propertyOrMethod)) { + return $element->{$propertyOrMethod}; + } + if (method_exists($element, $propertyOrMethod)) { + return $element->{$propertyOrMethod}(); + } + throw new InvalidPropertyOrMethod(sprintf('Method or property "%s" not defined in %s', $propertyOrMethod, get_class($element))); + } +} diff --git a/vendor/prefixed/ramsey/collection/src/Tool/ValueToStringTrait.php b/vendor/prefixed/ramsey/collection/src/Tool/ValueToStringTrait.php new file mode 100644 index 000000000..ff2b7c0a6 --- /dev/null +++ b/vendor/prefixed/ramsey/collection/src/Tool/ValueToStringTrait.php @@ -0,0 +1,79 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\Tool; + +use DateTimeInterface; +use function assert; +use function get_resource_type; +use function is_array; +use function is_bool; +use function is_callable; +use function is_object; +use function is_resource; +use function is_scalar; +/** + * Provides functionality to express a value as string + */ +trait ValueToStringTrait +{ + /** + * Returns a string representation of the value. + * + * - null value: `'NULL'` + * - boolean: `'TRUE'`, `'FALSE'` + * - array: `'Array'` + * - scalar: converted-value + * - resource: `'(type resource #number)'` + * - object with `__toString()`: result of `__toString()` + * - object DateTime: ISO 8601 date + * - object: `'(className Object)'` + * - anonymous function: same as object + * + * @param mixed $value the value to return as a string. + */ + protected function toolValueToString($value) : string + { + // null + if ($value === null) { + return 'NULL'; + } + // boolean constants + if (is_bool($value)) { + return $value ? 'TRUE' : 'FALSE'; + } + // array + if (is_array($value)) { + return 'Array'; + } + // scalar types (integer, float, string) + if (is_scalar($value)) { + return (string) $value; + } + // resource + if (is_resource($value)) { + return '(' . get_resource_type($value) . ' resource #' . (int) $value . ')'; + } + // From here, $value should be an object. + assert(is_object($value)); + // __toString() is implemented + if (is_callable([$value, '__toString'])) { + return (string) $value->__toString(); + } + // object of type \DateTime + if ($value instanceof DateTimeInterface) { + return $value->format('c'); + } + // unknown type + return '(' . get_class($value) . ' Object)'; + } +} diff --git a/vendor/prefixed/ramsey/uuid/LICENSE b/vendor/prefixed/ramsey/uuid/LICENSE new file mode 100644 index 000000000..5b2acc5b7 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2012-2023 Ben Ramsey + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/vendor/prefixed/ramsey/uuid/src/BinaryUtils.php b/vendor/prefixed/ramsey/uuid/src/BinaryUtils.php new file mode 100644 index 000000000..eca857876 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/BinaryUtils.php @@ -0,0 +1,58 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid; + +/** + * Provides binary math utilities + */ +class BinaryUtils +{ + /** + * Applies the RFC 4122 variant field to the 16-bit clock sequence + * + * @link http://tools.ietf.org/html/rfc4122#section-4.1.1 RFC 4122, § 4.1.1: Variant + * + * @param int $clockSeq The 16-bit clock sequence value before the RFC 4122 + * variant is applied + * + * @return int The 16-bit clock sequence multiplexed with the UUID variant + * + * @psalm-pure + */ + public static function applyVariant(int $clockSeq) : int + { + $clockSeq = $clockSeq & 0x3fff; + $clockSeq |= 0x8000; + return $clockSeq; + } + /** + * Applies the RFC 4122 version number to the 16-bit `time_hi_and_version` field + * + * @link http://tools.ietf.org/html/rfc4122#section-4.1.3 RFC 4122, § 4.1.3: Version + * + * @param int $timeHi The value of the 16-bit `time_hi_and_version` field + * before the RFC 4122 version is applied + * @param int $version The RFC 4122 version to apply to the `time_hi` field + * + * @return int The 16-bit time_hi field of the timestamp multiplexed with + * the UUID version number + * + * @psalm-pure + */ + public static function applyVersion(int $timeHi, int $version) : int + { + $timeHi = $timeHi & 0xfff; + $timeHi |= $version << 12; + return $timeHi; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Builder/BuilderCollection.php b/vendor/prefixed/ramsey/uuid/src/Builder/BuilderCollection.php new file mode 100644 index 000000000..525794a43 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Builder/BuilderCollection.php @@ -0,0 +1,66 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\AbstractCollection; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Number\GenericNumberConverter; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Time\GenericTimeConverter; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Time\PhpTimeConverter; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Guid\GuidBuilder; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\BrickMathCalculator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Nonstandard\UuidBuilder as NonstandardUuidBuilder; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\UuidBuilder as Rfc4122UuidBuilder; +use Traversable; +/** + * A collection of UuidBuilderInterface objects + * + * @deprecated this class has been deprecated, and will be removed in 5.0.0. The use-case for this class comes from + * a pre-`phpstan/phpstan` and pre-`vimeo/psalm` ecosystem, in which type safety had to be mostly enforced + * at runtime: that is no longer necessary, now that you can safely verify your code to be correct, and use + * more generic types like `iterable` instead. + * + * @extends AbstractCollection + */ +class BuilderCollection extends AbstractCollection +{ + public function getType() : string + { + return UuidBuilderInterface::class; + } + /** + * @psalm-mutation-free + * @psalm-suppress ImpureMethodCall + * @psalm-suppress InvalidTemplateParam + */ + public function getIterator() : Traversable + { + return parent::getIterator(); + } + /** + * Re-constructs the object from its serialized form + * + * @param string $serialized The serialized PHP string to unserialize into + * a UuidInterface instance + * + * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint + * @psalm-suppress RedundantConditionGivenDocblockType + */ + public function unserialize($serialized) : void + { + /** @var array $data */ + $data = unserialize($serialized, ['allowed_classes' => [BrickMathCalculator::class, GenericNumberConverter::class, GenericTimeConverter::class, GuidBuilder::class, NonstandardUuidBuilder::class, PhpTimeConverter::class, Rfc4122UuidBuilder::class]]); + $this->data = array_filter($data, function ($unserialized) : bool { + return $unserialized instanceof UuidBuilderInterface; + }); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Builder/DefaultUuidBuilder.php b/vendor/prefixed/ramsey/uuid/src/Builder/DefaultUuidBuilder.php new file mode 100644 index 000000000..6aa38a2a0 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Builder/DefaultUuidBuilder.php @@ -0,0 +1,23 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\UuidBuilder as Rfc4122UuidBuilder; +/** + * @deprecated Transition to {@see Rfc4122UuidBuilder}. + * + * @psalm-immutable + */ +class DefaultUuidBuilder extends Rfc4122UuidBuilder +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Builder/DegradedUuidBuilder.php b/vendor/prefixed/ramsey/uuid/src/Builder/DegradedUuidBuilder.php new file mode 100644 index 000000000..5f7f8d437 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Builder/DegradedUuidBuilder.php @@ -0,0 +1,63 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Time\DegradedTimeConverter; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\DegradedUuid; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\Fields as Rfc4122Fields; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +/** + * @deprecated DegradedUuid instances are no longer necessary to support 32-bit + * systems. Transition to {@see DefaultUuidBuilder}. + * + * @psalm-immutable + */ +class DegradedUuidBuilder implements UuidBuilderInterface +{ + /** + * @var NumberConverterInterface + */ + private $numberConverter; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface + */ + private $timeConverter; + /** + * @param NumberConverterInterface $numberConverter The number converter to + * use when constructing the DegradedUuid + * @param TimeConverterInterface|null $timeConverter The time converter to use + * for converting timestamps extracted from a UUID to Unix timestamps + */ + public function __construct(NumberConverterInterface $numberConverter, ?TimeConverterInterface $timeConverter = null) + { + $this->numberConverter = $numberConverter; + $this->timeConverter = $timeConverter ?: new DegradedTimeConverter(); + } + /** + * Builds and returns a DegradedUuid + * + * @param CodecInterface $codec The codec to use for building this DegradedUuid instance + * @param string $bytes The byte string from which to construct a UUID + * + * @return DegradedUuid The DegradedUuidBuild returns an instance of Ramsey\Uuid\DegradedUuid + * + * @psalm-pure + */ + public function build(CodecInterface $codec, string $bytes) : UuidInterface + { + return new DegradedUuid(new Rfc4122Fields($bytes), $this->numberConverter, $codec, $this->timeConverter); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Builder/FallbackBuilder.php b/vendor/prefixed/ramsey/uuid/src/Builder/FallbackBuilder.php new file mode 100644 index 000000000..93f5fc468 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Builder/FallbackBuilder.php @@ -0,0 +1,62 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\BuilderNotFoundException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\UnableToBuildUuidException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +/** + * FallbackBuilder builds a UUID by stepping through a list of UUID builders + * until a UUID can be constructed without exceptions + * + * @psalm-immutable + */ +class FallbackBuilder implements UuidBuilderInterface +{ + /** + * @var iterable + */ + private $builders; + /** + * @param iterable $builders An array of UUID builders + */ + public function __construct(iterable $builders) + { + $this->builders = $builders; + } + /** + * Builds and returns a UuidInterface instance using the first builder that + * succeeds + * + * @param CodecInterface $codec The codec to use for building this instance + * @param string $bytes The byte string from which to construct a UUID + * + * @return UuidInterface an instance of a UUID object + * + * @psalm-pure + */ + public function build(CodecInterface $codec, string $bytes) : UuidInterface + { + $lastBuilderException = null; + foreach ($this->builders as $builder) { + try { + return $builder->build($codec, $bytes); + } catch (UnableToBuildUuidException $exception) { + $lastBuilderException = $exception; + continue; + } + } + throw new BuilderNotFoundException('Could not find a suitable builder for the provided codec and fields', 0, $lastBuilderException); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Builder/UuidBuilderInterface.php b/vendor/prefixed/ramsey/uuid/src/Builder/UuidBuilderInterface.php new file mode 100644 index 000000000..966bb342e --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Builder/UuidBuilderInterface.php @@ -0,0 +1,36 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +/** + * A UUID builder builds instances of UuidInterface + * + * @psalm-immutable + */ +interface UuidBuilderInterface +{ + /** + * Builds and returns a UuidInterface + * + * @param CodecInterface $codec The codec to use for building this UuidInterface instance + * @param string $bytes The byte string from which to construct a UUID + * + * @return UuidInterface Implementations may choose to return more specific + * instances of UUIDs that implement UuidInterface + * + * @psalm-pure + */ + public function build(CodecInterface $codec, string $bytes) : UuidInterface; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Codec/CodecInterface.php b/vendor/prefixed/ramsey/uuid/src/Codec/CodecInterface.php new file mode 100644 index 000000000..d904b95a2 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Codec/CodecInterface.php @@ -0,0 +1,65 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +/** + * A codec encodes and decodes a UUID according to defined rules + * + * @psalm-immutable + */ +interface CodecInterface +{ + /** + * Returns a hexadecimal string representation of a UuidInterface + * + * @param UuidInterface $uuid The UUID for which to create a hexadecimal + * string representation + * + * @return string Hexadecimal string representation of a UUID + * + * @psalm-return non-empty-string + */ + public function encode(UuidInterface $uuid) : string; + /** + * Returns a binary string representation of a UuidInterface + * + * @param UuidInterface $uuid The UUID for which to create a binary string + * representation + * + * @return string Binary string representation of a UUID + * + * @psalm-return non-empty-string + */ + public function encodeBinary(UuidInterface $uuid) : string; + /** + * Returns a UuidInterface derived from a hexadecimal string representation + * + * @param string $encodedUuid The hexadecimal string representation to + * convert into a UuidInterface instance + * + * @return UuidInterface An instance of a UUID decoded from a hexadecimal + * string representation + */ + public function decode(string $encodedUuid) : UuidInterface; + /** + * Returns a UuidInterface derived from a binary string representation + * + * @param string $bytes The binary string representation to convert into a + * UuidInterface instance + * + * @return UuidInterface An instance of a UUID decoded from a binary string + * representation + */ + public function decodeBytes(string $bytes) : UuidInterface; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Codec/GuidStringCodec.php b/vendor/prefixed/ramsey/uuid/src/Codec/GuidStringCodec.php new file mode 100644 index 000000000..bc932cb7a --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Codec/GuidStringCodec.php @@ -0,0 +1,52 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Guid\Guid; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +use function bin2hex; +use function sprintf; +use function substr; +/** + * GuidStringCodec encodes and decodes globally unique identifiers (GUID) + * + * @see Guid + * + * @psalm-immutable + */ +class GuidStringCodec extends StringCodec +{ + public function encode(UuidInterface $uuid) : string + { + $hex = bin2hex($uuid->getFields()->getBytes()); + /** @var non-empty-string */ + return sprintf('%02s%02s%02s%02s-%02s%02s-%02s%02s-%04s-%012s', substr($hex, 6, 2), substr($hex, 4, 2), substr($hex, 2, 2), substr($hex, 0, 2), substr($hex, 10, 2), substr($hex, 8, 2), substr($hex, 14, 2), substr($hex, 12, 2), substr($hex, 16, 4), substr($hex, 20)); + } + public function decode(string $encodedUuid) : UuidInterface + { + $bytes = $this->getBytes($encodedUuid); + return $this->getBuilder()->build($this, $this->swapBytes($bytes)); + } + public function decodeBytes(string $bytes) : UuidInterface + { + // Specifically call parent::decode to preserve correct byte order + return parent::decode(bin2hex($bytes)); + } + /** + * Swaps bytes according to the GUID rules + */ + private function swapBytes(string $bytes) : string + { + return $bytes[3] . $bytes[2] . $bytes[1] . $bytes[0] . $bytes[5] . $bytes[4] . $bytes[7] . $bytes[6] . substr($bytes, 8); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Codec/OrderedTimeCodec.php b/vendor/prefixed/ramsey/uuid/src/Codec/OrderedTimeCodec.php new file mode 100644 index 000000000..95cf8a943 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Codec/OrderedTimeCodec.php @@ -0,0 +1,83 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\UnsupportedOperationException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\FieldsInterface as Rfc4122FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +use function strlen; +use function substr; +/** + * OrderedTimeCodec encodes and decodes a UUID, optimizing the byte order for + * more efficient storage + * + * For binary representations of version 1 UUID, this codec may be used to + * reorganize the time fields, making the UUID closer to sequential when storing + * the bytes. According to Percona, this optimization can improve database + * INSERTs and SELECTs using the UUID column as a key. + * + * The string representation of the UUID will remain unchanged. Only the binary + * representation is reordered. + * + * **PLEASE NOTE:** Binary representations of UUIDs encoded with this codec must + * be decoded with this codec. Decoding using another codec can result in + * malformed UUIDs. + * + * @link https://www.percona.com/blog/2014/12/19/store-uuid-optimized-way/ Storing UUID Values in MySQL + * + * @psalm-immutable + */ +class OrderedTimeCodec extends StringCodec +{ + /** + * Returns a binary string representation of a UUID, with the timestamp + * fields rearranged for optimized storage + * + * @inheritDoc + * @psalm-return non-empty-string + * @psalm-suppress MoreSpecificReturnType we know that the retrieved `string` is never empty + * @psalm-suppress LessSpecificReturnStatement we know that the retrieved `string` is never empty + */ + public function encodeBinary(UuidInterface $uuid) : string + { + if (!$uuid->getFields() instanceof Rfc4122FieldsInterface || $uuid->getFields()->getVersion() !== Uuid::UUID_TYPE_TIME) { + throw new InvalidArgumentException('Expected RFC 4122 version 1 (time-based) UUID'); + } + $bytes = $uuid->getFields()->getBytes(); + /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ + return $bytes[6] . $bytes[7] . $bytes[4] . $bytes[5] . $bytes[0] . $bytes[1] . $bytes[2] . $bytes[3] . substr($bytes, 8); + } + /** + * Returns a UuidInterface derived from an ordered-time binary string + * representation + * + * @throws InvalidArgumentException if $bytes is an invalid length + * + * @inheritDoc + */ + public function decodeBytes(string $bytes) : UuidInterface + { + if (strlen($bytes) !== 16) { + throw new InvalidArgumentException('$bytes string should contain 16 characters.'); + } + // Rearrange the bytes to their original order. + $rearrangedBytes = $bytes[4] . $bytes[5] . $bytes[6] . $bytes[7] . $bytes[2] . $bytes[3] . $bytes[0] . $bytes[1] . substr($bytes, 8); + $uuid = parent::decodeBytes($rearrangedBytes); + if (!$uuid->getFields() instanceof Rfc4122FieldsInterface || $uuid->getFields()->getVersion() !== Uuid::UUID_TYPE_TIME) { + throw new UnsupportedOperationException('Attempting to decode a non-time-based UUID using ' . 'OrderedTimeCodec'); + } + return $uuid; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Codec/StringCodec.php b/vendor/prefixed/ramsey/uuid/src/Codec/StringCodec.php new file mode 100644 index 000000000..5519dac18 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Codec/StringCodec.php @@ -0,0 +1,100 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder\UuidBuilderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidUuidStringException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +use function bin2hex; +use function hex2bin; +use function implode; +use function sprintf; +use function str_replace; +use function strlen; +use function substr; +/** + * StringCodec encodes and decodes RFC 4122 UUIDs + * + * @link http://tools.ietf.org/html/rfc4122 + * + * @psalm-immutable + */ +class StringCodec implements CodecInterface +{ + /** + * @var UuidBuilderInterface + */ + private $builder; + /** + * Constructs a StringCodec + * + * @param UuidBuilderInterface $builder The builder to use when encoding UUIDs + */ + public function __construct(UuidBuilderInterface $builder) + { + $this->builder = $builder; + } + public function encode(UuidInterface $uuid) : string + { + $hex = bin2hex($uuid->getFields()->getBytes()); + /** @var non-empty-string */ + return sprintf('%08s-%04s-%04s-%04s-%012s', substr($hex, 0, 8), substr($hex, 8, 4), substr($hex, 12, 4), substr($hex, 16, 4), substr($hex, 20)); + } + /** + * @psalm-return non-empty-string + * @psalm-suppress MoreSpecificReturnType we know that the retrieved `string` is never empty + * @psalm-suppress LessSpecificReturnStatement we know that the retrieved `string` is never empty + */ + public function encodeBinary(UuidInterface $uuid) : string + { + /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ + return $uuid->getFields()->getBytes(); + } + /** + * @throws InvalidUuidStringException + * + * @inheritDoc + */ + public function decode(string $encodedUuid) : UuidInterface + { + return $this->builder->build($this, $this->getBytes($encodedUuid)); + } + public function decodeBytes(string $bytes) : UuidInterface + { + if (strlen($bytes) !== 16) { + throw new InvalidArgumentException('$bytes string should contain 16 characters.'); + } + return $this->builder->build($this, $bytes); + } + /** + * Returns the UUID builder + */ + protected function getBuilder() : UuidBuilderInterface + { + return $this->builder; + } + /** + * Returns a byte string of the UUID + */ + protected function getBytes(string $encodedUuid) : string + { + $parsedUuid = str_replace(['urn:', 'uuid:', 'URN:', 'UUID:', '{', '}', '-'], '', $encodedUuid); + $components = [substr($parsedUuid, 0, 8), substr($parsedUuid, 8, 4), substr($parsedUuid, 12, 4), substr($parsedUuid, 16, 4), substr($parsedUuid, 20)]; + if (!Uuid::isValid(implode('-', $components))) { + throw new InvalidUuidStringException('Invalid UUID string: ' . $encodedUuid); + } + return (string) hex2bin($parsedUuid); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php b/vendor/prefixed/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php new file mode 100644 index 000000000..1625b5260 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php @@ -0,0 +1,94 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidUuidStringException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +use function bin2hex; +use function sprintf; +use function substr; +use function substr_replace; +/** + * TimestampFirstCombCodec encodes and decodes COMBs, with the timestamp as the + * first 48 bits + * + * In contrast with the TimestampLastCombCodec, the TimestampFirstCombCodec + * adds the timestamp to the first 48 bits of the COMB. To generate a + * timestamp-first COMB, set the TimestampFirstCombCodec as the codec, along + * with the CombGenerator as the random generator. + * + * ``` php + * $factory = new UuidFactory(); + * + * $factory->setCodec(new TimestampFirstCombCodec($factory->getUuidBuilder())); + * + * $factory->setRandomGenerator(new CombGenerator( + * $factory->getRandomGenerator(), + * $factory->getNumberConverter() + * )); + * + * $timestampFirstComb = $factory->uuid4(); + * ``` + * + * @link https://www.informit.com/articles/printerfriendly/25862 The Cost of GUIDs as Primary Keys + * + * @psalm-immutable + */ +class TimestampFirstCombCodec extends StringCodec +{ + /** + * @psalm-return non-empty-string + * @psalm-suppress MoreSpecificReturnType we know that the retrieved `string` is never empty + * @psalm-suppress LessSpecificReturnStatement we know that the retrieved `string` is never empty + */ + public function encode(UuidInterface $uuid) : string + { + $bytes = $this->swapBytes($uuid->getFields()->getBytes()); + return sprintf('%08s-%04s-%04s-%04s-%012s', bin2hex(substr($bytes, 0, 4)), bin2hex(substr($bytes, 4, 2)), bin2hex(substr($bytes, 6, 2)), bin2hex(substr($bytes, 8, 2)), bin2hex(substr($bytes, 10))); + } + /** + * @psalm-return non-empty-string + * @psalm-suppress MoreSpecificReturnType we know that the retrieved `string` is never empty + * @psalm-suppress LessSpecificReturnStatement we know that the retrieved `string` is never empty + */ + public function encodeBinary(UuidInterface $uuid) : string + { + /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ + return $this->swapBytes($uuid->getFields()->getBytes()); + } + /** + * @throws InvalidUuidStringException + * + * @inheritDoc + */ + public function decode(string $encodedUuid) : UuidInterface + { + $bytes = $this->getBytes($encodedUuid); + return $this->getBuilder()->build($this, $this->swapBytes($bytes)); + } + public function decodeBytes(string $bytes) : UuidInterface + { + return $this->getBuilder()->build($this, $this->swapBytes($bytes)); + } + /** + * Swaps bytes according to the timestamp-first COMB rules + */ + private function swapBytes(string $bytes) : string + { + $first48Bits = substr($bytes, 0, 6); + $last48Bits = substr($bytes, -6); + $bytes = substr_replace($bytes, $last48Bits, 0, 6); + $bytes = substr_replace($bytes, $first48Bits, -6); + return $bytes; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Codec/TimestampLastCombCodec.php b/vendor/prefixed/ramsey/uuid/src/Codec/TimestampLastCombCodec.php new file mode 100644 index 000000000..22d293a57 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Codec/TimestampLastCombCodec.php @@ -0,0 +1,49 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec; + +/** + * TimestampLastCombCodec encodes and decodes COMBs, with the timestamp as the + * last 48 bits + * + * The CombGenerator when used with the StringCodec (and, by proxy, the + * TimestampLastCombCodec) adds the timestamp to the last 48 bits of the COMB. + * The TimestampLastCombCodec is provided for the sake of consistency. In + * practice, it is identical to the standard StringCodec but, it may be used + * with the CombGenerator for additional context when reading code. + * + * Consider the following code. By default, the codec used by UuidFactory is the + * StringCodec, but here, we explicitly set the TimestampLastCombCodec. It is + * redundant, but it is clear that we intend this COMB to be generated with the + * timestamp appearing at the end. + * + * ``` php + * $factory = new UuidFactory(); + * + * $factory->setCodec(new TimestampLastCombCodec($factory->getUuidBuilder())); + * + * $factory->setRandomGenerator(new CombGenerator( + * $factory->getRandomGenerator(), + * $factory->getNumberConverter() + * )); + * + * $timestampLastComb = $factory->uuid4(); + * ``` + * + * @link https://www.informit.com/articles/printerfriendly/25862 The Cost of GUIDs as Primary Keys + * + * @psalm-immutable + */ +class TimestampLastCombCodec extends StringCodec +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Converter/Number/BigNumberConverter.php b/vendor/prefixed/ramsey/uuid/src/Converter/Number/BigNumberConverter.php new file mode 100644 index 000000000..c8a6effbc --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Converter/Number/BigNumberConverter.php @@ -0,0 +1,51 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Number; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\BrickMathCalculator; +/** + * Previously used to integrate moontoast/math as a bignum arithmetic library, + * BigNumberConverter is deprecated in favor of GenericNumberConverter + * + * @deprecated Transition to {@see GenericNumberConverter}. + * + * @psalm-immutable + */ +class BigNumberConverter implements NumberConverterInterface +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface + */ + private $converter; + public function __construct() + { + $this->converter = new GenericNumberConverter(new BrickMathCalculator()); + } + /** + * @inheritDoc + * @psalm-pure + */ + public function fromHex(string $hex) : string + { + return $this->converter->fromHex($hex); + } + /** + * @inheritDoc + * @psalm-pure + */ + public function toHex(string $number) : string + { + return $this->converter->toHex($number); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Converter/Number/DegradedNumberConverter.php b/vendor/prefixed/ramsey/uuid/src/Converter/Number/DegradedNumberConverter.php new file mode 100644 index 000000000..f0a6ec971 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Converter/Number/DegradedNumberConverter.php @@ -0,0 +1,23 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Number; + +/** + * @deprecated DegradedNumberConverter is no longer necessary for converting + * numbers on 32-bit systems. Transition to {@see GenericNumberConverter}. + * + * @psalm-immutable + */ +class DegradedNumberConverter extends BigNumberConverter +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php b/vendor/prefixed/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php new file mode 100644 index 000000000..8f29d6c88 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php @@ -0,0 +1,57 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Number; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\CalculatorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +/** + * GenericNumberConverter uses the provided calculator to convert decimal + * numbers to and from hexadecimal values + * + * @psalm-immutable + */ +class GenericNumberConverter implements NumberConverterInterface +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\CalculatorInterface + */ + private $calculator; + public function __construct(CalculatorInterface $calculator) + { + $this->calculator = $calculator; + } + /** + * @inheritDoc + * @psalm-pure + * @psalm-return numeric-string + * @psalm-suppress MoreSpecificReturnType we know that the retrieved `string` is never empty + * @psalm-suppress LessSpecificReturnStatement we know that the retrieved `string` is never empty + */ + public function fromHex(string $hex) : string + { + return $this->calculator->fromBase($hex, 16)->toString(); + } + /** + * @inheritDoc + * @psalm-pure + * @psalm-return non-empty-string + * @psalm-suppress MoreSpecificReturnType we know that the retrieved `string` is never empty + * @psalm-suppress LessSpecificReturnStatement we know that the retrieved `string` is never empty + */ + public function toHex(string $number) : string + { + /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ + return $this->calculator->toBase(new IntegerObject($number), 16); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Converter/NumberConverterInterface.php b/vendor/prefixed/ramsey/uuid/src/Converter/NumberConverterInterface.php new file mode 100644 index 000000000..6c7995132 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Converter/NumberConverterInterface.php @@ -0,0 +1,54 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter; + +/** + * A number converter converts UUIDs from hexadecimal characters into + * representations of integers and vice versa + * + * @psalm-immutable + */ +interface NumberConverterInterface +{ + /** + * Converts a hexadecimal number into an string integer representation of + * the number + * + * The integer representation returned is a string representation of the + * integer, to accommodate unsigned integers greater than PHP_INT_MAX. + * + * @param string $hex The hexadecimal string representation to convert + * + * @return string String representation of an integer + * + * @psalm-return numeric-string + * + * @psalm-pure + */ + public function fromHex(string $hex) : string; + /** + * Converts a string integer representation into a hexadecimal string + * representation of the number + * + * @param string $number A string integer representation to convert; this + * must be a numeric string to accommodate unsigned integers greater + * than PHP_INT_MAX. + * + * @return string Hexadecimal string + * + * @psalm-return non-empty-string + * + * @psalm-pure + */ + public function toHex(string $number) : string; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php b/vendor/prefixed/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php new file mode 100644 index 000000000..3f055a3f8 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php @@ -0,0 +1,45 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Time; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\BrickMathCalculator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Time; +/** + * Previously used to integrate moontoast/math as a bignum arithmetic library, + * BigNumberTimeConverter is deprecated in favor of GenericTimeConverter + * + * @deprecated Transition to {@see GenericTimeConverter}. + * + * @psalm-immutable + */ +class BigNumberTimeConverter implements TimeConverterInterface +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface + */ + private $converter; + public function __construct() + { + $this->converter = new GenericTimeConverter(new BrickMathCalculator()); + } + public function calculateTime(string $seconds, string $microseconds) : Hexadecimal + { + return $this->converter->calculateTime($seconds, $microseconds); + } + public function convertTime(Hexadecimal $uuidTimestamp) : Time + { + return $this->converter->convertTime($uuidTimestamp); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Converter/Time/DegradedTimeConverter.php b/vendor/prefixed/ramsey/uuid/src/Converter/Time/DegradedTimeConverter.php new file mode 100644 index 000000000..0f2bd171d --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Converter/Time/DegradedTimeConverter.php @@ -0,0 +1,23 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Time; + +/** + * @deprecated DegradedTimeConverter is no longer necessary for converting + * time on 32-bit systems. Transition to {@see GenericTimeConverter}. + * + * @psalm-immutable + */ +class DegradedTimeConverter extends BigNumberTimeConverter +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Converter/Time/GenericTimeConverter.php b/vendor/prefixed/ramsey/uuid/src/Converter/Time/GenericTimeConverter.php new file mode 100644 index 000000000..afa8f03d9 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Converter/Time/GenericTimeConverter.php @@ -0,0 +1,82 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Time; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\CalculatorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\RoundingMode; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Time; +use function explode; +use function str_pad; +use const STR_PAD_LEFT; +/** + * GenericTimeConverter uses the provided calculator to calculate and convert + * time values + * + * @psalm-immutable + */ +class GenericTimeConverter implements TimeConverterInterface +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\CalculatorInterface + */ + private $calculator; + /** + * The number of 100-nanosecond intervals from the Gregorian calendar epoch + * to the Unix epoch. + */ + private const GREGORIAN_TO_UNIX_INTERVALS = '122192928000000000'; + /** + * The number of 100-nanosecond intervals in one second. + */ + private const SECOND_INTERVALS = '10000000'; + /** + * The number of 100-nanosecond intervals in one microsecond. + */ + private const MICROSECOND_INTERVALS = '10'; + public function __construct(CalculatorInterface $calculator) + { + $this->calculator = $calculator; + } + public function calculateTime(string $seconds, string $microseconds) : Hexadecimal + { + $timestamp = new Time($seconds, $microseconds); + // Convert the seconds into a count of 100-nanosecond intervals. + $sec = $this->calculator->multiply($timestamp->getSeconds(), new IntegerObject(self::SECOND_INTERVALS)); + // Convert the microseconds into a count of 100-nanosecond intervals. + $usec = $this->calculator->multiply($timestamp->getMicroseconds(), new IntegerObject(self::MICROSECOND_INTERVALS)); + // Combine the seconds and microseconds intervals and add the count of + // 100-nanosecond intervals from the Gregorian calendar epoch to the + // Unix epoch. This gives us the correct count of 100-nanosecond + // intervals since the Gregorian calendar epoch for the given seconds + // and microseconds. + /** @var IntegerObject $uuidTime */ + $uuidTime = $this->calculator->add($sec, $usec, new IntegerObject(self::GREGORIAN_TO_UNIX_INTERVALS)); + $uuidTimeHex = str_pad($this->calculator->toHexadecimal($uuidTime)->toString(), 16, '0', STR_PAD_LEFT); + return new Hexadecimal($uuidTimeHex); + } + public function convertTime(Hexadecimal $uuidTimestamp) : Time + { + // From the total, subtract the number of 100-nanosecond intervals from + // the Gregorian calendar epoch to the Unix epoch. This gives us the + // number of 100-nanosecond intervals from the Unix epoch, which also + // includes the microtime. + $epochNanoseconds = $this->calculator->subtract($this->calculator->toInteger($uuidTimestamp), new IntegerObject(self::GREGORIAN_TO_UNIX_INTERVALS)); + // Convert the 100-nanosecond intervals into seconds and microseconds. + $unixTimestamp = $this->calculator->divide(RoundingMode::HALF_UP, 6, $epochNanoseconds, new IntegerObject(self::SECOND_INTERVALS)); + $split = explode('.', (string) $unixTimestamp, 2); + return new Time($split[0], $split[1] ?? 0); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php b/vendor/prefixed/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php new file mode 100644 index 000000000..9d01bc3b8 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php @@ -0,0 +1,138 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Time; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\BrickMathCalculator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\CalculatorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Time; +use function count; +use function dechex; +use function explode; +use function is_float; +use function is_int; +use function str_pad; +use function strlen; +use function substr; +use const STR_PAD_LEFT; +use const STR_PAD_RIGHT; +/** + * PhpTimeConverter uses built-in PHP functions and standard math operations + * available to the PHP programming language to provide facilities for + * converting parts of time into representations that may be used in UUIDs + * + * @psalm-immutable + */ +class PhpTimeConverter implements TimeConverterInterface +{ + /** + * The number of 100-nanosecond intervals from the Gregorian calendar epoch + * to the Unix epoch. + */ + private const GREGORIAN_TO_UNIX_INTERVALS = 0x1b21dd213814000; + /** + * The number of 100-nanosecond intervals in one second. + */ + private const SECOND_INTERVALS = 10000000; + /** + * The number of 100-nanosecond intervals in one microsecond. + */ + private const MICROSECOND_INTERVALS = 10; + /** + * @var int + */ + private $phpPrecision; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\CalculatorInterface + */ + private $calculator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface + */ + private $fallbackConverter; + public function __construct(?CalculatorInterface $calculator = null, ?TimeConverterInterface $fallbackConverter = null) + { + if ($calculator === null) { + $calculator = new BrickMathCalculator(); + } + if ($fallbackConverter === null) { + $fallbackConverter = new GenericTimeConverter($calculator); + } + $this->calculator = $calculator; + $this->fallbackConverter = $fallbackConverter; + $this->phpPrecision = (int) ini_get('precision'); + } + public function calculateTime(string $seconds, string $microseconds) : Hexadecimal + { + $seconds = new IntegerObject($seconds); + $microseconds = new IntegerObject($microseconds); + // Calculate the count of 100-nanosecond intervals since the Gregorian + // calendar epoch for the given seconds and microseconds. + $uuidTime = (int) $seconds->toString() * self::SECOND_INTERVALS + (int) $microseconds->toString() * self::MICROSECOND_INTERVALS + self::GREGORIAN_TO_UNIX_INTERVALS; + // Check to see whether we've overflowed the max/min integer size. + // If so, we will default to a different time converter. + /** @psalm-suppress RedundantCondition */ + if (!is_int($uuidTime)) { + return $this->fallbackConverter->calculateTime($seconds->toString(), $microseconds->toString()); + } + return new Hexadecimal(str_pad(dechex($uuidTime), 16, '0', STR_PAD_LEFT)); + } + public function convertTime(Hexadecimal $uuidTimestamp) : Time + { + $timestamp = $this->calculator->toInteger($uuidTimestamp); + // Convert the 100-nanosecond intervals into seconds and microseconds. + $splitTime = $this->splitTime(((int) $timestamp->toString() - self::GREGORIAN_TO_UNIX_INTERVALS) / self::SECOND_INTERVALS); + if (count($splitTime) === 0) { + return $this->fallbackConverter->convertTime($uuidTimestamp); + } + return new Time($splitTime['sec'], $splitTime['usec']); + } + /** + * @param float|int $time The time to split into seconds and microseconds + * + * @return string[] + */ + private function splitTime($time) : array + { + $split = explode('.', (string) $time, 2); + // If the $time value is a float but $split only has 1 element, then the + // float math was rounded up to the next second, so we want to return + // an empty array to allow use of the fallback converter. + if (is_float($time) && count($split) === 1) { + return []; + } + if (count($split) === 1) { + return ['sec' => $split[0], 'usec' => '0']; + } + // If the microseconds are less than six characters AND the length of + // the number is greater than or equal to the PHP precision, then it's + // possible that we lost some precision for the microseconds. Return an + // empty array, so that we can choose to use the fallback converter. + if (strlen($split[1]) < 6 && strlen((string) $time) >= $this->phpPrecision) { + return []; + } + $microseconds = $split[1]; + // Ensure the microseconds are no longer than 6 digits. If they are, + // truncate the number to the first 6 digits and round up, if needed. + if (strlen($microseconds) > 6) { + $roundingDigit = (int) substr($microseconds, 6, 1); + $microseconds = (int) substr($microseconds, 0, 6); + if ($roundingDigit >= 5) { + $microseconds++; + } + } + return ['sec' => $split[0], 'usec' => str_pad((string) $microseconds, 6, '0', STR_PAD_RIGHT)]; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Converter/Time/UnixTimeConverter.php b/vendor/prefixed/ramsey/uuid/src/Converter/Time/UnixTimeConverter.php new file mode 100644 index 000000000..573c6ac7e --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Converter/Time/UnixTimeConverter.php @@ -0,0 +1,67 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Time; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\CalculatorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\RoundingMode; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Time; +use function explode; +use function str_pad; +use const STR_PAD_LEFT; +/** + * UnixTimeConverter converts Unix Epoch timestamps to/from hexadecimal values + * consisting of milliseconds elapsed since the Unix Epoch + * + * @psalm-immutable + */ +class UnixTimeConverter implements TimeConverterInterface +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\CalculatorInterface + */ + private $calculator; + private const MILLISECONDS = 1000; + public function __construct(CalculatorInterface $calculator) + { + $this->calculator = $calculator; + } + public function calculateTime(string $seconds, string $microseconds) : Hexadecimal + { + $timestamp = new Time($seconds, $microseconds); + // Convert the seconds into milliseconds. + $sec = $this->calculator->multiply($timestamp->getSeconds(), new IntegerObject(self::MILLISECONDS)); + // Convert the microseconds into milliseconds; the scale is zero because + // we need to discard the fractional part. + $usec = $this->calculator->divide( + RoundingMode::DOWN, + // Always round down to stay in the previous millisecond. + 0, + $timestamp->getMicroseconds(), + new IntegerObject(self::MILLISECONDS) + ); + /** @var IntegerObject $unixTime */ + $unixTime = $this->calculator->add($sec, $usec); + $unixTimeHex = str_pad($this->calculator->toHexadecimal($unixTime)->toString(), 12, '0', STR_PAD_LEFT); + return new Hexadecimal($unixTimeHex); + } + public function convertTime(Hexadecimal $uuidTimestamp) : Time + { + $milliseconds = $this->calculator->toInteger($uuidTimestamp); + $unixTimestamp = $this->calculator->divide(RoundingMode::HALF_UP, 6, $milliseconds, new IntegerObject(self::MILLISECONDS)); + $split = explode('.', (string) $unixTimestamp, 2); + return new Time($split[0], $split[1] ?? '0'); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Converter/TimeConverterInterface.php b/vendor/prefixed/ramsey/uuid/src/Converter/TimeConverterInterface.php new file mode 100644 index 000000000..81908e1ad --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Converter/TimeConverterInterface.php @@ -0,0 +1,54 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Time; +/** + * A time converter converts timestamps into representations that may be used + * in UUIDs + * + * @psalm-immutable + */ +interface TimeConverterInterface +{ + /** + * Uses the provided seconds and micro-seconds to calculate the count of + * 100-nanosecond intervals since UTC 00:00:00.00, 15 October 1582, for + * RFC 4122 variant UUIDs + * + * @link http://tools.ietf.org/html/rfc4122#section-4.2.2 RFC 4122, § 4.2.2: Generation Details + * + * @param string $seconds A string representation of the number of seconds + * since the Unix epoch for the time to calculate + * @param string $microseconds A string representation of the micro-seconds + * associated with the time to calculate + * + * @return Hexadecimal The full UUID timestamp as a Hexadecimal value + * + * @psalm-pure + */ + public function calculateTime(string $seconds, string $microseconds) : Hexadecimal; + /** + * Converts a timestamp extracted from a UUID to a Unix timestamp + * + * @param Hexadecimal $uuidTimestamp A hexadecimal representation of a UUID + * timestamp; a UUID timestamp is a count of 100-nanosecond intervals + * since UTC 00:00:00.00, 15 October 1582. + * + * @return Time An instance of {@see Time} + * + * @psalm-pure + */ + public function convertTime(Hexadecimal $uuidTimestamp) : Time; +} diff --git a/vendor/prefixed/ramsey/uuid/src/DegradedUuid.php b/vendor/prefixed/ramsey/uuid/src/DegradedUuid.php new file mode 100644 index 000000000..475010032 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/DegradedUuid.php @@ -0,0 +1,23 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid; + +/** + * @deprecated DegradedUuid is no longer necessary to represent UUIDs on 32-bit + * systems. Transition typehints to {@see UuidInterface}. + * + * @psalm-immutable + */ +class DegradedUuid extends Uuid +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/DeprecatedUuidInterface.php b/vendor/prefixed/ramsey/uuid/src/DeprecatedUuidInterface.php new file mode 100644 index 000000000..c3544188d --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/DeprecatedUuidInterface.php @@ -0,0 +1,123 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid; + +use DateTimeInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +/** + * This interface encapsulates deprecated methods for ramsey/uuid + * + * @psalm-immutable + */ +interface DeprecatedUuidInterface +{ + /** + * @deprecated This method will be removed in 5.0.0. There is no alternative + * recommendation, so plan accordingly. + */ + public function getNumberConverter() : NumberConverterInterface; + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. + * + * @return string[] + */ + public function getFieldsHex() : array; + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqHiAndReserved()}. + */ + public function getClockSeqHiAndReservedHex() : string; + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqLow()}. + */ + public function getClockSeqLowHex() : string; + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeq()}. + */ + public function getClockSequenceHex() : string; + /** + * @deprecated In ramsey/uuid version 5.0.0, this will be removed from the + * interface. It is available at {@see UuidV1::getDateTime()}. + */ + public function getDateTime() : DateTimeInterface; + /** + * @deprecated This method will be removed in 5.0.0. There is no direct + * alternative, but the same information may be obtained by splitting + * in half the value returned by {@see UuidInterface::getHex()}. + */ + public function getLeastSignificantBitsHex() : string; + /** + * @deprecated This method will be removed in 5.0.0. There is no direct + * alternative, but the same information may be obtained by splitting + * in half the value returned by {@see UuidInterface::getHex()}. + */ + public function getMostSignificantBitsHex() : string; + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getNode()}. + */ + public function getNodeHex() : string; + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeHiAndVersion()}. + */ + public function getTimeHiAndVersionHex() : string; + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeLow()}. + */ + public function getTimeLowHex() : string; + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeMid()}. + */ + public function getTimeMidHex() : string; + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimestamp()}. + */ + public function getTimestampHex() : string; + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVariant()}. + */ + public function getVariant() : ?int; + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVersion()}. + */ + public function getVersion() : ?int; +} diff --git a/vendor/prefixed/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php b/vendor/prefixed/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php new file mode 100644 index 000000000..f7583a393 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php @@ -0,0 +1,313 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid; + +use DateTimeImmutable; +use DateTimeInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\DateTimeException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\UnsupportedOperationException; +use Throwable; +use function str_pad; +use function substr; +use const STR_PAD_LEFT; +/** + * This trait encapsulates deprecated methods for ramsey/uuid; this trait and + * its methods will be removed in ramsey/uuid 5.0.0. + * + * @deprecated This trait and its methods will be removed in ramsey/uuid 5.0.0. + * + * @psalm-immutable + */ +trait DeprecatedUuidMethodsTrait +{ + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqHiAndReserved()} + * and use the arbitrary-precision math library of your choice to + * convert it to a string integer. + */ + public function getClockSeqHiAndReserved() : string + { + return $this->numberConverter->fromHex($this->fields->getClockSeqHiAndReserved()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqHiAndReserved()}. + */ + public function getClockSeqHiAndReservedHex() : string + { + return $this->fields->getClockSeqHiAndReserved()->toString(); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqLow()} + * and use the arbitrary-precision math library of your choice to + * convert it to a string integer. + */ + public function getClockSeqLow() : string + { + return $this->numberConverter->fromHex($this->fields->getClockSeqLow()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqLow()}. + */ + public function getClockSeqLowHex() : string + { + return $this->fields->getClockSeqLow()->toString(); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeq()} + * and use the arbitrary-precision math library of your choice to + * convert it to a string integer. + */ + public function getClockSequence() : string + { + return $this->numberConverter->fromHex($this->fields->getClockSeq()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeq()}. + */ + public function getClockSequenceHex() : string + { + return $this->fields->getClockSeq()->toString(); + } + /** + * @deprecated This method will be removed in 5.0.0. There is no alternative + * recommendation, so plan accordingly. + */ + public function getNumberConverter() : NumberConverterInterface + { + return $this->numberConverter; + } + /** + * @deprecated In ramsey/uuid version 5.0.0, this will be removed. + * It is available at {@see UuidV1::getDateTime()}. + * + * @return DateTimeImmutable An immutable instance of DateTimeInterface + * + * @throws UnsupportedOperationException if UUID is not time-based + * @throws DateTimeException if DateTime throws an exception/error + */ + public function getDateTime() : DateTimeInterface + { + if ($this->fields->getVersion() !== 1) { + throw new UnsupportedOperationException('Not a time-based UUID'); + } + $time = $this->timeConverter->convertTime($this->fields->getTimestamp()); + try { + return new DateTimeImmutable('@' . $time->getSeconds()->toString() . '.' . str_pad($time->getMicroseconds()->toString(), 6, '0', STR_PAD_LEFT)); + } catch (Throwable $e) { + throw new DateTimeException($e->getMessage(), (int) $e->getCode(), $e); + } + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. + * + * @return string[] + */ + public function getFieldsHex() : array + { + return ['time_low' => $this->fields->getTimeLow()->toString(), 'time_mid' => $this->fields->getTimeMid()->toString(), 'time_hi_and_version' => $this->fields->getTimeHiAndVersion()->toString(), 'clock_seq_hi_and_reserved' => $this->fields->getClockSeqHiAndReserved()->toString(), 'clock_seq_low' => $this->fields->getClockSeqLow()->toString(), 'node' => $this->fields->getNode()->toString()]; + } + /** + * @deprecated This method will be removed in 5.0.0. There is no direct + * alternative, but the same information may be obtained by splitting + * in half the value returned by {@see UuidInterface::getHex()}. + */ + public function getLeastSignificantBits() : string + { + $leastSignificantHex = substr($this->getHex()->toString(), 16); + return $this->numberConverter->fromHex($leastSignificantHex); + } + /** + * @deprecated This method will be removed in 5.0.0. There is no direct + * alternative, but the same information may be obtained by splitting + * in half the value returned by {@see UuidInterface::getHex()}. + */ + public function getLeastSignificantBitsHex() : string + { + return substr($this->getHex()->toString(), 16); + } + /** + * @deprecated This method will be removed in 5.0.0. There is no direct + * alternative, but the same information may be obtained by splitting + * in half the value returned by {@see UuidInterface::getHex()}. + */ + public function getMostSignificantBits() : string + { + $mostSignificantHex = substr($this->getHex()->toString(), 0, 16); + return $this->numberConverter->fromHex($mostSignificantHex); + } + /** + * @deprecated This method will be removed in 5.0.0. There is no direct + * alternative, but the same information may be obtained by splitting + * in half the value returned by {@see UuidInterface::getHex()}. + */ + public function getMostSignificantBitsHex() : string + { + return substr($this->getHex()->toString(), 0, 16); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getNode()} and use the + * arbitrary-precision math library of your choice to convert it to a + * string integer. + */ + public function getNode() : string + { + return $this->numberConverter->fromHex($this->fields->getNode()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getNode()}. + */ + public function getNodeHex() : string + { + return $this->fields->getNode()->toString(); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeHiAndVersion()} + * and use the arbitrary-precision math library of your choice to + * convert it to a string integer. + */ + public function getTimeHiAndVersion() : string + { + return $this->numberConverter->fromHex($this->fields->getTimeHiAndVersion()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeHiAndVersion()}. + */ + public function getTimeHiAndVersionHex() : string + { + return $this->fields->getTimeHiAndVersion()->toString(); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeLow()} and use the + * arbitrary-precision math library of your choice to convert it to a + * string integer. + */ + public function getTimeLow() : string + { + return $this->numberConverter->fromHex($this->fields->getTimeLow()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeLow()}. + */ + public function getTimeLowHex() : string + { + return $this->fields->getTimeLow()->toString(); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeMid()} and use the + * arbitrary-precision math library of your choice to convert it to a + * string integer. + */ + public function getTimeMid() : string + { + return $this->numberConverter->fromHex($this->fields->getTimeMid()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeMid()}. + */ + public function getTimeMidHex() : string + { + return $this->fields->getTimeMid()->toString(); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimestamp()} and use + * the arbitrary-precision math library of your choice to convert it to + * a string integer. + */ + public function getTimestamp() : string + { + if ($this->fields->getVersion() !== 1) { + throw new UnsupportedOperationException('Not a time-based UUID'); + } + return $this->numberConverter->fromHex($this->fields->getTimestamp()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimestamp()}. + */ + public function getTimestampHex() : string + { + if ($this->fields->getVersion() !== 1) { + throw new UnsupportedOperationException('Not a time-based UUID'); + } + return $this->fields->getTimestamp()->toString(); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVariant()}. + */ + public function getVariant() : ?int + { + return $this->fields->getVariant(); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see \Ramsey\Uuid\Fields\FieldsInterface} instance. If it is a + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call + * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVersion()}. + */ + public function getVersion() : ?int + { + return $this->fields->getVersion(); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/BuilderNotFoundException.php b/vendor/prefixed/ramsey/uuid/src/Exception/BuilderNotFoundException.php new file mode 100644 index 000000000..86b42ba75 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/BuilderNotFoundException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +use RuntimeException as PhpRuntimeException; +/** + * Thrown to indicate that no suitable builder could be found + */ +class BuilderNotFoundException extends PhpRuntimeException implements UuidExceptionInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/DateTimeException.php b/vendor/prefixed/ramsey/uuid/src/Exception/DateTimeException.php new file mode 100644 index 000000000..9caa85230 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/DateTimeException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +use RuntimeException as PhpRuntimeException; +/** + * Thrown to indicate that the PHP DateTime extension encountered an exception/error + */ +class DateTimeException extends PhpRuntimeException implements UuidExceptionInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/DceSecurityException.php b/vendor/prefixed/ramsey/uuid/src/Exception/DceSecurityException.php new file mode 100644 index 000000000..75c3fb6bd --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/DceSecurityException.php @@ -0,0 +1,22 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +use RuntimeException as PhpRuntimeException; +/** + * Thrown to indicate an exception occurred while dealing with DCE Security + * (version 2) UUIDs + */ +class DceSecurityException extends PhpRuntimeException implements UuidExceptionInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/InvalidArgumentException.php b/vendor/prefixed/ramsey/uuid/src/Exception/InvalidArgumentException.php new file mode 100644 index 000000000..aa7106654 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/InvalidArgumentException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +use InvalidArgumentException as PhpInvalidArgumentException; +/** + * Thrown to indicate that the argument received is not valid + */ +class InvalidArgumentException extends PhpInvalidArgumentException implements UuidExceptionInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/InvalidBytesException.php b/vendor/prefixed/ramsey/uuid/src/Exception/InvalidBytesException.php new file mode 100644 index 000000000..6f2204d95 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/InvalidBytesException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +use RuntimeException as PhpRuntimeException; +/** + * Thrown to indicate that the bytes being operated on are invalid in some way + */ +class InvalidBytesException extends PhpRuntimeException implements UuidExceptionInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/InvalidUuidStringException.php b/vendor/prefixed/ramsey/uuid/src/Exception/InvalidUuidStringException.php new file mode 100644 index 000000000..c3b398d18 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/InvalidUuidStringException.php @@ -0,0 +1,23 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +/** + * Thrown to indicate that the string received is not a valid UUID + * + * The InvalidArgumentException that this extends is the ramsey/uuid version + * of this exception. It exists in the same namespace as this class. + */ +class InvalidUuidStringException extends InvalidArgumentException implements UuidExceptionInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/NameException.php b/vendor/prefixed/ramsey/uuid/src/Exception/NameException.php new file mode 100644 index 000000000..8a6752be9 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/NameException.php @@ -0,0 +1,22 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +use RuntimeException as PhpRuntimeException; +/** + * Thrown to indicate that an error occurred while attempting to hash a + * namespace and name + */ +class NameException extends PhpRuntimeException implements UuidExceptionInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/NodeException.php b/vendor/prefixed/ramsey/uuid/src/Exception/NodeException.php new file mode 100644 index 000000000..774d6e0df --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/NodeException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +use RuntimeException as PhpRuntimeException; +/** + * Thrown to indicate that attempting to fetch or create a node ID encountered an error + */ +class NodeException extends PhpRuntimeException implements UuidExceptionInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/RandomSourceException.php b/vendor/prefixed/ramsey/uuid/src/Exception/RandomSourceException.php new file mode 100644 index 000000000..fa5f0593e --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/RandomSourceException.php @@ -0,0 +1,24 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +use RuntimeException as PhpRuntimeException; +/** + * Thrown to indicate that the source of random data encountered an error + * + * This exception is used mostly to indicate that random_bytes() or random_int() + * threw an exception. However, it may be used for other sources of random data. + */ +class RandomSourceException extends PhpRuntimeException implements UuidExceptionInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/TimeSourceException.php b/vendor/prefixed/ramsey/uuid/src/Exception/TimeSourceException.php new file mode 100644 index 000000000..0cea08a20 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/TimeSourceException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +use RuntimeException as PhpRuntimeException; +/** + * Thrown to indicate that the source of time encountered an error + */ +class TimeSourceException extends PhpRuntimeException implements UuidExceptionInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/UnableToBuildUuidException.php b/vendor/prefixed/ramsey/uuid/src/Exception/UnableToBuildUuidException.php new file mode 100644 index 000000000..77c9b986a --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/UnableToBuildUuidException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +use RuntimeException as PhpRuntimeException; +/** + * Thrown to indicate a builder is unable to build a UUID + */ +class UnableToBuildUuidException extends PhpRuntimeException implements UuidExceptionInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/UnsupportedOperationException.php b/vendor/prefixed/ramsey/uuid/src/Exception/UnsupportedOperationException.php new file mode 100644 index 000000000..45ddd4a34 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/UnsupportedOperationException.php @@ -0,0 +1,21 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +use LogicException as PhpLogicException; +/** + * Thrown to indicate that the requested operation is not supported + */ +class UnsupportedOperationException extends PhpLogicException implements UuidExceptionInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Exception/UuidExceptionInterface.php b/vendor/prefixed/ramsey/uuid/src/Exception/UuidExceptionInterface.php new file mode 100644 index 000000000..5e54c7334 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Exception/UuidExceptionInterface.php @@ -0,0 +1,18 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception; + +use Throwable; +interface UuidExceptionInterface extends Throwable +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/FeatureSet.php b/vendor/prefixed/ramsey/uuid/src/FeatureSet.php new file mode 100644 index 000000000..3c101f04e --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/FeatureSet.php @@ -0,0 +1,387 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder\FallbackBuilder; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder\UuidBuilderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\GuidStringCodec; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\StringCodec; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Number\GenericNumberConverter; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Time\GenericTimeConverter; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Time\PhpTimeConverter; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\DceSecurityGenerator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\DceSecurityGeneratorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\NameGeneratorFactory; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\NameGeneratorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\PeclUuidNameGenerator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\PeclUuidRandomGenerator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\PeclUuidTimeGenerator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\RandomGeneratorFactory; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\RandomGeneratorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\TimeGeneratorFactory; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\TimeGeneratorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\UnixTimeGenerator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Guid\GuidBuilder; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\BrickMathCalculator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\CalculatorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Nonstandard\UuidBuilder as NonstandardUuidBuilder; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Dce\SystemDceSecurityProvider; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\DceSecurityProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Node\FallbackNodeProvider; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Node\RandomNodeProvider; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Node\SystemNodeProvider; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Time\SystemTimeProvider; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\TimeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\UuidBuilder as Rfc4122UuidBuilder; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Validator\GenericValidator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Validator\ValidatorInterface; +use const PHP_INT_SIZE; +/** + * FeatureSet detects and exposes available features in the current environment + * + * A feature set is used by UuidFactory to determine the available features and + * capabilities of the environment. + */ +class FeatureSet +{ + /** + * @var bool + */ + private $force32Bit = \false; + /** + * @var bool + */ + private $ignoreSystemNode = \false; + /** + * @var bool + */ + private $enablePecl = \false; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\TimeProviderInterface|null + */ + private $timeProvider; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\CalculatorInterface + */ + private $calculator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface + */ + private $codec; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\DceSecurityGeneratorInterface + */ + private $dceSecurityGenerator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\NameGeneratorInterface + */ + private $nameGenerator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface + */ + private $nodeProvider; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface + */ + private $numberConverter; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\RandomGeneratorInterface + */ + private $randomGenerator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface + */ + private $timeConverter; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\TimeGeneratorInterface + */ + private $timeGenerator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\TimeGeneratorInterface + */ + private $unixTimeGenerator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder\UuidBuilderInterface + */ + private $builder; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Validator\ValidatorInterface + */ + private $validator; + /** + * @param bool $useGuids True build UUIDs using the GuidStringCodec + * @param bool $force32Bit True to force the use of 32-bit functionality + * (primarily for testing purposes) + * @param bool $forceNoBigNumber (obsolete) + * @param bool $ignoreSystemNode True to disable attempts to check for the + * system node ID (primarily for testing purposes) + * @param bool $enablePecl True to enable the use of the PeclUuidTimeGenerator + * to generate version 1 UUIDs + */ + public function __construct(bool $useGuids = \false, bool $force32Bit = \false, bool $forceNoBigNumber = \false, bool $ignoreSystemNode = \false, bool $enablePecl = \false) + { + $this->force32Bit = $force32Bit; + $this->ignoreSystemNode = $ignoreSystemNode; + $this->enablePecl = $enablePecl; + $this->randomGenerator = $this->buildRandomGenerator(); + $this->setCalculator(new BrickMathCalculator()); + $this->builder = $this->buildUuidBuilder($useGuids); + $this->codec = $this->buildCodec($useGuids); + $this->nodeProvider = $this->buildNodeProvider(); + $this->nameGenerator = $this->buildNameGenerator(); + $this->setTimeProvider(new SystemTimeProvider()); + $this->setDceSecurityProvider(new SystemDceSecurityProvider()); + $this->validator = new GenericValidator(); + assert($this->timeProvider !== null); + $this->unixTimeGenerator = $this->buildUnixTimeGenerator(); + } + /** + * Returns the builder configured for this environment + */ + public function getBuilder() : UuidBuilderInterface + { + return $this->builder; + } + /** + * Returns the calculator configured for this environment + */ + public function getCalculator() : CalculatorInterface + { + return $this->calculator; + } + /** + * Returns the codec configured for this environment + */ + public function getCodec() : CodecInterface + { + return $this->codec; + } + /** + * Returns the DCE Security generator configured for this environment + */ + public function getDceSecurityGenerator() : DceSecurityGeneratorInterface + { + return $this->dceSecurityGenerator; + } + /** + * Returns the name generator configured for this environment + */ + public function getNameGenerator() : NameGeneratorInterface + { + return $this->nameGenerator; + } + /** + * Returns the node provider configured for this environment + */ + public function getNodeProvider() : NodeProviderInterface + { + return $this->nodeProvider; + } + /** + * Returns the number converter configured for this environment + */ + public function getNumberConverter() : NumberConverterInterface + { + return $this->numberConverter; + } + /** + * Returns the random generator configured for this environment + */ + public function getRandomGenerator() : RandomGeneratorInterface + { + return $this->randomGenerator; + } + /** + * Returns the time converter configured for this environment + */ + public function getTimeConverter() : TimeConverterInterface + { + return $this->timeConverter; + } + /** + * Returns the time generator configured for this environment + */ + public function getTimeGenerator() : TimeGeneratorInterface + { + return $this->timeGenerator; + } + /** + * Returns the Unix Epoch time generator configured for this environment + */ + public function getUnixTimeGenerator() : TimeGeneratorInterface + { + return $this->unixTimeGenerator; + } + /** + * Returns the validator configured for this environment + */ + public function getValidator() : ValidatorInterface + { + return $this->validator; + } + /** + * Sets the calculator to use in this environment + */ + public function setCalculator(CalculatorInterface $calculator) : void + { + $this->calculator = $calculator; + $this->numberConverter = $this->buildNumberConverter($calculator); + $this->timeConverter = $this->buildTimeConverter($calculator); + /** @psalm-suppress RedundantPropertyInitializationCheck */ + if (isset($this->timeProvider)) { + $this->timeGenerator = $this->buildTimeGenerator($this->timeProvider); + } + } + /** + * Sets the DCE Security provider to use in this environment + */ + public function setDceSecurityProvider(DceSecurityProviderInterface $dceSecurityProvider) : void + { + $this->dceSecurityGenerator = $this->buildDceSecurityGenerator($dceSecurityProvider); + } + /** + * Sets the node provider to use in this environment + */ + public function setNodeProvider(NodeProviderInterface $nodeProvider) : void + { + $this->nodeProvider = $nodeProvider; + if (isset($this->timeProvider)) { + $this->timeGenerator = $this->buildTimeGenerator($this->timeProvider); + } + } + /** + * Sets the time provider to use in this environment + */ + public function setTimeProvider(TimeProviderInterface $timeProvider) : void + { + $this->timeProvider = $timeProvider; + $this->timeGenerator = $this->buildTimeGenerator($timeProvider); + } + /** + * Set the validator to use in this environment + */ + public function setValidator(ValidatorInterface $validator) : void + { + $this->validator = $validator; + } + /** + * Returns a codec configured for this environment + * + * @param bool $useGuids Whether to build UUIDs using the GuidStringCodec + */ + private function buildCodec(bool $useGuids = \false) : CodecInterface + { + if ($useGuids) { + return new GuidStringCodec($this->builder); + } + return new StringCodec($this->builder); + } + /** + * Returns a DCE Security generator configured for this environment + */ + private function buildDceSecurityGenerator(DceSecurityProviderInterface $dceSecurityProvider) : DceSecurityGeneratorInterface + { + return new DceSecurityGenerator($this->numberConverter, $this->timeGenerator, $dceSecurityProvider); + } + /** + * Returns a node provider configured for this environment + */ + private function buildNodeProvider() : NodeProviderInterface + { + if ($this->ignoreSystemNode) { + return new RandomNodeProvider(); + } + return new FallbackNodeProvider([new SystemNodeProvider(), new RandomNodeProvider()]); + } + /** + * Returns a number converter configured for this environment + */ + private function buildNumberConverter(CalculatorInterface $calculator) : NumberConverterInterface + { + return new GenericNumberConverter($calculator); + } + /** + * Returns a random generator configured for this environment + */ + private function buildRandomGenerator() : RandomGeneratorInterface + { + if ($this->enablePecl) { + return new PeclUuidRandomGenerator(); + } + return (new RandomGeneratorFactory())->getGenerator(); + } + /** + * Returns a time generator configured for this environment + * + * @param TimeProviderInterface $timeProvider The time provider to use with + * the time generator + */ + private function buildTimeGenerator(TimeProviderInterface $timeProvider) : TimeGeneratorInterface + { + if ($this->enablePecl) { + return new PeclUuidTimeGenerator(); + } + return (new TimeGeneratorFactory($this->nodeProvider, $this->timeConverter, $timeProvider))->getGenerator(); + } + /** + * Returns a Unix Epoch time generator configured for this environment + */ + private function buildUnixTimeGenerator() : TimeGeneratorInterface + { + return new UnixTimeGenerator($this->randomGenerator); + } + /** + * Returns a name generator configured for this environment + */ + private function buildNameGenerator() : NameGeneratorInterface + { + if ($this->enablePecl) { + return new PeclUuidNameGenerator(); + } + return (new NameGeneratorFactory())->getGenerator(); + } + /** + * Returns a time converter configured for this environment + */ + private function buildTimeConverter(CalculatorInterface $calculator) : TimeConverterInterface + { + $genericConverter = new GenericTimeConverter($calculator); + if ($this->is64BitSystem()) { + return new PhpTimeConverter($calculator, $genericConverter); + } + return $genericConverter; + } + /** + * Returns a UUID builder configured for this environment + * + * @param bool $useGuids Whether to build UUIDs using the GuidStringCodec + */ + private function buildUuidBuilder(bool $useGuids = \false) : UuidBuilderInterface + { + if ($useGuids) { + return new GuidBuilder($this->numberConverter, $this->timeConverter); + } + return new FallbackBuilder([new Rfc4122UuidBuilder($this->numberConverter, $this->timeConverter), new NonstandardUuidBuilder($this->numberConverter, $this->timeConverter)]); + } + /** + * Returns true if the PHP build is 64-bit + */ + private function is64BitSystem() : bool + { + return PHP_INT_SIZE === 8 && !$this->force32Bit; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Fields/FieldsInterface.php b/vendor/prefixed/ramsey/uuid/src/Fields/FieldsInterface.php new file mode 100644 index 000000000..d522f6fab --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Fields/FieldsInterface.php @@ -0,0 +1,29 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Fields; + +use Serializable; +/** + * UUIDs are comprised of unsigned integers, the bytes of which are separated + * into fields and arranged in a particular layout defined by the specification + * for the variant + * + * @psalm-immutable + */ +interface FieldsInterface extends Serializable +{ + /** + * Returns the bytes that comprise the fields + */ + public function getBytes() : string; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Fields/SerializableFieldsTrait.php b/vendor/prefixed/ramsey/uuid/src/Fields/SerializableFieldsTrait.php new file mode 100644 index 000000000..bb4f71ade --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Fields/SerializableFieldsTrait.php @@ -0,0 +1,77 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Fields; + +use ValueError; +use function base64_decode; +use function sprintf; +use function strlen; +/** + * Provides common serialization functionality to fields + * + * @psalm-immutable + */ +trait SerializableFieldsTrait +{ + /** + * @param string $bytes The bytes that comprise the fields + */ + public abstract function __construct(string $bytes); + /** + * Returns the bytes that comprise the fields + */ + public abstract function getBytes() : string; + /** + * Returns a string representation of object + */ + public function serialize() : string + { + return $this->getBytes(); + } + /** + * @return array{bytes: string} + */ + public function __serialize() : array + { + return ['bytes' => $this->getBytes()]; + } + /** + * Constructs the object from a serialized string representation + * + * @param string $data The serialized string representation of the object + * + * @psalm-suppress UnusedMethodCall + */ + public function unserialize(string $data) : void + { + if (strlen($data) === 16) { + $this->__construct($data); + } else { + $this->__construct(base64_decode($data)); + } + } + /** + * @param array{bytes?: string} $data + * + * @psalm-suppress UnusedMethodCall + */ + public function __unserialize(array $data) : void + { + // @codeCoverageIgnoreStart + if (!isset($data['bytes'])) { + throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); + } + // @codeCoverageIgnoreEnd + $this->unserialize($data['bytes']); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/CombGenerator.php b/vendor/prefixed/ramsey/uuid/src/Generator/CombGenerator.php new file mode 100644 index 000000000..2125c6f37 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/CombGenerator.php @@ -0,0 +1,97 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use function bin2hex; +use function explode; +use function hex2bin; +use function microtime; +use function str_pad; +use function substr; +use const STR_PAD_LEFT; +/** + * CombGenerator generates COMBs (combined UUID/timestamp) + * + * The CombGenerator, when used with the StringCodec (and, by proxy, the + * TimestampLastCombCodec) or the TimestampFirstCombCodec, combines the current + * timestamp with a UUID (hence the name "COMB"). The timestamp either appears + * as the first or last 48 bits of the COMB, depending on the codec used. + * + * By default, COMBs will have the timestamp set as the last 48 bits of the + * identifier. + * + * ``` php + * $factory = new UuidFactory(); + * + * $factory->setRandomGenerator(new CombGenerator( + * $factory->getRandomGenerator(), + * $factory->getNumberConverter() + * )); + * + * $comb = $factory->uuid4(); + * ``` + * + * To generate a COMB with the timestamp as the first 48 bits, set the + * TimestampFirstCombCodec as the codec. + * + * ``` php + * $factory->setCodec(new TimestampFirstCombCodec($factory->getUuidBuilder())); + * ``` + * + * @link https://www.informit.com/articles/printerfriendly/25862 The Cost of GUIDs as Primary Keys + */ +class CombGenerator implements RandomGeneratorInterface +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\RandomGeneratorInterface + */ + private $generator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface + */ + private $numberConverter; + public const TIMESTAMP_BYTES = 6; + public function __construct(RandomGeneratorInterface $generator, NumberConverterInterface $numberConverter) + { + $this->generator = $generator; + $this->numberConverter = $numberConverter; + } + /** + * @throws InvalidArgumentException if $length is not a positive integer + * greater than or equal to CombGenerator::TIMESTAMP_BYTES + * + * @inheritDoc + */ + public function generate(int $length) : string + { + if ($length < self::TIMESTAMP_BYTES) { + throw new InvalidArgumentException('Length must be a positive integer greater than or equal to ' . self::TIMESTAMP_BYTES); + } + $hash = ''; + if (self::TIMESTAMP_BYTES > 0 && $length > self::TIMESTAMP_BYTES) { + $hash = $this->generator->generate($length - self::TIMESTAMP_BYTES); + } + $lsbTime = str_pad($this->numberConverter->toHex($this->timestamp()), self::TIMESTAMP_BYTES * 2, '0', STR_PAD_LEFT); + return (string) hex2bin(str_pad(bin2hex($hash), $length - self::TIMESTAMP_BYTES, '0') . $lsbTime); + } + /** + * Returns current timestamp a string integer, precise to 0.00001 seconds + */ + private function timestamp() : string + { + $time = explode(' ', microtime(\false)); + return $time[1] . substr($time[0], 2, 5); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/DceSecurityGenerator.php b/vendor/prefixed/ramsey/uuid/src/Generator/DceSecurityGenerator.php new file mode 100644 index 000000000..5e5638cdf --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/DceSecurityGenerator.php @@ -0,0 +1,112 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\DceSecurityException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\DceSecurityProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +use function hex2bin; +use function in_array; +use function pack; +use function str_pad; +use function strlen; +use function substr_replace; +use const STR_PAD_LEFT; +/** + * DceSecurityGenerator generates strings of binary data based on a local + * domain, local identifier, node ID, clock sequence, and the current time + */ +class DceSecurityGenerator implements DceSecurityGeneratorInterface +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface + */ + private $numberConverter; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\TimeGeneratorInterface + */ + private $timeGenerator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\DceSecurityProviderInterface + */ + private $dceSecurityProvider; + private const DOMAINS = [Uuid::DCE_DOMAIN_PERSON, Uuid::DCE_DOMAIN_GROUP, Uuid::DCE_DOMAIN_ORG]; + /** + * Upper bounds for the clock sequence in DCE Security UUIDs. + */ + private const CLOCK_SEQ_HIGH = 63; + /** + * Lower bounds for the clock sequence in DCE Security UUIDs. + */ + private const CLOCK_SEQ_LOW = 0; + public function __construct(NumberConverterInterface $numberConverter, TimeGeneratorInterface $timeGenerator, DceSecurityProviderInterface $dceSecurityProvider) + { + $this->numberConverter = $numberConverter; + $this->timeGenerator = $timeGenerator; + $this->dceSecurityProvider = $dceSecurityProvider; + } + public function generate(int $localDomain, ?IntegerObject $localIdentifier = null, ?Hexadecimal $node = null, ?int $clockSeq = null) : string + { + if (!in_array($localDomain, self::DOMAINS)) { + throw new DceSecurityException('Local domain must be a valid DCE Security domain'); + } + if ($localIdentifier && $localIdentifier->isNegative()) { + throw new DceSecurityException('Local identifier out of bounds; it must be a value between 0 and 4294967295'); + } + if ($clockSeq > self::CLOCK_SEQ_HIGH || $clockSeq < self::CLOCK_SEQ_LOW) { + throw new DceSecurityException('Clock sequence out of bounds; it must be a value between 0 and 63'); + } + switch ($localDomain) { + case Uuid::DCE_DOMAIN_ORG: + if ($localIdentifier === null) { + throw new DceSecurityException('A local identifier must be provided for the org domain'); + } + break; + case Uuid::DCE_DOMAIN_PERSON: + if ($localIdentifier === null) { + $localIdentifier = $this->dceSecurityProvider->getUid(); + } + break; + case Uuid::DCE_DOMAIN_GROUP: + default: + if ($localIdentifier === null) { + $localIdentifier = $this->dceSecurityProvider->getGid(); + } + break; + } + $identifierHex = $this->numberConverter->toHex($localIdentifier->toString()); + // The maximum value for the local identifier is 0xffffffff, or + // 4294967295. This is 8 hexadecimal digits, so if the length of + // hexadecimal digits is greater than 8, we know the value is greater + // than 0xffffffff. + if (strlen($identifierHex) > 8) { + throw new DceSecurityException('Local identifier out of bounds; it must be a value between 0 and 4294967295'); + } + $domainByte = pack('n', $localDomain)[1]; + $identifierBytes = (string) hex2bin(str_pad($identifierHex, 8, '0', STR_PAD_LEFT)); + if ($node instanceof Hexadecimal) { + $node = $node->toString(); + } + // Shift the clock sequence 8 bits to the left, so it matches 0x3f00. + if ($clockSeq !== null) { + $clockSeq = $clockSeq << 8; + } + $bytes = $this->timeGenerator->generate($node, $clockSeq); + // Replace bytes in the time-based UUID with DCE Security values. + $bytes = substr_replace($bytes, $identifierBytes, 0, 4); + return substr_replace($bytes, $domainByte, 9, 1); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/DceSecurityGeneratorInterface.php b/vendor/prefixed/ramsey/uuid/src/Generator/DceSecurityGeneratorInterface.php new file mode 100644 index 000000000..6e936e3fe --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/DceSecurityGeneratorInterface.php @@ -0,0 +1,45 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\UuidV2; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +/** + * A DCE Security generator generates strings of binary data based on a local + * domain, local identifier, node ID, clock sequence, and the current time + * + * @see UuidV2 + */ +interface DceSecurityGeneratorInterface +{ + /** + * Generate a binary string from a local domain, local identifier, node ID, + * clock sequence, and current time + * + * @param int $localDomain The local domain to use when generating bytes, + * according to DCE Security + * @param IntegerObject|null $localIdentifier The local identifier for the + * given domain; this may be a UID or GID on POSIX systems, if the local + * domain is person or group, or it may be a site-defined identifier + * if the local domain is org + * @param Hexadecimal|null $node A 48-bit number representing the hardware + * address + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates + * that could arise when the clock is set backwards in time or if the + * node ID changes + * + * @return string A binary string + */ + public function generate(int $localDomain, ?IntegerObject $localIdentifier = null, ?Hexadecimal $node = null, ?int $clockSeq = null) : string; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/DefaultNameGenerator.php b/vendor/prefixed/ramsey/uuid/src/Generator/DefaultNameGenerator.php new file mode 100644 index 000000000..7bdfbdca9 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/DefaultNameGenerator.php @@ -0,0 +1,40 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\NameException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +use ValueError; +use function hash; +/** + * DefaultNameGenerator generates strings of binary data based on a namespace, + * name, and hashing algorithm + */ +class DefaultNameGenerator implements NameGeneratorInterface +{ + /** @psalm-pure */ + public function generate(UuidInterface $ns, string $name, string $hashAlgorithm) : string + { + try { + /** @var string|bool $bytes */ + $bytes = @hash($hashAlgorithm, $ns->getBytes() . $name, \true); + } catch (ValueError $e) { + $bytes = \false; + // keep same behavior than PHP 7 + } + if ($bytes === \false) { + throw new NameException(sprintf('Unable to hash namespace and name with algorithm \'%s\'', $hashAlgorithm)); + } + return (string) $bytes; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/DefaultTimeGenerator.php b/vendor/prefixed/ramsey/uuid/src/Generator/DefaultTimeGenerator.php new file mode 100644 index 000000000..d9852644d --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/DefaultTimeGenerator.php @@ -0,0 +1,109 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\RandomSourceException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\TimeSourceException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\TimeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Throwable; +use function dechex; +use function hex2bin; +use function is_int; +use function pack; +use function preg_match; +use function sprintf; +use function str_pad; +use function strlen; +use const STR_PAD_LEFT; +/** + * DefaultTimeGenerator generates strings of binary data based on a node ID, + * clock sequence, and the current time + */ +class DefaultTimeGenerator implements TimeGeneratorInterface +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface + */ + private $nodeProvider; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface + */ + private $timeConverter; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\TimeProviderInterface + */ + private $timeProvider; + public function __construct(NodeProviderInterface $nodeProvider, TimeConverterInterface $timeConverter, TimeProviderInterface $timeProvider) + { + $this->nodeProvider = $nodeProvider; + $this->timeConverter = $timeConverter; + $this->timeProvider = $timeProvider; + } + /** + * @throws InvalidArgumentException if the parameters contain invalid values + * @throws RandomSourceException if random_int() throws an exception/error + * + * @inheritDoc + */ + public function generate($node = null, ?int $clockSeq = null) : string + { + if ($node instanceof Hexadecimal) { + $node = $node->toString(); + } + $node = $this->getValidNode($node); + if ($clockSeq === null) { + try { + // This does not use "stable storage"; see RFC 4122, Section 4.2.1.1. + $clockSeq = random_int(0, 0x3fff); + } catch (Throwable $exception) { + throw new RandomSourceException($exception->getMessage(), (int) $exception->getCode(), $exception); + } + } + $time = $this->timeProvider->getTime(); + $uuidTime = $this->timeConverter->calculateTime($time->getSeconds()->toString(), $time->getMicroseconds()->toString()); + $timeHex = str_pad($uuidTime->toString(), 16, '0', STR_PAD_LEFT); + if (strlen($timeHex) !== 16) { + throw new TimeSourceException(sprintf('The generated time of \'%s\' is larger than expected', $timeHex)); + } + $timeBytes = (string) hex2bin($timeHex); + return $timeBytes[4] . $timeBytes[5] . $timeBytes[6] . $timeBytes[7] . $timeBytes[2] . $timeBytes[3] . $timeBytes[0] . $timeBytes[1] . pack('n*', $clockSeq) . $node; + } + /** + * Uses the node provider given when constructing this instance to get + * the node ID (usually a MAC address) + * + * @param int|string|null $node A node value that may be used to override the node provider + * + * @return string 6-byte binary string representation of the node + * + * @throws InvalidArgumentException + */ + private function getValidNode($node) : string + { + if ($node === null) { + $node = $this->nodeProvider->getNode(); + } + // Convert the node to hex, if it is still an integer. + if (is_int($node)) { + $node = dechex($node); + } + if (!preg_match('/^[A-Fa-f0-9]+$/', (string) $node) || strlen((string) $node) > 12) { + throw new InvalidArgumentException('Invalid node value'); + } + return (string) hex2bin(str_pad((string) $node, 12, '0', STR_PAD_LEFT)); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/NameGeneratorFactory.php b/vendor/prefixed/ramsey/uuid/src/Generator/NameGeneratorFactory.php new file mode 100644 index 000000000..073f3139b --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/NameGeneratorFactory.php @@ -0,0 +1,28 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +/** + * NameGeneratorFactory retrieves a default name generator, based on the + * environment + */ +class NameGeneratorFactory +{ + /** + * Returns a default name generator, based on the current environment + */ + public function getGenerator() : NameGeneratorInterface + { + return new DefaultNameGenerator(); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/NameGeneratorInterface.php b/vendor/prefixed/ramsey/uuid/src/Generator/NameGeneratorInterface.php new file mode 100644 index 000000000..08da47116 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/NameGeneratorInterface.php @@ -0,0 +1,35 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +/** + * A name generator generates strings of binary data created by hashing together + * a namespace with a name, according to a hashing algorithm + */ +interface NameGeneratorInterface +{ + /** + * Generate a binary string from a namespace and name hashed together with + * the specified hashing algorithm + * + * @param UuidInterface $ns The namespace + * @param string $name The name to use for creating a UUID + * @param string $hashAlgorithm The hashing algorithm to use + * + * @return string A binary string + * + * @psalm-pure + */ + public function generate(UuidInterface $ns, string $name, string $hashAlgorithm) : string; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php b/vendor/prefixed/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php new file mode 100644 index 000000000..1f675f5f9 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php @@ -0,0 +1,44 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\NameException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +use function sprintf; +use function uuid_generate_md5; +use function uuid_generate_sha1; +use function uuid_parse; +/** + * PeclUuidNameGenerator generates strings of binary data from a namespace and a + * name, using ext-uuid + * + * @link https://pecl.php.net/package/uuid ext-uuid + */ +class PeclUuidNameGenerator implements NameGeneratorInterface +{ + /** @psalm-pure */ + public function generate(UuidInterface $ns, string $name, string $hashAlgorithm) : string + { + switch ($hashAlgorithm) { + case 'md5': + $uuid = uuid_generate_md5($ns->toString(), $name); + break; + case 'sha1': + $uuid = uuid_generate_sha1($ns->toString(), $name); + break; + default: + throw new NameException(sprintf('Unable to hash namespace and name with algorithm \'%s\'', $hashAlgorithm)); + } + return uuid_parse($uuid); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php b/vendor/prefixed/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php new file mode 100644 index 000000000..2f5fd4932 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php @@ -0,0 +1,30 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use function uuid_create; +use function uuid_parse; +use const UUID_TYPE_RANDOM; +/** + * PeclUuidRandomGenerator generates strings of random binary data using ext-uuid + * + * @link https://pecl.php.net/package/uuid ext-uuid + */ +class PeclUuidRandomGenerator implements RandomGeneratorInterface +{ + public function generate(int $length) : string + { + $uuid = uuid_create(UUID_TYPE_RANDOM); + return uuid_parse($uuid); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php b/vendor/prefixed/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php new file mode 100644 index 000000000..7402a1d26 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php @@ -0,0 +1,34 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use function uuid_create; +use function uuid_parse; +use const UUID_TYPE_TIME; +/** + * PeclUuidTimeGenerator generates strings of binary data for time-base UUIDs, + * using ext-uuid + * + * @link https://pecl.php.net/package/uuid ext-uuid + */ +class PeclUuidTimeGenerator implements TimeGeneratorInterface +{ + /** + * @inheritDoc + */ + public function generate($node = null, ?int $clockSeq = null) : string + { + $uuid = uuid_create(UUID_TYPE_TIME); + return uuid_parse($uuid); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/RandomBytesGenerator.php b/vendor/prefixed/ramsey/uuid/src/Generator/RandomBytesGenerator.php new file mode 100644 index 000000000..af712f756 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/RandomBytesGenerator.php @@ -0,0 +1,38 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\RandomSourceException; +use Throwable; +/** + * RandomBytesGenerator generates strings of random binary data using the + * built-in `random_bytes()` PHP function + * + * @link http://php.net/random_bytes random_bytes() + */ +class RandomBytesGenerator implements RandomGeneratorInterface +{ + /** + * @throws RandomSourceException if random_bytes() throws an exception/error + * + * @inheritDoc + */ + public function generate(int $length) : string + { + try { + return random_bytes($length); + } catch (Throwable $exception) { + throw new RandomSourceException($exception->getMessage(), (int) $exception->getCode(), $exception); + } + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/RandomGeneratorFactory.php b/vendor/prefixed/ramsey/uuid/src/Generator/RandomGeneratorFactory.php new file mode 100644 index 000000000..2462e3e01 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/RandomGeneratorFactory.php @@ -0,0 +1,28 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +/** + * RandomGeneratorFactory retrieves a default random generator, based on the + * environment + */ +class RandomGeneratorFactory +{ + /** + * Returns a default random generator, based on the current environment + */ + public function getGenerator() : RandomGeneratorInterface + { + return new RandomBytesGenerator(); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/RandomGeneratorInterface.php b/vendor/prefixed/ramsey/uuid/src/Generator/RandomGeneratorInterface.php new file mode 100644 index 000000000..b7cc6c315 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/RandomGeneratorInterface.php @@ -0,0 +1,28 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +/** + * A random generator generates strings of random binary data + */ +interface RandomGeneratorInterface +{ + /** + * Generates a string of randomized binary data + * + * @param int<1, max> $length The number of bytes of random binary data to generate + * + * @return string A binary string + */ + public function generate(int $length) : string; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/RandomLibAdapter.php b/vendor/prefixed/ramsey/uuid/src/Generator/RandomLibAdapter.php new file mode 100644 index 000000000..b5f1e9a62 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/RandomLibAdapter.php @@ -0,0 +1,53 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use RandomLib\Factory; +use RandomLib\Generator; +/** + * RandomLibAdapter generates strings of random binary data using the + * paragonie/random-lib library + * + * @deprecated This class will be removed in 5.0.0. Use the default + * RandomBytesGenerator or implement your own generator that implements + * RandomGeneratorInterface. + * + * @link https://packagist.org/packages/paragonie/random-lib paragonie/random-lib + */ +class RandomLibAdapter implements RandomGeneratorInterface +{ + /** + * @var \RandomLib\Generator + */ + private $generator; + /** + * Constructs a RandomLibAdapter + * + * By default, if no Generator is passed in, this creates a high-strength + * generator to use when generating random binary data. + * + * @param Generator|null $generator The generator to use when generating binary data + */ + public function __construct(?Generator $generator = null) + { + if ($generator === null) { + $factory = new Factory(); + $generator = $factory->getHighStrengthGenerator(); + } + $this->generator = $generator; + } + public function generate(int $length) : string + { + return $this->generator->generate($length); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/TimeGeneratorFactory.php b/vendor/prefixed/ramsey/uuid/src/Generator/TimeGeneratorFactory.php new file mode 100644 index 000000000..19144b61a --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/TimeGeneratorFactory.php @@ -0,0 +1,49 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\TimeProviderInterface; +/** + * TimeGeneratorFactory retrieves a default time generator, based on the + * environment + */ +class TimeGeneratorFactory +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface + */ + private $nodeProvider; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface + */ + private $timeConverter; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\TimeProviderInterface + */ + private $timeProvider; + public function __construct(NodeProviderInterface $nodeProvider, TimeConverterInterface $timeConverter, TimeProviderInterface $timeProvider) + { + $this->nodeProvider = $nodeProvider; + $this->timeConverter = $timeConverter; + $this->timeProvider = $timeProvider; + } + /** + * Returns a default time generator, based on the current environment + */ + public function getGenerator() : TimeGeneratorInterface + { + return new DefaultTimeGenerator($this->nodeProvider, $this->timeConverter, $this->timeProvider); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/TimeGeneratorInterface.php b/vendor/prefixed/ramsey/uuid/src/Generator/TimeGeneratorInterface.php new file mode 100644 index 000000000..58a283722 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/TimeGeneratorInterface.php @@ -0,0 +1,35 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +/** + * A time generator generates strings of binary data based on a node ID, + * clock sequence, and the current time + */ +interface TimeGeneratorInterface +{ + /** + * Generate a binary string from a node ID, clock sequence, and current time + * + * @param Hexadecimal|int|string|null $node A 48-bit number representing the + * hardware address; this number may be represented as an integer or a + * hexadecimal string + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates + * that could arise when the clock is set backwards in time or if the + * node ID changes + * + * @return string A binary string + */ + public function generate($node = null, ?int $clockSeq = null) : string; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Generator/UnixTimeGenerator.php b/vendor/prefixed/ramsey/uuid/src/Generator/UnixTimeGenerator.php new file mode 100644 index 000000000..4aff6c664 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Generator/UnixTimeGenerator.php @@ -0,0 +1,163 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigInteger; +use DateTimeImmutable; +use DateTimeInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use function hash; +use function pack; +use function str_pad; +use function strlen; +use function substr; +use function substr_replace; +use function unpack; +use const PHP_INT_SIZE; +use const STR_PAD_LEFT; +/** + * UnixTimeGenerator generates bytes that combine a 48-bit timestamp in + * milliseconds since the Unix Epoch with 80 random bits + * + * Code and concepts within this class are borrowed from the symfony/uid package + * and are used under the terms of the MIT license distributed with symfony/uid. + * + * symfony/uid is copyright (c) Fabien Potencier. + * + * @link https://symfony.com/components/Uid Symfony Uid component + * @link https://github.com/symfony/uid/blob/4f9f537e57261519808a7ce1d941490736522bbc/UuidV7.php Symfony UuidV7 class + * @link https://github.com/symfony/uid/blob/6.2/LICENSE MIT License + */ +class UnixTimeGenerator implements TimeGeneratorInterface +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\RandomGeneratorInterface + */ + private $randomGenerator; + /** + * @var int + */ + private $intSize = PHP_INT_SIZE; + /** + * @var string + */ + private static $time = ''; + /** + * @var string|null + */ + private static $seed; + /** + * @var int + */ + private static $seedIndex = 0; + /** @var int[] */ + private static $rand = []; + /** @var int[] */ + private static $seedParts; + public function __construct(RandomGeneratorInterface $randomGenerator, int $intSize = PHP_INT_SIZE) + { + $this->randomGenerator = $randomGenerator; + $this->intSize = $intSize; + } + /** + * @param Hexadecimal|int|string|null $node Unused in this generator + * @param int|null $clockSeq Unused in this generator + * @param DateTimeInterface $dateTime A date-time instance to use when + * generating bytes + * + * @inheritDoc + */ + public function generate($node = null, ?int $clockSeq = null, ?DateTimeInterface $dateTime = null) : string + { + $time = ($dateTime ?? new DateTimeImmutable('now'))->format('Uv'); + if ($time > self::$time || $dateTime !== null && $time !== self::$time) { + $this->randomize($time); + } else { + $time = $this->increment(); + } + if ($this->intSize >= 8) { + $time = substr(pack('J', (int) $time), -6); + } else { + $time = str_pad(BigInteger::of($time)->toBytes(\false), 6, "\x00", STR_PAD_LEFT); + } + /** @var non-empty-string */ + return $time . pack('n*', self::$rand[1], self::$rand[2], self::$rand[3], self::$rand[4], self::$rand[5]); + } + private function randomize(string $time) : void + { + if (self::$seed === null) { + $seed = $this->randomGenerator->generate(16); + self::$seed = $seed; + } else { + $seed = $this->randomGenerator->generate(10); + } + /** @var int[] $rand */ + $rand = unpack('n*', $seed); + $rand[1] &= 0x3ff; + self::$rand = $rand; + self::$time = $time; + } + /** + * Special thanks to Nicolas Grekas for sharing the following information: + * + * Within the same ms, we increment the rand part by a random 24-bit number. + * + * Instead of getting this number from random_bytes(), which is slow, we get + * it by sha512-hashing self::$seed. This produces 64 bytes of entropy, + * which we need to split in a list of 24-bit numbers. unpack() first splits + * them into 16 x 32-bit numbers; we take the first byte of each of these + * numbers to get 5 extra 24-bit numbers. Then, we consume those numbers + * one-by-one and run this logic every 21 iterations. + * + * self::$rand holds the random part of the UUID, split into 5 x 16-bit + * numbers for x86 portability. We increment this random part by the next + * 24-bit number in the self::$seedParts list and decrement + * self::$seedIndex. + * + * @link https://twitter.com/nicolasgrekas/status/1583356938825261061 Tweet from Nicolas Grekas + */ + private function increment() : string + { + if (self::$seedIndex === 0 && self::$seed !== null) { + self::$seed = hash('sha512', self::$seed, \true); + /** @var int[] $s */ + $s = unpack('l*', self::$seed); + $s[] = $s[1] >> 8 & 0xff0000 | $s[2] >> 16 & 0xff00 | $s[3] >> 24 & 0xff; + $s[] = $s[4] >> 8 & 0xff0000 | $s[5] >> 16 & 0xff00 | $s[6] >> 24 & 0xff; + $s[] = $s[7] >> 8 & 0xff0000 | $s[8] >> 16 & 0xff00 | $s[9] >> 24 & 0xff; + $s[] = $s[10] >> 8 & 0xff0000 | $s[11] >> 16 & 0xff00 | $s[12] >> 24 & 0xff; + $s[] = $s[13] >> 8 & 0xff0000 | $s[14] >> 16 & 0xff00 | $s[15] >> 24 & 0xff; + self::$seedParts = $s; + self::$seedIndex = 21; + } + self::$rand[5] = 0xffff & ($carry = self::$rand[5] + 1 + (self::$seedParts[self::$seedIndex--] & 0xffffff)); + self::$rand[4] = 0xffff & ($carry = self::$rand[4] + ($carry >> 16)); + self::$rand[3] = 0xffff & ($carry = self::$rand[3] + ($carry >> 16)); + self::$rand[2] = 0xffff & ($carry = self::$rand[2] + ($carry >> 16)); + self::$rand[1] += $carry >> 16; + if (0xfc00 & self::$rand[1]) { + $time = self::$time; + $mtime = (int) substr($time, -9); + if ($this->intSize >= 8 || strlen($time) < 10) { + $time = (string) ((int) $time + 1); + } elseif ($mtime === 999999999) { + $time = 1 + (int) substr($time, 0, -9) . '000000000'; + } else { + $mtime++; + $time = substr_replace($time, str_pad((string) $mtime, 9, '0', STR_PAD_LEFT), -9); + } + $this->randomize($time); + } + return self::$time; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Guid/Fields.php b/vendor/prefixed/ramsey/uuid/src/Guid/Fields.php new file mode 100644 index 000000000..d84a0433c --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Guid/Fields.php @@ -0,0 +1,141 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Guid; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Fields\SerializableFieldsTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\MaxTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\NilTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\VariantTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\VersionTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +use function bin2hex; +use function dechex; +use function hexdec; +use function pack; +use function sprintf; +use function str_pad; +use function strlen; +use function substr; +use function unpack; +use const STR_PAD_LEFT; +/** + * GUIDs are comprised of a set of named fields, according to RFC 4122 + * + * @see Guid + * + * @psalm-immutable + */ +final class Fields implements FieldsInterface +{ + /** + * @var string + */ + private $bytes; + use MaxTrait; + use NilTrait; + use SerializableFieldsTrait; + use VariantTrait; + use VersionTrait; + /** + * @param string $bytes A 16-byte binary string representation of a UUID + * + * @throws InvalidArgumentException if the byte string is not exactly 16 bytes + * @throws InvalidArgumentException if the byte string does not represent a GUID + * @throws InvalidArgumentException if the byte string does not contain a valid version + */ + public function __construct(string $bytes) + { + $this->bytes = $bytes; + if (strlen($this->bytes) !== 16) { + throw new InvalidArgumentException('The byte string must be 16 bytes long; ' . 'received ' . strlen($this->bytes) . ' bytes'); + } + if (!$this->isCorrectVariant()) { + throw new InvalidArgumentException('The byte string received does not conform to the RFC ' . '4122 or Microsoft Corporation variants'); + } + if (!$this->isCorrectVersion()) { + throw new InvalidArgumentException('The byte string received does not contain a valid version'); + } + } + public function getBytes() : string + { + return $this->bytes; + } + public function getTimeLow() : Hexadecimal + { + // Swap the bytes from little endian to network byte order. + /** @var array $hex */ + $hex = unpack('H*', pack('v*', hexdec(bin2hex(substr($this->bytes, 2, 2))), hexdec(bin2hex(substr($this->bytes, 0, 2))))); + return new Hexadecimal((string) ($hex[1] ?? '')); + } + public function getTimeMid() : Hexadecimal + { + // Swap the bytes from little endian to network byte order. + /** @var array $hex */ + $hex = unpack('H*', pack('v', hexdec(bin2hex(substr($this->bytes, 4, 2))))); + return new Hexadecimal((string) ($hex[1] ?? '')); + } + public function getTimeHiAndVersion() : Hexadecimal + { + // Swap the bytes from little endian to network byte order. + /** @var array $hex */ + $hex = unpack('H*', pack('v', hexdec(bin2hex(substr($this->bytes, 6, 2))))); + return new Hexadecimal((string) ($hex[1] ?? '')); + } + public function getTimestamp() : Hexadecimal + { + return new Hexadecimal(sprintf('%03x%04s%08s', hexdec($this->getTimeHiAndVersion()->toString()) & 0xfff, $this->getTimeMid()->toString(), $this->getTimeLow()->toString())); + } + public function getClockSeq() : Hexadecimal + { + if ($this->isMax()) { + $clockSeq = 0xffff; + } elseif ($this->isNil()) { + $clockSeq = 0x0; + } else { + $clockSeq = hexdec(bin2hex(substr($this->bytes, 8, 2))) & 0x3fff; + } + return new Hexadecimal(str_pad(dechex($clockSeq), 4, '0', STR_PAD_LEFT)); + } + public function getClockSeqHiAndReserved() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 8, 1))); + } + public function getClockSeqLow() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 9, 1))); + } + public function getNode() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 10))); + } + public function getVersion() : ?int + { + if ($this->isNil() || $this->isMax()) { + return null; + } + /** @var array $parts */ + $parts = unpack('n*', $this->bytes); + return (int) $parts[4] >> 4 & 0xf; + } + private function isCorrectVariant() : bool + { + if ($this->isNil() || $this->isMax()) { + return \true; + } + $variant = $this->getVariant(); + return $variant === Uuid::RFC_4122 || $variant === Uuid::RESERVED_MICROSOFT; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Guid/Guid.php b/vendor/prefixed/ramsey/uuid/src/Guid/Guid.php new file mode 100644 index 000000000..cf3708ede --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Guid/Guid.php @@ -0,0 +1,54 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Guid; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +/** + * Guid represents a UUID with "native" (little-endian) byte order + * + * From Wikipedia: + * + * > The first three fields are unsigned 32- and 16-bit integers and are subject + * > to swapping, while the last two fields consist of uninterpreted bytes, not + * > subject to swapping. This byte swapping applies even for versions 3, 4, and + * > 5, where the canonical fields do not correspond to the content of the UUID. + * + * The first three fields of a GUID are encoded in little-endian byte order, + * while the last three fields are in network (big-endian) byte order. This is + * according to the history of the Microsoft definition of a GUID. + * + * According to the .NET Guid.ToByteArray method documentation: + * + * > Note that the order of bytes in the returned byte array is different from + * > the string representation of a Guid value. The order of the beginning + * > four-byte group and the next two two-byte groups is reversed, whereas the + * > order of the last two-byte group and the closing six-byte group is the + * > same. + * + * @link https://en.wikipedia.org/wiki/Universally_unique_identifier#Variants UUID Variants on Wikipedia + * @link https://docs.microsoft.com/en-us/windows/win32/api/guiddef/ns-guiddef-guid Windows GUID structure + * @link https://docs.microsoft.com/en-us/dotnet/api/system.guid .NET Guid Struct + * @link https://docs.microsoft.com/en-us/dotnet/api/system.guid.tobytearray .NET Guid.ToByteArray Method + * + * @psalm-immutable + */ +final class Guid extends Uuid +{ + public function __construct(Fields $fields, NumberConverterInterface $numberConverter, CodecInterface $codec, TimeConverterInterface $timeConverter) + { + parent::__construct($fields, $numberConverter, $codec, $timeConverter); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Guid/GuidBuilder.php b/vendor/prefixed/ramsey/uuid/src/Guid/GuidBuilder.php new file mode 100644 index 000000000..31da07150 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Guid/GuidBuilder.php @@ -0,0 +1,75 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Guid; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder\UuidBuilderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\UnableToBuildUuidException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +use Throwable; +/** + * GuidBuilder builds instances of Guid + * + * @see Guid + * + * @psalm-immutable + */ +class GuidBuilder implements UuidBuilderInterface +{ + /** + * @var NumberConverterInterface + */ + private $numberConverter; + /** + * @var TimeConverterInterface + */ + private $timeConverter; + /** + * @param NumberConverterInterface $numberConverter The number converter to + * use when constructing the Guid + * @param TimeConverterInterface $timeConverter The time converter to use + * for converting timestamps extracted from a UUID to Unix timestamps + */ + public function __construct(NumberConverterInterface $numberConverter, TimeConverterInterface $timeConverter) + { + $this->numberConverter = $numberConverter; + $this->timeConverter = $timeConverter; + } + /** + * Builds and returns a Guid + * + * @param CodecInterface $codec The codec to use for building this Guid instance + * @param string $bytes The byte string from which to construct a UUID + * + * @return Guid The GuidBuilder returns an instance of Ramsey\Uuid\Guid\Guid + * + * @psalm-pure + */ + public function build(CodecInterface $codec, string $bytes) : UuidInterface + { + try { + return new Guid($this->buildFields($bytes), $this->numberConverter, $codec, $this->timeConverter); + } catch (Throwable $e) { + throw new UnableToBuildUuidException($e->getMessage(), (int) $e->getCode(), $e); + } + } + /** + * Proxy method to allow injecting a mock, for testing + */ + protected function buildFields(string $bytes) : Fields + { + return new Fields($bytes); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Lazy/LazyUuidFromString.php b/vendor/prefixed/ramsey/uuid/src/Lazy/LazyUuidFromString.php new file mode 100644 index 000000000..40667dd5e --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Lazy/LazyUuidFromString.php @@ -0,0 +1,443 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Lazy; + +use DateTimeInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\UnsupportedOperationException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Fields\FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\UuidV1; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\UuidV6; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidFactory; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +use ValueError; +use function assert; +use function bin2hex; +use function hex2bin; +use function sprintf; +use function str_replace; +use function substr; +/** + * Lazy version of a UUID: its format has not been determined yet, so it is mostly only usable for string/bytes + * conversion. This object optimizes instantiation, serialization and string conversion time, at the cost of + * increased overhead for more advanced UUID operations. + * + * @internal this type is used internally for performance reasons, and is not supposed to be directly referenced + * in consumer libraries. + * + * @psalm-immutable + * + * Note: the {@see FieldsInterface} does not declare methods that deprecated API + * relies upon: the API has been ported from the {@see \Ramsey\Uuid\Uuid} definition, + * and is deprecated anyway. + * Note: the deprecated API from {@see \Ramsey\Uuid\Uuid} is in use here (on purpose): it will be removed + * once the deprecated API is gone from this class too. + * + * @psalm-suppress UndefinedInterfaceMethod + * @psalm-suppress DeprecatedMethod + */ +final class LazyUuidFromString implements UuidInterface +{ + /** + * @var string + */ + private $uuid; + public const VALID_REGEX = '/\\A[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\\z/ms'; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface|null + */ + private $unwrapped; + /** + * @psalm-param non-empty-string $uuid + */ + public function __construct(string $uuid) + { + $this->uuid = $uuid; + } + /** @psalm-pure */ + public static function fromBytes(string $bytes) : self + { + $base16Uuid = bin2hex($bytes); + return new self(substr($base16Uuid, 0, 8) . '-' . substr($base16Uuid, 8, 4) . '-' . substr($base16Uuid, 12, 4) . '-' . substr($base16Uuid, 16, 4) . '-' . substr($base16Uuid, 20, 12)); + } + public function serialize() : string + { + return $this->uuid; + } + /** + * @return array{string: string} + * + * @psalm-return array{string: non-empty-string} + */ + public function __serialize() : array + { + return ['string' => $this->uuid]; + } + /** + * {@inheritDoc} + * + * @param string $data + * + * @psalm-param non-empty-string $data + */ + public function unserialize(string $data) : void + { + $this->uuid = $data; + } + /** + * @param array{string?: string} $data + * + * @psalm-param array{string?: non-empty-string} $data + * @psalm-suppress UnusedMethodCall + */ + public function __unserialize(array $data) : void + { + // @codeCoverageIgnoreStart + if (!isset($data['string'])) { + throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); + } + // @codeCoverageIgnoreEnd + $this->unserialize($data['string']); + } + /** @psalm-suppress DeprecatedMethod */ + public function getNumberConverter() : NumberConverterInterface + { + return ($this->unwrapped ?? $this->unwrap())->getNumberConverter(); + } + /** + * {@inheritDoc} + * + * @psalm-suppress DeprecatedMethod + */ + public function getFieldsHex() : array + { + return ($this->unwrapped ?? $this->unwrap())->getFieldsHex(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getClockSeqHiAndReservedHex() : string + { + return ($this->unwrapped ?? $this->unwrap())->getClockSeqHiAndReservedHex(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getClockSeqLowHex() : string + { + return ($this->unwrapped ?? $this->unwrap())->getClockSeqLowHex(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getClockSequenceHex() : string + { + return ($this->unwrapped ?? $this->unwrap())->getClockSequenceHex(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getDateTime() : DateTimeInterface + { + return ($this->unwrapped ?? $this->unwrap())->getDateTime(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getLeastSignificantBitsHex() : string + { + return ($this->unwrapped ?? $this->unwrap())->getLeastSignificantBitsHex(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getMostSignificantBitsHex() : string + { + return ($this->unwrapped ?? $this->unwrap())->getMostSignificantBitsHex(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getNodeHex() : string + { + return ($this->unwrapped ?? $this->unwrap())->getNodeHex(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getTimeHiAndVersionHex() : string + { + return ($this->unwrapped ?? $this->unwrap())->getTimeHiAndVersionHex(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getTimeLowHex() : string + { + return ($this->unwrapped ?? $this->unwrap())->getTimeLowHex(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getTimeMidHex() : string + { + return ($this->unwrapped ?? $this->unwrap())->getTimeMidHex(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getTimestampHex() : string + { + return ($this->unwrapped ?? $this->unwrap())->getTimestampHex(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getUrn() : string + { + return ($this->unwrapped ?? $this->unwrap())->getUrn(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getVariant() : ?int + { + return ($this->unwrapped ?? $this->unwrap())->getVariant(); + } + /** @psalm-suppress DeprecatedMethod */ + public function getVersion() : ?int + { + return ($this->unwrapped ?? $this->unwrap())->getVersion(); + } + public function compareTo(UuidInterface $other) : int + { + return ($this->unwrapped ?? $this->unwrap())->compareTo($other); + } + public function equals(?object $other) : bool + { + if (!$other instanceof UuidInterface) { + return \false; + } + return $this->uuid === $other->toString(); + } + /** + * {@inheritDoc} + * + * @psalm-suppress MoreSpecificReturnType + * @psalm-suppress LessSpecificReturnStatement we know that {@see self::$uuid} is a non-empty string, so + * we know that {@see hex2bin} will retrieve a non-empty string too. + */ + public function getBytes() : string + { + /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ + return (string) hex2bin(str_replace('-', '', $this->uuid)); + } + public function getFields() : FieldsInterface + { + return ($this->unwrapped ?? $this->unwrap())->getFields(); + } + public function getHex() : Hexadecimal + { + return ($this->unwrapped ?? $this->unwrap())->getHex(); + } + public function getInteger() : IntegerObject + { + return ($this->unwrapped ?? $this->unwrap())->getInteger(); + } + public function toString() : string + { + return $this->uuid; + } + public function __toString() : string + { + return $this->uuid; + } + public function jsonSerialize() : string + { + return $this->uuid; + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a {@see Rfc4122FieldsInterface} + * instance, you may call {@see Rfc4122FieldsInterface::getClockSeqHiAndReserved()} + * and use the arbitrary-precision math library of your choice to + * convert it to a string integer. + * + * @psalm-suppress UndefinedInterfaceMethod + * @psalm-suppress DeprecatedMethod + * @psalm-suppress MixedArgument + * @psalm-suppress MixedMethodCall + */ + public function getClockSeqHiAndReserved() : string + { + $instance = $this->unwrapped ?? $this->unwrap(); + return $instance->getNumberConverter()->fromHex($instance->getFields()->getClockSeqHiAndReserved()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a {@see Rfc4122FieldsInterface} + * instance, you may call {@see Rfc4122FieldsInterface::getClockSeqLow()} + * and use the arbitrary-precision math library of your choice to + * convert it to a string integer. + * + * @psalm-suppress UndefinedInterfaceMethod + * @psalm-suppress DeprecatedMethod + * @psalm-suppress MixedArgument + * @psalm-suppress MixedMethodCall + */ + public function getClockSeqLow() : string + { + $instance = $this->unwrapped ?? $this->unwrap(); + return $instance->getNumberConverter()->fromHex($instance->getFields()->getClockSeqLow()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a {@see Rfc4122FieldsInterface} + * instance, you may call {@see Rfc4122FieldsInterface::getClockSeq()} + * and use the arbitrary-precision math library of your choice to + * convert it to a string integer. + * + * @psalm-suppress UndefinedInterfaceMethod + * @psalm-suppress DeprecatedMethod + * @psalm-suppress MixedArgument + * @psalm-suppress MixedMethodCall + */ + public function getClockSequence() : string + { + $instance = $this->unwrapped ?? $this->unwrap(); + return $instance->getNumberConverter()->fromHex($instance->getFields()->getClockSeq()->toString()); + } + /** + * @deprecated This method will be removed in 5.0.0. There is no direct + * alternative, but the same information may be obtained by splitting + * in half the value returned by {@see UuidInterface::getHex()}. + * + * @psalm-suppress UndefinedInterfaceMethod + * @psalm-suppress DeprecatedMethod + * @psalm-suppress MixedArgument + * @psalm-suppress MixedMethodCall + */ + public function getLeastSignificantBits() : string + { + $instance = $this->unwrapped ?? $this->unwrap(); + return $instance->getNumberConverter()->fromHex(substr($instance->getHex()->toString(), 16)); + } + /** + * @deprecated This method will be removed in 5.0.0. There is no direct + * alternative, but the same information may be obtained by splitting + * in half the value returned by {@see UuidInterface::getHex()}. + * + * @psalm-suppress UndefinedInterfaceMethod + * @psalm-suppress DeprecatedMethod + * @psalm-suppress MixedArgument + * @psalm-suppress MixedMethodCall + */ + public function getMostSignificantBits() : string + { + $instance = $this->unwrapped ?? $this->unwrap(); + return $instance->getNumberConverter()->fromHex(substr($instance->getHex()->toString(), 0, 16)); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a {@see Rfc4122FieldsInterface} + * instance, you may call {@see Rfc4122FieldsInterface::getNode()} + * and use the arbitrary-precision math library of your choice to + * convert it to a string integer. + * + * @psalm-suppress UndefinedInterfaceMethod + * @psalm-suppress DeprecatedMethod + * @psalm-suppress MixedArgument + * @psalm-suppress MixedMethodCall + */ + public function getNode() : string + { + $instance = $this->unwrapped ?? $this->unwrap(); + return $instance->getNumberConverter()->fromHex($instance->getFields()->getNode()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a {@see Rfc4122FieldsInterface} + * instance, you may call {@see Rfc4122FieldsInterface::getTimeHiAndVersion()} + * and use the arbitrary-precision math library of your choice to + * convert it to a string integer. + * + * @psalm-suppress UndefinedInterfaceMethod + * @psalm-suppress DeprecatedMethod + * @psalm-suppress MixedArgument + * @psalm-suppress MixedMethodCall + */ + public function getTimeHiAndVersion() : string + { + $instance = $this->unwrapped ?? $this->unwrap(); + return $instance->getNumberConverter()->fromHex($instance->getFields()->getTimeHiAndVersion()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a {@see Rfc4122FieldsInterface} + * instance, you may call {@see Rfc4122FieldsInterface::getTimeLow()} + * and use the arbitrary-precision math library of your choice to + * convert it to a string integer. + * + * @psalm-suppress UndefinedInterfaceMethod + * @psalm-suppress DeprecatedMethod + * @psalm-suppress MixedArgument + * @psalm-suppress MixedMethodCall + */ + public function getTimeLow() : string + { + $instance = $this->unwrapped ?? $this->unwrap(); + return $instance->getNumberConverter()->fromHex($instance->getFields()->getTimeLow()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a {@see Rfc4122FieldsInterface} + * instance, you may call {@see Rfc4122FieldsInterface::getTimeMid()} + * and use the arbitrary-precision math library of your choice to + * convert it to a string integer. + * + * @psalm-suppress UndefinedInterfaceMethod + * @psalm-suppress DeprecatedMethod + * @psalm-suppress MixedArgument + * @psalm-suppress MixedMethodCall + */ + public function getTimeMid() : string + { + $instance = $this->unwrapped ?? $this->unwrap(); + return $instance->getNumberConverter()->fromHex($instance->getFields()->getTimeMid()->toString()); + } + /** + * @deprecated Use {@see UuidInterface::getFields()} to get a + * {@see FieldsInterface} instance. If it is a {@see Rfc4122FieldsInterface} + * instance, you may call {@see Rfc4122FieldsInterface::getTimestamp()} + * and use the arbitrary-precision math library of your choice to + * convert it to a string integer. + * + * @psalm-suppress UndefinedInterfaceMethod + * @psalm-suppress DeprecatedMethod + * @psalm-suppress MixedArgument + * @psalm-suppress MixedMethodCall + */ + public function getTimestamp() : string + { + $instance = $this->unwrapped ?? $this->unwrap(); + $fields = $instance->getFields(); + if ($fields->getVersion() !== 1) { + throw new UnsupportedOperationException('Not a time-based UUID'); + } + return $instance->getNumberConverter()->fromHex($fields->getTimestamp()->toString()); + } + public function toUuidV1() : UuidV1 + { + $instance = $this->unwrapped ?? $this->unwrap(); + if ($instance instanceof UuidV1) { + return $instance; + } + assert($instance instanceof UuidV6); + return $instance->toUuidV1(); + } + public function toUuidV6() : UuidV6 + { + $instance = $this->unwrapped ?? $this->unwrap(); + assert($instance instanceof UuidV6); + return $instance; + } + /** + * @psalm-suppress ImpureMethodCall the retrieval of the factory is a clear violation of purity here: this is a + * known pitfall of the design of this library, where a value object contains + * a mutable reference to a factory. We use a fixed factory here, so the violation + * will not have real-world effects, as this object is only instantiated with the + * default factory settings/features. + * @psalm-suppress InaccessibleProperty property {@see $unwrapped} is used as a cache: we don't expose it to the + * outside world, so we should be fine here. + */ + private function unwrap() : UuidInterface + { + return $this->unwrapped = (new UuidFactory())->fromString($this->uuid); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Math/BrickMathCalculator.php b/vendor/prefixed/ramsey/uuid/src/Math/BrickMathCalculator.php new file mode 100644 index 000000000..35d1dfc42 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Math/BrickMathCalculator.php @@ -0,0 +1,101 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigDecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\BigInteger; +use Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\Exception\MathException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Brick\Math\RoundingMode as BrickMathRounding; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Decimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\NumberInterface; +/** + * A calculator using the brick/math library for arbitrary-precision arithmetic + * + * @psalm-immutable + */ +final class BrickMathCalculator implements CalculatorInterface +{ + private const ROUNDING_MODE_MAP = [RoundingMode::UNNECESSARY => BrickMathRounding::UNNECESSARY, RoundingMode::UP => BrickMathRounding::UP, RoundingMode::DOWN => BrickMathRounding::DOWN, RoundingMode::CEILING => BrickMathRounding::CEILING, RoundingMode::FLOOR => BrickMathRounding::FLOOR, RoundingMode::HALF_UP => BrickMathRounding::HALF_UP, RoundingMode::HALF_DOWN => BrickMathRounding::HALF_DOWN, RoundingMode::HALF_CEILING => BrickMathRounding::HALF_CEILING, RoundingMode::HALF_FLOOR => BrickMathRounding::HALF_FLOOR, RoundingMode::HALF_EVEN => BrickMathRounding::HALF_EVEN]; + public function add(NumberInterface $augend, NumberInterface ...$addends) : NumberInterface + { + $sum = BigInteger::of($augend->toString()); + foreach ($addends as $addend) { + $sum = $sum->plus($addend->toString()); + } + return new IntegerObject((string) $sum); + } + public function subtract(NumberInterface $minuend, NumberInterface ...$subtrahends) : NumberInterface + { + $difference = BigInteger::of($minuend->toString()); + foreach ($subtrahends as $subtrahend) { + $difference = $difference->minus($subtrahend->toString()); + } + return new IntegerObject((string) $difference); + } + public function multiply(NumberInterface $multiplicand, NumberInterface ...$multipliers) : NumberInterface + { + $product = BigInteger::of($multiplicand->toString()); + foreach ($multipliers as $multiplier) { + $product = $product->multipliedBy($multiplier->toString()); + } + return new IntegerObject((string) $product); + } + public function divide(int $roundingMode, int $scale, NumberInterface $dividend, NumberInterface ...$divisors) : NumberInterface + { + $brickRounding = $this->getBrickRoundingMode($roundingMode); + $quotient = BigDecimal::of($dividend->toString()); + foreach ($divisors as $divisor) { + $quotient = $quotient->dividedBy($divisor->toString(), $scale, $brickRounding); + } + if ($scale === 0) { + return new IntegerObject((string) $quotient->toBigInteger()); + } + return new Decimal((string) $quotient); + } + public function fromBase(string $value, int $base) : IntegerObject + { + try { + return new IntegerObject((string) BigInteger::fromBase($value, $base)); + } catch (MathException|\InvalidArgumentException $exception) { + throw new InvalidArgumentException($exception->getMessage(), (int) $exception->getCode(), $exception); + } + } + public function toBase(IntegerObject $value, int $base) : string + { + try { + return BigInteger::of($value->toString())->toBase($base); + } catch (MathException|\InvalidArgumentException $exception) { + throw new InvalidArgumentException($exception->getMessage(), (int) $exception->getCode(), $exception); + } + } + public function toHexadecimal(IntegerObject $value) : Hexadecimal + { + return new Hexadecimal($this->toBase($value, 16)); + } + public function toInteger(Hexadecimal $value) : IntegerObject + { + return $this->fromBase($value->toString(), 16); + } + /** + * Maps ramsey/uuid rounding modes to those used by brick/math + * + * @return BrickMathRounding::* + */ + private function getBrickRoundingMode(int $roundingMode) + { + return self::ROUNDING_MODE_MAP[$roundingMode] ?? BrickMathRounding::UNNECESSARY; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Math/CalculatorInterface.php b/vendor/prefixed/ramsey/uuid/src/Math/CalculatorInterface.php new file mode 100644 index 000000000..824b3e3f6 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Math/CalculatorInterface.php @@ -0,0 +1,91 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\NumberInterface; +/** + * A calculator performs arithmetic operations on numbers + * + * @psalm-immutable + */ +interface CalculatorInterface +{ + /** + * Returns the sum of all the provided parameters + * + * @param NumberInterface $augend The first addend (the integer being added to) + * @param NumberInterface ...$addends The additional integers to a add to the augend + * + * @return NumberInterface The sum of all the parameters + */ + public function add(NumberInterface $augend, NumberInterface ...$addends) : NumberInterface; + /** + * Returns the difference of all the provided parameters + * + * @param NumberInterface $minuend The integer being subtracted from + * @param NumberInterface ...$subtrahends The integers to subtract from the minuend + * + * @return NumberInterface The difference after subtracting all parameters + */ + public function subtract(NumberInterface $minuend, NumberInterface ...$subtrahends) : NumberInterface; + /** + * Returns the product of all the provided parameters + * + * @param NumberInterface $multiplicand The integer to be multiplied + * @param NumberInterface ...$multipliers The factors by which to multiply the multiplicand + * + * @return NumberInterface The product of multiplying all the provided parameters + */ + public function multiply(NumberInterface $multiplicand, NumberInterface ...$multipliers) : NumberInterface; + /** + * Returns the quotient of the provided parameters divided left-to-right + * + * @param int $roundingMode The RoundingMode constant to use for this operation + * @param int $scale The scale to use for this operation + * @param NumberInterface $dividend The integer to be divided + * @param NumberInterface ...$divisors The integers to divide $dividend by, in + * the order in which the division operations should take place + * (left-to-right) + * + * @return NumberInterface The quotient of dividing the provided parameters left-to-right + */ + public function divide(int $roundingMode, int $scale, NumberInterface $dividend, NumberInterface ...$divisors) : NumberInterface; + /** + * Converts a value from an arbitrary base to a base-10 integer value + * + * @param string $value The value to convert + * @param int $base The base to convert from (i.e., 2, 16, 32, etc.) + * + * @return IntegerObject The base-10 integer value of the converted value + */ + public function fromBase(string $value, int $base) : IntegerObject; + /** + * Converts a base-10 integer value to an arbitrary base + * + * @param IntegerObject $value The integer value to convert + * @param int $base The base to convert to (i.e., 2, 16, 32, etc.) + * + * @return string The value represented in the specified base + */ + public function toBase(IntegerObject $value, int $base) : string; + /** + * Converts an Integer instance to a Hexadecimal instance + */ + public function toHexadecimal(IntegerObject $value) : Hexadecimal; + /** + * Converts a Hexadecimal instance to an Integer instance + */ + public function toInteger(Hexadecimal $value) : IntegerObject; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Math/RoundingMode.php b/vendor/prefixed/ramsey/uuid/src/Math/RoundingMode.php new file mode 100644 index 000000000..9aadcdb8f --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Math/RoundingMode.php @@ -0,0 +1,134 @@ += 0.5; otherwise, behaves + * as for DOWN. Note that this is the rounding mode commonly taught at + * school. + */ + public const HALF_UP = 5; + /** + * Rounds towards "nearest neighbor" unless both neighbors are equidistant, + * in which case round down. + * + * Behaves as for UP if the discarded fraction is > 0.5; otherwise, behaves + * as for DOWN. + */ + public const HALF_DOWN = 6; + /** + * Rounds towards "nearest neighbor" unless both neighbors are equidistant, + * in which case round towards positive infinity. + * + * If the result is positive, behaves as for HALF_UP; if negative, behaves + * as for HALF_DOWN. + */ + public const HALF_CEILING = 7; + /** + * Rounds towards "nearest neighbor" unless both neighbors are equidistant, + * in which case round towards negative infinity. + * + * If the result is positive, behaves as for HALF_DOWN; if negative, behaves + * as for HALF_UP. + */ + public const HALF_FLOOR = 8; + /** + * Rounds towards the "nearest neighbor" unless both neighbors are + * equidistant, in which case rounds towards the even neighbor. + * + * Behaves as for HALF_UP if the digit to the left of the discarded fraction + * is odd; behaves as for HALF_DOWN if it's even. + * + * Note that this is the rounding mode that statistically minimizes + * cumulative error when applied repeatedly over a sequence of calculations. + * It is sometimes known as "Banker's rounding", and is chiefly used in the + * USA. + */ + public const HALF_EVEN = 9; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Nonstandard/Fields.php b/vendor/prefixed/ramsey/uuid/src/Nonstandard/Fields.php new file mode 100644 index 000000000..78fefca0b --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Nonstandard/Fields.php @@ -0,0 +1,109 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Nonstandard; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Fields\SerializableFieldsTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\VariantTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use function bin2hex; +use function dechex; +use function hexdec; +use function sprintf; +use function str_pad; +use function strlen; +use function substr; +use const STR_PAD_LEFT; +/** + * Nonstandard UUID fields do not conform to the RFC 4122 standard + * + * Since some systems may create nonstandard UUIDs, this implements the + * Rfc4122\FieldsInterface, so that functionality of a nonstandard UUID is not + * degraded, in the event these UUIDs are expected to contain RFC 4122 fields. + * + * Internally, this class represents the fields together as a 16-byte binary + * string. + * + * @psalm-immutable + */ +final class Fields implements FieldsInterface +{ + /** + * @var string + */ + private $bytes; + use SerializableFieldsTrait; + use VariantTrait; + /** + * @param string $bytes A 16-byte binary string representation of a UUID + * + * @throws InvalidArgumentException if the byte string is not exactly 16 bytes + */ + public function __construct(string $bytes) + { + $this->bytes = $bytes; + if (strlen($this->bytes) !== 16) { + throw new InvalidArgumentException('The byte string must be 16 bytes long; ' . 'received ' . strlen($this->bytes) . ' bytes'); + } + } + public function getBytes() : string + { + return $this->bytes; + } + public function getClockSeq() : Hexadecimal + { + $clockSeq = hexdec(bin2hex(substr($this->bytes, 8, 2))) & 0x3fff; + return new Hexadecimal(str_pad(dechex($clockSeq), 4, '0', STR_PAD_LEFT)); + } + public function getClockSeqHiAndReserved() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 8, 1))); + } + public function getClockSeqLow() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 9, 1))); + } + public function getNode() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 10))); + } + public function getTimeHiAndVersion() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 6, 2))); + } + public function getTimeLow() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 0, 4))); + } + public function getTimeMid() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 4, 2))); + } + public function getTimestamp() : Hexadecimal + { + return new Hexadecimal(sprintf('%03x%04s%08s', hexdec($this->getTimeHiAndVersion()->toString()) & 0xfff, $this->getTimeMid()->toString(), $this->getTimeLow()->toString())); + } + public function getVersion() : ?int + { + return null; + } + public function isNil() : bool + { + return \false; + } + public function isMax() : bool + { + return \false; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Nonstandard/Uuid.php b/vendor/prefixed/ramsey/uuid/src/Nonstandard/Uuid.php new file mode 100644 index 000000000..017bf10b4 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Nonstandard/Uuid.php @@ -0,0 +1,30 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Nonstandard; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid as BaseUuid; +/** + * Nonstandard\Uuid is a UUID that doesn't conform to RFC 4122 + * + * @psalm-immutable + */ +final class Uuid extends BaseUuid +{ + public function __construct(Fields $fields, NumberConverterInterface $numberConverter, CodecInterface $codec, TimeConverterInterface $timeConverter) + { + parent::__construct($fields, $numberConverter, $codec, $timeConverter); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Nonstandard/UuidBuilder.php b/vendor/prefixed/ramsey/uuid/src/Nonstandard/UuidBuilder.php new file mode 100644 index 000000000..dd751e659 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Nonstandard/UuidBuilder.php @@ -0,0 +1,74 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Nonstandard; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder\UuidBuilderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\UnableToBuildUuidException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +use Throwable; +/** + * Nonstandard\UuidBuilder builds instances of Nonstandard\Uuid + * + * @psalm-immutable + */ +class UuidBuilder implements UuidBuilderInterface +{ + /** + * @var NumberConverterInterface + */ + private $numberConverter; + /** + * @var TimeConverterInterface + */ + private $timeConverter; + /** + * @param NumberConverterInterface $numberConverter The number converter to + * use when constructing the Nonstandard\Uuid + * @param TimeConverterInterface $timeConverter The time converter to use + * for converting timestamps extracted from a UUID to Unix timestamps + */ + public function __construct(NumberConverterInterface $numberConverter, TimeConverterInterface $timeConverter) + { + $this->numberConverter = $numberConverter; + $this->timeConverter = $timeConverter; + } + /** + * Builds and returns a Nonstandard\Uuid + * + * @param CodecInterface $codec The codec to use for building this instance + * @param string $bytes The byte string from which to construct a UUID + * + * @return Uuid The Nonstandard\UuidBuilder returns an instance of + * Nonstandard\Uuid + * + * @psalm-pure + */ + public function build(CodecInterface $codec, string $bytes) : UuidInterface + { + try { + return new Uuid($this->buildFields($bytes), $this->numberConverter, $codec, $this->timeConverter); + } catch (Throwable $e) { + throw new UnableToBuildUuidException($e->getMessage(), (int) $e->getCode(), $e); + } + } + /** + * Proxy method to allow injecting a mock, for testing + */ + protected function buildFields(string $bytes) : Fields + { + return new Fields($bytes); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Nonstandard/UuidV6.php b/vendor/prefixed/ramsey/uuid/src/Nonstandard/UuidV6.php new file mode 100644 index 000000000..8fc4d9203 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Nonstandard/UuidV6.php @@ -0,0 +1,79 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Nonstandard; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Lazy\LazyUuidFromString; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\FieldsInterface as Rfc4122FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\TimeTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\UuidInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\UuidV1; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid as BaseUuid; +/** + * Reordered time, or version 6, UUIDs include timestamp, clock sequence, and + * node values that are combined into a 128-bit unsigned integer + * + * @deprecated Use {@see \Ramsey\Uuid\Rfc4122\UuidV6} instead. + * + * @link https://github.com/uuid6/uuid6-ietf-draft UUID version 6 IETF draft + * @link http://gh.peabody.io/uuidv6/ "Version 6" UUIDs + * + * @psalm-immutable + */ +class UuidV6 extends BaseUuid implements UuidInterface +{ + use TimeTrait; + /** + * Creates a version 6 (reordered time) UUID + * + * @param Rfc4122FieldsInterface $fields The fields from which to construct a UUID + * @param NumberConverterInterface $numberConverter The number converter to use + * for converting hex values to/from integers + * @param CodecInterface $codec The codec to use when encoding or decoding + * UUID strings + * @param TimeConverterInterface $timeConverter The time converter to use + * for converting timestamps extracted from a UUID to unix timestamps + */ + public function __construct(Rfc4122FieldsInterface $fields, NumberConverterInterface $numberConverter, CodecInterface $codec, TimeConverterInterface $timeConverter) + { + if ($fields->getVersion() !== Uuid::UUID_TYPE_REORDERED_TIME) { + throw new InvalidArgumentException('Fields used to create a UuidV6 must represent a ' . 'version 6 (reordered time) UUID'); + } + parent::__construct($fields, $numberConverter, $codec, $timeConverter); + } + /** + * Converts this UUID into an instance of a version 1 UUID + */ + public function toUuidV1() : UuidV1 + { + $hex = $this->getHex()->toString(); + $hex = substr($hex, 7, 5) . substr($hex, 13, 3) . substr($hex, 3, 4) . '1' . substr($hex, 0, 3) . substr($hex, 16); + /** @var LazyUuidFromString $uuid */ + $uuid = Uuid::fromBytes((string) hex2bin($hex)); + return $uuid->toUuidV1(); + } + /** + * Converts a version 1 UUID into an instance of a version 6 UUID + */ + public static function fromUuidV1(UuidV1 $uuidV1) : \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\UuidV6 + { + $hex = $uuidV1->getHex()->toString(); + $hex = substr($hex, 13, 3) . substr($hex, 8, 4) . substr($hex, 0, 5) . '6' . substr($hex, 5, 3) . substr($hex, 16); + /** @var LazyUuidFromString $uuid */ + $uuid = Uuid::fromBytes((string) hex2bin($hex)); + return $uuid->toUuidV6(); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php b/vendor/prefixed/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php new file mode 100644 index 000000000..80ae57a43 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php @@ -0,0 +1,187 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Dce; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\DceSecurityException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\DceSecurityProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use function escapeshellarg; +use function preg_split; +use function str_getcsv; +use function strrpos; +use function strtolower; +use function strtoupper; +use function substr; +use function trim; +use const PREG_SPLIT_NO_EMPTY; +/** + * SystemDceSecurityProvider retrieves the user or group identifiers from the system + */ +class SystemDceSecurityProvider implements DceSecurityProviderInterface +{ + /** + * @throws DceSecurityException if unable to get a user identifier + * + * @inheritDoc + */ + public function getUid() : IntegerObject + { + /** @var int|float|string|IntegerObject|null $uid */ + static $uid = null; + if ($uid instanceof IntegerObject) { + return $uid; + } + if ($uid === null) { + $uid = $this->getSystemUid(); + } + if ($uid === '') { + throw new DceSecurityException('Unable to get a user identifier using the system DCE ' . 'Security provider; please provide a custom identifier or ' . 'use a different provider'); + } + $uid = new IntegerObject($uid); + return $uid; + } + /** + * @throws DceSecurityException if unable to get a group identifier + * + * @inheritDoc + */ + public function getGid() : IntegerObject + { + /** @var int|float|string|IntegerObject|null $gid */ + static $gid = null; + if ($gid instanceof IntegerObject) { + return $gid; + } + if ($gid === null) { + $gid = $this->getSystemGid(); + } + if ($gid === '') { + throw new DceSecurityException('Unable to get a group identifier using the system DCE ' . 'Security provider; please provide a custom identifier or ' . 'use a different provider'); + } + $gid = new IntegerObject($gid); + return $gid; + } + /** + * Returns the UID from the system + */ + private function getSystemUid() : string + { + if (!$this->hasShellExec()) { + return ''; + } + switch ($this->getOs()) { + case 'WIN': + return $this->getWindowsUid(); + default: + return trim((string) shell_exec('id -u')); + } + } + /** + * Returns the GID from the system + */ + private function getSystemGid() : string + { + if (!$this->hasShellExec()) { + return ''; + } + switch ($this->getOs()) { + case 'WIN': + return $this->getWindowsGid(); + default: + return trim((string) shell_exec('id -g')); + } + } + /** + * Returns true if shell_exec() is available for use + */ + private function hasShellExec() : bool + { + $disabledFunctions = strtolower((string) ini_get('disable_functions')); + return strpos($disabledFunctions, 'shell_exec') === false; + } + /** + * Returns the PHP_OS string + */ + private function getOs() : string + { + /** + * @psalm-suppress UnnecessaryVarAnnotation + * @var string $phpOs + */ + $phpOs = constant('PHP_OS'); + return strtoupper(substr($phpOs, 0, 3)); + } + /** + * Returns the user identifier for a user on a Windows system + * + * Windows does not have the same concept as an effective POSIX UID for the + * running script. Instead, each user is uniquely identified by an SID + * (security identifier). The SID includes three 32-bit unsigned integers + * that make up a unique domain identifier, followed by an RID (relative + * identifier) that we will use as the UID. The primary caveat is that this + * UID may not be unique to the system, since it is, instead, unique to the + * domain. + * + * @link https://www.lifewire.com/what-is-an-sid-number-2626005 What Is an SID Number? + * @link https://bit.ly/30vE7NM Well-known SID Structures + * @link https://bit.ly/2FWcYKJ Well-known security identifiers in Windows operating systems + * @link https://www.windows-commandline.com/get-sid-of-user/ Get SID of user + */ + private function getWindowsUid() : string + { + $response = shell_exec('whoami /user /fo csv /nh'); + if ($response === null) { + return ''; + } + $sid = str_getcsv(trim((string) $response))[1] ?? ''; + if (($lastHyphen = strrpos($sid, '-')) === \false) { + return ''; + } + return trim(substr($sid, $lastHyphen + 1)); + } + /** + * Returns a group identifier for a user on a Windows system + * + * Since Windows does not have the same concept as an effective POSIX GID + * for the running script, we will get the local group memberships for the + * user running the script. Then, we will get the SID (security identifier) + * for the first group that appears in that list. Finally, we will return + * the RID (relative identifier) for the group and use that as the GID. + * + * @link https://www.windows-commandline.com/list-of-user-groups-command-line/ List of user groups command line + */ + private function getWindowsGid() : string + { + $response = shell_exec('net user %username% | findstr /b /i "Local Group Memberships"'); + if ($response === null) { + return ''; + } + /** @var string[] $userGroups */ + $userGroups = preg_split('/\\s{2,}/', (string) $response, -1, PREG_SPLIT_NO_EMPTY); + $firstGroup = trim($userGroups[1] ?? '', "* \t\n\r\x00\v"); + if ($firstGroup === '') { + return ''; + } + $response = shell_exec('wmic group get name,sid | findstr /b /i ' . escapeshellarg($firstGroup)); + if ($response === null) { + return ''; + } + /** @var string[] $userGroup */ + $userGroup = preg_split('/\\s{2,}/', (string) $response, -1, PREG_SPLIT_NO_EMPTY); + $sid = $userGroup[1] ?? ''; + if (($lastHyphen = strrpos($sid, '-')) === \false) { + return ''; + } + return trim(substr($sid, $lastHyphen + 1)); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Provider/DceSecurityProviderInterface.php b/vendor/prefixed/ramsey/uuid/src/Provider/DceSecurityProviderInterface.php new file mode 100644 index 000000000..8358896ac --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Provider/DceSecurityProviderInterface.php @@ -0,0 +1,37 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\UuidV2; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +/** + * A DCE provider provides access to local domain identifiers for version 2, + * DCE Security, UUIDs + * + * @see UuidV2 + */ +interface DceSecurityProviderInterface +{ + /** + * Returns a user identifier for the system + * + * @link https://en.wikipedia.org/wiki/User_identifier User identifier + */ + public function getUid() : IntegerObject; + /** + * Returns a group identifier for the system + * + * @link https://en.wikipedia.org/wiki/Group_identifier Group identifier + */ + public function getGid() : IntegerObject; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php b/vendor/prefixed/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php new file mode 100644 index 000000000..3b737e990 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php @@ -0,0 +1,48 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Node; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\NodeException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +/** + * FallbackNodeProvider retrieves the system node ID by stepping through a list + * of providers until a node ID can be obtained + */ +class FallbackNodeProvider implements NodeProviderInterface +{ + /** + * @var iterable + */ + private $providers; + /** + * @param iterable $providers Array of node providers + */ + public function __construct(iterable $providers) + { + $this->providers = $providers; + } + public function getNode() : Hexadecimal + { + $lastProviderException = null; + foreach ($this->providers as $provider) { + try { + return $provider->getNode(); + } catch (NodeException $exception) { + $lastProviderException = $exception; + continue; + } + } + throw new NodeException('Unable to find a suitable node provider', 0, $lastProviderException); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Provider/Node/NodeProviderCollection.php b/vendor/prefixed/ramsey/uuid/src/Provider/Node/NodeProviderCollection.php new file mode 100644 index 000000000..b7985fc71 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Provider/Node/NodeProviderCollection.php @@ -0,0 +1,51 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Node; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Collection\AbstractCollection; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +/** + * A collection of NodeProviderInterface objects + * + * @deprecated this class has been deprecated, and will be removed in 5.0.0. The use-case for this class comes from + * a pre-`phpstan/phpstan` and pre-`vimeo/psalm` ecosystem, in which type safety had to be mostly enforced + * at runtime: that is no longer necessary, now that you can safely verify your code to be correct, and use + * more generic types like `iterable` instead. + * + * @extends AbstractCollection + */ +class NodeProviderCollection extends AbstractCollection +{ + public function getType() : string + { + return NodeProviderInterface::class; + } + /** + * Re-constructs the object from its serialized form + * + * @param string $serialized The serialized PHP string to unserialize into + * a UuidInterface instance + * + * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint + * @psalm-suppress RedundantConditionGivenDocblockType + */ + public function unserialize($serialized) : void + { + /** @var array $data */ + $data = unserialize($serialized, ['allowed_classes' => [Hexadecimal::class, RandomNodeProvider::class, StaticNodeProvider::class, SystemNodeProvider::class]]); + $this->data = array_filter($data, function ($unserialized) : bool { + return $unserialized instanceof NodeProviderInterface; + }); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php b/vendor/prefixed/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php new file mode 100644 index 000000000..db6056fcc --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php @@ -0,0 +1,49 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Node; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\RandomSourceException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Throwable; +use function bin2hex; +use function dechex; +use function hex2bin; +use function hexdec; +use function str_pad; +use function substr; +use const STR_PAD_LEFT; +/** + * RandomNodeProvider generates a random node ID + * + * @link http://tools.ietf.org/html/rfc4122#section-4.5 RFC 4122, § 4.5: Node IDs that Do Not Identify the Host + */ +class RandomNodeProvider implements NodeProviderInterface +{ + public function getNode() : Hexadecimal + { + try { + $nodeBytes = random_bytes(6); + } catch (Throwable $exception) { + throw new RandomSourceException($exception->getMessage(), (int) $exception->getCode(), $exception); + } + // Split the node bytes for math on 32-bit systems. + $nodeMsb = substr($nodeBytes, 0, 3); + $nodeLsb = substr($nodeBytes, 3); + // Set the multicast bit; see RFC 4122, section 4.5. + $nodeMsb = hex2bin(str_pad(dechex(hexdec(bin2hex($nodeMsb)) | 0x10000), 6, '0', STR_PAD_LEFT)); + // Recombine the node bytes. + $node = $nodeMsb . $nodeLsb; + return new Hexadecimal(str_pad(bin2hex($node), 12, '0', STR_PAD_LEFT)); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Provider/Node/StaticNodeProvider.php b/vendor/prefixed/ramsey/uuid/src/Provider/Node/StaticNodeProvider.php new file mode 100644 index 000000000..963fb2346 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Provider/Node/StaticNodeProvider.php @@ -0,0 +1,58 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Node; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use function dechex; +use function hexdec; +use function str_pad; +use function substr; +use const STR_PAD_LEFT; +/** + * StaticNodeProvider provides a static node value with the multicast bit set + * + * @link http://tools.ietf.org/html/rfc4122#section-4.5 RFC 4122, § 4.5: Node IDs that Do Not Identify the Host + */ +class StaticNodeProvider implements NodeProviderInterface +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal + */ + private $node; + /** + * @param Hexadecimal $node The static node value to use + */ + public function __construct(Hexadecimal $node) + { + if (strlen($node->toString()) > 12) { + throw new InvalidArgumentException('Static node value cannot be greater than 12 hexadecimal characters'); + } + $this->node = $this->setMulticastBit($node); + } + public function getNode() : Hexadecimal + { + return $this->node; + } + /** + * Set the multicast bit for the static node value + */ + private function setMulticastBit(Hexadecimal $node) : Hexadecimal + { + $nodeHex = str_pad($node->toString(), 12, '0', STR_PAD_LEFT); + $firstOctet = substr($nodeHex, 0, 2); + $firstOctet = str_pad(dechex(hexdec($firstOctet) | 0x1), 2, '0', STR_PAD_LEFT); + return new Hexadecimal($firstOctet . substr($nodeHex, 2)); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php b/vendor/prefixed/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php new file mode 100644 index 000000000..1ec107541 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php @@ -0,0 +1,153 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Node; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\NodeException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use function array_filter; +use function array_map; +use function array_walk; +use function count; +use function ob_get_clean; +use function ob_start; +use function preg_match; +use function preg_match_all; +use function reset; +use function str_contains; +use function str_replace; +use function strtolower; +use function strtoupper; +use function substr; +use const GLOB_NOSORT; +use const PREG_PATTERN_ORDER; +/** + * SystemNodeProvider retrieves the system node ID, if possible + * + * The system node ID, or host ID, is often the same as the MAC address for a + * network interface on the host. + */ +class SystemNodeProvider implements NodeProviderInterface +{ + /** + * Pattern to match nodes in ifconfig and ipconfig output. + */ + private const IFCONFIG_PATTERN = '/[^:]([0-9a-f]{2}([:-])[0-9a-f]{2}(\\2[0-9a-f]{2}){4})[^:]/i'; + /** + * Pattern to match nodes in sysfs stream output. + */ + private const SYSFS_PATTERN = '/^([0-9a-f]{2}:){5}[0-9a-f]{2}$/i'; + public function getNode() : Hexadecimal + { + $node = $this->getNodeFromSystem(); + if ($node === '') { + throw new NodeException('Unable to fetch a node for this system'); + } + return new Hexadecimal($node); + } + /** + * Returns the system node, if it can find it + */ + protected function getNodeFromSystem() : string + { + static $node = null; + if ($node !== null) { + return (string) $node; + } + // First, try a Linux-specific approach. + $node = $this->getSysfs(); + if ($node === '') { + // Search ifconfig output for MAC addresses & return the first one. + $node = $this->getIfconfig(); + } + $node = str_replace([':', '-'], '', $node); + return $node; + } + /** + * Returns the network interface configuration for the system + * + * @codeCoverageIgnore + */ + protected function getIfconfig() : string + { + $disabledFunctions = strtolower((string) ini_get('disable_functions')); + if (strpos($disabledFunctions, 'passthru') !== false) { + return ''; + } + /** + * @psalm-suppress UnnecessaryVarAnnotation + * @var string $phpOs + */ + $phpOs = constant('PHP_OS'); + ob_start(); + switch (strtoupper(substr($phpOs, 0, 3))) { + case 'WIN': + passthru('ipconfig /all 2>&1'); + break; + case 'DAR': + passthru('ifconfig 2>&1'); + break; + case 'FRE': + passthru('netstat -i -f link 2>&1'); + break; + case 'LIN': + default: + passthru('netstat -ie 2>&1'); + break; + } + $ifconfig = (string) ob_get_clean(); + if (preg_match_all(self::IFCONFIG_PATTERN, $ifconfig, $matches, PREG_PATTERN_ORDER)) { + foreach ($matches[1] as $iface) { + if ($iface !== '00:00:00:00:00:00' && $iface !== '00-00-00-00-00-00') { + return $iface; + } + } + } + return ''; + } + /** + * Returns MAC address from the first system interface via the sysfs interface + */ + protected function getSysfs() : string + { + $mac = ''; + /** + * @psalm-suppress UnnecessaryVarAnnotation + * @var string $phpOs + */ + $phpOs = constant('PHP_OS'); + if (strtoupper($phpOs) === 'LINUX') { + $addressPaths = glob('/sys/class/net/*/address', GLOB_NOSORT); + if ($addressPaths === \false || count($addressPaths) === 0) { + return ''; + } + /** @var array $macs */ + $macs = []; + array_walk($addressPaths, function (string $addressPath) use(&$macs) : void { + if (is_readable($addressPath)) { + $macs[] = file_get_contents($addressPath); + } + }); + /** @var callable $trim */ + $trim = 'trim'; + $macs = array_map($trim, $macs); + // Remove invalid entries. + $macs = array_filter($macs, function (string $address) { + return $address !== '00:00:00:00:00:00' && preg_match(self::SYSFS_PATTERN, $address); + }); + /** @var string|bool $mac */ + $mac = reset($macs); + } + return (string) $mac; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Provider/NodeProviderInterface.php b/vendor/prefixed/ramsey/uuid/src/Provider/NodeProviderInterface.php new file mode 100644 index 000000000..0a8ab8652 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Provider/NodeProviderInterface.php @@ -0,0 +1,27 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +/** + * A node provider retrieves or generates a node ID + */ +interface NodeProviderInterface +{ + /** + * Returns a node ID + * + * @return Hexadecimal The node ID as a hexadecimal string + */ + public function getNode() : Hexadecimal; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Provider/Time/FixedTimeProvider.php b/vendor/prefixed/ramsey/uuid/src/Provider/Time/FixedTimeProvider.php new file mode 100644 index 000000000..f9a492409 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Provider/Time/FixedTimeProvider.php @@ -0,0 +1,56 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Time; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\TimeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Time; +/** + * FixedTimeProvider uses a known time to provide the time + * + * This provider allows the use of a previously-generated, or known, time + * when generating time-based UUIDs. + */ +class FixedTimeProvider implements TimeProviderInterface +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Time + */ + private $time; + public function __construct(Time $time) + { + $this->time = $time; + } + /** + * Sets the `usec` component of the time + * + * @param int|string|IntegerObject $value The `usec` value to set + */ + public function setUsec($value) : void + { + $this->time = new Time($this->time->getSeconds(), $value); + } + /** + * Sets the `sec` component of the time + * + * @param int|string|IntegerObject $value The `sec` value to set + */ + public function setSec($value) : void + { + $this->time = new Time($value, $this->time->getMicroseconds()); + } + public function getTime() : Time + { + return $this->time; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php b/vendor/prefixed/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php new file mode 100644 index 000000000..1732dd595 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php @@ -0,0 +1,28 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Time; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\TimeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Time; +use function gettimeofday; +/** + * SystemTimeProvider retrieves the current time using built-in PHP functions + */ +class SystemTimeProvider implements TimeProviderInterface +{ + public function getTime() : Time + { + $time = gettimeofday(); + return new Time($time['sec'], $time['usec']); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Provider/TimeProviderInterface.php b/vendor/prefixed/ramsey/uuid/src/Provider/TimeProviderInterface.php new file mode 100644 index 000000000..8a0c8954d --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Provider/TimeProviderInterface.php @@ -0,0 +1,25 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Time; +/** + * A time provider retrieves the current time + */ +interface TimeProviderInterface +{ + /** + * Returns a time object + */ + public function getTime() : Time; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/Fields.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/Fields.php new file mode 100644 index 000000000..f9fce29c0 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/Fields.php @@ -0,0 +1,155 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Fields\SerializableFieldsTrait; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +use function bin2hex; +use function dechex; +use function hexdec; +use function sprintf; +use function str_pad; +use function strlen; +use function substr; +use function unpack; +use const STR_PAD_LEFT; +/** + * RFC 4122 variant UUIDs are comprised of a set of named fields + * + * Internally, this class represents the fields together as a 16-byte binary + * string. + * + * @psalm-immutable + */ +final class Fields implements FieldsInterface +{ + /** + * @var string + */ + private $bytes; + use MaxTrait; + use NilTrait; + use SerializableFieldsTrait; + use VariantTrait; + use VersionTrait; + /** + * @param string $bytes A 16-byte binary string representation of a UUID + * + * @throws InvalidArgumentException if the byte string is not exactly 16 bytes + * @throws InvalidArgumentException if the byte string does not represent an RFC 4122 UUID + * @throws InvalidArgumentException if the byte string does not contain a valid version + */ + public function __construct(string $bytes) + { + $this->bytes = $bytes; + if (strlen($this->bytes) !== 16) { + throw new InvalidArgumentException('The byte string must be 16 bytes long; ' . 'received ' . strlen($this->bytes) . ' bytes'); + } + if (!$this->isCorrectVariant()) { + throw new InvalidArgumentException('The byte string received does not conform to the RFC 4122 variant'); + } + if (!$this->isCorrectVersion()) { + throw new InvalidArgumentException('The byte string received does not contain a valid RFC 4122 version'); + } + } + public function getBytes() : string + { + return $this->bytes; + } + public function getClockSeq() : Hexadecimal + { + if ($this->isMax()) { + $clockSeq = 0xffff; + } elseif ($this->isNil()) { + $clockSeq = 0x0; + } else { + $clockSeq = hexdec(bin2hex(substr($this->bytes, 8, 2))) & 0x3fff; + } + return new Hexadecimal(str_pad(dechex($clockSeq), 4, '0', STR_PAD_LEFT)); + } + public function getClockSeqHiAndReserved() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 8, 1))); + } + public function getClockSeqLow() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 9, 1))); + } + public function getNode() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 10))); + } + public function getTimeHiAndVersion() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 6, 2))); + } + public function getTimeLow() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 0, 4))); + } + public function getTimeMid() : Hexadecimal + { + return new Hexadecimal(bin2hex(substr($this->bytes, 4, 2))); + } + /** + * Returns the full 60-bit timestamp, without the version + * + * For version 2 UUIDs, the time_low field is the local identifier and + * should not be returned as part of the time. For this reason, we set the + * bottom 32 bits of the timestamp to 0's. As a result, there is some loss + * of fidelity of the timestamp, for version 2 UUIDs. The timestamp can be + * off by a range of 0 to 429.4967295 seconds (or 7 minutes, 9 seconds, and + * 496730 microseconds). + * + * For version 6 UUIDs, the timestamp order is reversed from the typical RFC + * 4122 order (the time bits are in the correct bit order, so that it is + * monotonically increasing). In returning the timestamp value, we put the + * bits in the order: time_low + time_mid + time_hi. + */ + public function getTimestamp() : Hexadecimal + { + switch ($this->getVersion()) { + case Uuid::UUID_TYPE_DCE_SECURITY: + $timestamp = sprintf('%03x%04s%08s', hexdec($this->getTimeHiAndVersion()->toString()) & 0xfff, $this->getTimeMid()->toString(), ''); + break; + case Uuid::UUID_TYPE_REORDERED_TIME: + $timestamp = sprintf('%08s%04s%03x', $this->getTimeLow()->toString(), $this->getTimeMid()->toString(), hexdec($this->getTimeHiAndVersion()->toString()) & 0xfff); + break; + case Uuid::UUID_TYPE_UNIX_TIME: + $timestamp = sprintf('%011s%04s', $this->getTimeLow()->toString(), $this->getTimeMid()->toString()); + break; + default: + $timestamp = sprintf('%03x%04s%08s', hexdec($this->getTimeHiAndVersion()->toString()) & 0xfff, $this->getTimeMid()->toString(), $this->getTimeLow()->toString()); + break; + } + return new Hexadecimal($timestamp); + } + public function getVersion() : ?int + { + if ($this->isNil() || $this->isMax()) { + return null; + } + /** @var int[] $parts */ + $parts = unpack('n*', $this->bytes); + return $parts[4] >> 12; + } + private function isCorrectVariant() : bool + { + if ($this->isNil() || $this->isMax()) { + return \true; + } + return $this->getVariant() === Uuid::RFC_4122; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/FieldsInterface.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/FieldsInterface.php new file mode 100644 index 000000000..375d24126 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/FieldsInterface.php @@ -0,0 +1,115 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Fields\FieldsInterface as BaseFieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +/** + * RFC 4122 defines fields for a specific variant of UUID + * + * The fields of an RFC 4122 variant UUID are: + * + * * **time_low**: The low field of the timestamp, an unsigned 32-bit integer + * * **time_mid**: The middle field of the timestamp, an unsigned 16-bit integer + * * **time_hi_and_version**: The high field of the timestamp multiplexed with + * the version number, an unsigned 16-bit integer + * * **clock_seq_hi_and_reserved**: The high field of the clock sequence + * multiplexed with the variant, an unsigned 8-bit integer + * * **clock_seq_low**: The low field of the clock sequence, an unsigned + * 8-bit integer + * * **node**: The spatially unique node identifier, an unsigned 48-bit + * integer + * + * @link http://tools.ietf.org/html/rfc4122#section-4.1 RFC 4122, § 4.1: Format + * + * @psalm-immutable + */ +interface FieldsInterface extends BaseFieldsInterface +{ + /** + * Returns the full 16-bit clock sequence, with the variant bits (two most + * significant bits) masked out + */ + public function getClockSeq() : Hexadecimal; + /** + * Returns the high field of the clock sequence multiplexed with the variant + */ + public function getClockSeqHiAndReserved() : Hexadecimal; + /** + * Returns the low field of the clock sequence + */ + public function getClockSeqLow() : Hexadecimal; + /** + * Returns the node field + */ + public function getNode() : Hexadecimal; + /** + * Returns the high field of the timestamp multiplexed with the version + */ + public function getTimeHiAndVersion() : Hexadecimal; + /** + * Returns the low field of the timestamp + */ + public function getTimeLow() : Hexadecimal; + /** + * Returns the middle field of the timestamp + */ + public function getTimeMid() : Hexadecimal; + /** + * Returns the full 60-bit timestamp, without the version + */ + public function getTimestamp() : Hexadecimal; + /** + * Returns the variant + * + * The variant number describes the layout of the UUID. The variant + * number has the following meaning: + * + * - 0 - Reserved for NCS backward compatibility + * - 2 - The RFC 4122 variant + * - 6 - Reserved, Microsoft Corporation backward compatibility + * - 7 - Reserved for future definition + * + * For RFC 4122 variant UUIDs, this value should always be the integer `2`. + * + * @link http://tools.ietf.org/html/rfc4122#section-4.1.1 RFC 4122, § 4.1.1: Variant + */ + public function getVariant() : int; + /** + * Returns the version + * + * The version number describes how the UUID was generated and has the + * following meaning: + * + * 1. Gregorian time UUID + * 2. DCE security UUID + * 3. Name-based UUID hashed with MD5 + * 4. Randomly generated UUID + * 5. Name-based UUID hashed with SHA-1 + * 6. Reordered time UUID + * 7. Unix Epoch time UUID + * + * This returns `null` if the UUID is not an RFC 4122 variant, since version + * is only meaningful for this variant. + * + * @link http://tools.ietf.org/html/rfc4122#section-4.1.3 RFC 4122, § 4.1.3: Version + */ + public function getVersion() : ?int; + /** + * Returns true if these fields represent a nil UUID + * + * The nil UUID is special form of UUID that is specified to have all 128 + * bits set to zero. + */ + public function isNil() : bool; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/MaxTrait.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/MaxTrait.php new file mode 100644 index 000000000..428900ab0 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/MaxTrait.php @@ -0,0 +1,38 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +/** + * Provides common functionality for max UUIDs + * + * The max UUID is special form of UUID that is specified to have all 128 bits + * set to one. It is the inverse of the nil UUID. + * + * @link https://datatracker.ietf.org/doc/html/draft-ietf-uuidrev-rfc4122bis-00#section-5.10 Max UUID + * + * @psalm-immutable + */ +trait MaxTrait +{ + /** + * Returns the bytes that comprise the fields + */ + public abstract function getBytes() : string; + /** + * Returns true if the byte string represents a max UUID + */ + public function isMax() : bool + { + return $this->getBytes() === "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/MaxUuid.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/MaxUuid.php new file mode 100644 index 000000000..28a31088e --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/MaxUuid.php @@ -0,0 +1,24 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +/** + * The max UUID is special form of UUID that is specified to have all 128 bits + * set to one + * + * @psalm-immutable + */ +final class MaxUuid extends Uuid implements UuidInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/NilTrait.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/NilTrait.php new file mode 100644 index 000000000..8e33e47d5 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/NilTrait.php @@ -0,0 +1,38 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +/** + * Provides common functionality for nil UUIDs + * + * The nil UUID is special form of UUID that is specified to have all 128 bits + * set to zero. + * + * @link https://tools.ietf.org/html/rfc4122#section-4.1.7 RFC 4122, § 4.1.7: Nil UUID + * + * @psalm-immutable + */ +trait NilTrait +{ + /** + * Returns the bytes that comprise the fields + */ + public abstract function getBytes() : string; + /** + * Returns true if the byte string represents a nil UUID + */ + public function isNil() : bool + { + return $this->getBytes() === "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/NilUuid.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/NilUuid.php new file mode 100644 index 000000000..bc51a7ffe --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/NilUuid.php @@ -0,0 +1,24 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +/** + * The nil UUID is special form of UUID that is specified to have all 128 bits + * set to zero + * + * @psalm-immutable + */ +final class NilUuid extends Uuid implements UuidInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/TimeTrait.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/TimeTrait.php new file mode 100644 index 000000000..19a1c1d7d --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/TimeTrait.php @@ -0,0 +1,44 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use DateTimeImmutable; +use DateTimeInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\DateTimeException; +use Throwable; +use function str_pad; +use const STR_PAD_LEFT; +/** + * Provides common functionality for getting the time from a time-based UUID + * + * @psalm-immutable + */ +trait TimeTrait +{ + /** + * Returns a DateTimeInterface object representing the timestamp associated + * with the UUID + * + * @return DateTimeImmutable A PHP DateTimeImmutable instance representing + * the timestamp of a time-based UUID + */ + public function getDateTime() : DateTimeInterface + { + $time = $this->timeConverter->convertTime($this->fields->getTimestamp()); + try { + return new DateTimeImmutable('@' . $time->getSeconds()->toString() . '.' . str_pad($time->getMicroseconds()->toString(), 6, '0', STR_PAD_LEFT)); + } catch (Throwable $e) { + throw new DateTimeException($e->getMessage(), (int) $e->getCode(), $e); + } + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidBuilder.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidBuilder.php new file mode 100644 index 000000000..2be8c1c5d --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidBuilder.php @@ -0,0 +1,115 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder\UuidBuilderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\Time\UnixTimeConverter; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\UnableToBuildUuidException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\UnsupportedOperationException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Math\BrickMathCalculator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\UuidInterface as Rfc4122UuidInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface; +use Throwable; +/** + * UuidBuilder builds instances of RFC 4122 UUIDs + * + * @psalm-immutable + */ +class UuidBuilder implements UuidBuilderInterface +{ + /** + * @var NumberConverterInterface + */ + private $numberConverter; + /** + * @var TimeConverterInterface + */ + private $timeConverter; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface + */ + private $unixTimeConverter; + /** + * Constructs the DefaultUuidBuilder + * + * @param NumberConverterInterface $numberConverter The number converter to + * use when constructing the Uuid + * @param TimeConverterInterface $timeConverter The time converter to use + * for converting Gregorian time extracted from version 1, 2, and 6 + * UUIDs to Unix timestamps + * @param TimeConverterInterface|null $unixTimeConverter The time converter + * to use for converter Unix Epoch time extracted from version 7 UUIDs + * to Unix timestamps + */ + public function __construct(NumberConverterInterface $numberConverter, TimeConverterInterface $timeConverter, ?TimeConverterInterface $unixTimeConverter = null) + { + $this->numberConverter = $numberConverter; + $this->timeConverter = $timeConverter; + $this->unixTimeConverter = $unixTimeConverter ?? new UnixTimeConverter(new BrickMathCalculator()); + } + /** + * Builds and returns a Uuid + * + * @param CodecInterface $codec The codec to use for building this Uuid instance + * @param string $bytes The byte string from which to construct a UUID + * + * @return Rfc4122UuidInterface UuidBuilder returns instances of Rfc4122UuidInterface + * + * @psalm-pure + */ + public function build(CodecInterface $codec, string $bytes) : UuidInterface + { + try { + /** @var Fields $fields */ + $fields = $this->buildFields($bytes); + if ($fields->isNil()) { + return new NilUuid($fields, $this->numberConverter, $codec, $this->timeConverter); + } + if ($fields->isMax()) { + return new MaxUuid($fields, $this->numberConverter, $codec, $this->timeConverter); + } + switch ($fields->getVersion()) { + case Uuid::UUID_TYPE_TIME: + return new UuidV1($fields, $this->numberConverter, $codec, $this->timeConverter); + case Uuid::UUID_TYPE_DCE_SECURITY: + return new UuidV2($fields, $this->numberConverter, $codec, $this->timeConverter); + case Uuid::UUID_TYPE_HASH_MD5: + return new UuidV3($fields, $this->numberConverter, $codec, $this->timeConverter); + case Uuid::UUID_TYPE_RANDOM: + return new UuidV4($fields, $this->numberConverter, $codec, $this->timeConverter); + case Uuid::UUID_TYPE_HASH_SHA1: + return new UuidV5($fields, $this->numberConverter, $codec, $this->timeConverter); + case Uuid::UUID_TYPE_REORDERED_TIME: + return new UuidV6($fields, $this->numberConverter, $codec, $this->timeConverter); + case Uuid::UUID_TYPE_UNIX_TIME: + return new UuidV7($fields, $this->numberConverter, $codec, $this->unixTimeConverter); + case Uuid::UUID_TYPE_CUSTOM: + return new UuidV8($fields, $this->numberConverter, $codec, $this->timeConverter); + } + throw new UnsupportedOperationException('The UUID version in the given fields is not supported ' . 'by this UUID builder'); + } catch (Throwable $e) { + throw new UnableToBuildUuidException($e->getMessage(), (int) $e->getCode(), $e); + } + } + /** + * Proxy method to allow injecting a mock, for testing + */ + protected function buildFields(string $bytes) : FieldsInterface + { + return new Fields($bytes); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidInterface.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidInterface.php new file mode 100644 index 000000000..ae2bf32b5 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidInterface.php @@ -0,0 +1,26 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidInterface as BaseUuidInterface; +/** + * Also known as a Leach-Salz variant UUID, an RFC 4122 variant UUID is a + * universally unique identifier defined by RFC 4122 + * + * @link https://tools.ietf.org/html/rfc4122 RFC 4122 + * + * @psalm-immutable + */ +interface UuidInterface extends BaseUuidInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV1.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV1.php new file mode 100644 index 000000000..514bac04d --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV1.php @@ -0,0 +1,48 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\FieldsInterface as Rfc4122FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +/** + * Gregorian time, or version 1, UUIDs include timestamp, clock sequence, and node + * values that are combined into a 128-bit unsigned integer + * + * @psalm-immutable + */ +final class UuidV1 extends Uuid implements UuidInterface +{ + use TimeTrait; + /** + * Creates a version 1 (Gregorian time) UUID + * + * @param Rfc4122FieldsInterface $fields The fields from which to construct a UUID + * @param NumberConverterInterface $numberConverter The number converter to use + * for converting hex values to/from integers + * @param CodecInterface $codec The codec to use when encoding or decoding + * UUID strings + * @param TimeConverterInterface $timeConverter The time converter to use + * for converting timestamps extracted from a UUID to unix timestamps + */ + public function __construct(Rfc4122FieldsInterface $fields, NumberConverterInterface $numberConverter, CodecInterface $codec, TimeConverterInterface $timeConverter) + { + if ($fields->getVersion() !== Uuid::UUID_TYPE_TIME) { + throw new InvalidArgumentException('Fields used to create a UuidV1 must represent a ' . 'version 1 (time-based) UUID'); + } + parent::__construct($fields, $numberConverter, $codec, $timeConverter); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV2.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV2.php new file mode 100644 index 000000000..bb4b06de4 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV2.php @@ -0,0 +1,95 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\FieldsInterface as Rfc4122FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +use function hexdec; +/** + * DCE Security version, or version 2, UUIDs include local domain identifier, + * local ID for the specified domain, and node values that are combined into a + * 128-bit unsigned integer + * + * It is important to note that a version 2 UUID suffers from some loss of + * fidelity of the timestamp, due to replacing the time_low field with the + * local identifier. When constructing the timestamp value for date + * purposes, we replace the local identifier bits with zeros. As a result, + * the timestamp can be off by a range of 0 to 429.4967295 seconds (or 7 + * minutes, 9 seconds, and 496730 microseconds). + * + * Astute observers might note this value directly corresponds to 2^32 - 1, + * or 0xffffffff. The local identifier is 32-bits, and we have set each of + * these bits to 0, so the maximum range of timestamp drift is 0x00000000 + * to 0xffffffff (counted in 100-nanosecond intervals). + * + * @link https://publications.opengroup.org/c311 DCE 1.1: Authentication and Security Services + * @link https://publications.opengroup.org/c706 DCE 1.1: Remote Procedure Call + * @link https://pubs.opengroup.org/onlinepubs/9696989899/chap5.htm#tagcjh_08_02_01_01 DCE 1.1: Auth & Sec, §5.2.1.1 + * @link https://pubs.opengroup.org/onlinepubs/9696989899/chap11.htm#tagcjh_14_05_01_01 DCE 1.1: Auth & Sec, §11.5.1.1 + * @link https://pubs.opengroup.org/onlinepubs/9629399/apdxa.htm DCE 1.1: RPC, Appendix A + * @link https://github.com/google/uuid Go package for UUIDs (includes DCE implementation) + * + * @psalm-immutable + */ +final class UuidV2 extends Uuid implements UuidInterface +{ + use TimeTrait; + /** + * Creates a version 2 (DCE Security) UUID + * + * @param Rfc4122FieldsInterface $fields The fields from which to construct a UUID + * @param NumberConverterInterface $numberConverter The number converter to use + * for converting hex values to/from integers + * @param CodecInterface $codec The codec to use when encoding or decoding + * UUID strings + * @param TimeConverterInterface $timeConverter The time converter to use + * for converting timestamps extracted from a UUID to unix timestamps + */ + public function __construct(Rfc4122FieldsInterface $fields, NumberConverterInterface $numberConverter, CodecInterface $codec, TimeConverterInterface $timeConverter) + { + if ($fields->getVersion() !== Uuid::UUID_TYPE_DCE_SECURITY) { + throw new InvalidArgumentException('Fields used to create a UuidV2 must represent a ' . 'version 2 (DCE Security) UUID'); + } + parent::__construct($fields, $numberConverter, $codec, $timeConverter); + } + /** + * Returns the local domain used to create this version 2 UUID + */ + public function getLocalDomain() : int + { + /** @var Rfc4122FieldsInterface $fields */ + $fields = $this->getFields(); + return (int) hexdec($fields->getClockSeqLow()->toString()); + } + /** + * Returns the string name of the local domain + */ + public function getLocalDomainName() : string + { + return Uuid::DCE_DOMAIN_NAMES[$this->getLocalDomain()]; + } + /** + * Returns the local identifier for the domain used to create this version 2 UUID + */ + public function getLocalIdentifier() : IntegerObject + { + /** @var Rfc4122FieldsInterface $fields */ + $fields = $this->getFields(); + return new IntegerObject($this->numberConverter->fromHex($fields->getTimeLow()->toString())); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV3.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV3.php new file mode 100644 index 000000000..dd81613ee --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV3.php @@ -0,0 +1,47 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\FieldsInterface as Rfc4122FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +/** + * Version 3 UUIDs are named-based, using combination of a namespace and name + * that are hashed into a 128-bit unsigned integer using MD5 + * + * @psalm-immutable + */ +final class UuidV3 extends Uuid implements UuidInterface +{ + /** + * Creates a version 3 (name-based, MD5-hashed) UUID + * + * @param Rfc4122FieldsInterface $fields The fields from which to construct a UUID + * @param NumberConverterInterface $numberConverter The number converter to use + * for converting hex values to/from integers + * @param CodecInterface $codec The codec to use when encoding or decoding + * UUID strings + * @param TimeConverterInterface $timeConverter The time converter to use + * for converting timestamps extracted from a UUID to unix timestamps + */ + public function __construct(Rfc4122FieldsInterface $fields, NumberConverterInterface $numberConverter, CodecInterface $codec, TimeConverterInterface $timeConverter) + { + if ($fields->getVersion() !== Uuid::UUID_TYPE_HASH_MD5) { + throw new InvalidArgumentException('Fields used to create a UuidV3 must represent a ' . 'version 3 (name-based, MD5-hashed) UUID'); + } + parent::__construct($fields, $numberConverter, $codec, $timeConverter); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV4.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV4.php new file mode 100644 index 000000000..6e46dda75 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV4.php @@ -0,0 +1,47 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\FieldsInterface as Rfc4122FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +/** + * Random, or version 4, UUIDs are randomly or pseudo-randomly generated 128-bit + * integers + * + * @psalm-immutable + */ +final class UuidV4 extends Uuid implements UuidInterface +{ + /** + * Creates a version 4 (random) UUID + * + * @param Rfc4122FieldsInterface $fields The fields from which to construct a UUID + * @param NumberConverterInterface $numberConverter The number converter to use + * for converting hex values to/from integers + * @param CodecInterface $codec The codec to use when encoding or decoding + * UUID strings + * @param TimeConverterInterface $timeConverter The time converter to use + * for converting timestamps extracted from a UUID to unix timestamps + */ + public function __construct(Rfc4122FieldsInterface $fields, NumberConverterInterface $numberConverter, CodecInterface $codec, TimeConverterInterface $timeConverter) + { + if ($fields->getVersion() !== Uuid::UUID_TYPE_RANDOM) { + throw new InvalidArgumentException('Fields used to create a UuidV4 must represent a ' . 'version 4 (random) UUID'); + } + parent::__construct($fields, $numberConverter, $codec, $timeConverter); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV5.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV5.php new file mode 100644 index 000000000..35fd5414d --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV5.php @@ -0,0 +1,47 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\FieldsInterface as Rfc4122FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +/** + * Version 5 UUIDs are named-based, using combination of a namespace and name + * that are hashed into a 128-bit unsigned integer using SHA1 + * + * @psalm-immutable + */ +final class UuidV5 extends Uuid implements UuidInterface +{ + /** + * Creates a version 5 (name-based, SHA1-hashed) UUID + * + * @param Rfc4122FieldsInterface $fields The fields from which to construct a UUID + * @param NumberConverterInterface $numberConverter The number converter to use + * for converting hex values to/from integers + * @param CodecInterface $codec The codec to use when encoding or decoding + * UUID strings + * @param TimeConverterInterface $timeConverter The time converter to use + * for converting timestamps extracted from a UUID to unix timestamps + */ + public function __construct(Rfc4122FieldsInterface $fields, NumberConverterInterface $numberConverter, CodecInterface $codec, TimeConverterInterface $timeConverter) + { + if ($fields->getVersion() !== Uuid::UUID_TYPE_HASH_SHA1) { + throw new InvalidArgumentException('Fields used to create a UuidV5 must represent a ' . 'version 5 (named-based, SHA1-hashed) UUID'); + } + parent::__construct($fields, $numberConverter, $codec, $timeConverter); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV6.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV6.php new file mode 100644 index 000000000..351c2af35 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV6.php @@ -0,0 +1,26 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Nonstandard\UuidV6 as NonstandardUuidV6; +/** + * Reordered time, or version 6, UUIDs include timestamp, clock sequence, and + * node values that are combined into a 128-bit unsigned integer + * + * @link https://datatracker.ietf.org/doc/html/draft-ietf-uuidrev-rfc4122bis-00#section-5.6 UUID Version 6 + * + * @psalm-immutable + */ +final class UuidV6 extends NonstandardUuidV6 implements UuidInterface +{ +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV7.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV7.php new file mode 100644 index 000000000..260f19b28 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV7.php @@ -0,0 +1,50 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\FieldsInterface as Rfc4122FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +/** + * Unix Epoch time, or version 7, UUIDs include a timestamp in milliseconds + * since the Unix Epoch, along with random bytes + * + * @link https://datatracker.ietf.org/doc/html/draft-ietf-uuidrev-rfc4122bis-00#section-5.7 UUID Version 7 + * + * @psalm-immutable + */ +final class UuidV7 extends Uuid implements UuidInterface +{ + use TimeTrait; + /** + * Creates a version 7 (Unix Epoch time) UUID + * + * @param Rfc4122FieldsInterface $fields The fields from which to construct a UUID + * @param NumberConverterInterface $numberConverter The number converter to use + * for converting hex values to/from integers + * @param CodecInterface $codec The codec to use when encoding or decoding + * UUID strings + * @param TimeConverterInterface $timeConverter The time converter to use + * for converting timestamps extracted from a UUID to unix timestamps + */ + public function __construct(Rfc4122FieldsInterface $fields, NumberConverterInterface $numberConverter, CodecInterface $codec, TimeConverterInterface $timeConverter) + { + if ($fields->getVersion() !== Uuid::UUID_TYPE_UNIX_TIME) { + throw new InvalidArgumentException('Fields used to create a UuidV7 must represent a ' . 'version 7 (Unix Epoch time) UUID'); + } + parent::__construct($fields, $numberConverter, $codec, $timeConverter); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV8.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV8.php new file mode 100644 index 000000000..16b917630 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/UuidV8.php @@ -0,0 +1,54 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\FieldsInterface as Rfc4122FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +/** + * Version 8, Custom UUIDs provide an RFC 4122 compatible format for + * experimental or vendor-specific uses + * + * The only requirement for version 8 UUIDs is that the version and variant bits + * must be set. Otherwise, implementations are free to set the other bits + * according to their needs. As a result, the uniqueness of version 8 UUIDs is + * implementation-specific and should not be assumed. + * + * @link https://datatracker.ietf.org/doc/html/draft-ietf-uuidrev-rfc4122bis-00#section-5.8 UUID Version 8 + * + * @psalm-immutable + */ +final class UuidV8 extends Uuid implements UuidInterface +{ + /** + * Creates a version 8 (custom) UUID + * + * @param Rfc4122FieldsInterface $fields The fields from which to construct a UUID + * @param NumberConverterInterface $numberConverter The number converter to use + * for converting hex values to/from integers + * @param CodecInterface $codec The codec to use when encoding or decoding + * UUID strings + * @param TimeConverterInterface $timeConverter The time converter to use + * for converting timestamps extracted from a UUID to unix timestamps + */ + public function __construct(Rfc4122FieldsInterface $fields, NumberConverterInterface $numberConverter, CodecInterface $codec, TimeConverterInterface $timeConverter) + { + if ($fields->getVersion() !== Uuid::UUID_TYPE_CUSTOM) { + throw new InvalidArgumentException('Fields used to create a UuidV8 must represent a ' . 'version 8 (custom) UUID'); + } + parent::__construct($fields, $numberConverter, $codec, $timeConverter); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/Validator.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/Validator.php new file mode 100644 index 000000000..e6946cdb4 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/Validator.php @@ -0,0 +1,42 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Validator\ValidatorInterface; +use function preg_match; +use function str_replace; +/** + * Rfc4122\Validator validates strings as UUIDs of the RFC 4122 variant + * + * @psalm-immutable + */ +final class Validator implements ValidatorInterface +{ + private const VALID_PATTERN = '\\A[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-' . '[1-8][0-9A-Fa-f]{3}-[ABab89][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}\\z'; + /** + * @psalm-return non-empty-string + * @psalm-suppress MoreSpecificReturnType we know that the retrieved `string` is never empty + * @psalm-suppress LessSpecificReturnStatement we know that the retrieved `string` is never empty + */ + public function getPattern() : string + { + return self::VALID_PATTERN; + } + public function validate(string $uuid) : bool + { + $uuid = str_replace(['urn:', 'uuid:', 'URN:', 'UUID:', '{', '}'], '', $uuid); + $uuid = strtolower($uuid); + return $uuid === Uuid::NIL || $uuid === Uuid::MAX || preg_match('/' . self::VALID_PATTERN . '/Dms', $uuid); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/VariantTrait.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/VariantTrait.php new file mode 100644 index 000000000..5ee26307c --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/VariantTrait.php @@ -0,0 +1,77 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidBytesException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +use function decbin; +use function str_pad; +use function str_starts_with; +use function strlen; +use function substr; +use function unpack; +use const STR_PAD_LEFT; +/** + * Provides common functionality for handling the variant, as defined by RFC 4122 + * + * @psalm-immutable + */ +trait VariantTrait +{ + /** + * Returns the bytes that comprise the fields + */ + public abstract function getBytes() : string; + /** + * Returns the variant identifier, according to RFC 4122, for the given bytes + * + * The following values may be returned: + * + * - `0` -- Reserved, NCS backward compatibility. + * - `2` -- The variant specified in RFC 4122. + * - `6` -- Reserved, Microsoft Corporation backward compatibility. + * - `7` -- Reserved for future definition. + * + * @link https://tools.ietf.org/html/rfc4122#section-4.1.1 RFC 4122, § 4.1.1: Variant + * + * @return int The variant identifier, according to RFC 4122 + */ + public function getVariant() : int + { + if (strlen($this->getBytes()) !== 16) { + throw new InvalidBytesException('Invalid number of bytes'); + } + if ($this->isMax() || $this->isNil()) { + // RFC 4122 defines these special types of UUID, so we will consider + // them as belonging to the RFC 4122 variant. + return Uuid::RFC_4122; + } + /** @var int[] $parts */ + $parts = unpack('n*', $this->getBytes()); + // $parts[5] is a 16-bit, unsigned integer containing the variant bits + // of the UUID. We convert this integer into a string containing a + // binary representation, padded to 16 characters. We analyze the first + // three characters (three most-significant bits) to determine the + // variant. + $binary = str_pad(decbin($parts[5]), 16, '0', STR_PAD_LEFT); + $msb = substr($binary, 0, 3); + if ($msb === '111') { + return Uuid::RESERVED_FUTURE; + } elseif ($msb === '110') { + return Uuid::RESERVED_MICROSOFT; + } elseif (strncmp($msb, '10', strlen('10')) === 0) { + return Uuid::RFC_4122; + } + return Uuid::RESERVED_NCS; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Rfc4122/VersionTrait.php b/vendor/prefixed/ramsey/uuid/src/Rfc4122/VersionTrait.php new file mode 100644 index 000000000..13f967e21 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Rfc4122/VersionTrait.php @@ -0,0 +1,59 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +/** + * Provides common functionality for handling the version, as defined by RFC 4122 + * + * @psalm-immutable + */ +trait VersionTrait +{ + /** + * Returns the version + */ + public abstract function getVersion() : ?int; + /** + * Returns true if these fields represent a max UUID + */ + public abstract function isMax() : bool; + /** + * Returns true if these fields represent a nil UUID + */ + public abstract function isNil() : bool; + /** + * Returns true if the version matches one of those defined by RFC 4122 + * + * @return bool True if the UUID version is valid, false otherwise + */ + private function isCorrectVersion() : bool + { + if ($this->isNil() || $this->isMax()) { + return \true; + } + switch ($this->getVersion()) { + case Uuid::UUID_TYPE_TIME: + case Uuid::UUID_TYPE_DCE_SECURITY: + case Uuid::UUID_TYPE_HASH_MD5: + case Uuid::UUID_TYPE_RANDOM: + case Uuid::UUID_TYPE_HASH_SHA1: + case Uuid::UUID_TYPE_REORDERED_TIME: + case Uuid::UUID_TYPE_UNIX_TIME: + case Uuid::UUID_TYPE_CUSTOM: + return \true; + default: + return \false; + } + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Type/Decimal.php b/vendor/prefixed/ramsey/uuid/src/Type/Decimal.php new file mode 100644 index 000000000..6f2eefe66 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Type/Decimal.php @@ -0,0 +1,116 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use ValueError; +use function is_numeric; +use function sprintf; +use function str_starts_with; +/** + * A value object representing a decimal + * + * This class exists for type-safety purposes, to ensure that decimals + * returned from ramsey/uuid methods as strings are truly decimals and not some + * other kind of string. + * + * To support values as true decimals and not as floats or doubles, we store the + * decimals as strings. + * + * @psalm-immutable + */ +final class Decimal implements NumberInterface +{ + /** + * @var string + */ + private $value; + /** + * @var bool + */ + private $isNegative = \false; + /** + * @param float|int|string|$this $value + */ + public function __construct($value) + { + $value = (string) $value; + if (!is_numeric($value)) { + throw new InvalidArgumentException('Value must be a signed decimal or a string containing only ' . 'digits 0-9 and, optionally, a decimal point or sign (+ or -)'); + } + // Remove the leading +-symbol. + if (strncmp($value, '+', strlen('+')) === 0) { + $value = substr($value, 1); + } + // For cases like `-0` or `-0.0000`, convert the value to `0`. + if (abs((float) $value) === 0.0) { + $value = '0'; + } + if (strncmp($value, '-', strlen('-')) === 0) { + $this->isNegative = \true; + } + $this->value = $value; + } + public function isNegative() : bool + { + return $this->isNegative; + } + public function toString() : string + { + return $this->value; + } + public function __toString() : string + { + return $this->toString(); + } + public function jsonSerialize() : string + { + return $this->toString(); + } + public function serialize() : string + { + return $this->toString(); + } + /** + * @return array{string: string} + */ + public function __serialize() : array + { + return ['string' => $this->toString()]; + } + /** + * Constructs the object from a serialized string representation + * + * @param string $data The serialized string representation of the object + * + * @psalm-suppress UnusedMethodCall + */ + public function unserialize(string $data) : void + { + $this->__construct($data); + } + /** + * @param array{string?: string} $data + * + * @psalm-suppress UnusedMethodCall + */ + public function __unserialize(array $data) : void + { + // @codeCoverageIgnoreStart + if (!isset($data['string'])) { + throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); + } + // @codeCoverageIgnoreEnd + $this->unserialize($data['string']); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Type/Hexadecimal.php b/vendor/prefixed/ramsey/uuid/src/Type/Hexadecimal.php new file mode 100644 index 000000000..bd219a754 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Type/Hexadecimal.php @@ -0,0 +1,99 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use ValueError; +use function preg_match; +use function sprintf; +use function substr; +/** + * A value object representing a hexadecimal number + * + * This class exists for type-safety purposes, to ensure that hexadecimal numbers + * returned from ramsey/uuid methods as strings are truly hexadecimal and not some + * other kind of string. + * + * @psalm-immutable + */ +final class Hexadecimal implements TypeInterface +{ + /** + * @var string + */ + private $value; + /** + * @param self|string $value The hexadecimal value to store + */ + public function __construct($value) + { + $this->value = $value instanceof self ? (string) $value : $this->prepareValue($value); + } + public function toString() : string + { + return $this->value; + } + public function __toString() : string + { + return $this->toString(); + } + public function jsonSerialize() : string + { + return $this->toString(); + } + public function serialize() : string + { + return $this->toString(); + } + /** + * @return array{string: string} + */ + public function __serialize() : array + { + return ['string' => $this->toString()]; + } + /** + * Constructs the object from a serialized string representation + * + * @param string $data The serialized string representation of the object + * + * @psalm-suppress UnusedMethodCall + */ + public function unserialize(string $data) : void + { + $this->__construct($data); + } + /** + * @param array{string?: string} $data + */ + public function __unserialize(array $data) : void + { + // @codeCoverageIgnoreStart + if (!isset($data['string'])) { + throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); + } + // @codeCoverageIgnoreEnd + $this->unserialize($data['string']); + } + private function prepareValue(string $value) : string + { + $value = strtolower($value); + if (strncmp($value, '0x', strlen('0x')) === 0) { + $value = substr($value, 2); + } + if (!preg_match('/^[A-Fa-f0-9]+$/', $value)) { + throw new InvalidArgumentException('Value must be a hexadecimal number'); + } + return $value; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Type/Integer.php b/vendor/prefixed/ramsey/uuid/src/Type/Integer.php new file mode 100644 index 000000000..0c07ee642 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Type/Integer.php @@ -0,0 +1,139 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\InvalidArgumentException; +use ValueError; +use function assert; +use function is_numeric; +use function preg_match; +use function sprintf; +use function substr; +/** + * A value object representing an integer + * + * This class exists for type-safety purposes, to ensure that integers + * returned from ramsey/uuid methods as strings are truly integers and not some + * other kind of string. + * + * To support large integers beyond PHP_INT_MAX and PHP_INT_MIN on both 64-bit + * and 32-bit systems, we store the integers as strings. + * + * @psalm-immutable + */ +final class Integer implements NumberInterface +{ + /** + * @psalm-var numeric-string + * @var string + */ + private $value; + /** + * @var bool + */ + private $isNegative = \false; + /** + * @param float|int|string|$this $value + */ + public function __construct($value) + { + $this->value = $value instanceof self ? (string) $value : $this->prepareValue($value); + } + public function isNegative() : bool + { + return $this->isNegative; + } + /** + * @psalm-return numeric-string + */ + public function toString() : string + { + return $this->value; + } + /** + * @psalm-return numeric-string + */ + public function __toString() : string + { + return $this->toString(); + } + public function jsonSerialize() : string + { + return $this->toString(); + } + public function serialize() : string + { + return $this->toString(); + } + /** + * @return array{string: string} + */ + public function __serialize() : array + { + return ['string' => $this->toString()]; + } + /** + * Constructs the object from a serialized string representation + * + * @param string $data The serialized string representation of the object + * + * @psalm-suppress UnusedMethodCall + */ + public function unserialize(string $data) : void + { + $this->__construct($data); + } + /** + * @param array{string?: string} $data + */ + public function __unserialize(array $data) : void + { + // @codeCoverageIgnoreStart + if (!isset($data['string'])) { + throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); + } + // @codeCoverageIgnoreEnd + $this->unserialize($data['string']); + } + /** + * @return numeric-string + * @param float|int|string $value + */ + private function prepareValue($value) : string + { + $value = (string) $value; + $sign = '+'; + // If the value contains a sign, remove it for digit pattern check. + if (strncmp($value, '-', strlen('-')) === 0 || strncmp($value, '+', strlen('+')) === 0) { + $sign = substr($value, 0, 1); + $value = substr($value, 1); + } + if (!preg_match('/^\\d+$/', $value)) { + throw new InvalidArgumentException('Value must be a signed integer or a string containing only ' . 'digits 0-9 and, optionally, a sign (+ or -)'); + } + // Trim any leading zeros. + $value = ltrim($value, '0'); + // Set to zero if the string is empty after trimming zeros. + if ($value === '') { + $value = '0'; + } + // Add the negative sign back to the value. + if ($sign === '-' && $value !== '0') { + $value = $sign . $value; + /** @psalm-suppress InaccessibleProperty */ + $this->isNegative = \true; + } + assert(is_numeric($value)); + return $value; + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Type/NumberInterface.php b/vendor/prefixed/ramsey/uuid/src/Type/NumberInterface.php new file mode 100644 index 000000000..597303176 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Type/NumberInterface.php @@ -0,0 +1,26 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type; + +/** + * NumberInterface ensures consistency in numeric values returned by ramsey/uuid + * + * @psalm-immutable + */ +interface NumberInterface extends TypeInterface +{ + /** + * Returns true if this number is less than zero + */ + public function isNegative() : bool; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Type/Time.php b/vendor/prefixed/ramsey/uuid/src/Type/Time.php new file mode 100644 index 000000000..dfcc119f7 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Type/Time.php @@ -0,0 +1,111 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\UnsupportedOperationException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use ValueError; +use function json_decode; +use function json_encode; +use function sprintf; +/** + * A value object representing a timestamp + * + * This class exists for type-safety purposes, to ensure that timestamps used + * by ramsey/uuid are truly timestamp integers and not some other kind of string + * or integer. + * + * @psalm-immutable + */ +final class Time implements TypeInterface +{ + /** + * @var IntegerObject + */ + private $seconds; + /** + * @var IntegerObject + */ + private $microseconds; + /** + * @param float|int|string|IntegerObject $seconds + * @param float|int|string|IntegerObject $microseconds + */ + public function __construct($seconds, $microseconds = 0) + { + $this->seconds = new IntegerObject($seconds); + $this->microseconds = new IntegerObject($microseconds); + } + public function getSeconds() : IntegerObject + { + return $this->seconds; + } + public function getMicroseconds() : IntegerObject + { + return $this->microseconds; + } + public function toString() : string + { + return $this->seconds->toString() . '.' . sprintf('%06s', $this->microseconds->toString()); + } + public function __toString() : string + { + return $this->toString(); + } + /** + * @return string[] + */ + public function jsonSerialize() : array + { + return ['seconds' => $this->getSeconds()->toString(), 'microseconds' => $this->getMicroseconds()->toString()]; + } + public function serialize() : string + { + return (string) json_encode($this); + } + /** + * @return array{seconds: string, microseconds: string} + */ + public function __serialize() : array + { + return ['seconds' => $this->getSeconds()->toString(), 'microseconds' => $this->getMicroseconds()->toString()]; + } + /** + * Constructs the object from a serialized string representation + * + * @param string $data The serialized string representation of the object + * + * @psalm-suppress UnusedMethodCall + */ + public function unserialize(string $data) : void + { + /** @var array{seconds?: int|float|string, microseconds?: int|float|string} $time */ + $time = json_decode($data, \true); + if (!isset($time['seconds']) || !isset($time['microseconds'])) { + throw new UnsupportedOperationException('Attempted to unserialize an invalid value'); + } + $this->__construct($time['seconds'], $time['microseconds']); + } + /** + * @param array{seconds?: string, microseconds?: string} $data + */ + public function __unserialize(array $data) : void + { + // @codeCoverageIgnoreStart + if (!isset($data['seconds']) || !isset($data['microseconds'])) { + throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); + } + // @codeCoverageIgnoreEnd + $this->__construct($data['seconds'], $data['microseconds']); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Type/TypeInterface.php b/vendor/prefixed/ramsey/uuid/src/Type/TypeInterface.php new file mode 100644 index 000000000..efe7f8640 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Type/TypeInterface.php @@ -0,0 +1,26 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type; + +use JsonSerializable; +use Serializable; +/** + * TypeInterface ensures consistency in typed values returned by ramsey/uuid + * + * @psalm-immutable + */ +interface TypeInterface extends JsonSerializable, Serializable +{ + public function toString() : string; + public function __toString() : string; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Uuid.php b/vendor/prefixed/ramsey/uuid/src/Uuid.php new file mode 100644 index 000000000..d012526bb --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Uuid.php @@ -0,0 +1,661 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid; + +use BadMethodCallException; +use DateTimeInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Exception\UnsupportedOperationException; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Fields\FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Lazy\LazyUuidFromString; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Rfc4122\FieldsInterface as Rfc4122FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use ValueError; +use function assert; +use function bin2hex; +use function method_exists; +use function preg_match; +use function sprintf; +use function str_replace; +use function strcmp; +use function strlen; +use function strtolower; +use function substr; +/** + * Uuid provides constants and static methods for working with and generating UUIDs + * + * @psalm-immutable + */ +class Uuid implements UuidInterface +{ + use DeprecatedUuidMethodsTrait; + /** + * When this namespace is specified, the name string is a fully-qualified + * domain name + * + * @link http://tools.ietf.org/html/rfc4122#appendix-C RFC 4122, Appendix C: Some Name Space IDs + */ + public const NAMESPACE_DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'; + /** + * When this namespace is specified, the name string is a URL + * + * @link http://tools.ietf.org/html/rfc4122#appendix-C RFC 4122, Appendix C: Some Name Space IDs + */ + public const NAMESPACE_URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'; + /** + * When this namespace is specified, the name string is an ISO OID + * + * @link http://tools.ietf.org/html/rfc4122#appendix-C RFC 4122, Appendix C: Some Name Space IDs + */ + public const NAMESPACE_OID = '6ba7b812-9dad-11d1-80b4-00c04fd430c8'; + /** + * When this namespace is specified, the name string is an X.500 DN in DER + * or a text output format + * + * @link http://tools.ietf.org/html/rfc4122#appendix-C RFC 4122, Appendix C: Some Name Space IDs + */ + public const NAMESPACE_X500 = '6ba7b814-9dad-11d1-80b4-00c04fd430c8'; + /** + * The nil UUID is a special form of UUID that is specified to have all 128 + * bits set to zero + * + * @link http://tools.ietf.org/html/rfc4122#section-4.1.7 RFC 4122, § 4.1.7: Nil UUID + */ + public const NIL = '00000000-0000-0000-0000-000000000000'; + /** + * The max UUID is a special form of UUID that is specified to have all 128 + * bits set to one + * + * @link https://datatracker.ietf.org/doc/html/draft-ietf-uuidrev-rfc4122bis-00#section-5.10 Max UUID + */ + public const MAX = 'ffffffff-ffff-ffff-ffff-ffffffffffff'; + /** + * Variant: reserved, NCS backward compatibility + * + * @link http://tools.ietf.org/html/rfc4122#section-4.1.1 RFC 4122, § 4.1.1: Variant + */ + public const RESERVED_NCS = 0; + /** + * Variant: the UUID layout specified in RFC 4122 + * + * @link http://tools.ietf.org/html/rfc4122#section-4.1.1 RFC 4122, § 4.1.1: Variant + */ + public const RFC_4122 = 2; + /** + * Variant: reserved, Microsoft Corporation backward compatibility + * + * @link http://tools.ietf.org/html/rfc4122#section-4.1.1 RFC 4122, § 4.1.1: Variant + */ + public const RESERVED_MICROSOFT = 6; + /** + * Variant: reserved for future definition + * + * @link http://tools.ietf.org/html/rfc4122#section-4.1.1 RFC 4122, § 4.1.1: Variant + */ + public const RESERVED_FUTURE = 7; + /** + * @deprecated Use {@see ValidatorInterface::getPattern()} instead. + */ + public const VALID_PATTERN = '^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$'; + /** + * Version 1 (Gregorian time) UUID + * + * @link https://tools.ietf.org/html/rfc4122#section-4.1.3 RFC 4122, § 4.1.3: Version + */ + public const UUID_TYPE_TIME = 1; + /** + * Version 2 (DCE Security) UUID + * + * @link https://tools.ietf.org/html/rfc4122#section-4.1.3 RFC 4122, § 4.1.3: Version + */ + public const UUID_TYPE_DCE_SECURITY = 2; + /** + * @deprecated Use {@see Uuid::UUID_TYPE_DCE_SECURITY} instead. + */ + public const UUID_TYPE_IDENTIFIER = 2; + /** + * Version 3 (name-based and hashed with MD5) UUID + * + * @link https://tools.ietf.org/html/rfc4122#section-4.1.3 RFC 4122, § 4.1.3: Version + */ + public const UUID_TYPE_HASH_MD5 = 3; + /** + * Version 4 (random) UUID + * + * @link https://tools.ietf.org/html/rfc4122#section-4.1.3 RFC 4122, § 4.1.3: Version + */ + public const UUID_TYPE_RANDOM = 4; + /** + * Version 5 (name-based and hashed with SHA1) UUID + * + * @link https://tools.ietf.org/html/rfc4122#section-4.1.3 RFC 4122, § 4.1.3: Version + */ + public const UUID_TYPE_HASH_SHA1 = 5; + /** + * @deprecated Use {@see Uuid::UUID_TYPE_REORDERED_TIME} instead. + */ + public const UUID_TYPE_PEABODY = 6; + /** + * Version 6 (reordered time) UUID + * + * @link https://datatracker.ietf.org/doc/html/draft-ietf-uuidrev-rfc4122bis-00#section-5.6 UUID Version 6 + */ + public const UUID_TYPE_REORDERED_TIME = 6; + /** + * Version 7 (Unix Epoch time) UUID + * + * @link https://datatracker.ietf.org/doc/html/draft-ietf-uuidrev-rfc4122bis-00#section-5.7 UUID Version 7 + */ + public const UUID_TYPE_UNIX_TIME = 7; + /** + * @link https://datatracker.ietf.org/doc/html/draft-ietf-uuidrev-rfc4122bis-00#section-5.8 UUID Version 8 + */ + public const UUID_TYPE_CUSTOM = 8; + /** + * DCE Security principal domain + * + * @link https://pubs.opengroup.org/onlinepubs/9696989899/chap11.htm#tagcjh_14_05_01_01 DCE 1.1, §11.5.1.1 + */ + public const DCE_DOMAIN_PERSON = 0; + /** + * DCE Security group domain + * + * @link https://pubs.opengroup.org/onlinepubs/9696989899/chap11.htm#tagcjh_14_05_01_01 DCE 1.1, §11.5.1.1 + */ + public const DCE_DOMAIN_GROUP = 1; + /** + * DCE Security organization domain + * + * @link https://pubs.opengroup.org/onlinepubs/9696989899/chap11.htm#tagcjh_14_05_01_01 DCE 1.1, §11.5.1.1 + */ + public const DCE_DOMAIN_ORG = 2; + /** + * DCE Security domain string names + * + * @link https://pubs.opengroup.org/onlinepubs/9696989899/chap11.htm#tagcjh_14_05_01_01 DCE 1.1, §11.5.1.1 + */ + public const DCE_DOMAIN_NAMES = [self::DCE_DOMAIN_PERSON => 'person', self::DCE_DOMAIN_GROUP => 'group', self::DCE_DOMAIN_ORG => 'org']; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\UuidFactoryInterface|null + */ + private static $factory; + /** + * @var bool flag to detect if the UUID factory was replaced internally, + * which disables all optimizations for the default/happy path internal + * scenarios + */ + private static $factoryReplaced = \false; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface + */ + protected $codec; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface + */ + protected $numberConverter; + /** + * @var Rfc4122FieldsInterface + */ + protected $fields; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface + */ + protected $timeConverter; + /** + * Creates a universally unique identifier (UUID) from an array of fields + * + * Unless you're making advanced use of this library to generate identifiers + * that deviate from RFC 4122, you probably do not want to instantiate a + * UUID directly. Use the static methods, instead: + * + * ``` + * use Ramsey\Uuid\Uuid; + * + * $timeBasedUuid = Uuid::uuid1(); + * $namespaceMd5Uuid = Uuid::uuid3(Uuid::NAMESPACE_URL, 'http://php.net/'); + * $randomUuid = Uuid::uuid4(); + * $namespaceSha1Uuid = Uuid::uuid5(Uuid::NAMESPACE_URL, 'http://php.net/'); + * ``` + * + * @param Rfc4122FieldsInterface $fields The fields from which to construct a UUID + * @param NumberConverterInterface $numberConverter The number converter to use + * for converting hex values to/from integers + * @param CodecInterface $codec The codec to use when encoding or decoding + * UUID strings + * @param TimeConverterInterface $timeConverter The time converter to use + * for converting timestamps extracted from a UUID to unix timestamps + */ + public function __construct(Rfc4122FieldsInterface $fields, NumberConverterInterface $numberConverter, CodecInterface $codec, TimeConverterInterface $timeConverter) + { + $this->fields = $fields; + $this->codec = $codec; + $this->numberConverter = $numberConverter; + $this->timeConverter = $timeConverter; + } + /** + * @psalm-return non-empty-string + */ + public function __toString() : string + { + return $this->toString(); + } + /** + * Converts the UUID to a string for JSON serialization + */ + public function jsonSerialize() : string + { + return $this->toString(); + } + /** + * Converts the UUID to a string for PHP serialization + */ + public function serialize() : string + { + return $this->codec->encode($this); + } + /** + * @return array{bytes: string} + */ + public function __serialize() : array + { + return ['bytes' => $this->serialize()]; + } + /** + * Re-constructs the object from its serialized form + * + * @param string $data The serialized PHP string to unserialize into + * a UuidInterface instance + */ + public function unserialize(string $data) : void + { + if (strlen($data) === 16) { + /** @var Uuid $uuid */ + $uuid = self::getFactory()->fromBytes($data); + } else { + /** @var Uuid $uuid */ + $uuid = self::getFactory()->fromString($data); + } + $this->codec = $uuid->codec; + $this->numberConverter = $uuid->numberConverter; + $this->fields = $uuid->fields; + $this->timeConverter = $uuid->timeConverter; + } + /** + * @param array{bytes?: string} $data + */ + public function __unserialize(array $data) : void + { + // @codeCoverageIgnoreStart + if (!isset($data['bytes'])) { + throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); + } + // @codeCoverageIgnoreEnd + $this->unserialize($data['bytes']); + } + public function compareTo(UuidInterface $other) : int + { + $compare = strcmp($this->toString(), $other->toString()); + if ($compare < 0) { + return -1; + } + if ($compare > 0) { + return 1; + } + return 0; + } + public function equals(?object $other) : bool + { + if (!$other instanceof UuidInterface) { + return \false; + } + return $this->compareTo($other) === 0; + } + /** + * @psalm-return non-empty-string + */ + public function getBytes() : string + { + return $this->codec->encodeBinary($this); + } + public function getFields() : FieldsInterface + { + return $this->fields; + } + public function getHex() : Hexadecimal + { + return new Hexadecimal(str_replace('-', '', $this->toString())); + } + public function getInteger() : IntegerObject + { + return new IntegerObject($this->numberConverter->fromHex($this->getHex()->toString())); + } + public function getUrn() : string + { + return 'urn:uuid:' . $this->toString(); + } + /** + * @psalm-return non-empty-string + */ + public function toString() : string + { + return $this->codec->encode($this); + } + /** + * Returns the factory used to create UUIDs + */ + public static function getFactory() : UuidFactoryInterface + { + if (self::$factory === null) { + self::$factory = new UuidFactory(); + } + return self::$factory; + } + /** + * Sets the factory used to create UUIDs + * + * @param UuidFactoryInterface $factory A factory that will be used by this + * class to create UUIDs + */ + public static function setFactory(UuidFactoryInterface $factory) : void + { + // Note: non-strict equality is intentional here. If the factory is configured differently, every assumption + // around purity is broken, and we have to internally decide everything differently. + // phpcs:ignore SlevomatCodingStandard.Operators.DisallowEqualOperators.DisallowedNotEqualOperator + self::$factoryReplaced = $factory != new UuidFactory(); + self::$factory = $factory; + } + /** + * Creates a UUID from a byte string + * + * @param string $bytes A binary string + * + * @return UuidInterface A UuidInterface instance created from a binary + * string representation + * + * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, + * but under constant factory setups, this method operates in functionally pure manners + * + * @psalm-suppress ImpureStaticProperty we know that the factory being replaced can lead to massive + * havoc across all consumers: that should never happen, and + * is generally to be discouraged. Until the factory is kept + * un-replaced, this method is effectively pure. + */ + public static function fromBytes(string $bytes) : UuidInterface + { + if (!self::$factoryReplaced && strlen($bytes) === 16) { + $base16Uuid = bin2hex($bytes); + // Note: we are calling `fromString` internally because we don't know if the given `$bytes` is a valid UUID + return self::fromString(substr($base16Uuid, 0, 8) . '-' . substr($base16Uuid, 8, 4) . '-' . substr($base16Uuid, 12, 4) . '-' . substr($base16Uuid, 16, 4) . '-' . substr($base16Uuid, 20, 12)); + } + return self::getFactory()->fromBytes($bytes); + } + /** + * Creates a UUID from the string standard representation + * + * @param string $uuid A hexadecimal string + * + * @return UuidInterface A UuidInterface instance created from a hexadecimal + * string representation + * + * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, + * but under constant factory setups, this method operates in functionally pure manners + * + * @psalm-suppress ImpureStaticProperty we know that the factory being replaced can lead to massive + * havoc across all consumers: that should never happen, and + * is generally to be discouraged. Until the factory is kept + * un-replaced, this method is effectively pure. + */ + public static function fromString(string $uuid) : UuidInterface + { + $uuid = strtolower($uuid); + if (!self::$factoryReplaced && preg_match(LazyUuidFromString::VALID_REGEX, $uuid) === 1) { + assert($uuid !== ''); + return new LazyUuidFromString($uuid); + } + return self::getFactory()->fromString($uuid); + } + /** + * Creates a UUID from a DateTimeInterface instance + * + * @param DateTimeInterface $dateTime The date and time + * @param Hexadecimal|null $node A 48-bit number representing the hardware + * address + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates + * that could arise when the clock is set backwards in time or if the + * node ID changes + * + * @return UuidInterface A UuidInterface instance that represents a + * version 1 UUID created from a DateTimeInterface instance + */ + public static function fromDateTime(DateTimeInterface $dateTime, ?Hexadecimal $node = null, ?int $clockSeq = null) : UuidInterface + { + return self::getFactory()->fromDateTime($dateTime, $node, $clockSeq); + } + /** + * Creates a UUID from the Hexadecimal object + * + * @param Hexadecimal $hex Hexadecimal object representing a hexadecimal number + * + * @return UuidInterface A UuidInterface instance created from the Hexadecimal + * object representing a hexadecimal number + * + * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, + * but under constant factory setups, this method operates in functionally pure manners + * @psalm-suppress MixedInferredReturnType,MixedReturnStatement + */ + public static function fromHexadecimal(Hexadecimal $hex) : UuidInterface + { + $factory = self::getFactory(); + if (method_exists($factory, 'fromHexadecimal')) { + /** + * @phpstan-ignore-next-line + * @psalm-suppress UndefinedInterfaceMethod + */ + return self::getFactory()->fromHexadecimal($hex); + } + throw new BadMethodCallException('The method fromHexadecimal() does not exist on the provided factory'); + } + /** + * Creates a UUID from a 128-bit integer string + * + * @param string $integer String representation of 128-bit integer + * + * @return UuidInterface A UuidInterface instance created from the string + * representation of a 128-bit integer + * + * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, + * but under constant factory setups, this method operates in functionally pure manners + */ + public static function fromInteger(string $integer) : UuidInterface + { + /** @psalm-suppress ImpureMethodCall */ + return self::getFactory()->fromInteger($integer); + } + /** + * Returns true if the provided string is a valid UUID + * + * @param string $uuid A string to validate as a UUID + * + * @return bool True if the string is a valid UUID, false otherwise + * + * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, + * but under constant factory setups, this method operates in functionally pure manners + * + * @psalm-assert-if-true =non-empty-string $uuid + */ + public static function isValid(string $uuid) : bool + { + /** @psalm-suppress ImpureMethodCall */ + return self::getFactory()->getValidator()->validate($uuid); + } + /** + * Returns a version 1 (Gregorian time) UUID from a host ID, sequence number, + * and the current time + * + * @param Hexadecimal|int|string|null $node A 48-bit number representing the + * hardware address; this number may be represented as an integer or a + * hexadecimal string + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates that + * could arise when the clock is set backwards in time or if the node ID + * changes + * + * @return UuidInterface A UuidInterface instance that represents a + * version 1 UUID + */ + public static function uuid1($node = null, ?int $clockSeq = null) : UuidInterface + { + return self::getFactory()->uuid1($node, $clockSeq); + } + /** + * Returns a version 2 (DCE Security) UUID from a local domain, local + * identifier, host ID, clock sequence, and the current time + * + * @param int $localDomain The local domain to use when generating bytes, + * according to DCE Security + * @param IntegerObject|null $localIdentifier The local identifier for the + * given domain; this may be a UID or GID on POSIX systems, if the local + * domain is person or group, or it may be a site-defined identifier + * if the local domain is org + * @param Hexadecimal|null $node A 48-bit number representing the hardware + * address + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates + * that could arise when the clock is set backwards in time or if the + * node ID changes (in a version 2 UUID, the lower 8 bits of this number + * are replaced with the domain). + * + * @return UuidInterface A UuidInterface instance that represents a + * version 2 UUID + */ + public static function uuid2(int $localDomain, ?IntegerObject $localIdentifier = null, ?Hexadecimal $node = null, ?int $clockSeq = null) : UuidInterface + { + return self::getFactory()->uuid2($localDomain, $localIdentifier, $node, $clockSeq); + } + /** + * Returns a version 3 (name-based) UUID based on the MD5 hash of a + * namespace ID and a name + * + * @param string|UuidInterface $ns The namespace (must be a valid UUID) + * @param string $name The name to use for creating a UUID + * + * @return UuidInterface A UuidInterface instance that represents a + * version 3 UUID + * + * @psalm-suppress ImpureMethodCall we know that the factory being replaced can lead to massive + * havoc across all consumers: that should never happen, and + * is generally to be discouraged. Until the factory is kept + * un-replaced, this method is effectively pure. + * + * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, + * but under constant factory setups, this method operates in functionally pure manners + */ + public static function uuid3($ns, string $name) : UuidInterface + { + return self::getFactory()->uuid3($ns, $name); + } + /** + * Returns a version 4 (random) UUID + * + * @return UuidInterface A UuidInterface instance that represents a + * version 4 UUID + */ + public static function uuid4() : UuidInterface + { + return self::getFactory()->uuid4(); + } + /** + * Returns a version 5 (name-based) UUID based on the SHA-1 hash of a + * namespace ID and a name + * + * @param string|UuidInterface $ns The namespace (must be a valid UUID) + * @param string $name The name to use for creating a UUID + * + * @return UuidInterface A UuidInterface instance that represents a + * version 5 UUID + * + * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, + * but under constant factory setups, this method operates in functionally pure manners + * + * @psalm-suppress ImpureMethodCall we know that the factory being replaced can lead to massive + * havoc across all consumers: that should never happen, and + * is generally to be discouraged. Until the factory is kept + * un-replaced, this method is effectively pure. + */ + public static function uuid5($ns, string $name) : UuidInterface + { + return self::getFactory()->uuid5($ns, $name); + } + /** + * Returns a version 6 (reordered time) UUID from a host ID, sequence number, + * and the current time + * + * @param Hexadecimal|null $node A 48-bit number representing the hardware + * address + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates that + * could arise when the clock is set backwards in time or if the node ID + * changes + * + * @return UuidInterface A UuidInterface instance that represents a + * version 6 UUID + */ + public static function uuid6(?Hexadecimal $node = null, ?int $clockSeq = null) : UuidInterface + { + return self::getFactory()->uuid6($node, $clockSeq); + } + /** + * Returns a version 7 (Unix Epoch time) UUID + * + * @param DateTimeInterface|null $dateTime An optional date/time from which + * to create the version 7 UUID. If not provided, the UUID is generated + * using the current date/time. + * + * @return UuidInterface A UuidInterface instance that represents a + * version 7 UUID + */ + public static function uuid7(?DateTimeInterface $dateTime = null) : UuidInterface + { + $factory = self::getFactory(); + if (method_exists($factory, 'uuid7')) { + /** @var UuidInterface */ + return $factory->uuid7($dateTime); + } + throw new UnsupportedOperationException('The provided factory does not support the uuid7() method'); + } + /** + * Returns a version 8 (custom) UUID + * + * The bytes provided may contain any value according to your application's + * needs. Be aware, however, that other applications may not understand the + * semantics of the value. + * + * @param string $bytes A 16-byte octet string. This is an open blob + * of data that you may fill with 128 bits of information. Be aware, + * however, bits 48 through 51 will be replaced with the UUID version + * field, and bits 64 and 65 will be replaced with the UUID variant. You + * MUST NOT rely on these bits for your application needs. + * + * @return UuidInterface A UuidInterface instance that represents a + * version 8 UUID + */ + public static function uuid8(string $bytes) : UuidInterface + { + $factory = self::getFactory(); + if (method_exists($factory, 'uuid8')) { + /** @var UuidInterface */ + return $factory->uuid8($bytes); + } + throw new UnsupportedOperationException('The provided factory does not support the uuid8() method'); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/UuidFactory.php b/vendor/prefixed/ramsey/uuid/src/UuidFactory.php new file mode 100644 index 000000000..26570b66c --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/UuidFactory.php @@ -0,0 +1,454 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid; + +use DateTimeInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder\UuidBuilderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\DceSecurityGeneratorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\DefaultTimeGenerator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\NameGeneratorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\RandomGeneratorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\TimeGeneratorInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\UnixTimeGenerator; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Lazy\LazyUuidFromString; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\Time\FixedTimeProvider; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Time; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Validator\ValidatorInterface; +use function bin2hex; +use function hex2bin; +use function pack; +use function str_pad; +use function strtolower; +use function substr; +use function substr_replace; +use function unpack; +use const STR_PAD_LEFT; +class UuidFactory implements UuidFactoryInterface +{ + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Codec\CodecInterface + */ + private $codec; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\DceSecurityGeneratorInterface + */ + private $dceSecurityGenerator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\NameGeneratorInterface + */ + private $nameGenerator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Provider\NodeProviderInterface + */ + private $nodeProvider; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\NumberConverterInterface + */ + private $numberConverter; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\RandomGeneratorInterface + */ + private $randomGenerator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Converter\TimeConverterInterface + */ + private $timeConverter; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\TimeGeneratorInterface + */ + private $timeGenerator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Generator\TimeGeneratorInterface + */ + private $unixTimeGenerator; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Builder\UuidBuilderInterface + */ + private $uuidBuilder; + /** + * @var \Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Validator\ValidatorInterface + */ + private $validator; + /** + * @var bool whether the feature set was provided from outside, or we can + * operate under "default" assumptions + */ + private $isDefaultFeatureSet; + /** + * @param FeatureSet|null $features A set of available features in the current environment + */ + public function __construct(?FeatureSet $features = null) + { + $this->isDefaultFeatureSet = $features === null; + $features = $features ?: new FeatureSet(); + $this->codec = $features->getCodec(); + $this->dceSecurityGenerator = $features->getDceSecurityGenerator(); + $this->nameGenerator = $features->getNameGenerator(); + $this->nodeProvider = $features->getNodeProvider(); + $this->numberConverter = $features->getNumberConverter(); + $this->randomGenerator = $features->getRandomGenerator(); + $this->timeConverter = $features->getTimeConverter(); + $this->timeGenerator = $features->getTimeGenerator(); + $this->uuidBuilder = $features->getBuilder(); + $this->validator = $features->getValidator(); + $this->unixTimeGenerator = $features->getUnixTimeGenerator(); + } + /** + * Returns the codec used by this factory + */ + public function getCodec() : CodecInterface + { + return $this->codec; + } + /** + * Sets the codec to use for this factory + * + * @param CodecInterface $codec A UUID encoder-decoder + */ + public function setCodec(CodecInterface $codec) : void + { + $this->isDefaultFeatureSet = \false; + $this->codec = $codec; + } + /** + * Returns the name generator used by this factory + */ + public function getNameGenerator() : NameGeneratorInterface + { + return $this->nameGenerator; + } + /** + * Sets the name generator to use for this factory + * + * @param NameGeneratorInterface $nameGenerator A generator to generate + * binary data, based on a namespace and name + */ + public function setNameGenerator(NameGeneratorInterface $nameGenerator) : void + { + $this->isDefaultFeatureSet = \false; + $this->nameGenerator = $nameGenerator; + } + /** + * Returns the node provider used by this factory + */ + public function getNodeProvider() : NodeProviderInterface + { + return $this->nodeProvider; + } + /** + * Returns the random generator used by this factory + */ + public function getRandomGenerator() : RandomGeneratorInterface + { + return $this->randomGenerator; + } + /** + * Returns the time generator used by this factory + */ + public function getTimeGenerator() : TimeGeneratorInterface + { + return $this->timeGenerator; + } + /** + * Sets the time generator to use for this factory + * + * @param TimeGeneratorInterface $generator A generator to generate binary + * data, based on the time + */ + public function setTimeGenerator(TimeGeneratorInterface $generator) : void + { + $this->isDefaultFeatureSet = \false; + $this->timeGenerator = $generator; + } + /** + * Returns the DCE Security generator used by this factory + */ + public function getDceSecurityGenerator() : DceSecurityGeneratorInterface + { + return $this->dceSecurityGenerator; + } + /** + * Sets the DCE Security generator to use for this factory + * + * @param DceSecurityGeneratorInterface $generator A generator to generate + * binary data, based on a local domain and local identifier + */ + public function setDceSecurityGenerator(DceSecurityGeneratorInterface $generator) : void + { + $this->isDefaultFeatureSet = \false; + $this->dceSecurityGenerator = $generator; + } + /** + * Returns the number converter used by this factory + */ + public function getNumberConverter() : NumberConverterInterface + { + return $this->numberConverter; + } + /** + * Sets the random generator to use for this factory + * + * @param RandomGeneratorInterface $generator A generator to generate binary + * data, based on some random input + */ + public function setRandomGenerator(RandomGeneratorInterface $generator) : void + { + $this->isDefaultFeatureSet = \false; + $this->randomGenerator = $generator; + } + /** + * Sets the number converter to use for this factory + * + * @param NumberConverterInterface $converter A converter to use for working + * with large integers (i.e. integers greater than PHP_INT_MAX) + */ + public function setNumberConverter(NumberConverterInterface $converter) : void + { + $this->isDefaultFeatureSet = \false; + $this->numberConverter = $converter; + } + /** + * Returns the UUID builder used by this factory + */ + public function getUuidBuilder() : UuidBuilderInterface + { + return $this->uuidBuilder; + } + /** + * Sets the UUID builder to use for this factory + * + * @param UuidBuilderInterface $builder A builder for constructing instances + * of UuidInterface + */ + public function setUuidBuilder(UuidBuilderInterface $builder) : void + { + $this->isDefaultFeatureSet = \false; + $this->uuidBuilder = $builder; + } + /** + * @psalm-mutation-free + */ + public function getValidator() : ValidatorInterface + { + return $this->validator; + } + /** + * Sets the validator to use for this factory + * + * @param ValidatorInterface $validator A validator to use for validating + * whether a string is a valid UUID + */ + public function setValidator(ValidatorInterface $validator) : void + { + $this->isDefaultFeatureSet = \false; + $this->validator = $validator; + } + /** + * @psalm-pure + */ + public function fromBytes(string $bytes) : UuidInterface + { + return $this->codec->decodeBytes($bytes); + } + /** + * @psalm-pure + */ + public function fromString(string $uuid) : UuidInterface + { + $uuid = strtolower($uuid); + return $this->codec->decode($uuid); + } + /** + * @psalm-pure + */ + public function fromInteger(string $integer) : UuidInterface + { + $hex = $this->numberConverter->toHex($integer); + $hex = str_pad($hex, 32, '0', STR_PAD_LEFT); + return $this->fromString($hex); + } + public function fromDateTime(DateTimeInterface $dateTime, ?Hexadecimal $node = null, ?int $clockSeq = null) : UuidInterface + { + $timeProvider = new FixedTimeProvider(new Time($dateTime->format('U'), $dateTime->format('u'))); + $timeGenerator = new DefaultTimeGenerator($this->nodeProvider, $this->timeConverter, $timeProvider); + $nodeHex = $node ? $node->toString() : null; + $bytes = $timeGenerator->generate($nodeHex, $clockSeq); + return $this->uuidFromBytesAndVersion($bytes, Uuid::UUID_TYPE_TIME); + } + /** + * @psalm-pure + */ + public function fromHexadecimal(Hexadecimal $hex) : UuidInterface + { + return $this->codec->decode($hex->__toString()); + } + /** + * @inheritDoc + */ + public function uuid1($node = null, ?int $clockSeq = null) : UuidInterface + { + $bytes = $this->timeGenerator->generate($node, $clockSeq); + return $this->uuidFromBytesAndVersion($bytes, Uuid::UUID_TYPE_TIME); + } + public function uuid2(int $localDomain, ?IntegerObject $localIdentifier = null, ?Hexadecimal $node = null, ?int $clockSeq = null) : UuidInterface + { + $bytes = $this->dceSecurityGenerator->generate($localDomain, $localIdentifier, $node, $clockSeq); + return $this->uuidFromBytesAndVersion($bytes, Uuid::UUID_TYPE_DCE_SECURITY); + } + /** + * @inheritDoc + * @psalm-pure + */ + public function uuid3($ns, string $name) : UuidInterface + { + return $this->uuidFromNsAndName($ns, $name, Uuid::UUID_TYPE_HASH_MD5, 'md5'); + } + public function uuid4() : UuidInterface + { + $bytes = $this->randomGenerator->generate(16); + return $this->uuidFromBytesAndVersion($bytes, Uuid::UUID_TYPE_RANDOM); + } + /** + * @inheritDoc + * @psalm-pure + */ + public function uuid5($ns, string $name) : UuidInterface + { + return $this->uuidFromNsAndName($ns, $name, Uuid::UUID_TYPE_HASH_SHA1, 'sha1'); + } + public function uuid6(?Hexadecimal $node = null, ?int $clockSeq = null) : UuidInterface + { + $nodeHex = $node ? $node->toString() : null; + $bytes = $this->timeGenerator->generate($nodeHex, $clockSeq); + // Rearrange the bytes, according to the UUID version 6 specification. + $v6 = $bytes[6] . $bytes[7] . $bytes[4] . $bytes[5] . $bytes[0] . $bytes[1] . $bytes[2] . $bytes[3]; + $v6 = bin2hex($v6); + // Drop the first four bits, while adding an empty four bits for the + // version field. This allows us to reconstruct the correct time from + // the bytes of this UUID. + $v6Bytes = hex2bin(substr($v6, 1, 12) . '0' . substr($v6, -3)); + $v6Bytes .= substr($bytes, 8); + return $this->uuidFromBytesAndVersion($v6Bytes, Uuid::UUID_TYPE_REORDERED_TIME); + } + /** + * Returns a version 7 (Unix Epoch time) UUID + * + * @param DateTimeInterface|null $dateTime An optional date/time from which + * to create the version 7 UUID. If not provided, the UUID is generated + * using the current date/time. + * + * @return UuidInterface A UuidInterface instance that represents a + * version 7 UUID + */ + public function uuid7(?DateTimeInterface $dateTime = null) : UuidInterface + { + assert($this->unixTimeGenerator instanceof UnixTimeGenerator); + $bytes = $this->unixTimeGenerator->generate(null, null, $dateTime); + return $this->uuidFromBytesAndVersion($bytes, Uuid::UUID_TYPE_UNIX_TIME); + } + /** + * Returns a version 8 (Custom) UUID + * + * The bytes provided may contain any value according to your application's + * needs. Be aware, however, that other applications may not understand the + * semantics of the value. + * + * @param string $bytes A 16-byte octet string. This is an open blob + * of data that you may fill with 128 bits of information. Be aware, + * however, bits 48 through 51 will be replaced with the UUID version + * field, and bits 64 and 65 will be replaced with the UUID variant. You + * MUST NOT rely on these bits for your application needs. + * + * @return UuidInterface A UuidInterface instance that represents a + * version 8 UUID + */ + public function uuid8(string $bytes) : UuidInterface + { + return $this->uuidFromBytesAndVersion($bytes, Uuid::UUID_TYPE_CUSTOM); + } + /** + * Returns a Uuid created from the provided byte string + * + * Uses the configured builder and codec and the provided byte string to + * construct a Uuid object. + * + * @param string $bytes The byte string from which to construct a UUID + * + * @return UuidInterface An instance of UuidInterface, created from the + * provided bytes + * + * @psalm-pure + */ + public function uuid(string $bytes) : UuidInterface + { + /** @psalm-suppress ImpurePropertyFetch */ + return $this->uuidBuilder->build($this->codec, $bytes); + } + /** + * Returns a version 3 or 5 namespaced Uuid + * + * @param string|UuidInterface $ns The namespace (must be a valid UUID) + * @param string $name The name to hash together with the namespace + * @param int $version The version of UUID to create (3 or 5) + * @param string $hashAlgorithm The hashing algorithm to use when hashing + * together the namespace and name + * + * @return UuidInterface An instance of UuidInterface, created by hashing + * together the provided namespace and name + * + * @psalm-pure + */ + private function uuidFromNsAndName($ns, string $name, int $version, string $hashAlgorithm) : UuidInterface + { + if (!$ns instanceof UuidInterface) { + $ns = $this->fromString($ns); + } + $bytes = $this->nameGenerator->generate($ns, $name, $hashAlgorithm); + return $this->uuidFromBytesAndVersion(substr($bytes, 0, 16), $version); + } + /** + * Returns an RFC 4122 variant Uuid, created from the provided bytes and version + * + * @param string $bytes The byte string to convert to a UUID + * @param int $version The RFC 4122 version to apply to the UUID + * + * @return UuidInterface An instance of UuidInterface, created from the + * byte string and version + * + * @psalm-pure + */ + private function uuidFromBytesAndVersion(string $bytes, int $version) : UuidInterface + { + /** @var array $unpackedTime */ + $unpackedTime = unpack('n*', substr($bytes, 6, 2)); + $timeHi = (int) $unpackedTime[1]; + $timeHiAndVersion = pack('n*', BinaryUtils::applyVersion($timeHi, $version)); + /** @var array $unpackedClockSeq */ + $unpackedClockSeq = unpack('n*', substr($bytes, 8, 2)); + $clockSeqHi = (int) $unpackedClockSeq[1]; + $clockSeqHiAndReserved = pack('n*', BinaryUtils::applyVariant($clockSeqHi)); + $bytes = substr_replace($bytes, $timeHiAndVersion, 6, 2); + $bytes = substr_replace($bytes, $clockSeqHiAndReserved, 8, 2); + if ($this->isDefaultFeatureSet) { + return LazyUuidFromString::fromBytes($bytes); + } + /** @psalm-suppress ImpureVariable */ + return $this->uuid($bytes); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/UuidFactoryInterface.php b/vendor/prefixed/ramsey/uuid/src/UuidFactoryInterface.php new file mode 100644 index 000000000..67a95f853 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/UuidFactoryInterface.php @@ -0,0 +1,160 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid; + +use DateTimeInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Validator\ValidatorInterface; +/** + * UuidFactoryInterface defines common functionality all `UuidFactory` instances + * must implement + */ +interface UuidFactoryInterface +{ + /** + * Creates a UUID from a byte string + * + * @param string $bytes A binary string + * + * @return UuidInterface A UuidInterface instance created from a binary + * string representation + * + * @psalm-pure + */ + public function fromBytes(string $bytes) : UuidInterface; + /** + * Creates a UUID from a DateTimeInterface instance + * + * @param DateTimeInterface $dateTime The date and time + * @param Hexadecimal|null $node A 48-bit number representing the hardware + * address + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates + * that could arise when the clock is set backwards in time or if the + * node ID changes + * + * @return UuidInterface A UuidInterface instance that represents a + * version 1 UUID created from a DateTimeInterface instance + */ + public function fromDateTime(DateTimeInterface $dateTime, ?Hexadecimal $node = null, ?int $clockSeq = null) : UuidInterface; + /** + * Creates a UUID from a 128-bit integer string + * + * @param string $integer String representation of 128-bit integer + * + * @return UuidInterface A UuidInterface instance created from the string + * representation of a 128-bit integer + * + * @psalm-pure + */ + public function fromInteger(string $integer) : UuidInterface; + /** + * Creates a UUID from the string standard representation + * + * @param string $uuid A hexadecimal string + * + * @return UuidInterface A UuidInterface instance created from a hexadecimal + * string representation + * + * @psalm-pure + */ + public function fromString(string $uuid) : UuidInterface; + /** + * Returns the validator to use for the factory + * + * @psalm-mutation-free + */ + public function getValidator() : ValidatorInterface; + /** + * Returns a version 1 (Gregorian time) UUID from a host ID, sequence number, + * and the current time + * + * @param Hexadecimal|int|string|null $node A 48-bit number representing the + * hardware address; this number may be represented as an integer or a + * hexadecimal string + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates + * that could arise when the clock is set backwards in time or if the + * node ID changes + * + * @return UuidInterface A UuidInterface instance that represents a + * version 1 UUID + */ + public function uuid1($node = null, ?int $clockSeq = null) : UuidInterface; + /** + * Returns a version 2 (DCE Security) UUID from a local domain, local + * identifier, host ID, clock sequence, and the current time + * + * @param int $localDomain The local domain to use when generating bytes, + * according to DCE Security + * @param IntegerObject|null $localIdentifier The local identifier for the + * given domain; this may be a UID or GID on POSIX systems, if the local + * domain is person or group, or it may be a site-defined identifier + * if the local domain is org + * @param Hexadecimal|null $node A 48-bit number representing the hardware + * address + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates + * that could arise when the clock is set backwards in time or if the + * node ID changes + * + * @return UuidInterface A UuidInterface instance that represents a + * version 2 UUID + */ + public function uuid2(int $localDomain, ?IntegerObject $localIdentifier = null, ?Hexadecimal $node = null, ?int $clockSeq = null) : UuidInterface; + /** + * Returns a version 3 (name-based) UUID based on the MD5 hash of a + * namespace ID and a name + * + * @param string|UuidInterface $ns The namespace (must be a valid UUID) + * @param string $name The name to use for creating a UUID + * + * @return UuidInterface A UuidInterface instance that represents a + * version 3 UUID + * + * @psalm-pure + */ + public function uuid3($ns, string $name) : UuidInterface; + /** + * Returns a version 4 (random) UUID + * + * @return UuidInterface A UuidInterface instance that represents a + * version 4 UUID + */ + public function uuid4() : UuidInterface; + /** + * Returns a version 5 (name-based) UUID based on the SHA-1 hash of a + * namespace ID and a name + * + * @param string|UuidInterface $ns The namespace (must be a valid UUID) + * @param string $name The name to use for creating a UUID + * + * @return UuidInterface A UuidInterface instance that represents a + * version 5 UUID + * + * @psalm-pure + */ + public function uuid5($ns, string $name) : UuidInterface; + /** + * Returns a version 6 (reordered time) UUID from a host ID, sequence number, + * and the current time + * + * @param Hexadecimal|null $node A 48-bit number representing the hardware + * address + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates + * that could arise when the clock is set backwards in time or if the + * node ID changes + * + * @return UuidInterface A UuidInterface instance that represents a + * version 6 UUID + */ + public function uuid6(?Hexadecimal $node = null, ?int $clockSeq = null) : UuidInterface; +} diff --git a/vendor/prefixed/ramsey/uuid/src/UuidInterface.php b/vendor/prefixed/ramsey/uuid/src/UuidInterface.php new file mode 100644 index 000000000..830b4e154 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/UuidInterface.php @@ -0,0 +1,94 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid; + +use JsonSerializable; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Fields\FieldsInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +use Serializable; +use Stringable; +/** + * A UUID is a universally unique identifier adhering to an agreed-upon + * representation format and standard for generation + * + * @psalm-immutable + */ +interface UuidInterface extends DeprecatedUuidInterface, JsonSerializable, Serializable, Stringable +{ + /** + * Returns -1, 0, or 1 if the UUID is less than, equal to, or greater than + * the other UUID + * + * The first of two UUIDs is greater than the second if the most + * significant field in which the UUIDs differ is greater for the first + * UUID. + * + * * Q. What's the value of being able to sort UUIDs? + * * A. Use them as keys in a B-Tree or similar mapping. + * + * @param UuidInterface $other The UUID to compare + * + * @return int<-1,1> -1, 0, or 1 if the UUID is less than, equal to, or greater than $other + */ + public function compareTo(UuidInterface $other) : int; + /** + * Returns true if the UUID is equal to the provided object + * + * The result is true if and only if the argument is not null, is a UUID + * object, has the same variant, and contains the same value, bit for bit, + * as the UUID. + * + * @param object|null $other An object to test for equality with this UUID + * + * @return bool True if the other object is equal to this UUID + */ + public function equals(?object $other) : bool; + /** + * Returns the binary string representation of the UUID + * + * @psalm-return non-empty-string + */ + public function getBytes() : string; + /** + * Returns the fields that comprise this UUID + */ + public function getFields() : FieldsInterface; + /** + * Returns the hexadecimal representation of the UUID + */ + public function getHex() : Hexadecimal; + /** + * Returns the integer representation of the UUID + */ + public function getInteger() : IntegerObject; + /** + * Returns the string standard representation of the UUID as a URN + * + * @link http://en.wikipedia.org/wiki/Uniform_Resource_Name Uniform Resource Name + * @link https://tools.ietf.org/html/rfc4122#section-3 RFC 4122, § 3: Namespace Registration Template + */ + public function getUrn() : string; + /** + * Returns the string standard representation of the UUID + * + * @psalm-return non-empty-string + */ + public function toString() : string; + /** + * Casts the UUID to the string standard representation + * + * @psalm-return non-empty-string + */ + public function __toString() : string; +} diff --git a/vendor/prefixed/ramsey/uuid/src/Validator/GenericValidator.php b/vendor/prefixed/ramsey/uuid/src/Validator/GenericValidator.php new file mode 100644 index 000000000..cddc57da8 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Validator/GenericValidator.php @@ -0,0 +1,43 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Validator; + +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Uuid; +use function preg_match; +use function str_replace; +/** + * GenericValidator validates strings as UUIDs of any variant + * + * @psalm-immutable + */ +final class GenericValidator implements ValidatorInterface +{ + /** + * Regular expression pattern for matching a UUID of any variant. + */ + private const VALID_PATTERN = '\\A[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}\\z'; + /** + * @psalm-return non-empty-string + * @psalm-suppress MoreSpecificReturnType we know that the retrieved `string` is never empty + * @psalm-suppress LessSpecificReturnStatement we know that the retrieved `string` is never empty + */ + public function getPattern() : string + { + return self::VALID_PATTERN; + } + public function validate(string $uuid) : bool + { + $uuid = str_replace(['urn:', 'uuid:', 'URN:', 'UUID:', '{', '}'], '', $uuid); + return $uuid === Uuid::NIL || preg_match('/' . self::VALID_PATTERN . '/Dms', $uuid); + } +} diff --git a/vendor/prefixed/ramsey/uuid/src/Validator/ValidatorInterface.php b/vendor/prefixed/ramsey/uuid/src/Validator/ValidatorInterface.php new file mode 100644 index 000000000..28513f81d --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/Validator/ValidatorInterface.php @@ -0,0 +1,38 @@ + + * @license http://opensource.org/licenses/MIT MIT + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Validator; + +/** + * A validator validates a string as a proper UUID + * + * @psalm-immutable + */ +interface ValidatorInterface +{ + /** + * Returns the regular expression pattern used by this validator + * + * @return string The regular expression pattern this validator uses + * + * @psalm-return non-empty-string + */ + public function getPattern() : string; + /** + * Returns true if the provided string represents a UUID + * + * @param string $uuid The string to validate as a UUID + * + * @return bool True if the string is a valid UUID, false otherwise + */ + public function validate(string $uuid) : bool; +} diff --git a/vendor/prefixed/ramsey/uuid/src/functions.php b/vendor/prefixed/ramsey/uuid/src/functions.php new file mode 100644 index 000000000..b1a316979 --- /dev/null +++ b/vendor/prefixed/ramsey/uuid/src/functions.php @@ -0,0 +1,144 @@ + + * @license http://opensource.org/licenses/MIT MIT + * phpcs:disable Squiz.Functions.GlobalFunction + */ +declare (strict_types=1); +namespace Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid; + +use DateTimeInterface; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Hexadecimal; +use Matomo\Dependencies\GoogleAnalyticsImporter\Ramsey\Uuid\Type\Integer as IntegerObject; +/** + * Returns a version 1 (Gregorian time) UUID from a host ID, sequence number, + * and the current time + * + * @param Hexadecimal|int|string|null $node A 48-bit number representing the + * hardware address; this number may be represented as an integer or a + * hexadecimal string + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates that + * could arise when the clock is set backwards in time or if the node ID + * changes + * + * @return non-empty-string Version 1 UUID as a string + */ +function v1($node = null, ?int $clockSeq = null) : string +{ + return Uuid::uuid1($node, $clockSeq)->toString(); +} +/** + * Returns a version 2 (DCE Security) UUID from a local domain, local + * identifier, host ID, clock sequence, and the current time + * + * @param int $localDomain The local domain to use when generating bytes, + * according to DCE Security + * @param IntegerObject|null $localIdentifier The local identifier for the + * given domain; this may be a UID or GID on POSIX systems, if the local + * domain is person or group, or it may be a site-defined identifier + * if the local domain is org + * @param Hexadecimal|null $node A 48-bit number representing the hardware + * address + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates + * that could arise when the clock is set backwards in time or if the + * node ID changes + * + * @return non-empty-string Version 2 UUID as a string + */ +function v2(int $localDomain, ?IntegerObject $localIdentifier = null, ?Hexadecimal $node = null, ?int $clockSeq = null) : string +{ + return Uuid::uuid2($localDomain, $localIdentifier, $node, $clockSeq)->toString(); +} +/** + * Returns a version 3 (name-based) UUID based on the MD5 hash of a + * namespace ID and a name + * + * @param string|UuidInterface $ns The namespace (must be a valid UUID) + * + * @return non-empty-string Version 3 UUID as a string + * + * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, + * but under constant factory setups, this method operates in functionally pure manners + */ +function v3($ns, string $name) : string +{ + return Uuid::uuid3($ns, $name)->toString(); +} +/** + * Returns a version 4 (random) UUID + * + * @return non-empty-string Version 4 UUID as a string + */ +function v4() : string +{ + return Uuid::uuid4()->toString(); +} +/** + * Returns a version 5 (name-based) UUID based on the SHA-1 hash of a + * namespace ID and a name + * + * @param string|UuidInterface $ns The namespace (must be a valid UUID) + * + * @return non-empty-string Version 5 UUID as a string + * + * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, + * but under constant factory setups, this method operates in functionally pure manners + */ +function v5($ns, string $name) : string +{ + return Uuid::uuid5($ns, $name)->toString(); +} +/** + * Returns a version 6 (reordered time) UUID from a host ID, sequence number, + * and the current time + * + * @param Hexadecimal|null $node A 48-bit number representing the hardware + * address + * @param int|null $clockSeq A 14-bit number used to help avoid duplicates that + * could arise when the clock is set backwards in time or if the node ID + * changes + * + * @return non-empty-string Version 6 UUID as a string + */ +function v6(?Hexadecimal $node = null, ?int $clockSeq = null) : string +{ + return Uuid::uuid6($node, $clockSeq)->toString(); +} +/** + * Returns a version 7 (Unix Epoch time) UUID + * + * @param DateTimeInterface|null $dateTime An optional date/time from which + * to create the version 7 UUID. If not provided, the UUID is generated + * using the current date/time. + * + * @return non-empty-string Version 7 UUID as a string + */ +function v7(?DateTimeInterface $dateTime = null) : string +{ + return Uuid::uuid7($dateTime)->toString(); +} +/** + * Returns a version 8 (custom) UUID + * + * The bytes provided may contain any value according to your application's + * needs. Be aware, however, that other applications may not understand the + * semantics of the value. + * + * @param string $bytes A 16-byte octet string. This is an open blob + * of data that you may fill with 128 bits of information. Be aware, + * however, bits 48 through 51 will be replaced with the UUID version + * field, and bits 64 and 65 will be replaced with the UUID variant. You + * MUST NOT rely on these bits for your application needs. + * + * @return non-empty-string Version 8 UUID as a string + */ +function v8(string $bytes) : string +{ + return Uuid::uuid8($bytes)->toString(); +} diff --git a/vendor/prefixed/vendor/autoload.php b/vendor/prefixed/vendor/autoload.php index e80316120..ae60332fb 100644 --- a/vendor/prefixed/vendor/autoload.php +++ b/vendor/prefixed/vendor/autoload.php @@ -9,4 +9,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitefbbfbccb77cf1d72296999539684a3b::getLoader(); +return ComposerAutoloaderInit2724e8b56131e57ae8990860d59ec2c9::getLoader(); diff --git a/vendor/prefixed/vendor/composer/autoload_classmap.php b/vendor/prefixed/vendor/composer/autoload_classmap.php index 191234466..1eea42ebf 100644 --- a/vendor/prefixed/vendor/composer/autoload_classmap.php +++ b/vendor/prefixed/vendor/composer/autoload_classmap.php @@ -11,27 +11,47 @@ 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 'DivisionByZeroError' => $baseDir . '/phpseclib/bcmath_compat/lib/bcmath.php', 'Error' => $baseDir . '/phpseclib/bcmath_compat/lib/bcmath.php', + 'GPBMetadata\\Google\\ApiCore\\Tests\\Unit\\Example' => $baseDir . '/google/gax/metadata/Google/ApiCore/Tests/Unit/Example.php', 'GPBMetadata\\GrpcGcp' => $baseDir . '/google/grpc-gcp/src/generated/GPBMetadata/GrpcGcp.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\BigDecimal' => $baseDir . '/brick/math/src/BigDecimal.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\BigInteger' => $baseDir . '/brick/math/src/BigInteger.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\BigNumber' => $baseDir . '/brick/math/src/BigNumber.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\BigRational' => $baseDir . '/brick/math/src/BigRational.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Exception\\DivisionByZeroException' => $baseDir . '/brick/math/src/Exception/DivisionByZeroException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Exception\\IntegerOverflowException' => $baseDir . '/brick/math/src/Exception/IntegerOverflowException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Exception\\MathException' => $baseDir . '/brick/math/src/Exception/MathException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Exception\\NegativeNumberException' => $baseDir . '/brick/math/src/Exception/NegativeNumberException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Exception\\NumberFormatException' => $baseDir . '/brick/math/src/Exception/NumberFormatException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Exception\\RoundingNecessaryException' => $baseDir . '/brick/math/src/Exception/RoundingNecessaryException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Internal\\Calculator' => $baseDir . '/brick/math/src/Internal/Calculator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Internal\\Calculator\\BcMathCalculator' => $baseDir . '/brick/math/src/Internal/Calculator/BcMathCalculator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Internal\\Calculator\\GmpCalculator' => $baseDir . '/brick/math/src/Internal/Calculator/GmpCalculator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Internal\\Calculator\\NativeCalculator' => $baseDir . '/brick/math/src/Internal/Calculator/NativeCalculator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\RoundingMode' => $baseDir . '/brick/math/src/RoundingMode.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\BeforeValidException' => $baseDir . '/firebase/php-jwt/src/BeforeValidException.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\CachedKeySet' => $baseDir . '/firebase/php-jwt/src/CachedKeySet.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\ExpiredException' => $baseDir . '/firebase/php-jwt/src/ExpiredException.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\JWK' => $baseDir . '/firebase/php-jwt/src/JWK.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\JWT' => $baseDir . '/firebase/php-jwt/src/JWT.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\JWTExceptionWithPayloadInterface' => $baseDir . '/firebase/php-jwt/src/JWTExceptionWithPayloadInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\Key' => $baseDir . '/firebase/php-jwt/src/Key.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\SignatureInvalidException' => $baseDir . '/firebase/php-jwt/src/SignatureInvalidException.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\ApiCore\\Testing\\Mocks' => $baseDir . '/google/gax/metadata/ApiCore/Testing/Mocks.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\AccessReport' => $baseDir . '/google/analytics-admin/metadata/V1Alpha/AccessReport.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\AnalyticsAdmin' => $baseDir . '/google/analytics-admin/metadata/V1Alpha/AnalyticsAdmin.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\Audience' => $baseDir . '/google/analytics-admin/metadata/V1Alpha/Audience.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\ChannelGroup' => $baseDir . '/google/analytics-admin/metadata/V1Alpha/ChannelGroup.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\EventCreateAndEdit' => $baseDir . '/google/analytics-admin/metadata/V1Alpha/EventCreateAndEdit.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\ExpandedDataSet' => $baseDir . '/google/analytics-admin/metadata/V1Alpha/ExpandedDataSet.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\Resources' => $baseDir . '/google/analytics-admin/metadata/V1Alpha/Resources.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\SubpropertyEventFilter' => $baseDir . '/google/analytics-admin/metadata/V1Alpha/SubpropertyEventFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Beta\\AccessReport' => $baseDir . '/google/analytics-admin/metadata/V1Beta/AccessReport.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Beta\\AnalyticsAdmin' => $baseDir . '/google/analytics-admin/metadata/V1Beta/AnalyticsAdmin.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Beta\\Resources' => $baseDir . '/google/analytics-admin/metadata/V1Beta/Resources.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Data\\V1Alpha\\AnalyticsDataApi' => $baseDir . '/google/analytics-data/metadata/V1Alpha/AnalyticsDataApi.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Data\\V1Alpha\\Data' => $baseDir . '/google/analytics-data/metadata/V1Alpha/Data.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Data\\V1Beta\\AnalyticsDataApi' => $baseDir . '/google/analytics-data/metadata/V1Beta/AnalyticsDataApi.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Data\\V1Beta\\Data' => $baseDir . '/google/analytics-data/metadata/V1Beta/Data.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\ApiCore\\Tests\\Unit\\Example' => $baseDir . '/google/gax/metadata/Google/ApiCore/Tests/Unit/Example.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Annotations' => $baseDir . '/google/common-protos/metadata/Api/Annotations.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Auth' => $baseDir . '/google/common-protos/metadata/Api/Auth.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Backend' => $baseDir . '/google/common-protos/metadata/Api/Backend.php', @@ -44,19 +64,9 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Distribution' => $baseDir . '/google/common-protos/metadata/Api/Distribution.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Documentation' => $baseDir . '/google/common-protos/metadata/Api/Documentation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Endpoint' => $baseDir . '/google/common-protos/metadata/Api/Endpoint.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\CelService' => $baseDir . '/google/common-protos/metadata/Api/Expr/V1Alpha1/CelService.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\Checked' => $baseDir . '/google/common-protos/metadata/Api/Expr/V1Alpha1/Checked.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\ConformanceService' => $baseDir . '/google/common-protos/metadata/Api/Expr/V1Alpha1/ConformanceService.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\Explain' => $baseDir . '/google/common-protos/metadata/Api/Expr/V1Alpha1/Explain.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\PBEval' => $baseDir . '/google/common-protos/metadata/Api/Expr/V1Alpha1/PBEval.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\Syntax' => $baseDir . '/google/common-protos/metadata/Api/Expr/V1Alpha1/Syntax.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\Value' => $baseDir . '/google/common-protos/metadata/Api/Expr/V1Alpha1/Value.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Beta1\\Decl' => $baseDir . '/google/common-protos/metadata/Api/Expr/V1Beta1/Decl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Beta1\\Expr' => $baseDir . '/google/common-protos/metadata/Api/Expr/V1Beta1/Expr.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Beta1\\PBEval' => $baseDir . '/google/common-protos/metadata/Api/Expr/V1Beta1/PBEval.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Beta1\\Source' => $baseDir . '/google/common-protos/metadata/Api/Expr/V1Beta1/Source.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Beta1\\Value' => $baseDir . '/google/common-protos/metadata/Api/Expr/V1Beta1/Value.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\ErrorReason' => $baseDir . '/google/common-protos/metadata/Api/ErrorReason.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\FieldBehavior' => $baseDir . '/google/common-protos/metadata/Api/FieldBehavior.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\FieldInfo' => $baseDir . '/google/common-protos/metadata/Api/FieldInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Http' => $baseDir . '/google/common-protos/metadata/Api/Http.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Httpbody' => $baseDir . '/google/common-protos/metadata/Api/Httpbody.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Label' => $baseDir . '/google/common-protos/metadata/Api/Label.php', @@ -66,6 +76,7 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Metric' => $baseDir . '/google/common-protos/metadata/Api/Metric.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\MonitoredResource' => $baseDir . '/google/common-protos/metadata/Api/MonitoredResource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Monitoring' => $baseDir . '/google/common-protos/metadata/Api/Monitoring.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Policy' => $baseDir . '/google/common-protos/metadata/Api/Policy.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Quota' => $baseDir . '/google/common-protos/metadata/Api/Quota.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Resource' => $baseDir . '/google/common-protos/metadata/Api/Resource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Routing' => $baseDir . '/google/common-protos/metadata/Api/Routing.php', @@ -73,6 +84,7 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\SourceInfo' => $baseDir . '/google/common-protos/metadata/Api/SourceInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\SystemParameter' => $baseDir . '/google/common-protos/metadata/Api/SystemParameter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Usage' => $baseDir . '/google/common-protos/metadata/Api/Usage.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Visibility' => $baseDir . '/google/common-protos/metadata/Api/Visibility.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Cloud\\ExtendedOperations' => $baseDir . '/google/common-protos/metadata/Cloud/ExtendedOperations.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Cloud\\Location\\Locations' => $baseDir . '/google/common-protos/metadata/Cloud/Location/Locations.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Iam\\V1\\IamPolicy' => $baseDir . '/google/common-protos/metadata/Iam/V1/IamPolicy.php', @@ -94,6 +106,8 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Protobuf\\Type' => $baseDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Protobuf\\Wrappers' => $baseDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Wrappers.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Rpc\\Code' => $baseDir . '/google/common-protos/metadata/Rpc/Code.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Rpc\\Context\\AttributeContext' => $baseDir . '/google/common-protos/metadata/Rpc/Context/AttributeContext.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Rpc\\Context\\AuditContext' => $baseDir . '/google/common-protos/metadata/Rpc/Context/AuditContext.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Rpc\\ErrorDetails' => $baseDir . '/google/common-protos/metadata/Rpc/ErrorDetails.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Rpc\\Status' => $baseDir . '/google/common-protos/metadata/Rpc/Status.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\CalendarPeriod' => $baseDir . '/google/common-protos/metadata/Type/CalendarPeriod.php', @@ -101,12 +115,15 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Date' => $baseDir . '/google/common-protos/metadata/Type/Date.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Datetime' => $baseDir . '/google/common-protos/metadata/Type/Datetime.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Dayofweek' => $baseDir . '/google/common-protos/metadata/Type/Dayofweek.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Decimal' => $baseDir . '/google/common-protos/metadata/Type/Decimal.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Expr' => $baseDir . '/google/common-protos/metadata/Type/Expr.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Fraction' => $baseDir . '/google/common-protos/metadata/Type/Fraction.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Interval' => $baseDir . '/google/common-protos/metadata/Type/Interval.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Latlng' => $baseDir . '/google/common-protos/metadata/Type/Latlng.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\LocalizedText' => $baseDir . '/google/common-protos/metadata/Type/LocalizedText.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Money' => $baseDir . '/google/common-protos/metadata/Type/Money.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Month' => $baseDir . '/google/common-protos/metadata/Type/Month.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\PhoneNumber' => $baseDir . '/google/common-protos/metadata/Type/PhoneNumber.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\PostalAddress' => $baseDir . '/google/common-protos/metadata/Type/PostalAddress.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Quaternion' => $baseDir . '/google/common-protos/metadata/Type/Quaternion.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Timeofday' => $baseDir . '/google/common-protos/metadata/Type/Timeofday.php', @@ -147,6 +164,7 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AcknowledgeUserDataCollectionResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/AcknowledgeUserDataCollectionResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ActionType' => $baseDir . '/google/analytics-admin/src/V1alpha/ActionType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ActorType' => $baseDir . '/google/analytics-admin/src/V1alpha/ActorType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AdSenseLink' => $baseDir . '/google/analytics-admin/src/V1alpha/AdSenseLink.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AnalyticsAdminServiceClient' => $baseDir . '/google/analytics-admin/src/V1alpha/AnalyticsAdminServiceClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AnalyticsAdminServiceGrpcClient' => $baseDir . '/google/analytics-admin/src/V1alpha/AnalyticsAdminServiceGrpcClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AndroidAppDataStream' => $baseDir . '/google/analytics-admin/src/V1alpha/AndroidAppDataStream.php', @@ -157,6 +175,7 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ArchiveCustomMetricRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ArchiveCustomMetricRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings' => $baseDir . '/google/analytics-admin/src/V1alpha/AttributionSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings\\AcquisitionConversionEventLookbackWindow' => $baseDir . '/google/analytics-admin/src/V1alpha/AttributionSettings/AcquisitionConversionEventLookbackWindow.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings\\AdsWebConversionDataExportScope' => $baseDir . '/google/analytics-admin/src/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings\\OtherConversionEventLookbackWindow' => $baseDir . '/google/analytics-admin/src/V1alpha/AttributionSettings/OtherConversionEventLookbackWindow.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings\\ReportingAttributionModel' => $baseDir . '/google/analytics-admin/src/V1alpha/AttributionSettings/ReportingAttributionModel.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings_AcquisitionConversionEventLookbackWindow' => $baseDir . '/google/analytics-admin/src/V1alpha/AttributionSettings_AcquisitionConversionEventLookbackWindow.php', @@ -212,29 +231,61 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\BatchUpdateUserLinksRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/BatchUpdateUserLinksRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\BatchUpdateUserLinksResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/BatchUpdateUserLinksResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\BigQueryLink' => $baseDir . '/google/analytics-admin/src/V1alpha/BigQueryLink.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CalculatedMetric' => $baseDir . '/google/analytics-admin/src/V1alpha/CalculatedMetric.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CalculatedMetric\\MetricUnit' => $baseDir . '/google/analytics-admin/src/V1alpha/CalculatedMetric/MetricUnit.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CalculatedMetric\\RestrictedMetricType' => $baseDir . '/google/analytics-admin/src/V1alpha/CalculatedMetric/RestrictedMetricType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CancelDisplayVideo360AdvertiserLinkProposalRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChangeHistoryChange' => $baseDir . '/google/analytics-admin/src/V1alpha/ChangeHistoryChange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChangeHistoryChange\\ChangeHistoryResource' => $baseDir . '/google/analytics-admin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChangeHistoryChange_ChangeHistoryResource' => $baseDir . '/google/analytics-admin/src/V1alpha/ChangeHistoryChange_ChangeHistoryResource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChangeHistoryEvent' => $baseDir . '/google/analytics-admin/src/V1alpha/ChangeHistoryEvent.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChangeHistoryResourceType' => $baseDir . '/google/analytics-admin/src/V1alpha/ChangeHistoryResourceType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroup' => $baseDir . '/google/analytics-admin/src/V1alpha/ChannelGroup.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter' => $baseDir . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilterExpression' => $baseDir . '/google/analytics-admin/src/V1alpha/ChannelGroupFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilterExpressionList' => $baseDir . '/google/analytics-admin/src/V1alpha/ChannelGroupFilterExpressionList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter\\InListFilter' => $baseDir . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter/InListFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter\\StringFilter' => $baseDir . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter/StringFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter\\StringFilter\\MatchType' => $baseDir . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter_InListFilter' => $baseDir . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter_InListFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter_StringFilter' => $baseDir . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter_StringFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter_StringFilter_MatchType' => $baseDir . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter_StringFilter_MatchType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Client\\AnalyticsAdminServiceClient' => $baseDir . '/google/analytics-admin/src/V1alpha/Client/AnalyticsAdminServiceClient.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CoarseValue' => $baseDir . '/google/analytics-admin/src/V1alpha/CoarseValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConnectedSiteTag' => $baseDir . '/google/analytics-admin/src/V1alpha/ConnectedSiteTag.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConversionEvent' => $baseDir . '/google/analytics-admin/src/V1alpha/ConversionEvent.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConversionEvent\\ConversionCountingMethod' => $baseDir . '/google/analytics-admin/src/V1alpha/ConversionEvent/ConversionCountingMethod.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConversionEvent\\DefaultConversionValue' => $baseDir . '/google/analytics-admin/src/V1alpha/ConversionEvent/DefaultConversionValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConversionValues' => $baseDir . '/google/analytics-admin/src/V1alpha/ConversionValues.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateAccessBindingRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateAccessBindingRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateAdSenseLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateAdSenseLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateAndroidAppDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateAndroidAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateAudienceRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateAudienceRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateCalculatedMetricRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateCalculatedMetricRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateChannelGroupRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateChannelGroupRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateConnectedSiteTagRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateConnectedSiteTagRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateConnectedSiteTagResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateConnectedSiteTagResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateConversionEventRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateConversionEventRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateCustomDimensionRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateCustomDimensionRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateCustomMetricRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateCustomMetricRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateDisplayVideo360AdvertiserLinkProposalRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateDisplayVideo360AdvertiserLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateEventCreateRuleRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateEventCreateRuleRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateExpandedDataSetRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateExpandedDataSetRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateFirebaseLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateFirebaseLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateGoogleAdsLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateGoogleAdsLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateIosAppDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateIosAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateMeasurementProtocolSecretRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateMeasurementProtocolSecretRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreatePropertyRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreatePropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateRollupPropertyRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateRollupPropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateRollupPropertyResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateRollupPropertyResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateRollupPropertySourceLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateRollupPropertySourceLinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateSKAdNetworkConversionValueSchemaRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateSearchAds360LinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateSearchAds360LinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateSubpropertyEventFilterRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateSubpropertyEventFilterRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateSubpropertyRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateSubpropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateSubpropertyResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateSubpropertyResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateUserLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateUserLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateWebDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/CreateWebDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomDimension' => $baseDir . '/google/analytics-admin/src/V1alpha/CustomDimension.php', @@ -247,6 +298,7 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomMetric_MeasurementUnit' => $baseDir . '/google/analytics-admin/src/V1alpha/CustomMetric_MeasurementUnit.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomMetric_MetricScope' => $baseDir . '/google/analytics-admin/src/V1alpha/CustomMetric_MetricScope.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomMetric_RestrictedMetricType' => $baseDir . '/google/analytics-admin/src/V1alpha/CustomMetric_RestrictedMetricType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataRedactionSettings' => $baseDir . '/google/analytics-admin/src/V1alpha/DataRedactionSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataRetentionSettings' => $baseDir . '/google/analytics-admin/src/V1alpha/DataRetentionSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataRetentionSettings\\RetentionDuration' => $baseDir . '/google/analytics-admin/src/V1alpha/DataRetentionSettings/RetentionDuration.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataRetentionSettings_RetentionDuration' => $baseDir . '/google/analytics-admin/src/V1alpha/DataRetentionSettings_RetentionDuration.php', @@ -262,23 +314,33 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataStream_WebStreamData' => $baseDir . '/google/analytics-admin/src/V1alpha/DataStream_WebStreamData.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteAccessBindingRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteAccessBindingRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteAccountRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteAccountRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteAdSenseLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteAdSenseLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteAndroidAppDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteAndroidAppDataStreamRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteCalculatedMetricRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteCalculatedMetricRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteChannelGroupRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteChannelGroupRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteConnectedSiteTagRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteConnectedSiteTagRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteConversionEventRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteConversionEventRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteDisplayVideo360AdvertiserLinkProposalRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteDisplayVideo360AdvertiserLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteEventCreateRuleRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteEventCreateRuleRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteExpandedDataSetRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteExpandedDataSetRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteFirebaseLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteFirebaseLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteGoogleAdsLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteGoogleAdsLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteIosAppDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteIosAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteMeasurementProtocolSecretRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteMeasurementProtocolSecretRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeletePropertyRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeletePropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteRollupPropertySourceLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteRollupPropertySourceLinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteSKAdNetworkConversionValueSchemaRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteSearchAds360LinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteSearchAds360LinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteSubpropertyEventFilterRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteSubpropertyEventFilterRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteUserLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteUserLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteWebDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/DeleteWebDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DisplayVideo360AdvertiserLink' => $baseDir . '/google/analytics-admin/src/V1alpha/DisplayVideo360AdvertiserLink.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DisplayVideo360AdvertiserLinkProposal' => $baseDir . '/google/analytics-admin/src/V1alpha/DisplayVideo360AdvertiserLinkProposal.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EnhancedMeasurementSettings' => $baseDir . '/google/analytics-admin/src/V1alpha/EnhancedMeasurementSettings.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EventCreateRule' => $baseDir . '/google/analytics-admin/src/V1alpha/EventCreateRule.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EventMapping' => $baseDir . '/google/analytics-admin/src/V1alpha/EventMapping.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ExpandedDataSet' => $baseDir . '/google/analytics-admin/src/V1alpha/ExpandedDataSet.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ExpandedDataSetFilter' => $baseDir . '/google/analytics-admin/src/V1alpha/ExpandedDataSetFilter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ExpandedDataSetFilterExpression' => $baseDir . '/google/analytics-admin/src/V1alpha/ExpandedDataSetFilterExpression.php', @@ -291,30 +353,40 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ExpandedDataSetFilter_StringFilter_MatchType' => $baseDir . '/google/analytics-admin/src/V1alpha/ExpandedDataSetFilter_StringFilter_MatchType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FetchAutomatedGa4ConfigurationOptOutRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FetchAutomatedGa4ConfigurationOptOutResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FetchConnectedGa4PropertyRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/FetchConnectedGa4PropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FetchConnectedGa4PropertyResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/FetchConnectedGa4PropertyResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FirebaseLink' => $baseDir . '/google/analytics-admin/src/V1alpha/FirebaseLink.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Gapic\\AnalyticsAdminServiceGapicClient' => $baseDir . '/google/analytics-admin/src/V1alpha/Gapic/AnalyticsAdminServiceGapicClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetAccessBindingRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetAccessBindingRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetAccountRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetAccountRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetAdSenseLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetAdSenseLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetAndroidAppDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetAndroidAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetAttributionSettingsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetAttributionSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetAudienceRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetAudienceRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetBigQueryLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetBigQueryLinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetCalculatedMetricRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetCalculatedMetricRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetChannelGroupRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetChannelGroupRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetConversionEventRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetConversionEventRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetCustomDimensionRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetCustomDimensionRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetCustomMetricRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetCustomMetricRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetDataRedactionSettingsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetDataRedactionSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetDataRetentionSettingsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetDataRetentionSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetDataSharingSettingsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetDataSharingSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetDisplayVideo360AdvertiserLinkProposalRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetDisplayVideo360AdvertiserLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetEnhancedMeasurementSettingsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetEnhancedMeasurementSettingsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetEventCreateRuleRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetEventCreateRuleRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetExpandedDataSetRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetExpandedDataSetRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetGlobalSiteTagRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetGlobalSiteTagRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetGoogleSignalsSettingsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetGoogleSignalsSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetIosAppDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetIosAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetMeasurementProtocolSecretRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetMeasurementProtocolSecretRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetPropertyRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetPropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetRollupPropertySourceLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetRollupPropertySourceLinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetSKAdNetworkConversionValueSchemaRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetSearchAds360LinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetSearchAds360LinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetSubpropertyEventFilterRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetSubpropertyEventFilterRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetUserLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetUserLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetWebDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/GetWebDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GlobalSiteTag' => $baseDir . '/google/analytics-admin/src/V1alpha/GlobalSiteTag.php', @@ -322,6 +394,7 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GoogleSignalsConsent' => $baseDir . '/google/analytics-admin/src/V1alpha/GoogleSignalsConsent.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GoogleSignalsSettings' => $baseDir . '/google/analytics-admin/src/V1alpha/GoogleSignalsSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GoogleSignalsState' => $baseDir . '/google/analytics-admin/src/V1alpha/GoogleSignalsState.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GroupingRule' => $baseDir . '/google/analytics-admin/src/V1alpha/GroupingRule.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\IndustryCategory' => $baseDir . '/google/analytics-admin/src/V1alpha/IndustryCategory.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\IosAppDataStream' => $baseDir . '/google/analytics-admin/src/V1alpha/IosAppDataStream.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\LinkProposalInitiatingProduct' => $baseDir . '/google/analytics-admin/src/V1alpha/LinkProposalInitiatingProduct.php', @@ -333,12 +406,20 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAccountSummariesResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListAccountSummariesResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAccountsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListAccountsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAccountsResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListAccountsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAdSenseLinksRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListAdSenseLinksRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAdSenseLinksResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListAdSenseLinksResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAndroidAppDataStreamsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListAndroidAppDataStreamsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAndroidAppDataStreamsResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListAndroidAppDataStreamsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAudiencesRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListAudiencesRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAudiencesResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListAudiencesResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListBigQueryLinksRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListBigQueryLinksRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListBigQueryLinksResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListBigQueryLinksResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListCalculatedMetricsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListCalculatedMetricsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListCalculatedMetricsResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListCalculatedMetricsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListChannelGroupsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListChannelGroupsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListChannelGroupsResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListChannelGroupsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListConnectedSiteTagsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListConnectedSiteTagsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListConnectedSiteTagsResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListConnectedSiteTagsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListConversionEventsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListConversionEventsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListConversionEventsResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListConversionEventsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListCustomDimensionsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListCustomDimensionsRequest.php', @@ -351,6 +432,8 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListDisplayVideo360AdvertiserLinkProposalsResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListDisplayVideo360AdvertiserLinksRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListDisplayVideo360AdvertiserLinksResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinksResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListEventCreateRulesRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListEventCreateRulesRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListEventCreateRulesResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListEventCreateRulesResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListExpandedDataSetsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListExpandedDataSetsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListExpandedDataSetsResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListExpandedDataSetsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListFirebaseLinksRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListFirebaseLinksRequest.php', @@ -363,39 +446,65 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListMeasurementProtocolSecretsResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListMeasurementProtocolSecretsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListPropertiesRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListPropertiesRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListPropertiesResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListPropertiesResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListRollupPropertySourceLinksRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListRollupPropertySourceLinksRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListRollupPropertySourceLinksResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListRollupPropertySourceLinksResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSKAdNetworkConversionValueSchemasRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSKAdNetworkConversionValueSchemasResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSearchAds360LinksRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListSearchAds360LinksRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSearchAds360LinksResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListSearchAds360LinksResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSubpropertyEventFiltersRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListSubpropertyEventFiltersRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSubpropertyEventFiltersResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListSubpropertyEventFiltersResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListUserLinksRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListUserLinksRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListUserLinksResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListUserLinksResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListWebDataStreamsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ListWebDataStreamsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListWebDataStreamsResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ListWebDataStreamsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MatchingCondition' => $baseDir . '/google/analytics-admin/src/V1alpha/MatchingCondition.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MatchingCondition\\ComparisonType' => $baseDir . '/google/analytics-admin/src/V1alpha/MatchingCondition/ComparisonType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MatchingCondition_ComparisonType' => $baseDir . '/google/analytics-admin/src/V1alpha/MatchingCondition_ComparisonType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MaximumUserAccess' => $baseDir . '/google/analytics-admin/src/V1alpha/MaximumUserAccess.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MeasurementProtocolSecret' => $baseDir . '/google/analytics-admin/src/V1alpha/MeasurementProtocolSecret.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\NumericValue' => $baseDir . '/google/analytics-admin/src/V1alpha/NumericValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ParameterMutation' => $baseDir . '/google/analytics-admin/src/V1alpha/ParameterMutation.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\PostbackWindow' => $baseDir . '/google/analytics-admin/src/V1alpha/PostbackWindow.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Property' => $baseDir . '/google/analytics-admin/src/V1alpha/Property.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\PropertySummary' => $baseDir . '/google/analytics-admin/src/V1alpha/PropertySummary.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\PropertyType' => $baseDir . '/google/analytics-admin/src/V1alpha/PropertyType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ProvisionAccountTicketRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/ProvisionAccountTicketRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ProvisionAccountTicketResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/ProvisionAccountTicketResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\RollupPropertySourceLink' => $baseDir . '/google/analytics-admin/src/V1alpha/RollupPropertySourceLink.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\RunAccessReportRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/RunAccessReportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\RunAccessReportResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/RunAccessReportResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SKAdNetworkConversionValueSchema' => $baseDir . '/google/analytics-admin/src/V1alpha/SKAdNetworkConversionValueSchema.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SearchAds360Link' => $baseDir . '/google/analytics-admin/src/V1alpha/SearchAds360Link.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SearchChangeHistoryEventsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/SearchChangeHistoryEventsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SearchChangeHistoryEventsResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/SearchChangeHistoryEventsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ServiceLevel' => $baseDir . '/google/analytics-admin/src/V1alpha/ServiceLevel.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SetAutomatedGa4ConfigurationOptOutRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SetAutomatedGa4ConfigurationOptOutResponse' => $baseDir . '/google/analytics-admin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilter' => $baseDir . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterClause' => $baseDir . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterClause.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterClause\\FilterClauseType' => $baseDir . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterCondition' => $baseDir . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterCondition\\StringFilter' => $baseDir . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition/StringFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterCondition\\StringFilter\\MatchType' => $baseDir . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterExpression' => $baseDir . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterExpressionList' => $baseDir . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterExpressionList.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateAccessBindingRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateAccessBindingRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateAccountRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateAccountRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateAndroidAppDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateAndroidAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateAttributionSettingsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateAttributionSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateAudienceRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateAudienceRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateCalculatedMetricRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateCalculatedMetricRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateChannelGroupRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateChannelGroupRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateConversionEventRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateConversionEventRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateCustomDimensionRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateCustomDimensionRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateCustomMetricRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateCustomMetricRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateDataRedactionSettingsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateDataRedactionSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateDataRetentionSettingsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateDataRetentionSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateDisplayVideo360AdvertiserLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateEnhancedMeasurementSettingsRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateEventCreateRuleRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateEventCreateRuleRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateExpandedDataSetRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateExpandedDataSetRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateFirebaseLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateFirebaseLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateGoogleAdsLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateGoogleAdsLinkRequest.php', @@ -403,11 +512,36 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateIosAppDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateIosAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateMeasurementProtocolSecretRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateMeasurementProtocolSecretRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdatePropertyRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdatePropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateSKAdNetworkConversionValueSchemaRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateSearchAds360LinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateSearchAds360LinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateSubpropertyEventFilterRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateSubpropertyEventFilterRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateUserLinkRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateUserLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateWebDataStreamRequest' => $baseDir . '/google/analytics-admin/src/V1alpha/UpdateWebDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UserLink' => $baseDir . '/google/analytics-admin/src/V1alpha/UserLink.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\WebDataStream' => $baseDir . '/google/analytics-admin/src/V1alpha/WebDataStream.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessBetweenFilter' => $baseDir . '/google/analytics-admin/src/V1beta/AccessBetweenFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessDateRange' => $baseDir . '/google/analytics-admin/src/V1beta/AccessDateRange.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessDimension' => $baseDir . '/google/analytics-admin/src/V1beta/AccessDimension.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessDimensionHeader' => $baseDir . '/google/analytics-admin/src/V1beta/AccessDimensionHeader.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessDimensionValue' => $baseDir . '/google/analytics-admin/src/V1beta/AccessDimensionValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessFilter' => $baseDir . '/google/analytics-admin/src/V1beta/AccessFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessFilterExpression' => $baseDir . '/google/analytics-admin/src/V1beta/AccessFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessFilterExpressionList' => $baseDir . '/google/analytics-admin/src/V1beta/AccessFilterExpressionList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessInListFilter' => $baseDir . '/google/analytics-admin/src/V1beta/AccessInListFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessMetric' => $baseDir . '/google/analytics-admin/src/V1beta/AccessMetric.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessMetricHeader' => $baseDir . '/google/analytics-admin/src/V1beta/AccessMetricHeader.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessMetricValue' => $baseDir . '/google/analytics-admin/src/V1beta/AccessMetricValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessNumericFilter' => $baseDir . '/google/analytics-admin/src/V1beta/AccessNumericFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessNumericFilter\\Operation' => $baseDir . '/google/analytics-admin/src/V1beta/AccessNumericFilter/Operation.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessOrderBy' => $baseDir . '/google/analytics-admin/src/V1beta/AccessOrderBy.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessOrderBy\\DimensionOrderBy' => $baseDir . '/google/analytics-admin/src/V1beta/AccessOrderBy/DimensionOrderBy.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessOrderBy\\DimensionOrderBy\\OrderType' => $baseDir . '/google/analytics-admin/src/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessOrderBy\\MetricOrderBy' => $baseDir . '/google/analytics-admin/src/V1beta/AccessOrderBy/MetricOrderBy.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessQuota' => $baseDir . '/google/analytics-admin/src/V1beta/AccessQuota.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessQuotaStatus' => $baseDir . '/google/analytics-admin/src/V1beta/AccessQuotaStatus.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessRow' => $baseDir . '/google/analytics-admin/src/V1beta/AccessRow.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessStringFilter' => $baseDir . '/google/analytics-admin/src/V1beta/AccessStringFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessStringFilter\\MatchType' => $baseDir . '/google/analytics-admin/src/V1beta/AccessStringFilter/MatchType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\Account' => $baseDir . '/google/analytics-admin/src/V1beta/Account.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccountSummary' => $baseDir . '/google/analytics-admin/src/V1beta/AccountSummary.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AcknowledgeUserDataCollectionRequest' => $baseDir . '/google/analytics-admin/src/V1beta/AcknowledgeUserDataCollectionRequest.php', @@ -421,7 +555,9 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ChangeHistoryChange\\ChangeHistoryResource' => $baseDir . '/google/analytics-admin/src/V1beta/ChangeHistoryChange/ChangeHistoryResource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ChangeHistoryEvent' => $baseDir . '/google/analytics-admin/src/V1beta/ChangeHistoryEvent.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ChangeHistoryResourceType' => $baseDir . '/google/analytics-admin/src/V1beta/ChangeHistoryResourceType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\Client\\AnalyticsAdminServiceClient' => $baseDir . '/google/analytics-admin/src/V1beta/Client/AnalyticsAdminServiceClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ConversionEvent' => $baseDir . '/google/analytics-admin/src/V1beta/ConversionEvent.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ConversionEvent\\ConversionCountingMethod' => $baseDir . '/google/analytics-admin/src/V1beta/ConversionEvent/ConversionCountingMethod.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\CreateConversionEventRequest' => $baseDir . '/google/analytics-admin/src/V1beta/CreateConversionEventRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\CreateCustomDimensionRequest' => $baseDir . '/google/analytics-admin/src/V1beta/CreateCustomDimensionRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\CreateCustomMetricRequest' => $baseDir . '/google/analytics-admin/src/V1beta/CreateCustomMetricRequest.php', @@ -485,15 +621,19 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ListPropertiesRequest' => $baseDir . '/google/analytics-admin/src/V1beta/ListPropertiesRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ListPropertiesResponse' => $baseDir . '/google/analytics-admin/src/V1beta/ListPropertiesResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\MeasurementProtocolSecret' => $baseDir . '/google/analytics-admin/src/V1beta/MeasurementProtocolSecret.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\NumericValue' => $baseDir . '/google/analytics-admin/src/V1beta/NumericValue.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\Property' => $baseDir . '/google/analytics-admin/src/V1beta/Property.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\PropertySummary' => $baseDir . '/google/analytics-admin/src/V1beta/PropertySummary.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\PropertyType' => $baseDir . '/google/analytics-admin/src/V1beta/PropertyType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ProvisionAccountTicketRequest' => $baseDir . '/google/analytics-admin/src/V1beta/ProvisionAccountTicketRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ProvisionAccountTicketResponse' => $baseDir . '/google/analytics-admin/src/V1beta/ProvisionAccountTicketResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\RunAccessReportRequest' => $baseDir . '/google/analytics-admin/src/V1beta/RunAccessReportRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\RunAccessReportResponse' => $baseDir . '/google/analytics-admin/src/V1beta/RunAccessReportResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\SearchChangeHistoryEventsRequest' => $baseDir . '/google/analytics-admin/src/V1beta/SearchChangeHistoryEventsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\SearchChangeHistoryEventsResponse' => $baseDir . '/google/analytics-admin/src/V1beta/SearchChangeHistoryEventsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ServiceLevel' => $baseDir . '/google/analytics-admin/src/V1beta/ServiceLevel.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\UpdateAccountRequest' => $baseDir . '/google/analytics-admin/src/V1beta/UpdateAccountRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\UpdateConversionEventRequest' => $baseDir . '/google/analytics-admin/src/V1beta/UpdateConversionEventRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\UpdateCustomDimensionRequest' => $baseDir . '/google/analytics-admin/src/V1beta/UpdateCustomDimensionRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\UpdateCustomMetricRequest' => $baseDir . '/google/analytics-admin/src/V1beta/UpdateCustomMetricRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\UpdateDataRetentionSettingsRequest' => $baseDir . '/google/analytics-admin/src/V1beta/UpdateDataRetentionSettingsRequest.php', @@ -503,15 +643,26 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\UpdatePropertyRequest' => $baseDir . '/google/analytics-admin/src/V1beta/UpdatePropertyRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AlphaAnalyticsDataClient' => $baseDir . '/google/analytics-data/src/V1alpha/AlphaAnalyticsDataClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AlphaAnalyticsDataGrpcClient' => $baseDir . '/google/analytics-data/src/V1alpha/AlphaAnalyticsDataGrpcClient.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceDimension' => $baseDir . '/google/analytics-data/src/V1alpha/AudienceDimension.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceDimensionValue' => $baseDir . '/google/analytics-data/src/V1alpha/AudienceDimensionValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceList' => $baseDir . '/google/analytics-data/src/V1alpha/AudienceList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceListMetadata' => $baseDir . '/google/analytics-data/src/V1alpha/AudienceListMetadata.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceList\\State' => $baseDir . '/google/analytics-data/src/V1alpha/AudienceList/State.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceRow' => $baseDir . '/google/analytics-data/src/V1alpha/AudienceRow.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\BatchRunPivotReportsRequest' => $baseDir . '/google/analytics-data/src/V1alpha/BatchRunPivotReportsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\BatchRunPivotReportsResponse' => $baseDir . '/google/analytics-data/src/V1alpha/BatchRunPivotReportsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\BatchRunReportsRequest' => $baseDir . '/google/analytics-data/src/V1alpha/BatchRunReportsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\BatchRunReportsResponse' => $baseDir . '/google/analytics-data/src/V1alpha/BatchRunReportsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\BetweenFilter' => $baseDir . '/google/analytics-data/src/V1alpha/BetweenFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Client\\AlphaAnalyticsDataClient' => $baseDir . '/google/analytics-data/src/V1alpha/Client/AlphaAnalyticsDataClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Cohort' => $baseDir . '/google/analytics-data/src/V1alpha/Cohort.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CohortReportSettings' => $baseDir . '/google/analytics-data/src/V1alpha/CohortReportSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CohortSpec' => $baseDir . '/google/analytics-data/src/V1alpha/CohortSpec.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CohortsRange' => $baseDir . '/google/analytics-data/src/V1alpha/CohortsRange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CohortsRange\\Granularity' => $baseDir . '/google/analytics-data/src/V1alpha/CohortsRange/Granularity.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CreateAudienceListRequest' => $baseDir . '/google/analytics-data/src/V1alpha/CreateAudienceListRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CreateRecurringAudienceListRequest' => $baseDir . '/google/analytics-data/src/V1alpha/CreateRecurringAudienceListRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CreateReportTaskRequest' => $baseDir . '/google/analytics-data/src/V1alpha/CreateReportTaskRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\DateRange' => $baseDir . '/google/analytics-data/src/V1alpha/DateRange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Dimension' => $baseDir . '/google/analytics-data/src/V1alpha/Dimension.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\DimensionExpression' => $baseDir . '/google/analytics-data/src/V1alpha/DimensionExpression.php', @@ -521,6 +672,12 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\DimensionMetadata' => $baseDir . '/google/analytics-data/src/V1alpha/DimensionMetadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\DimensionValue' => $baseDir . '/google/analytics-data/src/V1alpha/DimensionValue.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Entity' => $baseDir . '/google/analytics-data/src/V1alpha/Entity.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\EventCriteriaScoping' => $baseDir . '/google/analytics-data/src/V1alpha/EventCriteriaScoping.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\EventExclusionDuration' => $baseDir . '/google/analytics-data/src/V1alpha/EventExclusionDuration.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\EventSegment' => $baseDir . '/google/analytics-data/src/V1alpha/EventSegment.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\EventSegmentConditionGroup' => $baseDir . '/google/analytics-data/src/V1alpha/EventSegmentConditionGroup.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\EventSegmentCriteria' => $baseDir . '/google/analytics-data/src/V1alpha/EventSegmentCriteria.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\EventSegmentExclusion' => $baseDir . '/google/analytics-data/src/V1alpha/EventSegmentExclusion.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Filter' => $baseDir . '/google/analytics-data/src/V1alpha/Filter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FilterExpression' => $baseDir . '/google/analytics-data/src/V1alpha/FilterExpression.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FilterExpressionList' => $baseDir . '/google/analytics-data/src/V1alpha/FilterExpressionList.php', @@ -530,8 +687,31 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Filter\\NumericFilter\\Operation' => $baseDir . '/google/analytics-data/src/V1alpha/Filter/NumericFilter/Operation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Filter\\StringFilter' => $baseDir . '/google/analytics-data/src/V1alpha/Filter/StringFilter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Filter\\StringFilter\\MatchType' => $baseDir . '/google/analytics-data/src/V1alpha/Filter/StringFilter/MatchType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Funnel' => $baseDir . '/google/analytics-data/src/V1alpha/Funnel.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelBreakdown' => $baseDir . '/google/analytics-data/src/V1alpha/FunnelBreakdown.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelEventFilter' => $baseDir . '/google/analytics-data/src/V1alpha/FunnelEventFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelFieldFilter' => $baseDir . '/google/analytics-data/src/V1alpha/FunnelFieldFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelFilterExpression' => $baseDir . '/google/analytics-data/src/V1alpha/FunnelFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelFilterExpressionList' => $baseDir . '/google/analytics-data/src/V1alpha/FunnelFilterExpressionList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelNextAction' => $baseDir . '/google/analytics-data/src/V1alpha/FunnelNextAction.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelParameterFilter' => $baseDir . '/google/analytics-data/src/V1alpha/FunnelParameterFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelParameterFilterExpression' => $baseDir . '/google/analytics-data/src/V1alpha/FunnelParameterFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelParameterFilterExpressionList' => $baseDir . '/google/analytics-data/src/V1alpha/FunnelParameterFilterExpressionList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelResponseMetadata' => $baseDir . '/google/analytics-data/src/V1alpha/FunnelResponseMetadata.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelStep' => $baseDir . '/google/analytics-data/src/V1alpha/FunnelStep.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelSubReport' => $baseDir . '/google/analytics-data/src/V1alpha/FunnelSubReport.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Gapic\\AlphaAnalyticsDataGapicClient' => $baseDir . '/google/analytics-data/src/V1alpha/Gapic/AlphaAnalyticsDataGapicClient.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\GetAudienceListRequest' => $baseDir . '/google/analytics-data/src/V1alpha/GetAudienceListRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\GetMetadataRequest' => $baseDir . '/google/analytics-data/src/V1alpha/GetMetadataRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\GetRecurringAudienceListRequest' => $baseDir . '/google/analytics-data/src/V1alpha/GetRecurringAudienceListRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\GetReportTaskRequest' => $baseDir . '/google/analytics-data/src/V1alpha/GetReportTaskRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\InListFilter' => $baseDir . '/google/analytics-data/src/V1alpha/InListFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListAudienceListsRequest' => $baseDir . '/google/analytics-data/src/V1alpha/ListAudienceListsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListAudienceListsResponse' => $baseDir . '/google/analytics-data/src/V1alpha/ListAudienceListsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListRecurringAudienceListsRequest' => $baseDir . '/google/analytics-data/src/V1alpha/ListRecurringAudienceListsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListRecurringAudienceListsResponse' => $baseDir . '/google/analytics-data/src/V1alpha/ListRecurringAudienceListsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListReportTasksRequest' => $baseDir . '/google/analytics-data/src/V1alpha/ListReportTasksRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListReportTasksResponse' => $baseDir . '/google/analytics-data/src/V1alpha/ListReportTasksResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Metadata' => $baseDir . '/google/analytics-data/src/V1alpha/Metadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Metric' => $baseDir . '/google/analytics-data/src/V1alpha/Metric.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\MetricAggregation' => $baseDir . '/google/analytics-data/src/V1alpha/MetricAggregation.php', @@ -539,6 +719,8 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\MetricMetadata' => $baseDir . '/google/analytics-data/src/V1alpha/MetricMetadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\MetricType' => $baseDir . '/google/analytics-data/src/V1alpha/MetricType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\MetricValue' => $baseDir . '/google/analytics-data/src/V1alpha/MetricValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\NumericFilter' => $baseDir . '/google/analytics-data/src/V1alpha/NumericFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\NumericFilter\\Operation' => $baseDir . '/google/analytics-data/src/V1alpha/NumericFilter/Operation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\NumericValue' => $baseDir . '/google/analytics-data/src/V1alpha/NumericValue.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\OrderBy' => $baseDir . '/google/analytics-data/src/V1alpha/OrderBy.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\OrderBy\\DimensionOrderBy' => $baseDir . '/google/analytics-data/src/V1alpha/OrderBy/DimensionOrderBy.php', @@ -550,15 +732,67 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\PivotDimensionHeader' => $baseDir . '/google/analytics-data/src/V1alpha/PivotDimensionHeader.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\PivotHeader' => $baseDir . '/google/analytics-data/src/V1alpha/PivotHeader.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\PropertyQuota' => $baseDir . '/google/analytics-data/src/V1alpha/PropertyQuota.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\QueryAudienceListRequest' => $baseDir . '/google/analytics-data/src/V1alpha/QueryAudienceListRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\QueryAudienceListResponse' => $baseDir . '/google/analytics-data/src/V1alpha/QueryAudienceListResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\QueryReportTaskRequest' => $baseDir . '/google/analytics-data/src/V1alpha/QueryReportTaskRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\QueryReportTaskResponse' => $baseDir . '/google/analytics-data/src/V1alpha/QueryReportTaskResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\QuotaStatus' => $baseDir . '/google/analytics-data/src/V1alpha/QuotaStatus.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RecurringAudienceList' => $baseDir . '/google/analytics-data/src/V1alpha/RecurringAudienceList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTask' => $baseDir . '/google/analytics-data/src/V1alpha/ReportTask.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTaskMetadata' => $baseDir . '/google/analytics-data/src/V1alpha/ReportTaskMetadata.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTask\\ReportDefinition' => $baseDir . '/google/analytics-data/src/V1alpha/ReportTask/ReportDefinition.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTask\\ReportMetadata' => $baseDir . '/google/analytics-data/src/V1alpha/ReportTask/ReportMetadata.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTask\\ReportMetadata\\State' => $baseDir . '/google/analytics-data/src/V1alpha/ReportTask/ReportMetadata/State.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ResponseMetaData' => $baseDir . '/google/analytics-data/src/V1alpha/ResponseMetaData.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ResponseMetaData\\SchemaRestrictionResponse' => $baseDir . '/google/analytics-data/src/V1alpha/ResponseMetaData/SchemaRestrictionResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ResponseMetaData\\SchemaRestrictionResponse\\ActiveMetricRestriction' => $baseDir . '/google/analytics-data/src/V1alpha/ResponseMetaData/SchemaRestrictionResponse/ActiveMetricRestriction.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RestrictedMetricType' => $baseDir . '/google/analytics-data/src/V1alpha/RestrictedMetricType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Row' => $baseDir . '/google/analytics-data/src/V1alpha/Row.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunFunnelReportRequest' => $baseDir . '/google/analytics-data/src/V1alpha/RunFunnelReportRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunFunnelReportRequest\\FunnelVisualizationType' => $baseDir . '/google/analytics-data/src/V1alpha/RunFunnelReportRequest/FunnelVisualizationType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunFunnelReportResponse' => $baseDir . '/google/analytics-data/src/V1alpha/RunFunnelReportResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunPivotReportRequest' => $baseDir . '/google/analytics-data/src/V1alpha/RunPivotReportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunPivotReportResponse' => $baseDir . '/google/analytics-data/src/V1alpha/RunPivotReportResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunRealtimeReportRequest' => $baseDir . '/google/analytics-data/src/V1alpha/RunRealtimeReportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunRealtimeReportResponse' => $baseDir . '/google/analytics-data/src/V1alpha/RunRealtimeReportResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunReportRequest' => $baseDir . '/google/analytics-data/src/V1alpha/RunReportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunReportResponse' => $baseDir . '/google/analytics-data/src/V1alpha/RunReportResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SamplingMetadata' => $baseDir . '/google/analytics-data/src/V1alpha/SamplingMetadata.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Segment' => $baseDir . '/google/analytics-data/src/V1alpha/Segment.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentEventFilter' => $baseDir . '/google/analytics-data/src/V1alpha/SegmentEventFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentFilter' => $baseDir . '/google/analytics-data/src/V1alpha/SegmentFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentFilterExpression' => $baseDir . '/google/analytics-data/src/V1alpha/SegmentFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentFilterExpressionList' => $baseDir . '/google/analytics-data/src/V1alpha/SegmentFilterExpressionList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentFilterScoping' => $baseDir . '/google/analytics-data/src/V1alpha/SegmentFilterScoping.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentParameterFilter' => $baseDir . '/google/analytics-data/src/V1alpha/SegmentParameterFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentParameterFilterExpression' => $baseDir . '/google/analytics-data/src/V1alpha/SegmentParameterFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentParameterFilterExpressionList' => $baseDir . '/google/analytics-data/src/V1alpha/SegmentParameterFilterExpressionList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentParameterFilterScoping' => $baseDir . '/google/analytics-data/src/V1alpha/SegmentParameterFilterScoping.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SessionCriteriaScoping' => $baseDir . '/google/analytics-data/src/V1alpha/SessionCriteriaScoping.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SessionExclusionDuration' => $baseDir . '/google/analytics-data/src/V1alpha/SessionExclusionDuration.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SessionSegment' => $baseDir . '/google/analytics-data/src/V1alpha/SessionSegment.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SessionSegmentConditionGroup' => $baseDir . '/google/analytics-data/src/V1alpha/SessionSegmentConditionGroup.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SessionSegmentCriteria' => $baseDir . '/google/analytics-data/src/V1alpha/SessionSegmentCriteria.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SessionSegmentExclusion' => $baseDir . '/google/analytics-data/src/V1alpha/SessionSegmentExclusion.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SheetExportAudienceListRequest' => $baseDir . '/google/analytics-data/src/V1alpha/SheetExportAudienceListRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SheetExportAudienceListResponse' => $baseDir . '/google/analytics-data/src/V1alpha/SheetExportAudienceListResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\StringFilter' => $baseDir . '/google/analytics-data/src/V1alpha/StringFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\StringFilter\\MatchType' => $baseDir . '/google/analytics-data/src/V1alpha/StringFilter/MatchType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserCriteriaScoping' => $baseDir . '/google/analytics-data/src/V1alpha/UserCriteriaScoping.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserExclusionDuration' => $baseDir . '/google/analytics-data/src/V1alpha/UserExclusionDuration.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserSegment' => $baseDir . '/google/analytics-data/src/V1alpha/UserSegment.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserSegmentConditionGroup' => $baseDir . '/google/analytics-data/src/V1alpha/UserSegmentConditionGroup.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserSegmentCriteria' => $baseDir . '/google/analytics-data/src/V1alpha/UserSegmentCriteria.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserSegmentExclusion' => $baseDir . '/google/analytics-data/src/V1alpha/UserSegmentExclusion.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserSegmentSequenceGroup' => $baseDir . '/google/analytics-data/src/V1alpha/UserSegmentSequenceGroup.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserSequenceStep' => $baseDir . '/google/analytics-data/src/V1alpha/UserSequenceStep.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\WebhookNotification' => $baseDir . '/google/analytics-data/src/V1alpha/WebhookNotification.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceDimension' => $baseDir . '/google/analytics-data/src/V1beta/AudienceDimension.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceDimensionValue' => $baseDir . '/google/analytics-data/src/V1beta/AudienceDimensionValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceExport' => $baseDir . '/google/analytics-data/src/V1beta/AudienceExport.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceExportMetadata' => $baseDir . '/google/analytics-data/src/V1beta/AudienceExportMetadata.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceExport\\State' => $baseDir . '/google/analytics-data/src/V1beta/AudienceExport/State.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceRow' => $baseDir . '/google/analytics-data/src/V1beta/AudienceRow.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\BatchRunPivotReportsRequest' => $baseDir . '/google/analytics-data/src/V1beta/BatchRunPivotReportsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\BatchRunPivotReportsResponse' => $baseDir . '/google/analytics-data/src/V1beta/BatchRunPivotReportsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\BatchRunReportsRequest' => $baseDir . '/google/analytics-data/src/V1beta/BatchRunReportsRequest.php', @@ -567,12 +801,14 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\BetaAnalyticsDataGrpcClient' => $baseDir . '/google/analytics-data/src/V1beta/BetaAnalyticsDataGrpcClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CheckCompatibilityRequest' => $baseDir . '/google/analytics-data/src/V1beta/CheckCompatibilityRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CheckCompatibilityResponse' => $baseDir . '/google/analytics-data/src/V1beta/CheckCompatibilityResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Client\\BetaAnalyticsDataClient' => $baseDir . '/google/analytics-data/src/V1beta/Client/BetaAnalyticsDataClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Cohort' => $baseDir . '/google/analytics-data/src/V1beta/Cohort.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CohortReportSettings' => $baseDir . '/google/analytics-data/src/V1beta/CohortReportSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CohortSpec' => $baseDir . '/google/analytics-data/src/V1beta/CohortSpec.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CohortsRange' => $baseDir . '/google/analytics-data/src/V1beta/CohortsRange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CohortsRange\\Granularity' => $baseDir . '/google/analytics-data/src/V1beta/CohortsRange/Granularity.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Compatibility' => $baseDir . '/google/analytics-data/src/V1beta/Compatibility.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CreateAudienceExportRequest' => $baseDir . '/google/analytics-data/src/V1beta/CreateAudienceExportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\DateRange' => $baseDir . '/google/analytics-data/src/V1beta/DateRange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Dimension' => $baseDir . '/google/analytics-data/src/V1beta/Dimension.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\DimensionCompatibility' => $baseDir . '/google/analytics-data/src/V1beta/DimensionCompatibility.php', @@ -592,7 +828,10 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Filter\\StringFilter' => $baseDir . '/google/analytics-data/src/V1beta/Filter/StringFilter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Filter\\StringFilter\\MatchType' => $baseDir . '/google/analytics-data/src/V1beta/Filter/StringFilter/MatchType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Gapic\\BetaAnalyticsDataGapicClient' => $baseDir . '/google/analytics-data/src/V1beta/Gapic/BetaAnalyticsDataGapicClient.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\GetAudienceExportRequest' => $baseDir . '/google/analytics-data/src/V1beta/GetAudienceExportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\GetMetadataRequest' => $baseDir . '/google/analytics-data/src/V1beta/GetMetadataRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\ListAudienceExportsRequest' => $baseDir . '/google/analytics-data/src/V1beta/ListAudienceExportsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\ListAudienceExportsResponse' => $baseDir . '/google/analytics-data/src/V1beta/ListAudienceExportsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Metadata' => $baseDir . '/google/analytics-data/src/V1beta/Metadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Metric' => $baseDir . '/google/analytics-data/src/V1beta/Metric.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\MetricAggregation' => $baseDir . '/google/analytics-data/src/V1beta/MetricAggregation.php', @@ -614,6 +853,8 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\PivotDimensionHeader' => $baseDir . '/google/analytics-data/src/V1beta/PivotDimensionHeader.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\PivotHeader' => $baseDir . '/google/analytics-data/src/V1beta/PivotHeader.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\PropertyQuota' => $baseDir . '/google/analytics-data/src/V1beta/PropertyQuota.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\QueryAudienceExportRequest' => $baseDir . '/google/analytics-data/src/V1beta/QueryAudienceExportRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\QueryAudienceExportResponse' => $baseDir . '/google/analytics-data/src/V1beta/QueryAudienceExportResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\QuotaStatus' => $baseDir . '/google/analytics-data/src/V1beta/QuotaStatus.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\ResponseMetaData' => $baseDir . '/google/analytics-data/src/V1beta/ResponseMetaData.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\ResponseMetaData\\SchemaRestrictionResponse' => $baseDir . '/google/analytics-data/src/V1beta/ResponseMetaData/SchemaRestrictionResponse.php', @@ -626,12 +867,14 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\RunRealtimeReportResponse' => $baseDir . '/google/analytics-data/src/V1beta/RunRealtimeReportResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\RunReportRequest' => $baseDir . '/google/analytics-data/src/V1beta/RunReportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\RunReportResponse' => $baseDir . '/google/analytics-data/src/V1beta/RunReportResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\SamplingMetadata' => $baseDir . '/google/analytics-data/src/V1beta/SamplingMetadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\AgentHeader' => $baseDir . '/google/gax/src/AgentHeader.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ApiException' => $baseDir . '/google/gax/src/ApiException.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ApiStatus' => $baseDir . '/google/gax/src/ApiStatus.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ArrayTrait' => $baseDir . '/google/gax/src/ArrayTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\BidiStream' => $baseDir . '/google/gax/src/BidiStream.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Call' => $baseDir . '/google/gax/src/Call.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ClientOptionsTrait' => $baseDir . '/google/gax/src/ClientOptionsTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ClientStream' => $baseDir . '/google/gax/src/ClientStream.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\CredentialsWrapper' => $baseDir . '/google/gax/src/CredentialsWrapper.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\FixedSizeCollection' => $baseDir . '/google/gax/src/FixedSizeCollection.php', @@ -639,16 +882,26 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\GPBType' => $baseDir . '/google/gax/src/GPBType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\GapicClientTrait' => $baseDir . '/google/gax/src/GapicClientTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\GrpcSupportTrait' => $baseDir . '/google/gax/src/GrpcSupportTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\InsecureCredentialsWrapper' => $baseDir . '/google/gax/src/InsecureCredentialsWrapper.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\LongRunning\\Gapic\\OperationsGapicClient' => $baseDir . '/google/longrunning/src/ApiCore/LongRunning/Gapic/OperationsGapicClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\LongRunning\\OperationsClient' => $baseDir . '/google/longrunning/src/ApiCore/LongRunning/OperationsClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\CredentialsWrapperMiddleware' => $baseDir . '/google/gax/src/Middleware/CredentialsWrapperMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\FixedHeaderMiddleware' => $baseDir . '/google/gax/src/Middleware/FixedHeaderMiddleware.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\MiddlewareInterface' => $baseDir . '/google/gax/src/Middleware/MiddlewareInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\OperationsMiddleware' => $baseDir . '/google/gax/src/Middleware/OperationsMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\OptionsFilterMiddleware' => $baseDir . '/google/gax/src/Middleware/OptionsFilterMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\PagedMiddleware' => $baseDir . '/google/gax/src/Middleware/PagedMiddleware.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\RequestAutoPopulationMiddleware' => $baseDir . '/google/gax/src/Middleware/RequestAutoPopulationMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\ResponseMetadataMiddleware' => $baseDir . '/google/gax/src/Middleware/ResponseMetadataMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\RetryMiddleware' => $baseDir . '/google/gax/src/Middleware/RetryMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\OperationResponse' => $baseDir . '/google/gax/src/OperationResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\CallOptions' => $baseDir . '/google/gax/src/Options/CallOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\ClientOptions' => $baseDir . '/google/gax/src/Options/ClientOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\OptionsTrait' => $baseDir . '/google/gax/src/Options/OptionsTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\TransportOptions' => $baseDir . '/google/gax/src/Options/TransportOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\TransportOptions\\GrpcFallbackTransportOptions' => $baseDir . '/google/gax/src/Options/TransportOptions/GrpcFallbackTransportOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\TransportOptions\\GrpcTransportOptions' => $baseDir . '/google/gax/src/Options/TransportOptions/GrpcTransportOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\TransportOptions\\RestTransportOptions' => $baseDir . '/google/gax/src/Options/TransportOptions/RestTransportOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Page' => $baseDir . '/google/gax/src/Page.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\PageStreamingDescriptor' => $baseDir . '/google/gax/src/PageStreamingDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\PagedListResponse' => $baseDir . '/google/gax/src/PagedListResponse.php', @@ -656,6 +909,7 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\PollingTrait' => $baseDir . '/google/gax/src/PollingTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\RequestBuilder' => $baseDir . '/google/gax/src/RequestBuilder.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\RequestParamsHeaderDescriptor' => $baseDir . '/google/gax/src/RequestParamsHeaderDescriptor.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ResourceHelperTrait' => $baseDir . '/google/gax/src/ResourceHelperTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ResourceTemplate\\AbsoluteResourceTemplate' => $baseDir . '/google/gax/src/ResourceTemplate/AbsoluteResourceTemplate.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ResourceTemplate\\Parser' => $baseDir . '/google/gax/src/ResourceTemplate/Parser.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ResourceTemplate\\RelativeResourceTemplate' => $baseDir . '/google/gax/src/ResourceTemplate/RelativeResourceTemplate.php', @@ -708,15 +962,18 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Backend' => $baseDir . '/google/common-protos/src/Api/Backend.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\BackendRule' => $baseDir . '/google/common-protos/src/Api/BackendRule.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\BackendRule\\PathTranslation' => $baseDir . '/google/common-protos/src/Api/BackendRule/PathTranslation.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\BackendRule_PathTranslation' => $baseDir . '/google/common-protos/src/Api/BackendRule_PathTranslation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Billing' => $baseDir . '/google/common-protos/src/Api/Billing.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Billing\\BillingDestination' => $baseDir . '/google/common-protos/src/Api/Billing/BillingDestination.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Billing_BillingDestination' => $baseDir . '/google/common-protos/src/Api/Billing_BillingDestination.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ChangeType' => $baseDir . '/google/common-protos/src/Api/ChangeType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ClientLibraryDestination' => $baseDir . '/google/common-protos/src/Api/ClientLibraryDestination.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ClientLibraryOrganization' => $baseDir . '/google/common-protos/src/Api/ClientLibraryOrganization.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ClientLibrarySettings' => $baseDir . '/google/common-protos/src/Api/ClientLibrarySettings.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\CommonLanguageSettings' => $baseDir . '/google/common-protos/src/Api/CommonLanguageSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ConfigChange' => $baseDir . '/google/common-protos/src/Api/ConfigChange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Context' => $baseDir . '/google/common-protos/src/Api/Context.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ContextRule' => $baseDir . '/google/common-protos/src/Api/ContextRule.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Control' => $baseDir . '/google/common-protos/src/Api/Control.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\CppSettings' => $baseDir . '/google/common-protos/src/Api/CppSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\CustomHttpPattern' => $baseDir . '/google/common-protos/src/Api/CustomHttpPattern.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution' => $baseDir . '/google/common-protos/src/Api/Distribution.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution\\BucketOptions' => $baseDir . '/google/common-protos/src/Api/Distribution/BucketOptions.php', @@ -725,164 +982,69 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution\\BucketOptions\\Linear' => $baseDir . '/google/common-protos/src/Api/Distribution/BucketOptions/Linear.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution\\Exemplar' => $baseDir . '/google/common-protos/src/Api/Distribution/Exemplar.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution\\Range' => $baseDir . '/google/common-protos/src/Api/Distribution/Range.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution_BucketOptions' => $baseDir . '/google/common-protos/src/Api/Distribution_BucketOptions.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution_BucketOptions_Explicit' => $baseDir . '/google/common-protos/src/Api/Distribution_BucketOptions_Explicit.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution_BucketOptions_Exponential' => $baseDir . '/google/common-protos/src/Api/Distribution_BucketOptions_Exponential.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution_BucketOptions_Linear' => $baseDir . '/google/common-protos/src/Api/Distribution_BucketOptions_Linear.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution_Exemplar' => $baseDir . '/google/common-protos/src/Api/Distribution_Exemplar.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution_Range' => $baseDir . '/google/common-protos/src/Api/Distribution_Range.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Documentation' => $baseDir . '/google/common-protos/src/Api/Documentation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\DocumentationRule' => $baseDir . '/google/common-protos/src/Api/DocumentationRule.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\DotnetSettings' => $baseDir . '/google/common-protos/src/Api/DotnetSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Endpoint' => $baseDir . '/google/common-protos/src/Api/Endpoint.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\CheckRequest' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/CheckRequest.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\CheckResponse' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/CheckResponse.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\CheckedExpr' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/CheckedExpr.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Constant' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Constant.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Decl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl\\FunctionDecl' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Decl/FunctionDecl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl\\FunctionDecl\\Overload' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Decl/FunctionDecl/Overload.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl\\IdentDecl' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Decl/IdentDecl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl_FunctionDecl' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Decl_FunctionDecl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl_FunctionDecl_Overload' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Decl_FunctionDecl_Overload.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl_IdentDecl' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Decl_IdentDecl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\EnumValue' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/EnumValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\ErrorSet' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/ErrorSet.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\EvalRequest' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/EvalRequest.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\EvalResponse' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/EvalResponse.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\EvalState' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/EvalState.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\EvalState\\Result' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/EvalState/Result.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\EvalState_Result' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/EvalState_Result.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Explain' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Explain.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Explain\\ExprStep' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Explain/ExprStep.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Explain_ExprStep' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Explain_ExprStep.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\ExprValue' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/ExprValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\Call' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/Call.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\Comprehension' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/Comprehension.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\CreateList' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateList.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\CreateStruct' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateStruct.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\CreateStruct\\Entry' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateStruct/Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\Ident' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/Ident.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\Select' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/Select.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_Call' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_Call.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_Comprehension' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_Comprehension.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_CreateList' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_CreateList.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_CreateStruct' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_CreateStruct.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_CreateStruct_Entry' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_CreateStruct_Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_Ident' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_Ident.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_Select' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_Select.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\IssueDetails' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/IssueDetails.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\IssueDetails\\Severity' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/IssueDetails/Severity.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\IssueDetails_Severity' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/IssueDetails_Severity.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\ListValue' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/ListValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\MapValue' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/MapValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\MapValue\\Entry' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/MapValue/Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\MapValue_Entry' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/MapValue_Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\ParseRequest' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/ParseRequest.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\ParseResponse' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/ParseResponse.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\ParsedExpr' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/ParsedExpr.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Reference' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Reference.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\SourceInfo' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/SourceInfo.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\SourcePosition' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/SourcePosition.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type\\AbstractType' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type/AbstractType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type\\FunctionType' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type/FunctionType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type\\ListType' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type/ListType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type\\MapType' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type/MapType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type\\PrimitiveType' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type/PrimitiveType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type\\WellKnownType' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type/WellKnownType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type_AbstractType' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type_AbstractType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type_FunctionType' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type_FunctionType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type_ListType' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type_ListType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type_MapType' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type_MapType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type_PrimitiveType' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type_PrimitiveType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type_WellKnownType' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Type_WellKnownType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\UnknownSet' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/UnknownSet.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Value' => $baseDir . '/google/common-protos/src/Api/Expr/V1alpha1/Value.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Decl' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Decl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\DeclType' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/DeclType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\EnumValue' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/EnumValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\ErrorSet' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/ErrorSet.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\EvalState' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/EvalState.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\EvalState\\Result' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/EvalState/Result.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\EvalState_Result' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/EvalState_Result.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\ExprValue' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/ExprValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\Call' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr/Call.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\Comprehension' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr/Comprehension.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\CreateList' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateList.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\CreateStruct' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateStruct.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\CreateStruct\\Entry' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateStruct/Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\Ident' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr/Ident.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\Select' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr/Select.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_Call' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr_Call.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_Comprehension' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr_Comprehension.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_CreateList' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr_CreateList.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_CreateStruct' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr_CreateStruct.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_CreateStruct_Entry' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr_CreateStruct_Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_Ident' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr_Ident.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_Select' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Expr_Select.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\FunctionDecl' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/FunctionDecl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\IdRef' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/IdRef.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\IdentDecl' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/IdentDecl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\ListValue' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/ListValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Literal' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Literal.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\MapValue' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/MapValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\MapValue\\Entry' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/MapValue/Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\MapValue_Entry' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/MapValue_Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\ParsedExpr' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/ParsedExpr.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\SourceInfo' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/SourceInfo.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\SourcePosition' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/SourcePosition.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\UnknownSet' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/UnknownSet.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Value' => $baseDir . '/google/common-protos/src/Api/Expr/V1beta1/Value.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ErrorReason' => $baseDir . '/google/common-protos/src/Api/ErrorReason.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\FieldBehavior' => $baseDir . '/google/common-protos/src/Api/FieldBehavior.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\FieldInfo' => $baseDir . '/google/common-protos/src/Api/FieldInfo.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\FieldInfo\\Format' => $baseDir . '/google/common-protos/src/Api/FieldInfo/Format.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\FieldPolicy' => $baseDir . '/google/common-protos/src/Api/FieldPolicy.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\GoSettings' => $baseDir . '/google/common-protos/src/Api/GoSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Http' => $baseDir . '/google/common-protos/src/Api/Http.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\HttpBody' => $baseDir . '/google/common-protos/src/Api/HttpBody.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\HttpRule' => $baseDir . '/google/common-protos/src/Api/HttpRule.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\JavaSettings' => $baseDir . '/google/common-protos/src/Api/JavaSettings.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\JwtLocation' => $baseDir . '/google/common-protos/src/Api/JwtLocation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\LabelDescriptor' => $baseDir . '/google/common-protos/src/Api/LabelDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\LabelDescriptor\\ValueType' => $baseDir . '/google/common-protos/src/Api/LabelDescriptor/ValueType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\LabelDescriptor_ValueType' => $baseDir . '/google/common-protos/src/Api/LabelDescriptor_ValueType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\LaunchStage' => $baseDir . '/google/common-protos/src/Api/LaunchStage.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\LogDescriptor' => $baseDir . '/google/common-protos/src/Api/LogDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Logging' => $baseDir . '/google/common-protos/src/Api/Logging.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Logging\\LoggingDestination' => $baseDir . '/google/common-protos/src/Api/Logging/LoggingDestination.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Logging_LoggingDestination' => $baseDir . '/google/common-protos/src/Api/Logging_LoggingDestination.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MethodPolicy' => $baseDir . '/google/common-protos/src/Api/MethodPolicy.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MethodSettings' => $baseDir . '/google/common-protos/src/Api/MethodSettings.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MethodSettings\\LongRunning' => $baseDir . '/google/common-protos/src/Api/MethodSettings/LongRunning.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Metric' => $baseDir . '/google/common-protos/src/Api/Metric.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor' => $baseDir . '/google/common-protos/src/Api/MetricDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor\\MetricDescriptorMetadata' => $baseDir . '/google/common-protos/src/Api/MetricDescriptor/MetricDescriptorMetadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor\\MetricKind' => $baseDir . '/google/common-protos/src/Api/MetricDescriptor/MetricKind.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor\\ValueType' => $baseDir . '/google/common-protos/src/Api/MetricDescriptor/ValueType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor_MetricDescriptorMetadata' => $baseDir . '/google/common-protos/src/Api/MetricDescriptor_MetricDescriptorMetadata.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor_MetricKind' => $baseDir . '/google/common-protos/src/Api/MetricDescriptor_MetricKind.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor_ValueType' => $baseDir . '/google/common-protos/src/Api/MetricDescriptor_ValueType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricRule' => $baseDir . '/google/common-protos/src/Api/MetricRule.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MonitoredResource' => $baseDir . '/google/common-protos/src/Api/MonitoredResource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MonitoredResourceDescriptor' => $baseDir . '/google/common-protos/src/Api/MonitoredResourceDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MonitoredResourceMetadata' => $baseDir . '/google/common-protos/src/Api/MonitoredResourceMetadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Monitoring' => $baseDir . '/google/common-protos/src/Api/Monitoring.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Monitoring\\MonitoringDestination' => $baseDir . '/google/common-protos/src/Api/Monitoring/MonitoringDestination.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Monitoring_MonitoringDestination' => $baseDir . '/google/common-protos/src/Api/Monitoring_MonitoringDestination.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\NodeSettings' => $baseDir . '/google/common-protos/src/Api/NodeSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\OAuthRequirements' => $baseDir . '/google/common-protos/src/Api/OAuthRequirements.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Page' => $baseDir . '/google/common-protos/src/Api/Page.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\PhpSettings' => $baseDir . '/google/common-protos/src/Api/PhpSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ProjectProperties' => $baseDir . '/google/common-protos/src/Api/ProjectProperties.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Property' => $baseDir . '/google/common-protos/src/Api/Property.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Property\\PropertyType' => $baseDir . '/google/common-protos/src/Api/Property/PropertyType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Property_PropertyType' => $baseDir . '/google/common-protos/src/Api/Property_PropertyType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Publishing' => $baseDir . '/google/common-protos/src/Api/Publishing.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\PythonSettings' => $baseDir . '/google/common-protos/src/Api/PythonSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Quota' => $baseDir . '/google/common-protos/src/Api/Quota.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\QuotaLimit' => $baseDir . '/google/common-protos/src/Api/QuotaLimit.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ResourceDescriptor' => $baseDir . '/google/common-protos/src/Api/ResourceDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ResourceDescriptor\\History' => $baseDir . '/google/common-protos/src/Api/ResourceDescriptor/History.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ResourceDescriptor_History' => $baseDir . '/google/common-protos/src/Api/ResourceDescriptor_History.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ResourceDescriptor\\Style' => $baseDir . '/google/common-protos/src/Api/ResourceDescriptor/Style.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ResourceReference' => $baseDir . '/google/common-protos/src/Api/ResourceReference.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\RoutingParameter' => $baseDir . '/google/common-protos/src/Api/RoutingParameter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\RoutingRule' => $baseDir . '/google/common-protos/src/Api/RoutingRule.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\RubySettings' => $baseDir . '/google/common-protos/src/Api/RubySettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Service' => $baseDir . '/google/common-protos/src/Api/Service.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\SourceInfo' => $baseDir . '/google/common-protos/src/Api/SourceInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\SystemParameter' => $baseDir . '/google/common-protos/src/Api/SystemParameter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\SystemParameterRule' => $baseDir . '/google/common-protos/src/Api/SystemParameterRule.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\SystemParameters' => $baseDir . '/google/common-protos/src/Api/SystemParameters.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\TypeReference' => $baseDir . '/google/common-protos/src/Api/TypeReference.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Usage' => $baseDir . '/google/common-protos/src/Api/Usage.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\UsageRule' => $baseDir . '/google/common-protos/src/Api/UsageRule.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Visibility' => $baseDir . '/google/common-protos/src/Api/Visibility.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\VisibilityRule' => $baseDir . '/google/common-protos/src/Api/VisibilityRule.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\AuthHandler\\AuthHandlerFactory' => $baseDir . '/google/apiclient/src/AuthHandler/AuthHandlerFactory.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\AuthHandler\\Guzzle6AuthHandler' => $baseDir . '/google/apiclient/src/AuthHandler/Guzzle6AuthHandler.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\AuthHandler\\Guzzle7AuthHandler' => $baseDir . '/google/apiclient/src/AuthHandler/Guzzle7AuthHandler.php', @@ -895,6 +1057,7 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Cache\\SysVCacheItemPool' => $baseDir . '/google/auth/src/Cache/SysVCacheItemPool.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Cache\\TypedItem' => $baseDir . '/google/auth/src/Cache/TypedItem.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\CredentialSource\\AwsNativeSource' => $baseDir . '/google/auth/src/CredentialSource/AwsNativeSource.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\CredentialSource\\ExecutableSource' => $baseDir . '/google/auth/src/CredentialSource/ExecutableSource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\CredentialSource\\FileSource' => $baseDir . '/google/auth/src/CredentialSource/FileSource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\CredentialSource\\UrlSource' => $baseDir . '/google/auth/src/CredentialSource/UrlSource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\CredentialsLoader' => $baseDir . '/google/auth/src/CredentialsLoader.php', @@ -907,6 +1070,8 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Credentials\\ServiceAccountCredentials' => $baseDir . '/google/auth/src/Credentials/ServiceAccountCredentials.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Credentials\\ServiceAccountJwtAccessCredentials' => $baseDir . '/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Credentials\\UserRefreshCredentials' => $baseDir . '/google/auth/src/Credentials/UserRefreshCredentials.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\ExecutableHandler\\ExecutableHandler' => $baseDir . '/google/auth/src/ExecutableHandler/ExecutableHandler.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\ExecutableHandler\\ExecutableResponseError' => $baseDir . '/google/auth/src/ExecutableHandler/ExecutableResponseError.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\ExternalAccountCredentialSourceInterface' => $baseDir . '/google/auth/src/ExternalAccountCredentialSourceInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\FetchAuthTokenCache' => $baseDir . '/google/auth/src/FetchAuthTokenCache.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\FetchAuthTokenInterface' => $baseDir . '/google/auth/src/FetchAuthTokenInterface.php', @@ -919,6 +1084,7 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\HttpHandler\\HttpHandlerFactory' => $baseDir . '/google/auth/src/HttpHandler/HttpHandlerFactory.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Iam' => $baseDir . '/google/auth/src/Iam.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\IamSignerTrait' => $baseDir . '/google/auth/src/IamSignerTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\MetricsTrait' => $baseDir . '/google/auth/src/MetricsTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Middleware\\AuthTokenMiddleware' => $baseDir . '/google/auth/src/Middleware/AuthTokenMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Middleware\\ProxyAuthTokenMiddleware' => $baseDir . '/google/auth/src/Middleware/ProxyAuthTokenMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware' => $baseDir . '/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php', @@ -930,13 +1096,14 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\UpdateMetadataInterface' => $baseDir . '/google/auth/src/UpdateMetadataInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\UpdateMetadataTrait' => $baseDir . '/google/auth/src/UpdateMetadataTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Client' => $baseDir . '/google/apiclient/src/Client.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\AuditConfig' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/AuditConfig.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\AuditConfigDelta' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\AuditConfigDelta\\Action' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta/Action.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\AuditConfigDelta_Action' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta_Action.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\AuditLogConfig' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/AuditLogConfig.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\AuditLogConfig\\LogType' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/AuditLogConfig/LogType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\Binding' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/Binding.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\BindingDelta' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/BindingDelta.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\BindingDelta\\Action' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/BindingDelta/Action.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\BindingDelta_Action' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/BindingDelta_Action.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\GetIamPolicyRequest' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/GetIamPolicyRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\GetPolicyOptions' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/GetPolicyOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\Policy' => $baseDir . '/google/common-protos/src/Cloud/Iam/V1/Policy.php', @@ -958,12 +1125,17 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Http\\REST' => $baseDir . '/google/apiclient/src/Http/REST.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Iam\\V1\\Logging\\AuditData' => $baseDir . '/google/common-protos/src/Iam/V1/Logging/AuditData.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\CancelOperationRequest' => $baseDir . '/google/longrunning/src/LongRunning/CancelOperationRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Client\\OperationsClient' => $baseDir . '/google/longrunning/src/LongRunning/Client/OperationsClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\DeleteOperationRequest' => $baseDir . '/google/longrunning/src/LongRunning/DeleteOperationRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Gapic\\OperationsGapicClient' => $baseDir . '/google/longrunning/src/LongRunning/Gapic/OperationsGapicClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\GetOperationRequest' => $baseDir . '/google/longrunning/src/LongRunning/GetOperationRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\ListOperationsRequest' => $baseDir . '/google/longrunning/src/LongRunning/ListOperationsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\ListOperationsResponse' => $baseDir . '/google/longrunning/src/LongRunning/ListOperationsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Operation' => $baseDir . '/google/longrunning/src/LongRunning/Operation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\OperationInfo' => $baseDir . '/google/longrunning/src/LongRunning/OperationInfo.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\OperationsClient' => $baseDir . '/google/longrunning/src/LongRunning/OperationsClient.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\OperationsGrpcClient' => $baseDir . '/google/longrunning/src/LongRunning/OperationsGrpcClient.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\WaitOperationRequest' => $baseDir . '/google/longrunning/src/LongRunning/WaitOperationRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Model' => $baseDir . '/google/apiclient/src/Model.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Any' => $baseDir . '/google/protobuf/src/Google/Protobuf/Any.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Api' => $baseDir . '/google/protobuf/src/Google/Protobuf/Api.php', @@ -1079,20 +1251,24 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Value' => $baseDir . '/google/protobuf/src/Google/Protobuf/Value.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\BadRequest' => $baseDir . '/google/common-protos/src/Rpc/BadRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\BadRequest\\FieldViolation' => $baseDir . '/google/common-protos/src/Rpc/BadRequest/FieldViolation.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\BadRequest_FieldViolation' => $baseDir . '/google/common-protos/src/Rpc/BadRequest_FieldViolation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Code' => $baseDir . '/google/common-protos/src/Rpc/Code.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext' => $baseDir . '/google/common-protos/src/Rpc/Context/AttributeContext.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext\\Api' => $baseDir . '/google/common-protos/src/Rpc/Context/AttributeContext/Api.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext\\Auth' => $baseDir . '/google/common-protos/src/Rpc/Context/AttributeContext/Auth.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext\\Peer' => $baseDir . '/google/common-protos/src/Rpc/Context/AttributeContext/Peer.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext\\Request' => $baseDir . '/google/common-protos/src/Rpc/Context/AttributeContext/Request.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext\\Resource' => $baseDir . '/google/common-protos/src/Rpc/Context/AttributeContext/Resource.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext\\Response' => $baseDir . '/google/common-protos/src/Rpc/Context/AttributeContext/Response.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AuditContext' => $baseDir . '/google/common-protos/src/Rpc/Context/AuditContext.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\DebugInfo' => $baseDir . '/google/common-protos/src/Rpc/DebugInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\ErrorInfo' => $baseDir . '/google/common-protos/src/Rpc/ErrorInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Help' => $baseDir . '/google/common-protos/src/Rpc/Help.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Help\\Link' => $baseDir . '/google/common-protos/src/Rpc/Help/Link.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Help_Link' => $baseDir . '/google/common-protos/src/Rpc/Help_Link.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\LocalizedMessage' => $baseDir . '/google/common-protos/src/Rpc/LocalizedMessage.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\PreconditionFailure' => $baseDir . '/google/common-protos/src/Rpc/PreconditionFailure.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\PreconditionFailure\\Violation' => $baseDir . '/google/common-protos/src/Rpc/PreconditionFailure/Violation.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\PreconditionFailure_Violation' => $baseDir . '/google/common-protos/src/Rpc/PreconditionFailure_Violation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\QuotaFailure' => $baseDir . '/google/common-protos/src/Rpc/QuotaFailure.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\QuotaFailure\\Violation' => $baseDir . '/google/common-protos/src/Rpc/QuotaFailure/Violation.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\QuotaFailure_Violation' => $baseDir . '/google/common-protos/src/Rpc/QuotaFailure_Violation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\RequestInfo' => $baseDir . '/google/common-protos/src/Rpc/RequestInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\ResourceInfo' => $baseDir . '/google/common-protos/src/Rpc/ResourceInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\RetryInfo' => $baseDir . '/google/common-protos/src/Rpc/RetryInfo.php', @@ -1306,12 +1482,16 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Date' => $baseDir . '/google/common-protos/src/Type/Date.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\DateTime' => $baseDir . '/google/common-protos/src/Type/DateTime.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\DayOfWeek' => $baseDir . '/google/common-protos/src/Type/DayOfWeek.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Decimal' => $baseDir . '/google/common-protos/src/Type/Decimal.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Expr' => $baseDir . '/google/common-protos/src/Type/Expr.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Fraction' => $baseDir . '/google/common-protos/src/Type/Fraction.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Interval' => $baseDir . '/google/common-protos/src/Type/Interval.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\LatLng' => $baseDir . '/google/common-protos/src/Type/LatLng.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\LocalizedText' => $baseDir . '/google/common-protos/src/Type/LocalizedText.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Money' => $baseDir . '/google/common-protos/src/Type/Money.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Month' => $baseDir . '/google/common-protos/src/Type/Month.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\PhoneNumber' => $baseDir . '/google/common-protos/src/Type/PhoneNumber.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\PhoneNumber\\ShortCode' => $baseDir . '/google/common-protos/src/Type/PhoneNumber/ShortCode.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\PostalAddress' => $baseDir . '/google/common-protos/src/Type/PostalAddress.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Quaternion' => $baseDir . '/google/common-protos/src/Type/Quaternion.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\TimeOfDay' => $baseDir . '/google/common-protos/src/Type/TimeOfDay.php', @@ -1486,6 +1666,148 @@ 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Psr\\Http\\Message\\UploadedFileInterface' => $baseDir . '/psr/http-message/src/UploadedFileInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Psr\\Http\\Message\\UriFactoryInterface' => $baseDir . '/psr/http-factory/src/UriFactoryInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Psr\\Http\\Message\\UriInterface' => $baseDir . '/psr/http-message/src/UriInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\AbstractArray' => $baseDir . '/ramsey/collection/src/AbstractArray.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\AbstractCollection' => $baseDir . '/ramsey/collection/src/AbstractCollection.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\AbstractSet' => $baseDir . '/ramsey/collection/src/AbstractSet.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\ArrayInterface' => $baseDir . '/ramsey/collection/src/ArrayInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Collection' => $baseDir . '/ramsey/collection/src/Collection.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\CollectionInterface' => $baseDir . '/ramsey/collection/src/CollectionInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\DoubleEndedQueue' => $baseDir . '/ramsey/collection/src/DoubleEndedQueue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\DoubleEndedQueueInterface' => $baseDir . '/ramsey/collection/src/DoubleEndedQueueInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\CollectionException' => $baseDir . '/ramsey/collection/src/Exception/CollectionException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\CollectionMismatchException' => $baseDir . '/ramsey/collection/src/Exception/CollectionMismatchException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\InvalidArgumentException' => $baseDir . '/ramsey/collection/src/Exception/InvalidArgumentException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\InvalidPropertyOrMethod' => $baseDir . '/ramsey/collection/src/Exception/InvalidPropertyOrMethod.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\NoSuchElementException' => $baseDir . '/ramsey/collection/src/Exception/NoSuchElementException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\OutOfBoundsException' => $baseDir . '/ramsey/collection/src/Exception/OutOfBoundsException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\UnsupportedOperationException' => $baseDir . '/ramsey/collection/src/Exception/UnsupportedOperationException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\GenericArray' => $baseDir . '/ramsey/collection/src/GenericArray.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\AbstractMap' => $baseDir . '/ramsey/collection/src/Map/AbstractMap.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\AbstractTypedMap' => $baseDir . '/ramsey/collection/src/Map/AbstractTypedMap.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\AssociativeArrayMap' => $baseDir . '/ramsey/collection/src/Map/AssociativeArrayMap.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\MapInterface' => $baseDir . '/ramsey/collection/src/Map/MapInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\NamedParameterMap' => $baseDir . '/ramsey/collection/src/Map/NamedParameterMap.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\TypedMap' => $baseDir . '/ramsey/collection/src/Map/TypedMap.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\TypedMapInterface' => $baseDir . '/ramsey/collection/src/Map/TypedMapInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Queue' => $baseDir . '/ramsey/collection/src/Queue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\QueueInterface' => $baseDir . '/ramsey/collection/src/QueueInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Set' => $baseDir . '/ramsey/collection/src/Set.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Sort' => $baseDir . '/ramsey/collection/src/Sort.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Tool\\TypeTrait' => $baseDir . '/ramsey/collection/src/Tool/TypeTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Tool\\ValueExtractorTrait' => $baseDir . '/ramsey/collection/src/Tool/ValueExtractorTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Tool\\ValueToStringTrait' => $baseDir . '/ramsey/collection/src/Tool/ValueToStringTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\BinaryUtils' => $baseDir . '/ramsey/uuid/src/BinaryUtils.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Builder\\BuilderCollection' => $baseDir . '/ramsey/uuid/src/Builder/BuilderCollection.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Builder\\DefaultUuidBuilder' => $baseDir . '/ramsey/uuid/src/Builder/DefaultUuidBuilder.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Builder\\DegradedUuidBuilder' => $baseDir . '/ramsey/uuid/src/Builder/DegradedUuidBuilder.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Builder\\FallbackBuilder' => $baseDir . '/ramsey/uuid/src/Builder/FallbackBuilder.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Builder\\UuidBuilderInterface' => $baseDir . '/ramsey/uuid/src/Builder/UuidBuilderInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Codec\\CodecInterface' => $baseDir . '/ramsey/uuid/src/Codec/CodecInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Codec\\GuidStringCodec' => $baseDir . '/ramsey/uuid/src/Codec/GuidStringCodec.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Codec\\OrderedTimeCodec' => $baseDir . '/ramsey/uuid/src/Codec/OrderedTimeCodec.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Codec\\StringCodec' => $baseDir . '/ramsey/uuid/src/Codec/StringCodec.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Codec\\TimestampFirstCombCodec' => $baseDir . '/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Codec\\TimestampLastCombCodec' => $baseDir . '/ramsey/uuid/src/Codec/TimestampLastCombCodec.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\NumberConverterInterface' => $baseDir . '/ramsey/uuid/src/Converter/NumberConverterInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Number\\BigNumberConverter' => $baseDir . '/ramsey/uuid/src/Converter/Number/BigNumberConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Number\\DegradedNumberConverter' => $baseDir . '/ramsey/uuid/src/Converter/Number/DegradedNumberConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Number\\GenericNumberConverter' => $baseDir . '/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\TimeConverterInterface' => $baseDir . '/ramsey/uuid/src/Converter/TimeConverterInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Time\\BigNumberTimeConverter' => $baseDir . '/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Time\\DegradedTimeConverter' => $baseDir . '/ramsey/uuid/src/Converter/Time/DegradedTimeConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Time\\GenericTimeConverter' => $baseDir . '/ramsey/uuid/src/Converter/Time/GenericTimeConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Time\\PhpTimeConverter' => $baseDir . '/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Time\\UnixTimeConverter' => $baseDir . '/ramsey/uuid/src/Converter/Time/UnixTimeConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\DegradedUuid' => $baseDir . '/ramsey/uuid/src/DegradedUuid.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\DeprecatedUuidInterface' => $baseDir . '/ramsey/uuid/src/DeprecatedUuidInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\DeprecatedUuidMethodsTrait' => $baseDir . '/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\BuilderNotFoundException' => $baseDir . '/ramsey/uuid/src/Exception/BuilderNotFoundException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\DateTimeException' => $baseDir . '/ramsey/uuid/src/Exception/DateTimeException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\DceSecurityException' => $baseDir . '/ramsey/uuid/src/Exception/DceSecurityException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\InvalidArgumentException' => $baseDir . '/ramsey/uuid/src/Exception/InvalidArgumentException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\InvalidBytesException' => $baseDir . '/ramsey/uuid/src/Exception/InvalidBytesException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\InvalidUuidStringException' => $baseDir . '/ramsey/uuid/src/Exception/InvalidUuidStringException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\NameException' => $baseDir . '/ramsey/uuid/src/Exception/NameException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\NodeException' => $baseDir . '/ramsey/uuid/src/Exception/NodeException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\RandomSourceException' => $baseDir . '/ramsey/uuid/src/Exception/RandomSourceException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\TimeSourceException' => $baseDir . '/ramsey/uuid/src/Exception/TimeSourceException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\UnableToBuildUuidException' => $baseDir . '/ramsey/uuid/src/Exception/UnableToBuildUuidException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\UnsupportedOperationException' => $baseDir . '/ramsey/uuid/src/Exception/UnsupportedOperationException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\UuidExceptionInterface' => $baseDir . '/ramsey/uuid/src/Exception/UuidExceptionInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\FeatureSet' => $baseDir . '/ramsey/uuid/src/FeatureSet.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Fields\\FieldsInterface' => $baseDir . '/ramsey/uuid/src/Fields/FieldsInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Fields\\SerializableFieldsTrait' => $baseDir . '/ramsey/uuid/src/Fields/SerializableFieldsTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\CombGenerator' => $baseDir . '/ramsey/uuid/src/Generator/CombGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\DceSecurityGenerator' => $baseDir . '/ramsey/uuid/src/Generator/DceSecurityGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\DceSecurityGeneratorInterface' => $baseDir . '/ramsey/uuid/src/Generator/DceSecurityGeneratorInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\DefaultNameGenerator' => $baseDir . '/ramsey/uuid/src/Generator/DefaultNameGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\DefaultTimeGenerator' => $baseDir . '/ramsey/uuid/src/Generator/DefaultTimeGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\NameGeneratorFactory' => $baseDir . '/ramsey/uuid/src/Generator/NameGeneratorFactory.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\NameGeneratorInterface' => $baseDir . '/ramsey/uuid/src/Generator/NameGeneratorInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\PeclUuidNameGenerator' => $baseDir . '/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\PeclUuidRandomGenerator' => $baseDir . '/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\PeclUuidTimeGenerator' => $baseDir . '/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\RandomBytesGenerator' => $baseDir . '/ramsey/uuid/src/Generator/RandomBytesGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\RandomGeneratorFactory' => $baseDir . '/ramsey/uuid/src/Generator/RandomGeneratorFactory.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\RandomGeneratorInterface' => $baseDir . '/ramsey/uuid/src/Generator/RandomGeneratorInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\RandomLibAdapter' => $baseDir . '/ramsey/uuid/src/Generator/RandomLibAdapter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\TimeGeneratorFactory' => $baseDir . '/ramsey/uuid/src/Generator/TimeGeneratorFactory.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\TimeGeneratorInterface' => $baseDir . '/ramsey/uuid/src/Generator/TimeGeneratorInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\UnixTimeGenerator' => $baseDir . '/ramsey/uuid/src/Generator/UnixTimeGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Guid\\Fields' => $baseDir . '/ramsey/uuid/src/Guid/Fields.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Guid\\Guid' => $baseDir . '/ramsey/uuid/src/Guid/Guid.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Guid\\GuidBuilder' => $baseDir . '/ramsey/uuid/src/Guid/GuidBuilder.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Lazy\\LazyUuidFromString' => $baseDir . '/ramsey/uuid/src/Lazy/LazyUuidFromString.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Math\\BrickMathCalculator' => $baseDir . '/ramsey/uuid/src/Math/BrickMathCalculator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Math\\CalculatorInterface' => $baseDir . '/ramsey/uuid/src/Math/CalculatorInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Math\\RoundingMode' => $baseDir . '/ramsey/uuid/src/Math/RoundingMode.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Nonstandard\\Fields' => $baseDir . '/ramsey/uuid/src/Nonstandard/Fields.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Nonstandard\\Uuid' => $baseDir . '/ramsey/uuid/src/Nonstandard/Uuid.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Nonstandard\\UuidBuilder' => $baseDir . '/ramsey/uuid/src/Nonstandard/UuidBuilder.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Nonstandard\\UuidV6' => $baseDir . '/ramsey/uuid/src/Nonstandard/UuidV6.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\DceSecurityProviderInterface' => $baseDir . '/ramsey/uuid/src/Provider/DceSecurityProviderInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Dce\\SystemDceSecurityProvider' => $baseDir . '/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\NodeProviderInterface' => $baseDir . '/ramsey/uuid/src/Provider/NodeProviderInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Node\\FallbackNodeProvider' => $baseDir . '/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Node\\NodeProviderCollection' => $baseDir . '/ramsey/uuid/src/Provider/Node/NodeProviderCollection.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Node\\RandomNodeProvider' => $baseDir . '/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Node\\StaticNodeProvider' => $baseDir . '/ramsey/uuid/src/Provider/Node/StaticNodeProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Node\\SystemNodeProvider' => $baseDir . '/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\TimeProviderInterface' => $baseDir . '/ramsey/uuid/src/Provider/TimeProviderInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Time\\FixedTimeProvider' => $baseDir . '/ramsey/uuid/src/Provider/Time/FixedTimeProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Time\\SystemTimeProvider' => $baseDir . '/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\Fields' => $baseDir . '/ramsey/uuid/src/Rfc4122/Fields.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\FieldsInterface' => $baseDir . '/ramsey/uuid/src/Rfc4122/FieldsInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\MaxTrait' => $baseDir . '/ramsey/uuid/src/Rfc4122/MaxTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\MaxUuid' => $baseDir . '/ramsey/uuid/src/Rfc4122/MaxUuid.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\NilTrait' => $baseDir . '/ramsey/uuid/src/Rfc4122/NilTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\NilUuid' => $baseDir . '/ramsey/uuid/src/Rfc4122/NilUuid.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\TimeTrait' => $baseDir . '/ramsey/uuid/src/Rfc4122/TimeTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidBuilder' => $baseDir . '/ramsey/uuid/src/Rfc4122/UuidBuilder.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidInterface' => $baseDir . '/ramsey/uuid/src/Rfc4122/UuidInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV1' => $baseDir . '/ramsey/uuid/src/Rfc4122/UuidV1.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV2' => $baseDir . '/ramsey/uuid/src/Rfc4122/UuidV2.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV3' => $baseDir . '/ramsey/uuid/src/Rfc4122/UuidV3.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV4' => $baseDir . '/ramsey/uuid/src/Rfc4122/UuidV4.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV5' => $baseDir . '/ramsey/uuid/src/Rfc4122/UuidV5.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV6' => $baseDir . '/ramsey/uuid/src/Rfc4122/UuidV6.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV7' => $baseDir . '/ramsey/uuid/src/Rfc4122/UuidV7.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV8' => $baseDir . '/ramsey/uuid/src/Rfc4122/UuidV8.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\Validator' => $baseDir . '/ramsey/uuid/src/Rfc4122/Validator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\VariantTrait' => $baseDir . '/ramsey/uuid/src/Rfc4122/VariantTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\VersionTrait' => $baseDir . '/ramsey/uuid/src/Rfc4122/VersionTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Type\\Decimal' => $baseDir . '/ramsey/uuid/src/Type/Decimal.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Type\\Hexadecimal' => $baseDir . '/ramsey/uuid/src/Type/Hexadecimal.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Type\\Integer' => $baseDir . '/ramsey/uuid/src/Type/Integer.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Type\\NumberInterface' => $baseDir . '/ramsey/uuid/src/Type/NumberInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Type\\Time' => $baseDir . '/ramsey/uuid/src/Type/Time.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Type\\TypeInterface' => $baseDir . '/ramsey/uuid/src/Type/TypeInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Uuid' => $baseDir . '/ramsey/uuid/src/Uuid.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\UuidFactory' => $baseDir . '/ramsey/uuid/src/UuidFactory.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\UuidFactoryInterface' => $baseDir . '/ramsey/uuid/src/UuidFactoryInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\UuidInterface' => $baseDir . '/ramsey/uuid/src/UuidInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Validator\\GenericValidator' => $baseDir . '/ramsey/uuid/src/Validator/GenericValidator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Validator\\ValidatorInterface' => $baseDir . '/ramsey/uuid/src/Validator/ValidatorInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\StackdriverUtil' => $baseDir . '/google/grpc-gcp/cloudprober/grpc_gpc_prober/stackdriver_util.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\bcmath_compat\\BCMath' => $baseDir . '/phpseclib/bcmath_compat/src/BCMath.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\phpseclib3\\Common\\Functions\\Strings' => $baseDir . '/phpseclib/phpseclib/phpseclib/Common/Functions/Strings.php', diff --git a/vendor/prefixed/vendor/composer/autoload_files.php b/vendor/prefixed/vendor/composer/autoload_files.php index f073c9a53..5f644ebee 100644 --- a/vendor/prefixed/vendor/composer/autoload_files.php +++ b/vendor/prefixed/vendor/composer/autoload_files.php @@ -9,9 +9,9 @@ '3b866681a14a27c0c8adec54ba7f6a5c' => $baseDir . '/google/apiclient/src/aliases.php', 'a9ba2bc605f8cc31904f6c788ee13386' => $baseDir . '/google/apiclient-services/autoload.php', '6fc8d7e61db31927a11bd66a7e02cbbf' => $baseDir . '/guzzlehttp/guzzle/src/functions_include.php', - '9ffe771412935e32de763feba901e2e0' => $baseDir . '/guzzlehttp/promises/src/functions_include.php', 'c17e09b5491f79542d887522db07b799' => $baseDir . '/phpseclib/phpseclib/phpseclib/bootstrap.php', '8bdb104f587366cf982cde548067cb60' => $baseDir . '/phpseclib/bcmath_compat/lib/bcmath.php', '66cfd3a7190309803b5cc0fea03a4cdc' => $baseDir . '/symfony/deprecation-contracts/function.php', 'c41a84066d147a2d8e4ba7ebd559db66' => $baseDir . '/ralouphie/getallheaders/src/getallheaders.php', + '21a0a884fb8771c612b5fc28d989f9f1' => $baseDir . '/ramsey/uuid/src/functions.php', ); diff --git a/vendor/prefixed/vendor/composer/autoload_real.php b/vendor/prefixed/vendor/composer/autoload_real.php index 8d982eb70..90d136df2 100644 --- a/vendor/prefixed/vendor/composer/autoload_real.php +++ b/vendor/prefixed/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitefbbfbccb77cf1d72296999539684a3b +class ComposerAutoloaderInit2724e8b56131e57ae8990860d59ec2c9 { private static $loader; @@ -22,18 +22,18 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitefbbfbccb77cf1d72296999539684a3b', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit2724e8b56131e57ae8990860d59ec2c9', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInitefbbfbccb77cf1d72296999539684a3b', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit2724e8b56131e57ae8990860d59ec2c9', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInitefbbfbccb77cf1d72296999539684a3b::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit2724e8b56131e57ae8990860d59ec2c9::getInitializer($loader)); $loader->register(true); - $includeFiles = \Composer\Autoload\ComposerStaticInitefbbfbccb77cf1d72296999539684a3b::$files; + $includeFiles = \Composer\Autoload\ComposerStaticInit2724e8b56131e57ae8990860d59ec2c9::$files; foreach ($includeFiles as $fileIdentifier => $file) { - composerRequireefbbfbccb77cf1d72296999539684a3b($fileIdentifier, $file); + composerRequire2724e8b56131e57ae8990860d59ec2c9($fileIdentifier, $file); } return $loader; @@ -45,7 +45,7 @@ public static function getLoader() * @param string $file * @return void */ -function composerRequireefbbfbccb77cf1d72296999539684a3b($fileIdentifier, $file) +function composerRequire2724e8b56131e57ae8990860d59ec2c9($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/prefixed/vendor/composer/autoload_static.php b/vendor/prefixed/vendor/composer/autoload_static.php index f84f7b4da..4085d489e 100644 --- a/vendor/prefixed/vendor/composer/autoload_static.php +++ b/vendor/prefixed/vendor/composer/autoload_static.php @@ -4,17 +4,17 @@ namespace Composer\Autoload; -class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b +class ComposerStaticInit2724e8b56131e57ae8990860d59ec2c9 { public static $files = array ( '3b866681a14a27c0c8adec54ba7f6a5c' => __DIR__ . '/../..' . '/google/apiclient/src/aliases.php', 'a9ba2bc605f8cc31904f6c788ee13386' => __DIR__ . '/../..' . '/google/apiclient-services/autoload.php', '6fc8d7e61db31927a11bd66a7e02cbbf' => __DIR__ . '/../..' . '/guzzlehttp/guzzle/src/functions_include.php', - '9ffe771412935e32de763feba901e2e0' => __DIR__ . '/../..' . '/guzzlehttp/promises/src/functions_include.php', 'c17e09b5491f79542d887522db07b799' => __DIR__ . '/../..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php', '8bdb104f587366cf982cde548067cb60' => __DIR__ . '/../..' . '/phpseclib/bcmath_compat/lib/bcmath.php', '66cfd3a7190309803b5cc0fea03a4cdc' => __DIR__ . '/../..' . '/symfony/deprecation-contracts/function.php', 'c41a84066d147a2d8e4ba7ebd559db66' => __DIR__ . '/../..' . '/ralouphie/getallheaders/src/getallheaders.php', + '21a0a884fb8771c612b5fc28d989f9f1' => __DIR__ . '/../..' . '/ramsey/uuid/src/functions.php', ); public static $classMap = array ( @@ -23,27 +23,47 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 'DivisionByZeroError' => __DIR__ . '/../..' . '/phpseclib/bcmath_compat/lib/bcmath.php', 'Error' => __DIR__ . '/../..' . '/phpseclib/bcmath_compat/lib/bcmath.php', + 'GPBMetadata\\Google\\ApiCore\\Tests\\Unit\\Example' => __DIR__ . '/../..' . '/google/gax/metadata/Google/ApiCore/Tests/Unit/Example.php', 'GPBMetadata\\GrpcGcp' => __DIR__ . '/../..' . '/google/grpc-gcp/src/generated/GPBMetadata/GrpcGcp.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\BigDecimal' => __DIR__ . '/../..' . '/brick/math/src/BigDecimal.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\BigInteger' => __DIR__ . '/../..' . '/brick/math/src/BigInteger.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\BigNumber' => __DIR__ . '/../..' . '/brick/math/src/BigNumber.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\BigRational' => __DIR__ . '/../..' . '/brick/math/src/BigRational.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Exception\\DivisionByZeroException' => __DIR__ . '/../..' . '/brick/math/src/Exception/DivisionByZeroException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Exception\\IntegerOverflowException' => __DIR__ . '/../..' . '/brick/math/src/Exception/IntegerOverflowException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Exception\\MathException' => __DIR__ . '/../..' . '/brick/math/src/Exception/MathException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Exception\\NegativeNumberException' => __DIR__ . '/../..' . '/brick/math/src/Exception/NegativeNumberException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Exception\\NumberFormatException' => __DIR__ . '/../..' . '/brick/math/src/Exception/NumberFormatException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Exception\\RoundingNecessaryException' => __DIR__ . '/../..' . '/brick/math/src/Exception/RoundingNecessaryException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Internal\\Calculator' => __DIR__ . '/../..' . '/brick/math/src/Internal/Calculator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Internal\\Calculator\\BcMathCalculator' => __DIR__ . '/../..' . '/brick/math/src/Internal/Calculator/BcMathCalculator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Internal\\Calculator\\GmpCalculator' => __DIR__ . '/../..' . '/brick/math/src/Internal/Calculator/GmpCalculator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\Internal\\Calculator\\NativeCalculator' => __DIR__ . '/../..' . '/brick/math/src/Internal/Calculator/NativeCalculator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Brick\\Math\\RoundingMode' => __DIR__ . '/../..' . '/brick/math/src/RoundingMode.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\BeforeValidException' => __DIR__ . '/../..' . '/firebase/php-jwt/src/BeforeValidException.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\CachedKeySet' => __DIR__ . '/../..' . '/firebase/php-jwt/src/CachedKeySet.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\ExpiredException' => __DIR__ . '/../..' . '/firebase/php-jwt/src/ExpiredException.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\JWK' => __DIR__ . '/../..' . '/firebase/php-jwt/src/JWK.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\JWT' => __DIR__ . '/../..' . '/firebase/php-jwt/src/JWT.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\JWTExceptionWithPayloadInterface' => __DIR__ . '/../..' . '/firebase/php-jwt/src/JWTExceptionWithPayloadInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\Key' => __DIR__ . '/../..' . '/firebase/php-jwt/src/Key.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Firebase\\JWT\\SignatureInvalidException' => __DIR__ . '/../..' . '/firebase/php-jwt/src/SignatureInvalidException.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\ApiCore\\Testing\\Mocks' => __DIR__ . '/../..' . '/google/gax/metadata/ApiCore/Testing/Mocks.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\AccessReport' => __DIR__ . '/../..' . '/google/analytics-admin/metadata/V1Alpha/AccessReport.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\AnalyticsAdmin' => __DIR__ . '/../..' . '/google/analytics-admin/metadata/V1Alpha/AnalyticsAdmin.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\Audience' => __DIR__ . '/../..' . '/google/analytics-admin/metadata/V1Alpha/Audience.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\ChannelGroup' => __DIR__ . '/../..' . '/google/analytics-admin/metadata/V1Alpha/ChannelGroup.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\EventCreateAndEdit' => __DIR__ . '/../..' . '/google/analytics-admin/metadata/V1Alpha/EventCreateAndEdit.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\ExpandedDataSet' => __DIR__ . '/../..' . '/google/analytics-admin/metadata/V1Alpha/ExpandedDataSet.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\Resources' => __DIR__ . '/../..' . '/google/analytics-admin/metadata/V1Alpha/Resources.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Alpha\\SubpropertyEventFilter' => __DIR__ . '/../..' . '/google/analytics-admin/metadata/V1Alpha/SubpropertyEventFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Beta\\AccessReport' => __DIR__ . '/../..' . '/google/analytics-admin/metadata/V1Beta/AccessReport.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Beta\\AnalyticsAdmin' => __DIR__ . '/../..' . '/google/analytics-admin/metadata/V1Beta/AnalyticsAdmin.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Admin\\V1Beta\\Resources' => __DIR__ . '/../..' . '/google/analytics-admin/metadata/V1Beta/Resources.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Data\\V1Alpha\\AnalyticsDataApi' => __DIR__ . '/../..' . '/google/analytics-data/metadata/V1Alpha/AnalyticsDataApi.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Data\\V1Alpha\\Data' => __DIR__ . '/../..' . '/google/analytics-data/metadata/V1Alpha/Data.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Data\\V1Beta\\AnalyticsDataApi' => __DIR__ . '/../..' . '/google/analytics-data/metadata/V1Beta/AnalyticsDataApi.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Analytics\\Data\\V1Beta\\Data' => __DIR__ . '/../..' . '/google/analytics-data/metadata/V1Beta/Data.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\ApiCore\\Tests\\Unit\\Example' => __DIR__ . '/../..' . '/google/gax/metadata/Google/ApiCore/Tests/Unit/Example.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Annotations' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Annotations.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Auth' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Auth.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Backend' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Backend.php', @@ -56,19 +76,9 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Distribution' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Distribution.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Documentation' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Documentation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Endpoint' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Endpoint.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\CelService' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Expr/V1Alpha1/CelService.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\Checked' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Expr/V1Alpha1/Checked.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\ConformanceService' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Expr/V1Alpha1/ConformanceService.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\Explain' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Expr/V1Alpha1/Explain.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\PBEval' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Expr/V1Alpha1/PBEval.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\Syntax' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Expr/V1Alpha1/Syntax.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Alpha1\\Value' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Expr/V1Alpha1/Value.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Beta1\\Decl' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Expr/V1Beta1/Decl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Beta1\\Expr' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Expr/V1Beta1/Expr.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Beta1\\PBEval' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Expr/V1Beta1/PBEval.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Beta1\\Source' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Expr/V1Beta1/Source.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Expr\\V1Beta1\\Value' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Expr/V1Beta1/Value.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\ErrorReason' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/ErrorReason.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\FieldBehavior' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/FieldBehavior.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\FieldInfo' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/FieldInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Http' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Http.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Httpbody' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Httpbody.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Label' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Label.php', @@ -78,6 +88,7 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Metric' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Metric.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\MonitoredResource' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/MonitoredResource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Monitoring' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Monitoring.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Policy' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Policy.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Quota' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Quota.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Resource' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Resource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Routing' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Routing.php', @@ -85,6 +96,7 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\SourceInfo' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/SourceInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\SystemParameter' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/SystemParameter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Usage' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Usage.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Api\\Visibility' => __DIR__ . '/../..' . '/google/common-protos/metadata/Api/Visibility.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Cloud\\ExtendedOperations' => __DIR__ . '/../..' . '/google/common-protos/metadata/Cloud/ExtendedOperations.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Cloud\\Location\\Locations' => __DIR__ . '/../..' . '/google/common-protos/metadata/Cloud/Location/Locations.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Iam\\V1\\IamPolicy' => __DIR__ . '/../..' . '/google/common-protos/metadata/Iam/V1/IamPolicy.php', @@ -106,6 +118,8 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Protobuf\\Type' => __DIR__ . '/../..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Protobuf\\Wrappers' => __DIR__ . '/../..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Wrappers.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Rpc\\Code' => __DIR__ . '/../..' . '/google/common-protos/metadata/Rpc/Code.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Rpc\\Context\\AttributeContext' => __DIR__ . '/../..' . '/google/common-protos/metadata/Rpc/Context/AttributeContext.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Rpc\\Context\\AuditContext' => __DIR__ . '/../..' . '/google/common-protos/metadata/Rpc/Context/AuditContext.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Rpc\\ErrorDetails' => __DIR__ . '/../..' . '/google/common-protos/metadata/Rpc/ErrorDetails.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Rpc\\Status' => __DIR__ . '/../..' . '/google/common-protos/metadata/Rpc/Status.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\CalendarPeriod' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/CalendarPeriod.php', @@ -113,12 +127,15 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Date' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/Date.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Datetime' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/Datetime.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Dayofweek' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/Dayofweek.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Decimal' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/Decimal.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Expr' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/Expr.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Fraction' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/Fraction.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Interval' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/Interval.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Latlng' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/Latlng.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\LocalizedText' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/LocalizedText.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Money' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/Money.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Month' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/Month.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\PhoneNumber' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/PhoneNumber.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\PostalAddress' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/PostalAddress.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Quaternion' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/Quaternion.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Type\\Timeofday' => __DIR__ . '/../..' . '/google/common-protos/metadata/Type/Timeofday.php', @@ -159,6 +176,7 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AcknowledgeUserDataCollectionResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/AcknowledgeUserDataCollectionResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ActionType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ActionType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ActorType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ActorType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AdSenseLink' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/AdSenseLink.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AnalyticsAdminServiceClient' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/AnalyticsAdminServiceClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AnalyticsAdminServiceGrpcClient' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/AnalyticsAdminServiceGrpcClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AndroidAppDataStream' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/AndroidAppDataStream.php', @@ -169,6 +187,7 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ArchiveCustomMetricRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ArchiveCustomMetricRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/AttributionSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings\\AcquisitionConversionEventLookbackWindow' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/AttributionSettings/AcquisitionConversionEventLookbackWindow.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings\\AdsWebConversionDataExportScope' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings\\OtherConversionEventLookbackWindow' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/AttributionSettings/OtherConversionEventLookbackWindow.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings\\ReportingAttributionModel' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/AttributionSettings/ReportingAttributionModel.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\AttributionSettings_AcquisitionConversionEventLookbackWindow' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/AttributionSettings_AcquisitionConversionEventLookbackWindow.php', @@ -224,29 +243,61 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\BatchUpdateUserLinksRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/BatchUpdateUserLinksRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\BatchUpdateUserLinksResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/BatchUpdateUserLinksResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\BigQueryLink' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/BigQueryLink.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CalculatedMetric' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CalculatedMetric.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CalculatedMetric\\MetricUnit' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CalculatedMetric/MetricUnit.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CalculatedMetric\\RestrictedMetricType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CalculatedMetric/RestrictedMetricType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CancelDisplayVideo360AdvertiserLinkProposalRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChangeHistoryChange' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChangeHistoryChange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChangeHistoryChange\\ChangeHistoryResource' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChangeHistoryChange_ChangeHistoryResource' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChangeHistoryChange_ChangeHistoryResource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChangeHistoryEvent' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChangeHistoryEvent.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChangeHistoryResourceType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChangeHistoryResourceType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroup' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChannelGroup.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilterExpression' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChannelGroupFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilterExpressionList' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChannelGroupFilterExpressionList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter\\InListFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter/InListFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter\\StringFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter/StringFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter\\StringFilter\\MatchType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter_InListFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter_InListFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter_StringFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter_StringFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ChannelGroupFilter_StringFilter_MatchType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ChannelGroupFilter_StringFilter_MatchType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Client\\AnalyticsAdminServiceClient' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/Client/AnalyticsAdminServiceClient.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CoarseValue' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CoarseValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConnectedSiteTag' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ConnectedSiteTag.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConversionEvent' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ConversionEvent.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConversionEvent\\ConversionCountingMethod' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ConversionEvent/ConversionCountingMethod.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConversionEvent\\DefaultConversionValue' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ConversionEvent/DefaultConversionValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ConversionValues' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ConversionValues.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateAccessBindingRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateAccessBindingRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateAdSenseLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateAdSenseLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateAndroidAppDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateAndroidAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateAudienceRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateAudienceRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateCalculatedMetricRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateCalculatedMetricRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateChannelGroupRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateChannelGroupRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateConnectedSiteTagRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateConnectedSiteTagRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateConnectedSiteTagResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateConnectedSiteTagResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateConversionEventRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateConversionEventRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateCustomDimensionRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateCustomDimensionRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateCustomMetricRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateCustomMetricRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateDisplayVideo360AdvertiserLinkProposalRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateDisplayVideo360AdvertiserLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateEventCreateRuleRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateEventCreateRuleRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateExpandedDataSetRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateExpandedDataSetRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateFirebaseLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateFirebaseLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateGoogleAdsLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateGoogleAdsLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateIosAppDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateIosAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateMeasurementProtocolSecretRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateMeasurementProtocolSecretRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreatePropertyRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreatePropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateRollupPropertyRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateRollupPropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateRollupPropertyResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateRollupPropertyResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateRollupPropertySourceLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateRollupPropertySourceLinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateSKAdNetworkConversionValueSchemaRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateSearchAds360LinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateSearchAds360LinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateSubpropertyEventFilterRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateSubpropertyEventFilterRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateSubpropertyRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateSubpropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateSubpropertyResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateSubpropertyResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateUserLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateUserLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CreateWebDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CreateWebDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomDimension' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CustomDimension.php', @@ -259,6 +310,7 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomMetric_MeasurementUnit' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CustomMetric_MeasurementUnit.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomMetric_MetricScope' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CustomMetric_MetricScope.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\CustomMetric_RestrictedMetricType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/CustomMetric_RestrictedMetricType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataRedactionSettings' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DataRedactionSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataRetentionSettings' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DataRetentionSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataRetentionSettings\\RetentionDuration' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DataRetentionSettings/RetentionDuration.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataRetentionSettings_RetentionDuration' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DataRetentionSettings_RetentionDuration.php', @@ -274,23 +326,33 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DataStream_WebStreamData' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DataStream_WebStreamData.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteAccessBindingRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteAccessBindingRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteAccountRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteAccountRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteAdSenseLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteAdSenseLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteAndroidAppDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteAndroidAppDataStreamRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteCalculatedMetricRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteCalculatedMetricRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteChannelGroupRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteChannelGroupRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteConnectedSiteTagRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteConnectedSiteTagRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteConversionEventRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteConversionEventRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteDisplayVideo360AdvertiserLinkProposalRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteDisplayVideo360AdvertiserLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteEventCreateRuleRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteEventCreateRuleRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteExpandedDataSetRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteExpandedDataSetRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteFirebaseLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteFirebaseLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteGoogleAdsLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteGoogleAdsLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteIosAppDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteIosAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteMeasurementProtocolSecretRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteMeasurementProtocolSecretRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeletePropertyRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeletePropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteRollupPropertySourceLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteRollupPropertySourceLinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteSKAdNetworkConversionValueSchemaRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteSearchAds360LinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteSearchAds360LinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteSubpropertyEventFilterRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteSubpropertyEventFilterRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteUserLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteUserLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DeleteWebDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DeleteWebDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DisplayVideo360AdvertiserLink' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DisplayVideo360AdvertiserLink.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\DisplayVideo360AdvertiserLinkProposal' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/DisplayVideo360AdvertiserLinkProposal.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EnhancedMeasurementSettings' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/EnhancedMeasurementSettings.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EventCreateRule' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/EventCreateRule.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\EventMapping' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/EventMapping.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ExpandedDataSet' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ExpandedDataSet.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ExpandedDataSetFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ExpandedDataSetFilter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ExpandedDataSetFilterExpression' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ExpandedDataSetFilterExpression.php', @@ -303,30 +365,40 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ExpandedDataSetFilter_StringFilter_MatchType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ExpandedDataSetFilter_StringFilter_MatchType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FetchAutomatedGa4ConfigurationOptOutRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FetchAutomatedGa4ConfigurationOptOutResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FetchConnectedGa4PropertyRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/FetchConnectedGa4PropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FetchConnectedGa4PropertyResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/FetchConnectedGa4PropertyResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\FirebaseLink' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/FirebaseLink.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Gapic\\AnalyticsAdminServiceGapicClient' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/Gapic/AnalyticsAdminServiceGapicClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetAccessBindingRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetAccessBindingRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetAccountRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetAccountRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetAdSenseLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetAdSenseLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetAndroidAppDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetAndroidAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetAttributionSettingsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetAttributionSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetAudienceRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetAudienceRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetBigQueryLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetBigQueryLinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetCalculatedMetricRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetCalculatedMetricRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetChannelGroupRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetChannelGroupRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetConversionEventRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetConversionEventRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetCustomDimensionRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetCustomDimensionRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetCustomMetricRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetCustomMetricRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetDataRedactionSettingsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetDataRedactionSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetDataRetentionSettingsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetDataRetentionSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetDataSharingSettingsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetDataSharingSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetDisplayVideo360AdvertiserLinkProposalRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetDisplayVideo360AdvertiserLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetEnhancedMeasurementSettingsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetEnhancedMeasurementSettingsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetEventCreateRuleRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetEventCreateRuleRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetExpandedDataSetRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetExpandedDataSetRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetGlobalSiteTagRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetGlobalSiteTagRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetGoogleSignalsSettingsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetGoogleSignalsSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetIosAppDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetIosAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetMeasurementProtocolSecretRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetMeasurementProtocolSecretRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetPropertyRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetPropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetRollupPropertySourceLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetRollupPropertySourceLinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetSKAdNetworkConversionValueSchemaRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetSearchAds360LinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetSearchAds360LinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetSubpropertyEventFilterRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetSubpropertyEventFilterRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetUserLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetUserLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GetWebDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GetWebDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GlobalSiteTag' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GlobalSiteTag.php', @@ -334,6 +406,7 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GoogleSignalsConsent' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GoogleSignalsConsent.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GoogleSignalsSettings' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GoogleSignalsSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GoogleSignalsState' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GoogleSignalsState.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\GroupingRule' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/GroupingRule.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\IndustryCategory' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/IndustryCategory.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\IosAppDataStream' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/IosAppDataStream.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\LinkProposalInitiatingProduct' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/LinkProposalInitiatingProduct.php', @@ -345,12 +418,20 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAccountSummariesResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListAccountSummariesResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAccountsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListAccountsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAccountsResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListAccountsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAdSenseLinksRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListAdSenseLinksRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAdSenseLinksResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListAdSenseLinksResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAndroidAppDataStreamsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListAndroidAppDataStreamsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAndroidAppDataStreamsResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListAndroidAppDataStreamsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAudiencesRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListAudiencesRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListAudiencesResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListAudiencesResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListBigQueryLinksRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListBigQueryLinksRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListBigQueryLinksResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListBigQueryLinksResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListCalculatedMetricsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListCalculatedMetricsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListCalculatedMetricsResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListCalculatedMetricsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListChannelGroupsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListChannelGroupsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListChannelGroupsResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListChannelGroupsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListConnectedSiteTagsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListConnectedSiteTagsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListConnectedSiteTagsResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListConnectedSiteTagsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListConversionEventsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListConversionEventsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListConversionEventsResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListConversionEventsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListCustomDimensionsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListCustomDimensionsRequest.php', @@ -363,6 +444,8 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListDisplayVideo360AdvertiserLinkProposalsResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListDisplayVideo360AdvertiserLinksRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListDisplayVideo360AdvertiserLinksResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListDisplayVideo360AdvertiserLinksResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListEventCreateRulesRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListEventCreateRulesRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListEventCreateRulesResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListEventCreateRulesResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListExpandedDataSetsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListExpandedDataSetsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListExpandedDataSetsResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListExpandedDataSetsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListFirebaseLinksRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListFirebaseLinksRequest.php', @@ -375,39 +458,65 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListMeasurementProtocolSecretsResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListMeasurementProtocolSecretsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListPropertiesRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListPropertiesRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListPropertiesResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListPropertiesResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListRollupPropertySourceLinksRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListRollupPropertySourceLinksRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListRollupPropertySourceLinksResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListRollupPropertySourceLinksResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSKAdNetworkConversionValueSchemasRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSKAdNetworkConversionValueSchemasResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSearchAds360LinksRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListSearchAds360LinksRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSearchAds360LinksResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListSearchAds360LinksResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSubpropertyEventFiltersRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListSubpropertyEventFiltersRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListSubpropertyEventFiltersResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListSubpropertyEventFiltersResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListUserLinksRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListUserLinksRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListUserLinksResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListUserLinksResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListWebDataStreamsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListWebDataStreamsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ListWebDataStreamsResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ListWebDataStreamsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MatchingCondition' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/MatchingCondition.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MatchingCondition\\ComparisonType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/MatchingCondition/ComparisonType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MatchingCondition_ComparisonType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/MatchingCondition_ComparisonType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MaximumUserAccess' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/MaximumUserAccess.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\MeasurementProtocolSecret' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/MeasurementProtocolSecret.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\NumericValue' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/NumericValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ParameterMutation' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ParameterMutation.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\PostbackWindow' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/PostbackWindow.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\Property' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/Property.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\PropertySummary' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/PropertySummary.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\PropertyType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/PropertyType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ProvisionAccountTicketRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ProvisionAccountTicketRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ProvisionAccountTicketResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ProvisionAccountTicketResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\RollupPropertySourceLink' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/RollupPropertySourceLink.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\RunAccessReportRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/RunAccessReportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\RunAccessReportResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/RunAccessReportResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SKAdNetworkConversionValueSchema' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SKAdNetworkConversionValueSchema.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SearchAds360Link' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SearchAds360Link.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SearchChangeHistoryEventsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SearchChangeHistoryEventsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SearchChangeHistoryEventsResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SearchChangeHistoryEventsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\ServiceLevel' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/ServiceLevel.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SetAutomatedGa4ConfigurationOptOutRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SetAutomatedGa4ConfigurationOptOutResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterClause' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterClause.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterClause\\FilterClauseType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterCondition' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterCondition\\StringFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition/StringFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterCondition\\StringFilter\\MatchType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterExpression' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\SubpropertyEventFilterExpressionList' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/SubpropertyEventFilterExpressionList.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateAccessBindingRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateAccessBindingRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateAccountRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateAccountRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateAndroidAppDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateAndroidAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateAttributionSettingsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateAttributionSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateAudienceRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateAudienceRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateCalculatedMetricRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateCalculatedMetricRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateChannelGroupRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateChannelGroupRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateConversionEventRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateConversionEventRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateCustomDimensionRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateCustomDimensionRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateCustomMetricRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateCustomMetricRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateDataRedactionSettingsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateDataRedactionSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateDataRetentionSettingsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateDataRetentionSettingsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateDisplayVideo360AdvertiserLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateEnhancedMeasurementSettingsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateEventCreateRuleRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateEventCreateRuleRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateExpandedDataSetRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateExpandedDataSetRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateFirebaseLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateFirebaseLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateGoogleAdsLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateGoogleAdsLinkRequest.php', @@ -415,11 +524,36 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateIosAppDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateIosAppDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateMeasurementProtocolSecretRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateMeasurementProtocolSecretRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdatePropertyRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdatePropertyRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateSKAdNetworkConversionValueSchemaRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateSearchAds360LinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateSearchAds360LinkRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateSubpropertyEventFilterRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateSubpropertyEventFilterRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateUserLinkRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateUserLinkRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UpdateWebDataStreamRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UpdateWebDataStreamRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\UserLink' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/UserLink.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1alpha\\WebDataStream' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1alpha/WebDataStream.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessBetweenFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessBetweenFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessDateRange' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessDateRange.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessDimension' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessDimension.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessDimensionHeader' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessDimensionHeader.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessDimensionValue' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessDimensionValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessFilterExpression' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessFilterExpressionList' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessFilterExpressionList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessInListFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessInListFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessMetric' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessMetric.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessMetricHeader' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessMetricHeader.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessMetricValue' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessMetricValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessNumericFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessNumericFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessNumericFilter\\Operation' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessNumericFilter/Operation.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessOrderBy' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessOrderBy.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessOrderBy\\DimensionOrderBy' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessOrderBy/DimensionOrderBy.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessOrderBy\\DimensionOrderBy\\OrderType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessOrderBy\\MetricOrderBy' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessOrderBy/MetricOrderBy.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessQuota' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessQuota.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessQuotaStatus' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessQuotaStatus.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessRow' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessRow.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessStringFilter' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessStringFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccessStringFilter\\MatchType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccessStringFilter/MatchType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\Account' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/Account.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AccountSummary' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AccountSummary.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\AcknowledgeUserDataCollectionRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/AcknowledgeUserDataCollectionRequest.php', @@ -433,7 +567,9 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ChangeHistoryChange\\ChangeHistoryResource' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/ChangeHistoryChange/ChangeHistoryResource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ChangeHistoryEvent' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/ChangeHistoryEvent.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ChangeHistoryResourceType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/ChangeHistoryResourceType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\Client\\AnalyticsAdminServiceClient' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/Client/AnalyticsAdminServiceClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ConversionEvent' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/ConversionEvent.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ConversionEvent\\ConversionCountingMethod' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/ConversionEvent/ConversionCountingMethod.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\CreateConversionEventRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/CreateConversionEventRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\CreateCustomDimensionRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/CreateCustomDimensionRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\CreateCustomMetricRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/CreateCustomMetricRequest.php', @@ -497,15 +633,19 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ListPropertiesRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/ListPropertiesRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ListPropertiesResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/ListPropertiesResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\MeasurementProtocolSecret' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/MeasurementProtocolSecret.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\NumericValue' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/NumericValue.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\Property' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/Property.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\PropertySummary' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/PropertySummary.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\PropertyType' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/PropertyType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ProvisionAccountTicketRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/ProvisionAccountTicketRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ProvisionAccountTicketResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/ProvisionAccountTicketResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\RunAccessReportRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/RunAccessReportRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\RunAccessReportResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/RunAccessReportResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\SearchChangeHistoryEventsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/SearchChangeHistoryEventsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\SearchChangeHistoryEventsResponse' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/SearchChangeHistoryEventsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\ServiceLevel' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/ServiceLevel.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\UpdateAccountRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/UpdateAccountRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\UpdateConversionEventRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/UpdateConversionEventRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\UpdateCustomDimensionRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/UpdateCustomDimensionRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\UpdateCustomMetricRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/UpdateCustomMetricRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\UpdateDataRetentionSettingsRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/UpdateDataRetentionSettingsRequest.php', @@ -515,15 +655,26 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Admin\\V1beta\\UpdatePropertyRequest' => __DIR__ . '/../..' . '/google/analytics-admin/src/V1beta/UpdatePropertyRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AlphaAnalyticsDataClient' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/AlphaAnalyticsDataClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AlphaAnalyticsDataGrpcClient' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/AlphaAnalyticsDataGrpcClient.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceDimension' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/AudienceDimension.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceDimensionValue' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/AudienceDimensionValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceList' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/AudienceList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceListMetadata' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/AudienceListMetadata.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceList\\State' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/AudienceList/State.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\AudienceRow' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/AudienceRow.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\BatchRunPivotReportsRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/BatchRunPivotReportsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\BatchRunPivotReportsResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/BatchRunPivotReportsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\BatchRunReportsRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/BatchRunReportsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\BatchRunReportsResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/BatchRunReportsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\BetweenFilter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/BetweenFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Client\\AlphaAnalyticsDataClient' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Client/AlphaAnalyticsDataClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Cohort' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Cohort.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CohortReportSettings' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/CohortReportSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CohortSpec' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/CohortSpec.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CohortsRange' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/CohortsRange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CohortsRange\\Granularity' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/CohortsRange/Granularity.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CreateAudienceListRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/CreateAudienceListRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CreateRecurringAudienceListRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/CreateRecurringAudienceListRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\CreateReportTaskRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/CreateReportTaskRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\DateRange' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/DateRange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Dimension' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Dimension.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\DimensionExpression' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/DimensionExpression.php', @@ -533,6 +684,12 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\DimensionMetadata' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/DimensionMetadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\DimensionValue' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/DimensionValue.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Entity' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Entity.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\EventCriteriaScoping' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/EventCriteriaScoping.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\EventExclusionDuration' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/EventExclusionDuration.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\EventSegment' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/EventSegment.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\EventSegmentConditionGroup' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/EventSegmentConditionGroup.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\EventSegmentCriteria' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/EventSegmentCriteria.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\EventSegmentExclusion' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/EventSegmentExclusion.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Filter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Filter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FilterExpression' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FilterExpression.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FilterExpressionList' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FilterExpressionList.php', @@ -542,8 +699,31 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Filter\\NumericFilter\\Operation' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Filter/NumericFilter/Operation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Filter\\StringFilter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Filter/StringFilter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Filter\\StringFilter\\MatchType' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Filter/StringFilter/MatchType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Funnel' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Funnel.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelBreakdown' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FunnelBreakdown.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelEventFilter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FunnelEventFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelFieldFilter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FunnelFieldFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelFilterExpression' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FunnelFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelFilterExpressionList' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FunnelFilterExpressionList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelNextAction' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FunnelNextAction.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelParameterFilter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FunnelParameterFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelParameterFilterExpression' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FunnelParameterFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelParameterFilterExpressionList' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FunnelParameterFilterExpressionList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelResponseMetadata' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FunnelResponseMetadata.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelStep' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FunnelStep.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\FunnelSubReport' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/FunnelSubReport.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Gapic\\AlphaAnalyticsDataGapicClient' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Gapic/AlphaAnalyticsDataGapicClient.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\GetAudienceListRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/GetAudienceListRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\GetMetadataRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/GetMetadataRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\GetRecurringAudienceListRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/GetRecurringAudienceListRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\GetReportTaskRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/GetReportTaskRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\InListFilter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/InListFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListAudienceListsRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ListAudienceListsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListAudienceListsResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ListAudienceListsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListRecurringAudienceListsRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ListRecurringAudienceListsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListRecurringAudienceListsResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ListRecurringAudienceListsResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListReportTasksRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ListReportTasksRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ListReportTasksResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ListReportTasksResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Metadata' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Metadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Metric' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Metric.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\MetricAggregation' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/MetricAggregation.php', @@ -551,6 +731,8 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\MetricMetadata' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/MetricMetadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\MetricType' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/MetricType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\MetricValue' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/MetricValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\NumericFilter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/NumericFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\NumericFilter\\Operation' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/NumericFilter/Operation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\NumericValue' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/NumericValue.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\OrderBy' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/OrderBy.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\OrderBy\\DimensionOrderBy' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/OrderBy/DimensionOrderBy.php', @@ -562,15 +744,67 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\PivotDimensionHeader' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/PivotDimensionHeader.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\PivotHeader' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/PivotHeader.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\PropertyQuota' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/PropertyQuota.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\QueryAudienceListRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/QueryAudienceListRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\QueryAudienceListResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/QueryAudienceListResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\QueryReportTaskRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/QueryReportTaskRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\QueryReportTaskResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/QueryReportTaskResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\QuotaStatus' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/QuotaStatus.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RecurringAudienceList' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/RecurringAudienceList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTask' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ReportTask.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTaskMetadata' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ReportTaskMetadata.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTask\\ReportDefinition' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ReportTask/ReportDefinition.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTask\\ReportMetadata' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ReportTask/ReportMetadata.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ReportTask\\ReportMetadata\\State' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ReportTask/ReportMetadata/State.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ResponseMetaData' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ResponseMetaData.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ResponseMetaData\\SchemaRestrictionResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ResponseMetaData/SchemaRestrictionResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\ResponseMetaData\\SchemaRestrictionResponse\\ActiveMetricRestriction' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/ResponseMetaData/SchemaRestrictionResponse/ActiveMetricRestriction.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RestrictedMetricType' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/RestrictedMetricType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Row' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Row.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunFunnelReportRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/RunFunnelReportRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunFunnelReportRequest\\FunnelVisualizationType' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/RunFunnelReportRequest/FunnelVisualizationType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunFunnelReportResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/RunFunnelReportResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunPivotReportRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/RunPivotReportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunPivotReportResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/RunPivotReportResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunRealtimeReportRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/RunRealtimeReportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunRealtimeReportResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/RunRealtimeReportResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunReportRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/RunReportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\RunReportResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/RunReportResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SamplingMetadata' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SamplingMetadata.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\Segment' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/Segment.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentEventFilter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SegmentEventFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentFilter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SegmentFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentFilterExpression' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SegmentFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentFilterExpressionList' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SegmentFilterExpressionList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentFilterScoping' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SegmentFilterScoping.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentParameterFilter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SegmentParameterFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentParameterFilterExpression' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SegmentParameterFilterExpression.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentParameterFilterExpressionList' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SegmentParameterFilterExpressionList.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SegmentParameterFilterScoping' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SegmentParameterFilterScoping.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SessionCriteriaScoping' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SessionCriteriaScoping.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SessionExclusionDuration' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SessionExclusionDuration.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SessionSegment' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SessionSegment.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SessionSegmentConditionGroup' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SessionSegmentConditionGroup.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SessionSegmentCriteria' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SessionSegmentCriteria.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SessionSegmentExclusion' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SessionSegmentExclusion.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SheetExportAudienceListRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SheetExportAudienceListRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\SheetExportAudienceListResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/SheetExportAudienceListResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\StringFilter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/StringFilter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\StringFilter\\MatchType' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/StringFilter/MatchType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserCriteriaScoping' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/UserCriteriaScoping.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserExclusionDuration' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/UserExclusionDuration.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserSegment' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/UserSegment.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserSegmentConditionGroup' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/UserSegmentConditionGroup.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserSegmentCriteria' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/UserSegmentCriteria.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserSegmentExclusion' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/UserSegmentExclusion.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserSegmentSequenceGroup' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/UserSegmentSequenceGroup.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\UserSequenceStep' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/UserSequenceStep.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1alpha\\WebhookNotification' => __DIR__ . '/../..' . '/google/analytics-data/src/V1alpha/WebhookNotification.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceDimension' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/AudienceDimension.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceDimensionValue' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/AudienceDimensionValue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceExport' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/AudienceExport.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceExportMetadata' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/AudienceExportMetadata.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceExport\\State' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/AudienceExport/State.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\AudienceRow' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/AudienceRow.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\BatchRunPivotReportsRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/BatchRunPivotReportsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\BatchRunPivotReportsResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/BatchRunPivotReportsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\BatchRunReportsRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/BatchRunReportsRequest.php', @@ -579,12 +813,14 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\BetaAnalyticsDataGrpcClient' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/BetaAnalyticsDataGrpcClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CheckCompatibilityRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/CheckCompatibilityRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CheckCompatibilityResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/CheckCompatibilityResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Client\\BetaAnalyticsDataClient' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/Client/BetaAnalyticsDataClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Cohort' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/Cohort.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CohortReportSettings' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/CohortReportSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CohortSpec' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/CohortSpec.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CohortsRange' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/CohortsRange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CohortsRange\\Granularity' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/CohortsRange/Granularity.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Compatibility' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/Compatibility.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\CreateAudienceExportRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/CreateAudienceExportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\DateRange' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/DateRange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Dimension' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/Dimension.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\DimensionCompatibility' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/DimensionCompatibility.php', @@ -604,7 +840,10 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Filter\\StringFilter' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/Filter/StringFilter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Filter\\StringFilter\\MatchType' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/Filter/StringFilter/MatchType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Gapic\\BetaAnalyticsDataGapicClient' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/Gapic/BetaAnalyticsDataGapicClient.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\GetAudienceExportRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/GetAudienceExportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\GetMetadataRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/GetMetadataRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\ListAudienceExportsRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/ListAudienceExportsRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\ListAudienceExportsResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/ListAudienceExportsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Metadata' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/Metadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\Metric' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/Metric.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\MetricAggregation' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/MetricAggregation.php', @@ -626,6 +865,8 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\PivotDimensionHeader' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/PivotDimensionHeader.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\PivotHeader' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/PivotHeader.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\PropertyQuota' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/PropertyQuota.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\QueryAudienceExportRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/QueryAudienceExportRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\QueryAudienceExportResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/QueryAudienceExportResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\QuotaStatus' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/QuotaStatus.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\ResponseMetaData' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/ResponseMetaData.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\ResponseMetaData\\SchemaRestrictionResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/ResponseMetaData/SchemaRestrictionResponse.php', @@ -638,12 +879,14 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\RunRealtimeReportResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/RunRealtimeReportResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\RunReportRequest' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/RunReportRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\RunReportResponse' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/RunReportResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Analytics\\Data\\V1beta\\SamplingMetadata' => __DIR__ . '/../..' . '/google/analytics-data/src/V1beta/SamplingMetadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\AgentHeader' => __DIR__ . '/../..' . '/google/gax/src/AgentHeader.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ApiException' => __DIR__ . '/../..' . '/google/gax/src/ApiException.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ApiStatus' => __DIR__ . '/../..' . '/google/gax/src/ApiStatus.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ArrayTrait' => __DIR__ . '/../..' . '/google/gax/src/ArrayTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\BidiStream' => __DIR__ . '/../..' . '/google/gax/src/BidiStream.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Call' => __DIR__ . '/../..' . '/google/gax/src/Call.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ClientOptionsTrait' => __DIR__ . '/../..' . '/google/gax/src/ClientOptionsTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ClientStream' => __DIR__ . '/../..' . '/google/gax/src/ClientStream.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\CredentialsWrapper' => __DIR__ . '/../..' . '/google/gax/src/CredentialsWrapper.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\FixedSizeCollection' => __DIR__ . '/../..' . '/google/gax/src/FixedSizeCollection.php', @@ -651,16 +894,26 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\GPBType' => __DIR__ . '/../..' . '/google/gax/src/GPBType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\GapicClientTrait' => __DIR__ . '/../..' . '/google/gax/src/GapicClientTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\GrpcSupportTrait' => __DIR__ . '/../..' . '/google/gax/src/GrpcSupportTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\InsecureCredentialsWrapper' => __DIR__ . '/../..' . '/google/gax/src/InsecureCredentialsWrapper.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\LongRunning\\Gapic\\OperationsGapicClient' => __DIR__ . '/../..' . '/google/longrunning/src/ApiCore/LongRunning/Gapic/OperationsGapicClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\LongRunning\\OperationsClient' => __DIR__ . '/../..' . '/google/longrunning/src/ApiCore/LongRunning/OperationsClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\CredentialsWrapperMiddleware' => __DIR__ . '/../..' . '/google/gax/src/Middleware/CredentialsWrapperMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\FixedHeaderMiddleware' => __DIR__ . '/../..' . '/google/gax/src/Middleware/FixedHeaderMiddleware.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\MiddlewareInterface' => __DIR__ . '/../..' . '/google/gax/src/Middleware/MiddlewareInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\OperationsMiddleware' => __DIR__ . '/../..' . '/google/gax/src/Middleware/OperationsMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\OptionsFilterMiddleware' => __DIR__ . '/../..' . '/google/gax/src/Middleware/OptionsFilterMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\PagedMiddleware' => __DIR__ . '/../..' . '/google/gax/src/Middleware/PagedMiddleware.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\RequestAutoPopulationMiddleware' => __DIR__ . '/../..' . '/google/gax/src/Middleware/RequestAutoPopulationMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\ResponseMetadataMiddleware' => __DIR__ . '/../..' . '/google/gax/src/Middleware/ResponseMetadataMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Middleware\\RetryMiddleware' => __DIR__ . '/../..' . '/google/gax/src/Middleware/RetryMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\OperationResponse' => __DIR__ . '/../..' . '/google/gax/src/OperationResponse.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\CallOptions' => __DIR__ . '/../..' . '/google/gax/src/Options/CallOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\ClientOptions' => __DIR__ . '/../..' . '/google/gax/src/Options/ClientOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\OptionsTrait' => __DIR__ . '/../..' . '/google/gax/src/Options/OptionsTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\TransportOptions' => __DIR__ . '/../..' . '/google/gax/src/Options/TransportOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\TransportOptions\\GrpcFallbackTransportOptions' => __DIR__ . '/../..' . '/google/gax/src/Options/TransportOptions/GrpcFallbackTransportOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\TransportOptions\\GrpcTransportOptions' => __DIR__ . '/../..' . '/google/gax/src/Options/TransportOptions/GrpcTransportOptions.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Options\\TransportOptions\\RestTransportOptions' => __DIR__ . '/../..' . '/google/gax/src/Options/TransportOptions/RestTransportOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\Page' => __DIR__ . '/../..' . '/google/gax/src/Page.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\PageStreamingDescriptor' => __DIR__ . '/../..' . '/google/gax/src/PageStreamingDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\PagedListResponse' => __DIR__ . '/../..' . '/google/gax/src/PagedListResponse.php', @@ -668,6 +921,7 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\PollingTrait' => __DIR__ . '/../..' . '/google/gax/src/PollingTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\RequestBuilder' => __DIR__ . '/../..' . '/google/gax/src/RequestBuilder.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\RequestParamsHeaderDescriptor' => __DIR__ . '/../..' . '/google/gax/src/RequestParamsHeaderDescriptor.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ResourceHelperTrait' => __DIR__ . '/../..' . '/google/gax/src/ResourceHelperTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ResourceTemplate\\AbsoluteResourceTemplate' => __DIR__ . '/../..' . '/google/gax/src/ResourceTemplate/AbsoluteResourceTemplate.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ResourceTemplate\\Parser' => __DIR__ . '/../..' . '/google/gax/src/ResourceTemplate/Parser.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\ApiCore\\ResourceTemplate\\RelativeResourceTemplate' => __DIR__ . '/../..' . '/google/gax/src/ResourceTemplate/RelativeResourceTemplate.php', @@ -720,15 +974,18 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Backend' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Backend.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\BackendRule' => __DIR__ . '/../..' . '/google/common-protos/src/Api/BackendRule.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\BackendRule\\PathTranslation' => __DIR__ . '/../..' . '/google/common-protos/src/Api/BackendRule/PathTranslation.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\BackendRule_PathTranslation' => __DIR__ . '/../..' . '/google/common-protos/src/Api/BackendRule_PathTranslation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Billing' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Billing.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Billing\\BillingDestination' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Billing/BillingDestination.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Billing_BillingDestination' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Billing_BillingDestination.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ChangeType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ChangeType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ClientLibraryDestination' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ClientLibraryDestination.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ClientLibraryOrganization' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ClientLibraryOrganization.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ClientLibrarySettings' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ClientLibrarySettings.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\CommonLanguageSettings' => __DIR__ . '/../..' . '/google/common-protos/src/Api/CommonLanguageSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ConfigChange' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ConfigChange.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Context' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Context.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ContextRule' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ContextRule.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Control' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Control.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\CppSettings' => __DIR__ . '/../..' . '/google/common-protos/src/Api/CppSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\CustomHttpPattern' => __DIR__ . '/../..' . '/google/common-protos/src/Api/CustomHttpPattern.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Distribution.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution\\BucketOptions' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Distribution/BucketOptions.php', @@ -737,164 +994,69 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution\\BucketOptions\\Linear' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Distribution/BucketOptions/Linear.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution\\Exemplar' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Distribution/Exemplar.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution\\Range' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Distribution/Range.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution_BucketOptions' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Distribution_BucketOptions.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution_BucketOptions_Explicit' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Distribution_BucketOptions_Explicit.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution_BucketOptions_Exponential' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Distribution_BucketOptions_Exponential.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution_BucketOptions_Linear' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Distribution_BucketOptions_Linear.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution_Exemplar' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Distribution_Exemplar.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Distribution_Range' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Distribution_Range.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Documentation' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Documentation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\DocumentationRule' => __DIR__ . '/../..' . '/google/common-protos/src/Api/DocumentationRule.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\DotnetSettings' => __DIR__ . '/../..' . '/google/common-protos/src/Api/DotnetSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Endpoint' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Endpoint.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\CheckRequest' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/CheckRequest.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\CheckResponse' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/CheckResponse.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\CheckedExpr' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/CheckedExpr.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Constant' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Constant.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Decl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl\\FunctionDecl' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Decl/FunctionDecl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl\\FunctionDecl\\Overload' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Decl/FunctionDecl/Overload.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl\\IdentDecl' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Decl/IdentDecl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl_FunctionDecl' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Decl_FunctionDecl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl_FunctionDecl_Overload' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Decl_FunctionDecl_Overload.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Decl_IdentDecl' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Decl_IdentDecl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\EnumValue' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/EnumValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\ErrorSet' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/ErrorSet.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\EvalRequest' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/EvalRequest.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\EvalResponse' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/EvalResponse.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\EvalState' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/EvalState.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\EvalState\\Result' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/EvalState/Result.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\EvalState_Result' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/EvalState_Result.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Explain' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Explain.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Explain\\ExprStep' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Explain/ExprStep.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Explain_ExprStep' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Explain_ExprStep.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\ExprValue' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/ExprValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\Call' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/Call.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\Comprehension' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/Comprehension.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\CreateList' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateList.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\CreateStruct' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateStruct.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\CreateStruct\\Entry' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/CreateStruct/Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\Ident' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/Ident.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr\\Select' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr/Select.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_Call' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_Call.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_Comprehension' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_Comprehension.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_CreateList' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_CreateList.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_CreateStruct' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_CreateStruct.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_CreateStruct_Entry' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_CreateStruct_Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_Ident' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_Ident.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Expr_Select' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Expr_Select.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\IssueDetails' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/IssueDetails.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\IssueDetails\\Severity' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/IssueDetails/Severity.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\IssueDetails_Severity' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/IssueDetails_Severity.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\ListValue' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/ListValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\MapValue' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/MapValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\MapValue\\Entry' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/MapValue/Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\MapValue_Entry' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/MapValue_Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\ParseRequest' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/ParseRequest.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\ParseResponse' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/ParseResponse.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\ParsedExpr' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/ParsedExpr.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Reference' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Reference.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\SourceInfo' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/SourceInfo.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\SourcePosition' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/SourcePosition.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type\\AbstractType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type/AbstractType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type\\FunctionType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type/FunctionType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type\\ListType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type/ListType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type\\MapType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type/MapType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type\\PrimitiveType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type/PrimitiveType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type\\WellKnownType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type/WellKnownType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type_AbstractType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type_AbstractType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type_FunctionType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type_FunctionType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type_ListType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type_ListType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type_MapType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type_MapType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type_PrimitiveType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type_PrimitiveType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Type_WellKnownType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Type_WellKnownType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\UnknownSet' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/UnknownSet.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1alpha1\\Value' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1alpha1/Value.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Decl' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Decl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\DeclType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/DeclType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\EnumValue' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/EnumValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\ErrorSet' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/ErrorSet.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\EvalState' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/EvalState.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\EvalState\\Result' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/EvalState/Result.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\EvalState_Result' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/EvalState_Result.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\ExprValue' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/ExprValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\Call' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr/Call.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\Comprehension' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr/Comprehension.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\CreateList' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateList.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\CreateStruct' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateStruct.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\CreateStruct\\Entry' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr/CreateStruct/Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\Ident' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr/Ident.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr\\Select' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr/Select.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_Call' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr_Call.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_Comprehension' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr_Comprehension.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_CreateList' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr_CreateList.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_CreateStruct' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr_CreateStruct.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_CreateStruct_Entry' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr_CreateStruct_Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_Ident' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr_Ident.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Expr_Select' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Expr_Select.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\FunctionDecl' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/FunctionDecl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\IdRef' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/IdRef.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\IdentDecl' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/IdentDecl.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\ListValue' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/ListValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Literal' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Literal.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\MapValue' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/MapValue.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\MapValue\\Entry' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/MapValue/Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\MapValue_Entry' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/MapValue_Entry.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\ParsedExpr' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/ParsedExpr.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\SourceInfo' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/SourceInfo.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\SourcePosition' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/SourcePosition.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\UnknownSet' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/UnknownSet.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Expr\\V1beta1\\Value' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Expr/V1beta1/Value.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ErrorReason' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ErrorReason.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\FieldBehavior' => __DIR__ . '/../..' . '/google/common-protos/src/Api/FieldBehavior.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\FieldInfo' => __DIR__ . '/../..' . '/google/common-protos/src/Api/FieldInfo.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\FieldInfo\\Format' => __DIR__ . '/../..' . '/google/common-protos/src/Api/FieldInfo/Format.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\FieldPolicy' => __DIR__ . '/../..' . '/google/common-protos/src/Api/FieldPolicy.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\GoSettings' => __DIR__ . '/../..' . '/google/common-protos/src/Api/GoSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Http' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Http.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\HttpBody' => __DIR__ . '/../..' . '/google/common-protos/src/Api/HttpBody.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\HttpRule' => __DIR__ . '/../..' . '/google/common-protos/src/Api/HttpRule.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\JavaSettings' => __DIR__ . '/../..' . '/google/common-protos/src/Api/JavaSettings.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\JwtLocation' => __DIR__ . '/../..' . '/google/common-protos/src/Api/JwtLocation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\LabelDescriptor' => __DIR__ . '/../..' . '/google/common-protos/src/Api/LabelDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\LabelDescriptor\\ValueType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/LabelDescriptor/ValueType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\LabelDescriptor_ValueType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/LabelDescriptor_ValueType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\LaunchStage' => __DIR__ . '/../..' . '/google/common-protos/src/Api/LaunchStage.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\LogDescriptor' => __DIR__ . '/../..' . '/google/common-protos/src/Api/LogDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Logging' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Logging.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Logging\\LoggingDestination' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Logging/LoggingDestination.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Logging_LoggingDestination' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Logging_LoggingDestination.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MethodPolicy' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MethodPolicy.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MethodSettings' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MethodSettings.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MethodSettings\\LongRunning' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MethodSettings/LongRunning.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Metric' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Metric.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MetricDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor\\MetricDescriptorMetadata' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MetricDescriptor/MetricDescriptorMetadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor\\MetricKind' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MetricDescriptor/MetricKind.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor\\ValueType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MetricDescriptor/ValueType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor_MetricDescriptorMetadata' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MetricDescriptor_MetricDescriptorMetadata.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor_MetricKind' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MetricDescriptor_MetricKind.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricDescriptor_ValueType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MetricDescriptor_ValueType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MetricRule' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MetricRule.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MonitoredResource' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MonitoredResource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MonitoredResourceDescriptor' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MonitoredResourceDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\MonitoredResourceMetadata' => __DIR__ . '/../..' . '/google/common-protos/src/Api/MonitoredResourceMetadata.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Monitoring' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Monitoring.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Monitoring\\MonitoringDestination' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Monitoring/MonitoringDestination.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Monitoring_MonitoringDestination' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Monitoring_MonitoringDestination.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\NodeSettings' => __DIR__ . '/../..' . '/google/common-protos/src/Api/NodeSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\OAuthRequirements' => __DIR__ . '/../..' . '/google/common-protos/src/Api/OAuthRequirements.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Page' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Page.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\PhpSettings' => __DIR__ . '/../..' . '/google/common-protos/src/Api/PhpSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ProjectProperties' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ProjectProperties.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Property' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Property.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Property\\PropertyType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Property/PropertyType.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Property_PropertyType' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Property_PropertyType.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Publishing' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Publishing.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\PythonSettings' => __DIR__ . '/../..' . '/google/common-protos/src/Api/PythonSettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Quota' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Quota.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\QuotaLimit' => __DIR__ . '/../..' . '/google/common-protos/src/Api/QuotaLimit.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ResourceDescriptor' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ResourceDescriptor.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ResourceDescriptor\\History' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ResourceDescriptor/History.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ResourceDescriptor_History' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ResourceDescriptor_History.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ResourceDescriptor\\Style' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ResourceDescriptor/Style.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\ResourceReference' => __DIR__ . '/../..' . '/google/common-protos/src/Api/ResourceReference.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\RoutingParameter' => __DIR__ . '/../..' . '/google/common-protos/src/Api/RoutingParameter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\RoutingRule' => __DIR__ . '/../..' . '/google/common-protos/src/Api/RoutingRule.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\RubySettings' => __DIR__ . '/../..' . '/google/common-protos/src/Api/RubySettings.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Service' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Service.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\SourceInfo' => __DIR__ . '/../..' . '/google/common-protos/src/Api/SourceInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\SystemParameter' => __DIR__ . '/../..' . '/google/common-protos/src/Api/SystemParameter.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\SystemParameterRule' => __DIR__ . '/../..' . '/google/common-protos/src/Api/SystemParameterRule.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\SystemParameters' => __DIR__ . '/../..' . '/google/common-protos/src/Api/SystemParameters.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\TypeReference' => __DIR__ . '/../..' . '/google/common-protos/src/Api/TypeReference.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Usage' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Usage.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\UsageRule' => __DIR__ . '/../..' . '/google/common-protos/src/Api/UsageRule.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\Visibility' => __DIR__ . '/../..' . '/google/common-protos/src/Api/Visibility.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Api\\VisibilityRule' => __DIR__ . '/../..' . '/google/common-protos/src/Api/VisibilityRule.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\AuthHandler\\AuthHandlerFactory' => __DIR__ . '/../..' . '/google/apiclient/src/AuthHandler/AuthHandlerFactory.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\AuthHandler\\Guzzle6AuthHandler' => __DIR__ . '/../..' . '/google/apiclient/src/AuthHandler/Guzzle6AuthHandler.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\AuthHandler\\Guzzle7AuthHandler' => __DIR__ . '/../..' . '/google/apiclient/src/AuthHandler/Guzzle7AuthHandler.php', @@ -907,6 +1069,7 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Cache\\SysVCacheItemPool' => __DIR__ . '/../..' . '/google/auth/src/Cache/SysVCacheItemPool.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Cache\\TypedItem' => __DIR__ . '/../..' . '/google/auth/src/Cache/TypedItem.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\CredentialSource\\AwsNativeSource' => __DIR__ . '/../..' . '/google/auth/src/CredentialSource/AwsNativeSource.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\CredentialSource\\ExecutableSource' => __DIR__ . '/../..' . '/google/auth/src/CredentialSource/ExecutableSource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\CredentialSource\\FileSource' => __DIR__ . '/../..' . '/google/auth/src/CredentialSource/FileSource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\CredentialSource\\UrlSource' => __DIR__ . '/../..' . '/google/auth/src/CredentialSource/UrlSource.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\CredentialsLoader' => __DIR__ . '/../..' . '/google/auth/src/CredentialsLoader.php', @@ -919,6 +1082,8 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Credentials\\ServiceAccountCredentials' => __DIR__ . '/../..' . '/google/auth/src/Credentials/ServiceAccountCredentials.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Credentials\\ServiceAccountJwtAccessCredentials' => __DIR__ . '/../..' . '/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Credentials\\UserRefreshCredentials' => __DIR__ . '/../..' . '/google/auth/src/Credentials/UserRefreshCredentials.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\ExecutableHandler\\ExecutableHandler' => __DIR__ . '/../..' . '/google/auth/src/ExecutableHandler/ExecutableHandler.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\ExecutableHandler\\ExecutableResponseError' => __DIR__ . '/../..' . '/google/auth/src/ExecutableHandler/ExecutableResponseError.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\ExternalAccountCredentialSourceInterface' => __DIR__ . '/../..' . '/google/auth/src/ExternalAccountCredentialSourceInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\FetchAuthTokenCache' => __DIR__ . '/../..' . '/google/auth/src/FetchAuthTokenCache.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\FetchAuthTokenInterface' => __DIR__ . '/../..' . '/google/auth/src/FetchAuthTokenInterface.php', @@ -931,6 +1096,7 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\HttpHandler\\HttpHandlerFactory' => __DIR__ . '/../..' . '/google/auth/src/HttpHandler/HttpHandlerFactory.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Iam' => __DIR__ . '/../..' . '/google/auth/src/Iam.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\IamSignerTrait' => __DIR__ . '/../..' . '/google/auth/src/IamSignerTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\MetricsTrait' => __DIR__ . '/../..' . '/google/auth/src/MetricsTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Middleware\\AuthTokenMiddleware' => __DIR__ . '/../..' . '/google/auth/src/Middleware/AuthTokenMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Middleware\\ProxyAuthTokenMiddleware' => __DIR__ . '/../..' . '/google/auth/src/Middleware/ProxyAuthTokenMiddleware.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware' => __DIR__ . '/../..' . '/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php', @@ -942,13 +1108,14 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\UpdateMetadataInterface' => __DIR__ . '/../..' . '/google/auth/src/UpdateMetadataInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Auth\\UpdateMetadataTrait' => __DIR__ . '/../..' . '/google/auth/src/UpdateMetadataTrait.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Client' => __DIR__ . '/../..' . '/google/apiclient/src/Client.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\AuditConfig' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/AuditConfig.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\AuditConfigDelta' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\AuditConfigDelta\\Action' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta/Action.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\AuditConfigDelta_Action' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta_Action.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\AuditLogConfig' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/AuditLogConfig.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\AuditLogConfig\\LogType' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/AuditLogConfig/LogType.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\Binding' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/Binding.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\BindingDelta' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/BindingDelta.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\BindingDelta\\Action' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/BindingDelta/Action.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\BindingDelta_Action' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/BindingDelta_Action.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\GetIamPolicyRequest' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/GetIamPolicyRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\GetPolicyOptions' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/GetPolicyOptions.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Cloud\\Iam\\V1\\Policy' => __DIR__ . '/../..' . '/google/common-protos/src/Cloud/Iam/V1/Policy.php', @@ -970,12 +1137,17 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Http\\REST' => __DIR__ . '/../..' . '/google/apiclient/src/Http/REST.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Iam\\V1\\Logging\\AuditData' => __DIR__ . '/../..' . '/google/common-protos/src/Iam/V1/Logging/AuditData.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\CancelOperationRequest' => __DIR__ . '/../..' . '/google/longrunning/src/LongRunning/CancelOperationRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Client\\OperationsClient' => __DIR__ . '/../..' . '/google/longrunning/src/LongRunning/Client/OperationsClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\DeleteOperationRequest' => __DIR__ . '/../..' . '/google/longrunning/src/LongRunning/DeleteOperationRequest.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Gapic\\OperationsGapicClient' => __DIR__ . '/../..' . '/google/longrunning/src/LongRunning/Gapic/OperationsGapicClient.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\GetOperationRequest' => __DIR__ . '/../..' . '/google/longrunning/src/LongRunning/GetOperationRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\ListOperationsRequest' => __DIR__ . '/../..' . '/google/longrunning/src/LongRunning/ListOperationsRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\ListOperationsResponse' => __DIR__ . '/../..' . '/google/longrunning/src/LongRunning/ListOperationsResponse.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Operation' => __DIR__ . '/../..' . '/google/longrunning/src/LongRunning/Operation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\OperationInfo' => __DIR__ . '/../..' . '/google/longrunning/src/LongRunning/OperationInfo.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\OperationsClient' => __DIR__ . '/../..' . '/google/longrunning/src/LongRunning/OperationsClient.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\OperationsGrpcClient' => __DIR__ . '/../..' . '/google/longrunning/src/LongRunning/OperationsGrpcClient.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\WaitOperationRequest' => __DIR__ . '/../..' . '/google/longrunning/src/LongRunning/WaitOperationRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Model' => __DIR__ . '/../..' . '/google/apiclient/src/Model.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Any' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Any.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Api' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Api.php', @@ -1091,20 +1263,24 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Value' => __DIR__ . '/../..' . '/google/protobuf/src/Google/Protobuf/Value.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\BadRequest' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/BadRequest.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\BadRequest\\FieldViolation' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/BadRequest/FieldViolation.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\BadRequest_FieldViolation' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/BadRequest_FieldViolation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Code' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/Code.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/Context/AttributeContext.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext\\Api' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/Context/AttributeContext/Api.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext\\Auth' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/Context/AttributeContext/Auth.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext\\Peer' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/Context/AttributeContext/Peer.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext\\Request' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/Context/AttributeContext/Request.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext\\Resource' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/Context/AttributeContext/Resource.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AttributeContext\\Response' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/Context/AttributeContext/Response.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Context\\AuditContext' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/Context/AuditContext.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\DebugInfo' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/DebugInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\ErrorInfo' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/ErrorInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Help' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/Help.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Help\\Link' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/Help/Link.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\Help_Link' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/Help_Link.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\LocalizedMessage' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/LocalizedMessage.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\PreconditionFailure' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/PreconditionFailure.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\PreconditionFailure\\Violation' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/PreconditionFailure/Violation.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\PreconditionFailure_Violation' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/PreconditionFailure_Violation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\QuotaFailure' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/QuotaFailure.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\QuotaFailure\\Violation' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/QuotaFailure/Violation.php', - 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\QuotaFailure_Violation' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/QuotaFailure_Violation.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\RequestInfo' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/RequestInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\ResourceInfo' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/ResourceInfo.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Rpc\\RetryInfo' => __DIR__ . '/../..' . '/google/common-protos/src/Rpc/RetryInfo.php', @@ -1318,12 +1494,16 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Date' => __DIR__ . '/../..' . '/google/common-protos/src/Type/Date.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\DateTime' => __DIR__ . '/../..' . '/google/common-protos/src/Type/DateTime.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\DayOfWeek' => __DIR__ . '/../..' . '/google/common-protos/src/Type/DayOfWeek.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Decimal' => __DIR__ . '/../..' . '/google/common-protos/src/Type/Decimal.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Expr' => __DIR__ . '/../..' . '/google/common-protos/src/Type/Expr.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Fraction' => __DIR__ . '/../..' . '/google/common-protos/src/Type/Fraction.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Interval' => __DIR__ . '/../..' . '/google/common-protos/src/Type/Interval.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\LatLng' => __DIR__ . '/../..' . '/google/common-protos/src/Type/LatLng.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\LocalizedText' => __DIR__ . '/../..' . '/google/common-protos/src/Type/LocalizedText.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Money' => __DIR__ . '/../..' . '/google/common-protos/src/Type/Money.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Month' => __DIR__ . '/../..' . '/google/common-protos/src/Type/Month.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\PhoneNumber' => __DIR__ . '/../..' . '/google/common-protos/src/Type/PhoneNumber.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\PhoneNumber\\ShortCode' => __DIR__ . '/../..' . '/google/common-protos/src/Type/PhoneNumber/ShortCode.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\PostalAddress' => __DIR__ . '/../..' . '/google/common-protos/src/Type/PostalAddress.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\Quaternion' => __DIR__ . '/../..' . '/google/common-protos/src/Type/Quaternion.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Type\\TimeOfDay' => __DIR__ . '/../..' . '/google/common-protos/src/Type/TimeOfDay.php', @@ -1498,6 +1678,148 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Psr\\Http\\Message\\UploadedFileInterface' => __DIR__ . '/../..' . '/psr/http-message/src/UploadedFileInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Psr\\Http\\Message\\UriFactoryInterface' => __DIR__ . '/../..' . '/psr/http-factory/src/UriFactoryInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Psr\\Http\\Message\\UriInterface' => __DIR__ . '/../..' . '/psr/http-message/src/UriInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\AbstractArray' => __DIR__ . '/../..' . '/ramsey/collection/src/AbstractArray.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\AbstractCollection' => __DIR__ . '/../..' . '/ramsey/collection/src/AbstractCollection.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\AbstractSet' => __DIR__ . '/../..' . '/ramsey/collection/src/AbstractSet.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\ArrayInterface' => __DIR__ . '/../..' . '/ramsey/collection/src/ArrayInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Collection' => __DIR__ . '/../..' . '/ramsey/collection/src/Collection.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\CollectionInterface' => __DIR__ . '/../..' . '/ramsey/collection/src/CollectionInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\DoubleEndedQueue' => __DIR__ . '/../..' . '/ramsey/collection/src/DoubleEndedQueue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\DoubleEndedQueueInterface' => __DIR__ . '/../..' . '/ramsey/collection/src/DoubleEndedQueueInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\CollectionException' => __DIR__ . '/../..' . '/ramsey/collection/src/Exception/CollectionException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\CollectionMismatchException' => __DIR__ . '/../..' . '/ramsey/collection/src/Exception/CollectionMismatchException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\InvalidArgumentException' => __DIR__ . '/../..' . '/ramsey/collection/src/Exception/InvalidArgumentException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\InvalidPropertyOrMethod' => __DIR__ . '/../..' . '/ramsey/collection/src/Exception/InvalidPropertyOrMethod.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\NoSuchElementException' => __DIR__ . '/../..' . '/ramsey/collection/src/Exception/NoSuchElementException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\OutOfBoundsException' => __DIR__ . '/../..' . '/ramsey/collection/src/Exception/OutOfBoundsException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Exception\\UnsupportedOperationException' => __DIR__ . '/../..' . '/ramsey/collection/src/Exception/UnsupportedOperationException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\GenericArray' => __DIR__ . '/../..' . '/ramsey/collection/src/GenericArray.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\AbstractMap' => __DIR__ . '/../..' . '/ramsey/collection/src/Map/AbstractMap.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\AbstractTypedMap' => __DIR__ . '/../..' . '/ramsey/collection/src/Map/AbstractTypedMap.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\AssociativeArrayMap' => __DIR__ . '/../..' . '/ramsey/collection/src/Map/AssociativeArrayMap.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\MapInterface' => __DIR__ . '/../..' . '/ramsey/collection/src/Map/MapInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\NamedParameterMap' => __DIR__ . '/../..' . '/ramsey/collection/src/Map/NamedParameterMap.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\TypedMap' => __DIR__ . '/../..' . '/ramsey/collection/src/Map/TypedMap.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Map\\TypedMapInterface' => __DIR__ . '/../..' . '/ramsey/collection/src/Map/TypedMapInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Queue' => __DIR__ . '/../..' . '/ramsey/collection/src/Queue.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\QueueInterface' => __DIR__ . '/../..' . '/ramsey/collection/src/QueueInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Set' => __DIR__ . '/../..' . '/ramsey/collection/src/Set.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Sort' => __DIR__ . '/../..' . '/ramsey/collection/src/Sort.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Tool\\TypeTrait' => __DIR__ . '/../..' . '/ramsey/collection/src/Tool/TypeTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Tool\\ValueExtractorTrait' => __DIR__ . '/../..' . '/ramsey/collection/src/Tool/ValueExtractorTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Collection\\Tool\\ValueToStringTrait' => __DIR__ . '/../..' . '/ramsey/collection/src/Tool/ValueToStringTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\BinaryUtils' => __DIR__ . '/../..' . '/ramsey/uuid/src/BinaryUtils.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Builder\\BuilderCollection' => __DIR__ . '/../..' . '/ramsey/uuid/src/Builder/BuilderCollection.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Builder\\DefaultUuidBuilder' => __DIR__ . '/../..' . '/ramsey/uuid/src/Builder/DefaultUuidBuilder.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Builder\\DegradedUuidBuilder' => __DIR__ . '/../..' . '/ramsey/uuid/src/Builder/DegradedUuidBuilder.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Builder\\FallbackBuilder' => __DIR__ . '/../..' . '/ramsey/uuid/src/Builder/FallbackBuilder.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Builder\\UuidBuilderInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Builder/UuidBuilderInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Codec\\CodecInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Codec/CodecInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Codec\\GuidStringCodec' => __DIR__ . '/../..' . '/ramsey/uuid/src/Codec/GuidStringCodec.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Codec\\OrderedTimeCodec' => __DIR__ . '/../..' . '/ramsey/uuid/src/Codec/OrderedTimeCodec.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Codec\\StringCodec' => __DIR__ . '/../..' . '/ramsey/uuid/src/Codec/StringCodec.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Codec\\TimestampFirstCombCodec' => __DIR__ . '/../..' . '/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Codec\\TimestampLastCombCodec' => __DIR__ . '/../..' . '/ramsey/uuid/src/Codec/TimestampLastCombCodec.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\NumberConverterInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Converter/NumberConverterInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Number\\BigNumberConverter' => __DIR__ . '/../..' . '/ramsey/uuid/src/Converter/Number/BigNumberConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Number\\DegradedNumberConverter' => __DIR__ . '/../..' . '/ramsey/uuid/src/Converter/Number/DegradedNumberConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Number\\GenericNumberConverter' => __DIR__ . '/../..' . '/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\TimeConverterInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Converter/TimeConverterInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Time\\BigNumberTimeConverter' => __DIR__ . '/../..' . '/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Time\\DegradedTimeConverter' => __DIR__ . '/../..' . '/ramsey/uuid/src/Converter/Time/DegradedTimeConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Time\\GenericTimeConverter' => __DIR__ . '/../..' . '/ramsey/uuid/src/Converter/Time/GenericTimeConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Time\\PhpTimeConverter' => __DIR__ . '/../..' . '/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Converter\\Time\\UnixTimeConverter' => __DIR__ . '/../..' . '/ramsey/uuid/src/Converter/Time/UnixTimeConverter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\DegradedUuid' => __DIR__ . '/../..' . '/ramsey/uuid/src/DegradedUuid.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\DeprecatedUuidInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/DeprecatedUuidInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\DeprecatedUuidMethodsTrait' => __DIR__ . '/../..' . '/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\BuilderNotFoundException' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/BuilderNotFoundException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\DateTimeException' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/DateTimeException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\DceSecurityException' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/DceSecurityException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\InvalidArgumentException' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/InvalidArgumentException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\InvalidBytesException' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/InvalidBytesException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\InvalidUuidStringException' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/InvalidUuidStringException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\NameException' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/NameException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\NodeException' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/NodeException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\RandomSourceException' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/RandomSourceException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\TimeSourceException' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/TimeSourceException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\UnableToBuildUuidException' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/UnableToBuildUuidException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\UnsupportedOperationException' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/UnsupportedOperationException.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Exception\\UuidExceptionInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Exception/UuidExceptionInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\FeatureSet' => __DIR__ . '/../..' . '/ramsey/uuid/src/FeatureSet.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Fields\\FieldsInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Fields/FieldsInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Fields\\SerializableFieldsTrait' => __DIR__ . '/../..' . '/ramsey/uuid/src/Fields/SerializableFieldsTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\CombGenerator' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/CombGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\DceSecurityGenerator' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/DceSecurityGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\DceSecurityGeneratorInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/DceSecurityGeneratorInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\DefaultNameGenerator' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/DefaultNameGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\DefaultTimeGenerator' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/DefaultTimeGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\NameGeneratorFactory' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/NameGeneratorFactory.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\NameGeneratorInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/NameGeneratorInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\PeclUuidNameGenerator' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\PeclUuidRandomGenerator' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\PeclUuidTimeGenerator' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\RandomBytesGenerator' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/RandomBytesGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\RandomGeneratorFactory' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/RandomGeneratorFactory.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\RandomGeneratorInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/RandomGeneratorInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\RandomLibAdapter' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/RandomLibAdapter.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\TimeGeneratorFactory' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/TimeGeneratorFactory.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\TimeGeneratorInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/TimeGeneratorInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Generator\\UnixTimeGenerator' => __DIR__ . '/../..' . '/ramsey/uuid/src/Generator/UnixTimeGenerator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Guid\\Fields' => __DIR__ . '/../..' . '/ramsey/uuid/src/Guid/Fields.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Guid\\Guid' => __DIR__ . '/../..' . '/ramsey/uuid/src/Guid/Guid.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Guid\\GuidBuilder' => __DIR__ . '/../..' . '/ramsey/uuid/src/Guid/GuidBuilder.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Lazy\\LazyUuidFromString' => __DIR__ . '/../..' . '/ramsey/uuid/src/Lazy/LazyUuidFromString.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Math\\BrickMathCalculator' => __DIR__ . '/../..' . '/ramsey/uuid/src/Math/BrickMathCalculator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Math\\CalculatorInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Math/CalculatorInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Math\\RoundingMode' => __DIR__ . '/../..' . '/ramsey/uuid/src/Math/RoundingMode.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Nonstandard\\Fields' => __DIR__ . '/../..' . '/ramsey/uuid/src/Nonstandard/Fields.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Nonstandard\\Uuid' => __DIR__ . '/../..' . '/ramsey/uuid/src/Nonstandard/Uuid.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Nonstandard\\UuidBuilder' => __DIR__ . '/../..' . '/ramsey/uuid/src/Nonstandard/UuidBuilder.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Nonstandard\\UuidV6' => __DIR__ . '/../..' . '/ramsey/uuid/src/Nonstandard/UuidV6.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\DceSecurityProviderInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Provider/DceSecurityProviderInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Dce\\SystemDceSecurityProvider' => __DIR__ . '/../..' . '/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\NodeProviderInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Provider/NodeProviderInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Node\\FallbackNodeProvider' => __DIR__ . '/../..' . '/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Node\\NodeProviderCollection' => __DIR__ . '/../..' . '/ramsey/uuid/src/Provider/Node/NodeProviderCollection.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Node\\RandomNodeProvider' => __DIR__ . '/../..' . '/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Node\\StaticNodeProvider' => __DIR__ . '/../..' . '/ramsey/uuid/src/Provider/Node/StaticNodeProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Node\\SystemNodeProvider' => __DIR__ . '/../..' . '/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\TimeProviderInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Provider/TimeProviderInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Time\\FixedTimeProvider' => __DIR__ . '/../..' . '/ramsey/uuid/src/Provider/Time/FixedTimeProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Provider\\Time\\SystemTimeProvider' => __DIR__ . '/../..' . '/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\Fields' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/Fields.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\FieldsInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/FieldsInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\MaxTrait' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/MaxTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\MaxUuid' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/MaxUuid.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\NilTrait' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/NilTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\NilUuid' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/NilUuid.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\TimeTrait' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/TimeTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidBuilder' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/UuidBuilder.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/UuidInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV1' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/UuidV1.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV2' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/UuidV2.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV3' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/UuidV3.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV4' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/UuidV4.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV5' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/UuidV5.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV6' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/UuidV6.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV7' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/UuidV7.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\UuidV8' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/UuidV8.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\Validator' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/Validator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\VariantTrait' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/VariantTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Rfc4122\\VersionTrait' => __DIR__ . '/../..' . '/ramsey/uuid/src/Rfc4122/VersionTrait.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Type\\Decimal' => __DIR__ . '/../..' . '/ramsey/uuid/src/Type/Decimal.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Type\\Hexadecimal' => __DIR__ . '/../..' . '/ramsey/uuid/src/Type/Hexadecimal.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Type\\Integer' => __DIR__ . '/../..' . '/ramsey/uuid/src/Type/Integer.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Type\\NumberInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Type/NumberInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Type\\Time' => __DIR__ . '/../..' . '/ramsey/uuid/src/Type/Time.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Type\\TypeInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Type/TypeInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Uuid' => __DIR__ . '/../..' . '/ramsey/uuid/src/Uuid.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\UuidFactory' => __DIR__ . '/../..' . '/ramsey/uuid/src/UuidFactory.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\UuidFactoryInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/UuidFactoryInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\UuidInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/UuidInterface.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Validator\\GenericValidator' => __DIR__ . '/../..' . '/ramsey/uuid/src/Validator/GenericValidator.php', + 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Ramsey\\Uuid\\Validator\\ValidatorInterface' => __DIR__ . '/../..' . '/ramsey/uuid/src/Validator/ValidatorInterface.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\StackdriverUtil' => __DIR__ . '/../..' . '/google/grpc-gcp/cloudprober/grpc_gpc_prober/stackdriver_util.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\bcmath_compat\\BCMath' => __DIR__ . '/../..' . '/phpseclib/bcmath_compat/src/BCMath.php', 'Matomo\\Dependencies\\GoogleAnalyticsImporter\\phpseclib3\\Common\\Functions\\Strings' => __DIR__ . '/../..' . '/phpseclib/phpseclib/phpseclib/Common/Functions/Strings.php', @@ -1840,7 +2162,7 @@ class ComposerStaticInitefbbfbccb77cf1d72296999539684a3b public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->classMap = ComposerStaticInitefbbfbccb77cf1d72296999539684a3b::$classMap; + $loader->classMap = ComposerStaticInit2724e8b56131e57ae8990860d59ec2c9::$classMap; }, null, ClassLoader::class); }