Compare commits
2 Commits
ef7156fad2
...
efd6f36c37
| Author | SHA1 | Date | |
|---|---|---|---|
| efd6f36c37 | |||
| 93a0f30eec |
5
.vscode/extensions.json
vendored
Executable file
5
.vscode/extensions.json
vendored
Executable file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"github.copilot-chat"
|
||||
]
|
||||
}
|
||||
270
composer.lock
generated
270
composer.lock
generated
@ -8,16 +8,16 @@
|
||||
"packages": [
|
||||
{
|
||||
"name": "firebase/php-jwt",
|
||||
"version": "v6.10.1",
|
||||
"version": "v6.10.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/firebase/php-jwt.git",
|
||||
"reference": "500501c2ce893c824c801da135d02661199f60c5"
|
||||
"reference": "30c19ed0f3264cb660ea496895cfb6ef7ee3653b"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/firebase/php-jwt/zipball/500501c2ce893c824c801da135d02661199f60c5",
|
||||
"reference": "500501c2ce893c824c801da135d02661199f60c5",
|
||||
"url": "https://api.github.com/repos/firebase/php-jwt/zipball/30c19ed0f3264cb660ea496895cfb6ef7ee3653b",
|
||||
"reference": "30c19ed0f3264cb660ea496895cfb6ef7ee3653b",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -65,40 +65,40 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/firebase/php-jwt/issues",
|
||||
"source": "https://github.com/firebase/php-jwt/tree/v6.10.1"
|
||||
"source": "https://github.com/firebase/php-jwt/tree/v6.10.2"
|
||||
},
|
||||
"time": "2024-05-18T18:05:11+00:00"
|
||||
"time": "2024-11-24T11:22:49+00:00"
|
||||
},
|
||||
{
|
||||
"name": "google/apiclient",
|
||||
"version": "v2.16.0",
|
||||
"version": "v2.18.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/googleapis/google-api-php-client.git",
|
||||
"reference": "017400f609c1fb71ab5ad824c50eabd4c3eaf779"
|
||||
"reference": "d8d201ba8a189a3cd7fb34e4da569f2ed440eee7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/017400f609c1fb71ab5ad824c50eabd4c3eaf779",
|
||||
"reference": "017400f609c1fb71ab5ad824c50eabd4c3eaf779",
|
||||
"url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/d8d201ba8a189a3cd7fb34e4da569f2ed440eee7",
|
||||
"reference": "d8d201ba8a189a3cd7fb34e4da569f2ed440eee7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"firebase/php-jwt": "~6.0",
|
||||
"firebase/php-jwt": "^6.0",
|
||||
"google/apiclient-services": "~0.350",
|
||||
"google/auth": "^1.37",
|
||||
"guzzlehttp/guzzle": "^6.5.8||^7.4.5",
|
||||
"guzzlehttp/psr7": "^1.9.1||^2.2.1",
|
||||
"guzzlehttp/guzzle": "^7.4.5",
|
||||
"guzzlehttp/psr7": "^2.6",
|
||||
"monolog/monolog": "^2.9||^3.0",
|
||||
"php": "^7.4|^8.0",
|
||||
"php": "^8.0",
|
||||
"phpseclib/phpseclib": "^3.0.36"
|
||||
},
|
||||
"require-dev": {
|
||||
"cache/filesystem-adapter": "^1.1",
|
||||
"composer/composer": "^1.10.23",
|
||||
"phpcompatibility/php-compatibility": "^9.2",
|
||||
"phpspec/prophecy-phpunit": "^2.0",
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"phpspec/prophecy-phpunit": "^2.1",
|
||||
"phpunit/phpunit": "^9.6",
|
||||
"squizlabs/php_codesniffer": "^3.8",
|
||||
"symfony/css-selector": "~2.1",
|
||||
"symfony/dom-crawler": "~2.1"
|
||||
@ -134,22 +134,22 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/googleapis/google-api-php-client/issues",
|
||||
"source": "https://github.com/googleapis/google-api-php-client/tree/v2.16.0"
|
||||
"source": "https://github.com/googleapis/google-api-php-client/tree/v2.18.2"
|
||||
},
|
||||
"time": "2024-04-24T00:59:47+00:00"
|
||||
"time": "2024-12-16T22:52:40+00:00"
|
||||
},
|
||||
{
|
||||
"name": "google/apiclient-services",
|
||||
"version": "v0.359.0",
|
||||
"version": "v0.389.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/googleapis/google-api-php-client-services.git",
|
||||
"reference": "e975e6d0efa47f7e49280c4ea7fd6a93b6d7e338"
|
||||
"reference": "6274e67ee52b1a416ccee0a4eaf337d1139cdaf8"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/e975e6d0efa47f7e49280c4ea7fd6a93b6d7e338",
|
||||
"reference": "e975e6d0efa47f7e49280c4ea7fd6a93b6d7e338",
|
||||
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/6274e67ee52b1a416ccee0a4eaf337d1139cdaf8",
|
||||
"reference": "6274e67ee52b1a416ccee0a4eaf337d1139cdaf8",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -178,29 +178,29 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/googleapis/google-api-php-client-services/issues",
|
||||
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.359.0"
|
||||
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.389.0"
|
||||
},
|
||||
"time": "2024-06-10T01:02:17+00:00"
|
||||
"time": "2025-01-05T01:04:21+00:00"
|
||||
},
|
||||
{
|
||||
"name": "google/auth",
|
||||
"version": "v1.40.0",
|
||||
"version": "v1.44.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/googleapis/google-auth-library-php.git",
|
||||
"reference": "bff9f2d01677e71a98394b5ac981b99523df5178"
|
||||
"reference": "5670e56307d7a2eac931f677c0e59a4f8abb2e43"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/bff9f2d01677e71a98394b5ac981b99523df5178",
|
||||
"reference": "bff9f2d01677e71a98394b5ac981b99523df5178",
|
||||
"url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/5670e56307d7a2eac931f677c0e59a4f8abb2e43",
|
||||
"reference": "5670e56307d7a2eac931f677c0e59a4f8abb2e43",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"firebase/php-jwt": "^6.0",
|
||||
"guzzlehttp/guzzle": "^7.4.5",
|
||||
"guzzlehttp/psr7": "^2.4.5",
|
||||
"php": "^8.0",
|
||||
"php": "^8.1",
|
||||
"psr/cache": "^2.0||^3.0",
|
||||
"psr/http-message": "^1.1||^2.0"
|
||||
},
|
||||
@ -238,28 +238,28 @@
|
||||
"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.40.0"
|
||||
"source": "https://github.com/googleapis/google-auth-library-php/tree/v1.44.0"
|
||||
},
|
||||
"time": "2024-05-31T19:16:15+00:00"
|
||||
"time": "2024-12-04T15:34:58+00:00"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
@ -270,9 +270,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": {
|
||||
@ -350,7 +350,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": [
|
||||
{
|
||||
@ -366,20 +366,20 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-12-03T20:35:24+00:00"
|
||||
"time": "2024-07-24T11:22:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "guzzlehttp/promises",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.4",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/guzzle/promises.git",
|
||||
"reference": "bbff78d96034045e58e13dedd6ad91b5d1253223"
|
||||
"reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223",
|
||||
"reference": "bbff78d96034045e58e13dedd6ad91b5d1253223",
|
||||
"url": "https://api.github.com/repos/guzzle/promises/zipball/f9c436286ab2892c7db7be8c8da4ef61ccf7b455",
|
||||
"reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -387,7 +387,7 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"bamarni/composer-bin-plugin": "^1.8.2",
|
||||
"phpunit/phpunit": "^8.5.36 || ^9.6.15"
|
||||
"phpunit/phpunit": "^8.5.39 || ^9.6.20"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
@ -433,7 +433,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/guzzle/promises/issues",
|
||||
"source": "https://github.com/guzzle/promises/tree/2.0.2"
|
||||
"source": "https://github.com/guzzle/promises/tree/2.0.4"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -449,20 +449,20 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-12-03T20:19:20+00:00"
|
||||
"time": "2024-10-17T10:06:22+00:00"
|
||||
},
|
||||
{
|
||||
"name": "guzzlehttp/psr7",
|
||||
"version": "2.6.2",
|
||||
"version": "2.7.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/guzzle/psr7.git",
|
||||
"reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221"
|
||||
"reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221",
|
||||
"reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221",
|
||||
"url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201",
|
||||
"reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -477,8 +477,8 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"bamarni/composer-bin-plugin": "^1.8.2",
|
||||
"http-interop/http-factory-tests": "^0.9",
|
||||
"phpunit/phpunit": "^8.5.36 || ^9.6.15"
|
||||
"http-interop/http-factory-tests": "0.9.0",
|
||||
"phpunit/phpunit": "^8.5.39 || ^9.6.20"
|
||||
},
|
||||
"suggest": {
|
||||
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
|
||||
@ -549,7 +549,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/guzzle/psr7/issues",
|
||||
"source": "https://github.com/guzzle/psr7/tree/2.6.2"
|
||||
"source": "https://github.com/guzzle/psr7/tree/2.7.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -565,7 +565,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-12-03T20:05:35+00:00"
|
||||
"time": "2024-07-18T11:15:46+00:00"
|
||||
},
|
||||
{
|
||||
"name": "katzgrau/klogger",
|
||||
@ -623,26 +623,27 @@
|
||||
},
|
||||
{
|
||||
"name": "laravel/serializable-closure",
|
||||
"version": "v1.3.3",
|
||||
"version": "v1.3.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/serializable-closure.git",
|
||||
"reference": "3dbf8a8e914634c48d389c1234552666b3d43754"
|
||||
"reference": "4f48ade902b94323ca3be7646db16209ec76be3d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754",
|
||||
"reference": "3dbf8a8e914634c48d389c1234552666b3d43754",
|
||||
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/4f48ade902b94323ca3be7646db16209ec76be3d",
|
||||
"reference": "4f48ade902b94323ca3be7646db16209ec76be3d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.3|^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"nesbot/carbon": "^2.61",
|
||||
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
|
||||
"nesbot/carbon": "^2.61|^3.0",
|
||||
"pestphp/pest": "^1.21.3",
|
||||
"phpstan/phpstan": "^1.8.2",
|
||||
"symfony/var-dumper": "^5.4.11"
|
||||
"symfony/var-dumper": "^5.4.11|^6.2.0|^7.0.0"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
@ -679,20 +680,20 @@
|
||||
"issues": "https://github.com/laravel/serializable-closure/issues",
|
||||
"source": "https://github.com/laravel/serializable-closure"
|
||||
},
|
||||
"time": "2023-11-08T14:08:06+00:00"
|
||||
"time": "2024-11-14T18:34:49+00:00"
|
||||
},
|
||||
{
|
||||
"name": "monolog/monolog",
|
||||
"version": "2.9.3",
|
||||
"version": "2.10.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Seldaek/monolog.git",
|
||||
"reference": "a30bfe2e142720dfa990d0a7e573997f5d884215"
|
||||
"reference": "5cf826f2991858b54d5c3809bee745560a1042a7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/a30bfe2e142720dfa990d0a7e573997f5d884215",
|
||||
"reference": "a30bfe2e142720dfa990d0a7e573997f5d884215",
|
||||
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/5cf826f2991858b54d5c3809bee745560a1042a7",
|
||||
"reference": "5cf826f2991858b54d5c3809bee745560a1042a7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -769,7 +770,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Seldaek/monolog/issues",
|
||||
"source": "https://github.com/Seldaek/monolog/tree/2.9.3"
|
||||
"source": "https://github.com/Seldaek/monolog/tree/2.10.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -781,28 +782,28 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-04-12T20:52:51+00:00"
|
||||
"time": "2024-11-12T12:43:37+00:00"
|
||||
},
|
||||
{
|
||||
"name": "paragonie/constant_time_encoding",
|
||||
"version": "v2.7.0",
|
||||
"version": "v3.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/paragonie/constant_time_encoding.git",
|
||||
"reference": "52a0d99e69f56b9ec27ace92ba56897fe6993105"
|
||||
"reference": "df1e7fde177501eee2037dd159cf04f5f301a512"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/52a0d99e69f56b9ec27ace92ba56897fe6993105",
|
||||
"reference": "52a0d99e69f56b9ec27ace92ba56897fe6993105",
|
||||
"url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/df1e7fde177501eee2037dd159cf04f5f301a512",
|
||||
"reference": "df1e7fde177501eee2037dd159cf04f5f301a512",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7|^8"
|
||||
"php": "^8"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^6|^7|^8|^9",
|
||||
"vimeo/psalm": "^1|^2|^3|^4"
|
||||
"phpunit/phpunit": "^9",
|
||||
"vimeo/psalm": "^4|^5"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
@ -848,7 +849,7 @@
|
||||
"issues": "https://github.com/paragonie/constant_time_encoding/issues",
|
||||
"source": "https://github.com/paragonie/constant_time_encoding"
|
||||
},
|
||||
"time": "2024-05-08T12:18:48+00:00"
|
||||
"time": "2024-05-08T12:36:18+00:00"
|
||||
},
|
||||
{
|
||||
"name": "paragonie/random_compat",
|
||||
@ -957,16 +958,16 @@
|
||||
},
|
||||
{
|
||||
"name": "php-di/php-di",
|
||||
"version": "7.0.6",
|
||||
"version": "7.0.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/PHP-DI/PHP-DI.git",
|
||||
"reference": "8097948a89f6ec782839b3e958432f427cac37fd"
|
||||
"reference": "e87435e3c0e8f22977adc5af0d5cdcc467e15cf1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/8097948a89f6ec782839b3e958432f427cac37fd",
|
||||
"reference": "8097948a89f6ec782839b3e958432f427cac37fd",
|
||||
"url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/e87435e3c0e8f22977adc5af0d5cdcc467e15cf1",
|
||||
"reference": "e87435e3c0e8f22977adc5af0d5cdcc467e15cf1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1014,7 +1015,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/PHP-DI/PHP-DI/issues",
|
||||
"source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.6"
|
||||
"source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.7"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1026,24 +1027,24 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-11-02T10:04:50+00:00"
|
||||
"time": "2024-07-21T15:55:45+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpseclib/phpseclib",
|
||||
"version": "3.0.37",
|
||||
"version": "3.0.43",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpseclib/phpseclib.git",
|
||||
"reference": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8"
|
||||
"reference": "709ec107af3cb2f385b9617be72af8cf62441d02"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/cfa2013d0f68c062055180dd4328cc8b9d1f30b8",
|
||||
"reference": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8",
|
||||
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/709ec107af3cb2f385b9617be72af8cf62441d02",
|
||||
"reference": "709ec107af3cb2f385b9617be72af8cf62441d02",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"paragonie/constant_time_encoding": "^1|^2",
|
||||
"paragonie/constant_time_encoding": "^1|^2|^3",
|
||||
"paragonie/random_compat": "^1.4|^2.0|^9.99.99",
|
||||
"php": ">=5.6.1"
|
||||
},
|
||||
@ -1120,7 +1121,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/phpseclib/phpseclib/issues",
|
||||
"source": "https://github.com/phpseclib/phpseclib/tree/3.0.37"
|
||||
"source": "https://github.com/phpseclib/phpseclib/tree/3.0.43"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1136,7 +1137,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-03-03T02:14:58+00:00"
|
||||
"time": "2024-12-14T21:12:59+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/cache",
|
||||
@ -1294,20 +1295,20 @@
|
||||
},
|
||||
{
|
||||
"name": "psr/http-factory",
|
||||
"version": "1.0.2",
|
||||
"version": "1.1.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/php-fig/http-factory.git",
|
||||
"reference": "e616d01114759c4c489f93b099585439f795fe35"
|
||||
"reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35",
|
||||
"reference": "e616d01114759c4c489f93b099585439f795fe35",
|
||||
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
|
||||
"reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.0.0",
|
||||
"php": ">=7.1",
|
||||
"psr/http-message": "^1.0 || ^2.0"
|
||||
},
|
||||
"type": "library",
|
||||
@ -1331,7 +1332,7 @@
|
||||
"homepage": "https://www.php-fig.org/"
|
||||
}
|
||||
],
|
||||
"description": "Common interfaces for PSR-7 HTTP message factories",
|
||||
"description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
|
||||
"keywords": [
|
||||
"factory",
|
||||
"http",
|
||||
@ -1343,9 +1344,9 @@
|
||||
"response"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/php-fig/http-factory/tree/1.0.2"
|
||||
"source": "https://github.com/php-fig/http-factory"
|
||||
},
|
||||
"time": "2023-04-10T20:10:41+00:00"
|
||||
"time": "2024-04-15T12:06:14+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/http-message",
|
||||
@ -1555,16 +1556,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/deprecation-contracts",
|
||||
"version": "v3.4.0",
|
||||
"version": "v3.5.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/deprecation-contracts.git",
|
||||
"reference": "7c3aff79d10325257a001fcf92d991f24fc967cf"
|
||||
"reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf",
|
||||
"reference": "7c3aff79d10325257a001fcf92d991f24fc967cf",
|
||||
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
|
||||
"reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1572,12 +1573,12 @@
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.4-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
"url": "https://github.com/symfony/contracts"
|
||||
"url": "https://github.com/symfony/contracts",
|
||||
"name": "symfony/contracts"
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-main": "3.5-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
@ -1602,7 +1603,7 @@
|
||||
"description": "A generic function and convention to trigger deprecation notices",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0"
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1618,20 +1619,20 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-05-23T14:45:45+00:00"
|
||||
"time": "2024-09-25T14:20:29+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/filesystem",
|
||||
"version": "v6.4.6",
|
||||
"version": "v6.4.13",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/filesystem.git",
|
||||
"reference": "9919b5509ada52cc7f66f9a35c86a4a29955c9d3"
|
||||
"reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/filesystem/zipball/9919b5509ada52cc7f66f9a35c86a4a29955c9d3",
|
||||
"reference": "9919b5509ada52cc7f66f9a35c86a4a29955c9d3",
|
||||
"url": "https://api.github.com/repos/symfony/filesystem/zipball/4856c9cf585d5a0313d8d35afd681a526f038dd3",
|
||||
"reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1639,6 +1640,9 @@
|
||||
"symfony/polyfill-ctype": "~1.8",
|
||||
"symfony/polyfill-mbstring": "~1.8"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/process": "^5.4|^6.4|^7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
@ -1665,7 +1669,7 @@
|
||||
"description": "Provides basic utilities for the filesystem",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/filesystem/tree/v6.4.6"
|
||||
"source": "https://github.com/symfony/filesystem/tree/v6.4.13"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1681,24 +1685,24 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-03-21T19:36:20+00:00"
|
||||
"time": "2024-10-25T15:07:50+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-ctype",
|
||||
"version": "v1.29.0",
|
||||
"version": "v1.31.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-ctype.git",
|
||||
"reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4"
|
||||
"reference": "a3cc8b044a6ea513310cbd48ef7333b384945638"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4",
|
||||
"reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638",
|
||||
"reference": "a3cc8b044a6ea513310cbd48ef7333b384945638",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.1"
|
||||
"php": ">=7.2"
|
||||
},
|
||||
"provide": {
|
||||
"ext-ctype": "*"
|
||||
@ -1709,8 +1713,8 @@
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"thanks": {
|
||||
"name": "symfony/polyfill",
|
||||
"url": "https://github.com/symfony/polyfill"
|
||||
"url": "https://github.com/symfony/polyfill",
|
||||
"name": "symfony/polyfill"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
@ -1744,7 +1748,7 @@
|
||||
"portable"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0"
|
||||
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1760,24 +1764,24 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-01-29T20:11:03+00:00"
|
||||
"time": "2024-09-09T11:45:10+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-mbstring",
|
||||
"version": "v1.29.0",
|
||||
"version": "v1.31.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-mbstring.git",
|
||||
"reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
|
||||
"reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
|
||||
"reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341",
|
||||
"reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.1"
|
||||
"php": ">=7.2"
|
||||
},
|
||||
"provide": {
|
||||
"ext-mbstring": "*"
|
||||
@ -1788,8 +1792,8 @@
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"thanks": {
|
||||
"name": "symfony/polyfill",
|
||||
"url": "https://github.com/symfony/polyfill"
|
||||
"url": "https://github.com/symfony/polyfill",
|
||||
"name": "symfony/polyfill"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
@ -1824,7 +1828,7 @@
|
||||
"shim"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0"
|
||||
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1840,7 +1844,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-01-29T20:11:03+00:00"
|
||||
"time": "2024-09-09T11:45:10+00:00"
|
||||
},
|
||||
{
|
||||
"name": "twilio/sdk",
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 427 KiB After Width: | Height: | Size: 24 KiB |
BIN
comprobantes/Comprobante_Edward_Elric.png
Normal file
BIN
comprobantes/Comprobante_Edward_Elric.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 419 KiB |
BIN
comprobantes/Comprobante_Maria_Gricelda_López_Avalos.png
Executable file
BIN
comprobantes/Comprobante_Maria_Gricelda_López_Avalos.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 428 KiB |
1076
data/plugin.log
Normal file → Executable file
1076
data/plugin.log
Normal file → Executable file
File diff suppressed because it is too large
Load Diff
2
main.php
2
main.php
@ -13,7 +13,7 @@ require 'vendor/autoload.php';
|
||||
$plugin->run();
|
||||
|
||||
// cleanup plugin log
|
||||
$container->get(\SmsNotifier\Service\LogCleaner::class)->clean();
|
||||
//$container->get(\SmsNotifier\Service\LogCleaner::class)->clean();
|
||||
} catch (Exception $e) {
|
||||
$logger = new \SmsNotifier\Service\Logger();
|
||||
$logger->error($e->getMessage());
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
"displayName": "SIIP - Procesador de Pagos en línea con Stripe, Sincronizador de CallBell y Envío de Notificaciones y comprobantes vía WhatsApp",
|
||||
"description": "Este plugin sincroniza los clientes del sitema UISP CRM con los contactos de WhatsApp en CallBell, además procesa pagos de Stripe como las trasferencias bancarias y genera referencias de pago vía OXXO, además envía comprobantes de pago en formato imagen PNG vía Whatsapp a los clientes",
|
||||
"url": "https://siip.mx/",
|
||||
"version": "2.5.1",
|
||||
"version": "2.5.3",
|
||||
"unmsVersionCompliancy": {
|
||||
"min": "2.1.0",
|
||||
"max": null
|
||||
|
||||
@ -33,17 +33,22 @@ abstract class AbstractMessageNotifierFacade
|
||||
*/
|
||||
protected $clientPhoneNumber;
|
||||
|
||||
/**
|
||||
* @var PluginNotifierFacade
|
||||
*/
|
||||
private $pluginNotifierFacade;
|
||||
|
||||
|
||||
|
||||
public function __construct(
|
||||
Logger $logger,
|
||||
MessageTextFactory $messageTextFactory,
|
||||
SmsNumberProvider $clientPhoneNumber
|
||||
SmsNumberProvider $clientPhoneNumber,
|
||||
) {
|
||||
$this->logger = $logger;
|
||||
$this->messageTextFactory = $messageTextFactory;
|
||||
$this->clientPhoneNumber = $clientPhoneNumber;
|
||||
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
@ -436,7 +441,8 @@ abstract class AbstractMessageNotifierFacade
|
||||
$this->logger->info("Se proceso los contactos " . PHP_EOL);
|
||||
|
||||
$stripe = new \Stripe\StripeClient($StripeToken); //Instancia de la clase manejadora de clientes para la API de Stripe
|
||||
if (!empty($client_email)) {
|
||||
if ($client_email !== null && $customerStripeID !== null) {
|
||||
$this->logger->info("Se actualizara el correo del cliente en Stripe " . PHP_EOL);
|
||||
$stripe->customers->update($customerStripeID, ['email' => $client_email]); //Actualiza el correo electrónico del cliente en la plataforma de Stripe en su correspondiente "customer Stripe ID"
|
||||
}
|
||||
|
||||
@ -450,7 +456,7 @@ abstract class AbstractMessageNotifierFacade
|
||||
$this->logger->warning('No se encontró un teléfono celular válido para el cliente: ' . $notificationData->clientId);
|
||||
return;
|
||||
} else {
|
||||
|
||||
|
||||
try {
|
||||
//$this->logger->debug(sprintf('llego al llamado de sendwhatsapp con client_id: %s y número de celular: %s', $notificationData->clientId, $clientPhoneNumber));
|
||||
//$this->sendMessage($notificationData, $clientSmsNumber, $messageBody);
|
||||
|
||||
@ -91,7 +91,6 @@ abstract class AbstractOxxoOperationsFacade
|
||||
break;
|
||||
}
|
||||
}
|
||||
$this->logger->info("Se obtuvo el Stripe Customer ID: " . $stripeCustomerId . PHP_EOL);
|
||||
|
||||
// Obtener email del cliente
|
||||
foreach ($arrayClientCRM['contacts'] as $contact) {
|
||||
@ -99,41 +98,32 @@ abstract class AbstractOxxoOperationsFacade
|
||||
$clientEmail = $contact['email'];
|
||||
break;
|
||||
} else {
|
||||
$clientEmail = 'siip8873@gmail.com ';
|
||||
$clientEmail = 'siip8873@gmail.com';
|
||||
}
|
||||
}
|
||||
|
||||
// Validar y procesar el monto proporcionado
|
||||
if ($amount !== null) {
|
||||
// Extraer solo dígitos numéricos del monto
|
||||
$numericAmount = preg_replace('/\D/', '', $amount);
|
||||
|
||||
if (empty($numericAmount)) {
|
||||
$this->logger->error("Cantidad no válida proporcionada: " . $amount . PHP_EOL);
|
||||
return 'cantidadnovalida'; // Retornar error si no se obtiene un valor válido
|
||||
}
|
||||
|
||||
// Convertir el valor limpio a entero
|
||||
$amount = (int) $numericAmount;
|
||||
|
||||
$this->logger->info("Monto proporcionado directamente (procesado): $amount " . PHP_EOL);
|
||||
} else {
|
||||
// Verificar si $amount es null para determinar si es necesario consultar la API
|
||||
if ($amount === null) {
|
||||
try {
|
||||
// Obtener el monto pendiente del cliente en centavos
|
||||
$amount = abs($arrayClientCRM['accountOutstanding']);
|
||||
|
||||
$this->logger->info("Monto pendiente del cliente (procesado): $amount " . PHP_EOL);
|
||||
|
||||
// Obtener el monto pendiente del cliente en centavos
|
||||
$amount = abs($arrayClientCRM['accountOutstanding']) * 100;
|
||||
|
||||
$this->logger->info("Se obtuvieron los datos del cliente y Stripe Customer ID: " . $stripeCustomerId . PHP_EOL);
|
||||
} catch (RequestException $e) {
|
||||
$this->logger->error('Error al obtener el monto pendiente del cliente: ' . $e->getMessage() . PHP_EOL);
|
||||
return 'errorobtenermontopendiente'; // Error al obtener el monto pendiente
|
||||
$this->logger->error("Error al obtener atributos personalizados del cliente: " . $e->getMessage() . PHP_EOL);
|
||||
return 'errorGetClientAttributes';
|
||||
}
|
||||
} else {
|
||||
$this->logger->info("Monto proporcionado directamente: $amount " . PHP_EOL);
|
||||
}
|
||||
|
||||
// Validar que el monto sea mayor a 0 antes de proceder
|
||||
if ($amount > 10) {
|
||||
$amount = intval($amount * 100);
|
||||
try {
|
||||
|
||||
$this->logger->info("Creando referencia en Stripe por: $amount " . PHP_EOL);
|
||||
$paymentIntent = $stripe->paymentIntents->create([
|
||||
'amount' => $amount,
|
||||
'currency' => 'mxn',
|
||||
@ -144,7 +134,8 @@ abstract class AbstractOxxoOperationsFacade
|
||||
'clientId' => $clientID,
|
||||
'createdBy' => 'UCRM',
|
||||
'paymentType' => 'card.one_time',
|
||||
'signedInAdminId' => $currentUserAdmin[0]['id']
|
||||
'signedInAdminId' => $currentUserAdmin[1]['id'],
|
||||
'tipoPago' => 'OXXO'
|
||||
],
|
||||
'payment_method_options' => [
|
||||
'oxxo' => [
|
||||
@ -152,11 +143,7 @@ abstract class AbstractOxxoOperationsFacade
|
||||
],
|
||||
],
|
||||
]);
|
||||
} catch (Exception $e) {
|
||||
$this->logger->error('Error al crear el payment intent: ' . $e->getMessage() . PHP_EOL);
|
||||
return 'errorCreatePaymentIntent'; // Error al crear el payment intent
|
||||
}
|
||||
try {
|
||||
|
||||
$this->logger->info("Creando payment methods del voucher" . PHP_EOL);
|
||||
$paymentMethod = $stripe->paymentMethods->create([
|
||||
'type' => 'oxxo',
|
||||
@ -165,48 +152,40 @@ abstract class AbstractOxxoOperationsFacade
|
||||
'email' => $clientEmail,
|
||||
],
|
||||
]);
|
||||
} catch (Exception $e) {
|
||||
$this->logger->error('Error al crear el payment method: ' . $e->getMessage() . PHP_EOL);
|
||||
return 'errorCreatePaymentMethod'; // Error al crear el payment method
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
$this->logger->info("Confirmando el paymentIntent" . PHP_EOL);
|
||||
$paymentIntent = $stripe->paymentIntents->confirm(
|
||||
$paymentIntent->id,
|
||||
['payment_method' => $paymentMethod->id]
|
||||
);
|
||||
$this->logger->info("Se terminó de confirmar el paymentIntent" . PHP_EOL);
|
||||
if (!empty($paymentIntent->next_action) && isset($paymentIntent->next_action->oxxo_display_details)) {
|
||||
$oxxoPayment = $paymentIntent->next_action->oxxo_display_details;
|
||||
$oxxo_reference = $oxxoPayment->number;
|
||||
$oxxo_receipt_url = $oxxoPayment->hosted_voucher_url;
|
||||
|
||||
$this->logger->info("Referencia OXXO: " . $oxxo_reference . PHP_EOL);
|
||||
$this->logger->info("URL del recibo: " . $oxxo_receipt_url . PHP_EOL);
|
||||
return $oxxo_receipt_url;
|
||||
} else {
|
||||
$this->logger->info("El PaymentIntent no tiene detalles de OXXO disponibles aún. " . PHP_EOL);
|
||||
$this->logger->info("Estado actual del PaymentIntent: " . $paymentIntent->status . PHP_EOL);
|
||||
return 'errorPyamentIntentWithoutOxxoDetails';
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
$this->logger->error('Error al confirmar el payment intent: ' . $e->getMessage() . PHP_EOL);
|
||||
return 'errorConfirmPaymentIntent'; // Error al confirmar el payment intent
|
||||
$this->logger->error('Error al crear el payment intent: ' . $e->getMessage() . PHP_EOL);
|
||||
return 'errorCreatePaymentIntent';
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if (!empty($paymentIntent->next_action) && isset($paymentIntent->next_action->oxxo_display_details)) {
|
||||
$oxxoPayment = $paymentIntent->next_action->oxxo_display_details;
|
||||
$oxxo_reference = $oxxoPayment->number;
|
||||
$oxxo_receipt_url = $oxxoPayment->hosted_voucher_url;
|
||||
|
||||
$this->logger->info("Referencia OXXO: " . $oxxo_reference . PHP_EOL);
|
||||
$this->logger->info("URL del recibo: " . $oxxo_receipt_url . PHP_EOL);
|
||||
return $oxxo_receipt_url;
|
||||
} else {
|
||||
$this->logger->info("El PaymentIntent no tiene detalles de OXXO disponibles aún. " . PHP_EOL);
|
||||
$this->logger->info("Estado actual del PaymentIntent: " . $paymentIntent->status . PHP_EOL);
|
||||
return 'errorPyamentIntentWithoutOxxoDetails';
|
||||
}
|
||||
|
||||
} else {
|
||||
$this->logger->info("Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO. " . PHP_EOL);
|
||||
return 'errorsinadeudo';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// /**
|
||||
// * implement in subclass with the specific messaging provider
|
||||
// * @see TwilioNotifierFacade::sendWhatsApp()
|
||||
|
||||
@ -93,6 +93,7 @@ abstract class AbstractStripeOperationsFacade
|
||||
'createdBy' => 'UCRM',
|
||||
'paymentType' => 'card.one_time',
|
||||
'signedInAdminId' => $currentUserAdmin[0]['id'],
|
||||
'tipoPago' => 'Transferencia Bancaria'
|
||||
],
|
||||
]);
|
||||
|
||||
@ -155,9 +156,27 @@ abstract class AbstractStripeOperationsFacade
|
||||
|
||||
$notification_client_data = $notificationData->clientData; //array con los datos del cliente
|
||||
|
||||
$notification_client_data_export = json_encode($notification_client_data);
|
||||
$this->logger->info("Valor de notification client data export: " . $notification_client_data_export . PHP_EOL);
|
||||
$this->createCustomerStripe($notificationData, $stripe, $baseUri, $UCRMAPIToken);
|
||||
// Asegúrate de trabajar con un objeto PHP
|
||||
$dataObject = json_decode(json_encode($notification_client_data)); // Convertir a JSON y luego decodificar como objeto
|
||||
|
||||
if (!is_object($dataObject)) {
|
||||
$this->logger->info("Error: Los datos del cliente no pudieron ser procesados." . PHP_EOL);
|
||||
return;
|
||||
}
|
||||
|
||||
// Acceder a "isLead" de forma segura
|
||||
$isLead = $dataObject->isLead ?? null;
|
||||
|
||||
$this->logger->info("El valor de 'isLead' es: " . ($isLead ? "true" : "false") . PHP_EOL);
|
||||
|
||||
if ($isLead === true) {
|
||||
$this->logger->info("El cliente es un lead, no se procesará" . PHP_EOL);
|
||||
return;
|
||||
} else {
|
||||
$this->logger->info("El cliente NO es un lead, se procesará" . PHP_EOL);
|
||||
$this->createCustomerStripe($notificationData, $stripe, $baseUri, $UCRMAPIToken);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -260,7 +279,7 @@ abstract class AbstractStripeOperationsFacade
|
||||
],
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
$this->logger->info("CLABE guardada en metadata: " . $customer->metadata->clabe . PHP_EOL);
|
||||
|
||||
|
||||
|
||||
@ -113,7 +113,9 @@ class Plugin
|
||||
}
|
||||
$event_json = json_decode($userInput);
|
||||
$webhook_string = json_encode($event_json);
|
||||
$this->logger->debug("El valor del evento recibio en json: " . $webhook_string . PHP_EOL);
|
||||
$this->logger->debug("El valor de webhook_string: " . $webhook_string . PHP_EOL);
|
||||
|
||||
|
||||
// Maneja el evento del webhook
|
||||
if ($event_json) {
|
||||
switch ($event_json->type) {
|
||||
@ -123,7 +125,7 @@ class Plugin
|
||||
$this->pluginNotifierFacade->createPaymentIntent($event_json);
|
||||
break;
|
||||
case 'inbound_payment.payment_attempt':
|
||||
$this->logger->info('Evento de Pagode OXXO recibido');
|
||||
$this->logger->info('Evento de Pago de OXXO recibido');
|
||||
$this->logger->info('Valor del EventJSON: ' . json_encode($event_json) . PHP_EOL);
|
||||
break;
|
||||
case 'energy.alert':
|
||||
@ -131,26 +133,26 @@ class Plugin
|
||||
break;
|
||||
case 'oxxo.request':
|
||||
$this->logger->info('Evento de referencia de oxxo recibido' . PHP_EOL);
|
||||
|
||||
|
||||
|
||||
// Construir la URL basada en el "client_id"
|
||||
// $url = "https://siip.mx/wp/wp-content/uploads/img/voucher.png";
|
||||
if (!empty($event_json->amount )) {
|
||||
$this->logger->info('Valor del monto: ' . $event_json->amount . PHP_EOL);
|
||||
if (!empty($event_json->amount)) {
|
||||
$this->logger->info('Referencia persnoalizada, Valor del monto: ' . $event_json->amount . PHP_EOL);
|
||||
$intentos = 0;
|
||||
do {
|
||||
if($intentos>1){
|
||||
if ($intentos > 1) {
|
||||
sleep(2);
|
||||
}
|
||||
$url = $this->pluginOxxoNotifierFacade->createOxxoPaymentIntent($event_json, $event_json->amount );
|
||||
$url = $this->pluginOxxoNotifierFacade->createOxxoPaymentIntent($event_json, $event_json->amount);
|
||||
$intentos++;
|
||||
} while (strpos($url, 'https') !== 0 && $intentos < 5);
|
||||
} else {
|
||||
$intentos = 0;
|
||||
do {
|
||||
if($intentos>1){
|
||||
sleep(2);
|
||||
}
|
||||
// if ($intentos > 1) {
|
||||
// sleep(2);
|
||||
// }
|
||||
$url = $this->pluginOxxoNotifierFacade->createOxxoPaymentIntent($event_json);
|
||||
$intentos++;
|
||||
} while (strpos($url, 'https') !== 0 && $intentos < 5);
|
||||
@ -167,7 +169,7 @@ class Plugin
|
||||
'"url": "' . $url . '"' .
|
||||
'}';
|
||||
|
||||
$this->logger->debug('Este ese el reponse que se envía a CallBell: ' . $response);
|
||||
$this->logger->debug('Reponse que se envía a CallBell: ' . $response);
|
||||
// $json_codificado = json_encode($response);
|
||||
// if (json_last_error() !== JSON_ERROR_NONE) {
|
||||
// $this->logger->error('Error en la codificación JSON: ' . json_last_error_msg() . PHP_EOL);
|
||||
@ -309,6 +311,22 @@ class Plugin
|
||||
|
||||
} else if ($notification->eventName === 'client.edit') {
|
||||
$this->logger->debug('Se actualiza a un cliente' . PHP_EOL);
|
||||
// Verificar que existen tanto 'entityBeforeEdit' como 'entity'
|
||||
if (isset($event_json['extraData']['entityBeforeEdit']['isLead']) && isset($event_json['extraData']['entity']['isLead'])) {
|
||||
$isLeadBefore = $event_json['extraData']['entityBeforeEdit']['isLead'];
|
||||
$isLeadAfter = $event_json['extraData']['entity']['isLead'];
|
||||
|
||||
// Comprobar si 'isLead' cambió de true a false
|
||||
if ($isLeadBefore === true && $isLeadAfter === false) {
|
||||
$this->logger->debug('El campo isLead cambió de true a false');
|
||||
$this->pluginNotifierFacade->createStripeClient($notification);
|
||||
} else {
|
||||
$this->logger->debug('No hubo cambio de true a false en el campo isLead');
|
||||
}
|
||||
} else {
|
||||
$this->logger->warning('Los datos entityBeforeEdit o entity no contienen el campo isLead');
|
||||
}
|
||||
|
||||
$this->notifierFacade->verifyClientActionToDo($notification);
|
||||
} else if ($notification->eventName === 'client.add') {
|
||||
$this->logger->debug('Se agregó un nuevo cliente' . PHP_EOL);
|
||||
|
||||
29115
vendor/composer/autoload_classmap.php
vendored
29115
vendor/composer/autoload_classmap.php
vendored
File diff suppressed because it is too large
Load Diff
11
vendor/composer/autoload_real.php
vendored
11
vendor/composer/autoload_real.php
vendored
@ -34,13 +34,22 @@ class ComposerAutoloaderInitd6442a7ec79f2f43fc97d16bdcdd18ee
|
||||
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitd6442a7ec79f2f43fc97d16bdcdd18ee::getInitializer($loader));
|
||||
} else {
|
||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
$loader->set($namespace, $path);
|
||||
}
|
||||
|
||||
$map = require __DIR__ . '/autoload_psr4.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
$loader->setPsr4($namespace, $path);
|
||||
}
|
||||
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
$loader->addClassMap($classMap);
|
||||
}
|
||||
}
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
|
||||
29115
vendor/composer/autoload_static.php
vendored
29115
vendor/composer/autoload_static.php
vendored
File diff suppressed because it is too large
Load Diff
306
vendor/composer/installed.json
vendored
306
vendor/composer/installed.json
vendored
@ -2,17 +2,17 @@
|
||||
"packages": [
|
||||
{
|
||||
"name": "firebase/php-jwt",
|
||||
"version": "v6.10.1",
|
||||
"version_normalized": "6.10.1.0",
|
||||
"version": "v6.10.2",
|
||||
"version_normalized": "6.10.2.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/firebase/php-jwt.git",
|
||||
"reference": "500501c2ce893c824c801da135d02661199f60c5"
|
||||
"reference": "30c19ed0f3264cb660ea496895cfb6ef7ee3653b"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/firebase/php-jwt/zipball/500501c2ce893c824c801da135d02661199f60c5",
|
||||
"reference": "500501c2ce893c824c801da135d02661199f60c5",
|
||||
"url": "https://api.github.com/repos/firebase/php-jwt/zipball/30c19ed0f3264cb660ea496895cfb6ef7ee3653b",
|
||||
"reference": "30c19ed0f3264cb660ea496895cfb6ef7ee3653b",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -30,7 +30,7 @@
|
||||
"ext-sodium": "Support EdDSA (Ed25519) signatures",
|
||||
"paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present"
|
||||
},
|
||||
"time": "2024-05-18T18:05:11+00:00",
|
||||
"time": "2024-11-24T11:22:49+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
@ -62,41 +62,41 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/firebase/php-jwt/issues",
|
||||
"source": "https://github.com/firebase/php-jwt/tree/v6.10.1"
|
||||
"source": "https://github.com/firebase/php-jwt/tree/v6.10.2"
|
||||
},
|
||||
"install-path": "../firebase/php-jwt"
|
||||
},
|
||||
{
|
||||
"name": "google/apiclient",
|
||||
"version": "v2.16.0",
|
||||
"version_normalized": "2.16.0.0",
|
||||
"version": "v2.18.2",
|
||||
"version_normalized": "2.18.2.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/googleapis/google-api-php-client.git",
|
||||
"reference": "017400f609c1fb71ab5ad824c50eabd4c3eaf779"
|
||||
"reference": "d8d201ba8a189a3cd7fb34e4da569f2ed440eee7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/017400f609c1fb71ab5ad824c50eabd4c3eaf779",
|
||||
"reference": "017400f609c1fb71ab5ad824c50eabd4c3eaf779",
|
||||
"url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/d8d201ba8a189a3cd7fb34e4da569f2ed440eee7",
|
||||
"reference": "d8d201ba8a189a3cd7fb34e4da569f2ed440eee7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"firebase/php-jwt": "~6.0",
|
||||
"firebase/php-jwt": "^6.0",
|
||||
"google/apiclient-services": "~0.350",
|
||||
"google/auth": "^1.37",
|
||||
"guzzlehttp/guzzle": "^6.5.8||^7.4.5",
|
||||
"guzzlehttp/psr7": "^1.9.1||^2.2.1",
|
||||
"guzzlehttp/guzzle": "^7.4.5",
|
||||
"guzzlehttp/psr7": "^2.6",
|
||||
"monolog/monolog": "^2.9||^3.0",
|
||||
"php": "^7.4|^8.0",
|
||||
"php": "^8.0",
|
||||
"phpseclib/phpseclib": "^3.0.36"
|
||||
},
|
||||
"require-dev": {
|
||||
"cache/filesystem-adapter": "^1.1",
|
||||
"composer/composer": "^1.10.23",
|
||||
"phpcompatibility/php-compatibility": "^9.2",
|
||||
"phpspec/prophecy-phpunit": "^2.0",
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"phpspec/prophecy-phpunit": "^2.1",
|
||||
"phpunit/phpunit": "^9.6",
|
||||
"squizlabs/php_codesniffer": "^3.8",
|
||||
"symfony/css-selector": "~2.1",
|
||||
"symfony/dom-crawler": "~2.1"
|
||||
@ -104,7 +104,7 @@
|
||||
"suggest": {
|
||||
"cache/filesystem-adapter": "For caching certs and tokens (using Google\\Client::setCache)"
|
||||
},
|
||||
"time": "2024-04-24T00:59:47+00:00",
|
||||
"time": "2024-12-16T22:52:40+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
@ -134,23 +134,23 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/googleapis/google-api-php-client/issues",
|
||||
"source": "https://github.com/googleapis/google-api-php-client/tree/v2.16.0"
|
||||
"source": "https://github.com/googleapis/google-api-php-client/tree/v2.18.2"
|
||||
},
|
||||
"install-path": "../google/apiclient"
|
||||
},
|
||||
{
|
||||
"name": "google/apiclient-services",
|
||||
"version": "v0.359.0",
|
||||
"version_normalized": "0.359.0.0",
|
||||
"version": "v0.389.0",
|
||||
"version_normalized": "0.389.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/googleapis/google-api-php-client-services.git",
|
||||
"reference": "e975e6d0efa47f7e49280c4ea7fd6a93b6d7e338"
|
||||
"reference": "6274e67ee52b1a416ccee0a4eaf337d1139cdaf8"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/e975e6d0efa47f7e49280c4ea7fd6a93b6d7e338",
|
||||
"reference": "e975e6d0efa47f7e49280c4ea7fd6a93b6d7e338",
|
||||
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/6274e67ee52b1a416ccee0a4eaf337d1139cdaf8",
|
||||
"reference": "6274e67ee52b1a416ccee0a4eaf337d1139cdaf8",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -159,7 +159,7 @@
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.6"
|
||||
},
|
||||
"time": "2024-06-10T01:02:17+00:00",
|
||||
"time": "2025-01-05T01:04:21+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
@ -181,30 +181,30 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/googleapis/google-api-php-client-services/issues",
|
||||
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.359.0"
|
||||
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.389.0"
|
||||
},
|
||||
"install-path": "../google/apiclient-services"
|
||||
},
|
||||
{
|
||||
"name": "google/auth",
|
||||
"version": "v1.40.0",
|
||||
"version_normalized": "1.40.0.0",
|
||||
"version": "v1.44.0",
|
||||
"version_normalized": "1.44.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/googleapis/google-auth-library-php.git",
|
||||
"reference": "bff9f2d01677e71a98394b5ac981b99523df5178"
|
||||
"reference": "5670e56307d7a2eac931f677c0e59a4f8abb2e43"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/bff9f2d01677e71a98394b5ac981b99523df5178",
|
||||
"reference": "bff9f2d01677e71a98394b5ac981b99523df5178",
|
||||
"url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/5670e56307d7a2eac931f677c0e59a4f8abb2e43",
|
||||
"reference": "5670e56307d7a2eac931f677c0e59a4f8abb2e43",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"firebase/php-jwt": "^6.0",
|
||||
"guzzlehttp/guzzle": "^7.4.5",
|
||||
"guzzlehttp/psr7": "^2.4.5",
|
||||
"php": "^8.0",
|
||||
"php": "^8.1",
|
||||
"psr/cache": "^2.0||^3.0",
|
||||
"psr/http-message": "^1.1||^2.0"
|
||||
},
|
||||
@ -222,7 +222,7 @@
|
||||
"suggest": {
|
||||
"phpseclib/phpseclib": "May be used in place of OpenSSL for signing strings or for token management. Please require version ^2."
|
||||
},
|
||||
"time": "2024-05-31T19:16:15+00:00",
|
||||
"time": "2024-12-04T15:34:58+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
@ -244,29 +244,29 @@
|
||||
"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.40.0"
|
||||
"source": "https://github.com/googleapis/google-auth-library-php/tree/v1.44.0"
|
||||
},
|
||||
"install-path": "../google/auth"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
@ -277,9 +277,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": {
|
||||
@ -287,7 +287,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": {
|
||||
@ -359,7 +359,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": [
|
||||
{
|
||||
@ -379,17 +379,17 @@
|
||||
},
|
||||
{
|
||||
"name": "guzzlehttp/promises",
|
||||
"version": "2.0.2",
|
||||
"version_normalized": "2.0.2.0",
|
||||
"version": "2.0.4",
|
||||
"version_normalized": "2.0.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/guzzle/promises.git",
|
||||
"reference": "bbff78d96034045e58e13dedd6ad91b5d1253223"
|
||||
"reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223",
|
||||
"reference": "bbff78d96034045e58e13dedd6ad91b5d1253223",
|
||||
"url": "https://api.github.com/repos/guzzle/promises/zipball/f9c436286ab2892c7db7be8c8da4ef61ccf7b455",
|
||||
"reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -397,9 +397,9 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"bamarni/composer-bin-plugin": "^1.8.2",
|
||||
"phpunit/phpunit": "^8.5.36 || ^9.6.15"
|
||||
"phpunit/phpunit": "^8.5.39 || ^9.6.20"
|
||||
},
|
||||
"time": "2023-12-03T20:19:20+00:00",
|
||||
"time": "2024-10-17T10:06:22+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"bamarni-bin": {
|
||||
@ -445,7 +445,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/guzzle/promises/issues",
|
||||
"source": "https://github.com/guzzle/promises/tree/2.0.2"
|
||||
"source": "https://github.com/guzzle/promises/tree/2.0.4"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -465,17 +465,17 @@
|
||||
},
|
||||
{
|
||||
"name": "guzzlehttp/psr7",
|
||||
"version": "2.6.2",
|
||||
"version_normalized": "2.6.2.0",
|
||||
"version": "2.7.0",
|
||||
"version_normalized": "2.7.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/guzzle/psr7.git",
|
||||
"reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221"
|
||||
"reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221",
|
||||
"reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221",
|
||||
"url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201",
|
||||
"reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -490,13 +490,13 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"bamarni/composer-bin-plugin": "^1.8.2",
|
||||
"http-interop/http-factory-tests": "^0.9",
|
||||
"phpunit/phpunit": "^8.5.36 || ^9.6.15"
|
||||
"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-12-03T20:05:35+00:00",
|
||||
"time": "2024-07-18T11:15:46+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"bamarni-bin": {
|
||||
@ -564,7 +564,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/guzzle/psr7/issues",
|
||||
"source": "https://github.com/guzzle/psr7/tree/2.6.2"
|
||||
"source": "https://github.com/guzzle/psr7/tree/2.7.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -641,29 +641,30 @@
|
||||
},
|
||||
{
|
||||
"name": "laravel/serializable-closure",
|
||||
"version": "v1.3.3",
|
||||
"version_normalized": "1.3.3.0",
|
||||
"version": "v1.3.7",
|
||||
"version_normalized": "1.3.7.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/serializable-closure.git",
|
||||
"reference": "3dbf8a8e914634c48d389c1234552666b3d43754"
|
||||
"reference": "4f48ade902b94323ca3be7646db16209ec76be3d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754",
|
||||
"reference": "3dbf8a8e914634c48d389c1234552666b3d43754",
|
||||
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/4f48ade902b94323ca3be7646db16209ec76be3d",
|
||||
"reference": "4f48ade902b94323ca3be7646db16209ec76be3d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.3|^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"nesbot/carbon": "^2.61",
|
||||
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
|
||||
"nesbot/carbon": "^2.61|^3.0",
|
||||
"pestphp/pest": "^1.21.3",
|
||||
"phpstan/phpstan": "^1.8.2",
|
||||
"symfony/var-dumper": "^5.4.11"
|
||||
"symfony/var-dumper": "^5.4.11|^6.2.0|^7.0.0"
|
||||
},
|
||||
"time": "2023-11-08T14:08:06+00:00",
|
||||
"time": "2024-11-14T18:34:49+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
@ -704,17 +705,17 @@
|
||||
},
|
||||
{
|
||||
"name": "monolog/monolog",
|
||||
"version": "2.9.3",
|
||||
"version_normalized": "2.9.3.0",
|
||||
"version": "2.10.0",
|
||||
"version_normalized": "2.10.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Seldaek/monolog.git",
|
||||
"reference": "a30bfe2e142720dfa990d0a7e573997f5d884215"
|
||||
"reference": "5cf826f2991858b54d5c3809bee745560a1042a7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/a30bfe2e142720dfa990d0a7e573997f5d884215",
|
||||
"reference": "a30bfe2e142720dfa990d0a7e573997f5d884215",
|
||||
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/5cf826f2991858b54d5c3809bee745560a1042a7",
|
||||
"reference": "5cf826f2991858b54d5c3809bee745560a1042a7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -760,7 +761,7 @@
|
||||
"rollbar/rollbar": "Allow sending log messages to Rollbar",
|
||||
"ruflin/elastica": "Allow sending log messages to an Elastic Search server"
|
||||
},
|
||||
"time": "2024-04-12T20:52:51+00:00",
|
||||
"time": "2024-11-12T12:43:37+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
@ -793,7 +794,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Seldaek/monolog/issues",
|
||||
"source": "https://github.com/Seldaek/monolog/tree/2.9.3"
|
||||
"source": "https://github.com/Seldaek/monolog/tree/2.10.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -809,27 +810,27 @@
|
||||
},
|
||||
{
|
||||
"name": "paragonie/constant_time_encoding",
|
||||
"version": "v2.7.0",
|
||||
"version_normalized": "2.7.0.0",
|
||||
"version": "v3.0.0",
|
||||
"version_normalized": "3.0.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/paragonie/constant_time_encoding.git",
|
||||
"reference": "52a0d99e69f56b9ec27ace92ba56897fe6993105"
|
||||
"reference": "df1e7fde177501eee2037dd159cf04f5f301a512"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/52a0d99e69f56b9ec27ace92ba56897fe6993105",
|
||||
"reference": "52a0d99e69f56b9ec27ace92ba56897fe6993105",
|
||||
"url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/df1e7fde177501eee2037dd159cf04f5f301a512",
|
||||
"reference": "df1e7fde177501eee2037dd159cf04f5f301a512",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7|^8"
|
||||
"php": "^8"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^6|^7|^8|^9",
|
||||
"vimeo/psalm": "^1|^2|^3|^4"
|
||||
"phpunit/phpunit": "^9",
|
||||
"vimeo/psalm": "^4|^5"
|
||||
},
|
||||
"time": "2024-05-08T12:18:48+00:00",
|
||||
"time": "2024-05-08T12:36:18+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
@ -990,17 +991,17 @@
|
||||
},
|
||||
{
|
||||
"name": "php-di/php-di",
|
||||
"version": "7.0.6",
|
||||
"version_normalized": "7.0.6.0",
|
||||
"version": "7.0.7",
|
||||
"version_normalized": "7.0.7.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/PHP-DI/PHP-DI.git",
|
||||
"reference": "8097948a89f6ec782839b3e958432f427cac37fd"
|
||||
"reference": "e87435e3c0e8f22977adc5af0d5cdcc467e15cf1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/8097948a89f6ec782839b3e958432f427cac37fd",
|
||||
"reference": "8097948a89f6ec782839b3e958432f427cac37fd",
|
||||
"url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/e87435e3c0e8f22977adc5af0d5cdcc467e15cf1",
|
||||
"reference": "e87435e3c0e8f22977adc5af0d5cdcc467e15cf1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1022,7 +1023,7 @@
|
||||
"suggest": {
|
||||
"friendsofphp/proxy-manager-lts": "Install it if you want to use lazy injection (version ^1)"
|
||||
},
|
||||
"time": "2023-11-02T10:04:50+00:00",
|
||||
"time": "2024-07-21T15:55:45+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
@ -1050,7 +1051,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/PHP-DI/PHP-DI/issues",
|
||||
"source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.6"
|
||||
"source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.7"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1066,21 +1067,21 @@
|
||||
},
|
||||
{
|
||||
"name": "phpseclib/phpseclib",
|
||||
"version": "3.0.37",
|
||||
"version_normalized": "3.0.37.0",
|
||||
"version": "3.0.43",
|
||||
"version_normalized": "3.0.43.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpseclib/phpseclib.git",
|
||||
"reference": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8"
|
||||
"reference": "709ec107af3cb2f385b9617be72af8cf62441d02"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/cfa2013d0f68c062055180dd4328cc8b9d1f30b8",
|
||||
"reference": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8",
|
||||
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/709ec107af3cb2f385b9617be72af8cf62441d02",
|
||||
"reference": "709ec107af3cb2f385b9617be72af8cf62441d02",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"paragonie/constant_time_encoding": "^1|^2",
|
||||
"paragonie/constant_time_encoding": "^1|^2|^3",
|
||||
"paragonie/random_compat": "^1.4|^2.0|^9.99.99",
|
||||
"php": ">=5.6.1"
|
||||
},
|
||||
@ -1094,7 +1095,7 @@
|
||||
"ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
|
||||
"ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations."
|
||||
},
|
||||
"time": "2024-03-03T02:14:58+00:00",
|
||||
"time": "2024-12-14T21:12:59+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
@ -1159,7 +1160,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/phpseclib/phpseclib/issues",
|
||||
"source": "https://github.com/phpseclib/phpseclib/tree/3.0.37"
|
||||
"source": "https://github.com/phpseclib/phpseclib/tree/3.0.43"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1342,24 +1343,24 @@
|
||||
},
|
||||
{
|
||||
"name": "psr/http-factory",
|
||||
"version": "1.0.2",
|
||||
"version_normalized": "1.0.2.0",
|
||||
"version": "1.1.0",
|
||||
"version_normalized": "1.1.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/php-fig/http-factory.git",
|
||||
"reference": "e616d01114759c4c489f93b099585439f795fe35"
|
||||
"reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35",
|
||||
"reference": "e616d01114759c4c489f93b099585439f795fe35",
|
||||
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
|
||||
"reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.0.0",
|
||||
"php": ">=7.1",
|
||||
"psr/http-message": "^1.0 || ^2.0"
|
||||
},
|
||||
"time": "2023-04-10T20:10:41+00:00",
|
||||
"time": "2024-04-15T12:06:14+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
@ -1382,7 +1383,7 @@
|
||||
"homepage": "https://www.php-fig.org/"
|
||||
}
|
||||
],
|
||||
"description": "Common interfaces for PSR-7 HTTP message factories",
|
||||
"description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
|
||||
"keywords": [
|
||||
"factory",
|
||||
"http",
|
||||
@ -1394,7 +1395,7 @@
|
||||
"response"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/php-fig/http-factory/tree/1.0.2"
|
||||
"source": "https://github.com/php-fig/http-factory"
|
||||
},
|
||||
"install-path": "../psr/http-factory"
|
||||
},
|
||||
@ -1618,31 +1619,31 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/deprecation-contracts",
|
||||
"version": "v3.4.0",
|
||||
"version_normalized": "3.4.0.0",
|
||||
"version": "v3.5.1",
|
||||
"version_normalized": "3.5.1.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/deprecation-contracts.git",
|
||||
"reference": "7c3aff79d10325257a001fcf92d991f24fc967cf"
|
||||
"reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf",
|
||||
"reference": "7c3aff79d10325257a001fcf92d991f24fc967cf",
|
||||
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
|
||||
"reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.1"
|
||||
},
|
||||
"time": "2023-05-23T14:45:45+00:00",
|
||||
"time": "2024-09-25T14:20:29+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.4-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
"url": "https://github.com/symfony/contracts"
|
||||
"url": "https://github.com/symfony/contracts",
|
||||
"name": "symfony/contracts"
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-main": "3.5-dev"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
@ -1668,7 +1669,7 @@
|
||||
"description": "A generic function and convention to trigger deprecation notices",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0"
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1688,17 +1689,17 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/filesystem",
|
||||
"version": "v6.4.6",
|
||||
"version_normalized": "6.4.6.0",
|
||||
"version": "v6.4.13",
|
||||
"version_normalized": "6.4.13.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/filesystem.git",
|
||||
"reference": "9919b5509ada52cc7f66f9a35c86a4a29955c9d3"
|
||||
"reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/filesystem/zipball/9919b5509ada52cc7f66f9a35c86a4a29955c9d3",
|
||||
"reference": "9919b5509ada52cc7f66f9a35c86a4a29955c9d3",
|
||||
"url": "https://api.github.com/repos/symfony/filesystem/zipball/4856c9cf585d5a0313d8d35afd681a526f038dd3",
|
||||
"reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1706,7 +1707,10 @@
|
||||
"symfony/polyfill-ctype": "~1.8",
|
||||
"symfony/polyfill-mbstring": "~1.8"
|
||||
},
|
||||
"time": "2024-03-21T19:36:20+00:00",
|
||||
"require-dev": {
|
||||
"symfony/process": "^5.4|^6.4|^7.0"
|
||||
},
|
||||
"time": "2024-10-25T15:07:50+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
@ -1734,7 +1738,7 @@
|
||||
"description": "Provides basic utilities for the filesystem",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/filesystem/tree/v6.4.6"
|
||||
"source": "https://github.com/symfony/filesystem/tree/v6.4.13"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1754,21 +1758,21 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-ctype",
|
||||
"version": "v1.29.0",
|
||||
"version_normalized": "1.29.0.0",
|
||||
"version": "v1.31.0",
|
||||
"version_normalized": "1.31.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-ctype.git",
|
||||
"reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4"
|
||||
"reference": "a3cc8b044a6ea513310cbd48ef7333b384945638"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4",
|
||||
"reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638",
|
||||
"reference": "a3cc8b044a6ea513310cbd48ef7333b384945638",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.1"
|
||||
"php": ">=7.2"
|
||||
},
|
||||
"provide": {
|
||||
"ext-ctype": "*"
|
||||
@ -1776,12 +1780,12 @@
|
||||
"suggest": {
|
||||
"ext-ctype": "For best performance"
|
||||
},
|
||||
"time": "2024-01-29T20:11:03+00:00",
|
||||
"time": "2024-09-09T11:45:10+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"thanks": {
|
||||
"name": "symfony/polyfill",
|
||||
"url": "https://github.com/symfony/polyfill"
|
||||
"url": "https://github.com/symfony/polyfill",
|
||||
"name": "symfony/polyfill"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
@ -1816,7 +1820,7 @@
|
||||
"portable"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0"
|
||||
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -1836,21 +1840,21 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-mbstring",
|
||||
"version": "v1.29.0",
|
||||
"version_normalized": "1.29.0.0",
|
||||
"version": "v1.31.0",
|
||||
"version_normalized": "1.31.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-mbstring.git",
|
||||
"reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
|
||||
"reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
|
||||
"reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341",
|
||||
"reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.1"
|
||||
"php": ">=7.2"
|
||||
},
|
||||
"provide": {
|
||||
"ext-mbstring": "*"
|
||||
@ -1858,12 +1862,12 @@
|
||||
"suggest": {
|
||||
"ext-mbstring": "For best performance"
|
||||
},
|
||||
"time": "2024-01-29T20:11:03+00:00",
|
||||
"time": "2024-09-09T11:45:10+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"thanks": {
|
||||
"name": "symfony/polyfill",
|
||||
"url": "https://github.com/symfony/polyfill"
|
||||
"url": "https://github.com/symfony/polyfill",
|
||||
"name": "symfony/polyfill"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
@ -1899,7 +1903,7 @@
|
||||
"shim"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0"
|
||||
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -2036,6 +2040,6 @@
|
||||
"install-path": "../ubnt/ucrm-plugin-sdk"
|
||||
}
|
||||
],
|
||||
"dev": false,
|
||||
"dev": true,
|
||||
"dev-package-names": []
|
||||
}
|
||||
|
||||
116
vendor/composer/installed.php
vendored
116
vendor/composer/installed.php
vendored
@ -1,76 +1,76 @@
|
||||
<?php return array(
|
||||
'root' => array(
|
||||
'pretty_version' => 'dev-main',
|
||||
'version' => 'dev-main',
|
||||
'pretty_version' => 'dev-develop',
|
||||
'version' => 'dev-develop',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../../',
|
||||
'aliases' => array(),
|
||||
'reference' => '9e78efdf2f231a3ca70be5cac52428f77f1700cf',
|
||||
'reference' => '93a0f30eecd7b45a1b45bcb2c4642e734275029d',
|
||||
'name' => 'ucrm-plugins/sms-twilio',
|
||||
'dev' => false,
|
||||
'dev' => true,
|
||||
),
|
||||
'versions' => array(
|
||||
'firebase/php-jwt' => array(
|
||||
'pretty_version' => 'v6.10.1',
|
||||
'version' => '6.10.1.0',
|
||||
'pretty_version' => 'v6.10.2',
|
||||
'version' => '6.10.2.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../firebase/php-jwt',
|
||||
'aliases' => array(),
|
||||
'reference' => '500501c2ce893c824c801da135d02661199f60c5',
|
||||
'reference' => '30c19ed0f3264cb660ea496895cfb6ef7ee3653b',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'google/apiclient' => array(
|
||||
'pretty_version' => 'v2.16.0',
|
||||
'version' => '2.16.0.0',
|
||||
'pretty_version' => 'v2.18.2',
|
||||
'version' => '2.18.2.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../google/apiclient',
|
||||
'aliases' => array(),
|
||||
'reference' => '017400f609c1fb71ab5ad824c50eabd4c3eaf779',
|
||||
'reference' => 'd8d201ba8a189a3cd7fb34e4da569f2ed440eee7',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'google/apiclient-services' => array(
|
||||
'pretty_version' => 'v0.359.0',
|
||||
'version' => '0.359.0.0',
|
||||
'pretty_version' => 'v0.389.0',
|
||||
'version' => '0.389.0.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../google/apiclient-services',
|
||||
'aliases' => array(),
|
||||
'reference' => 'e975e6d0efa47f7e49280c4ea7fd6a93b6d7e338',
|
||||
'reference' => '6274e67ee52b1a416ccee0a4eaf337d1139cdaf8',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'google/auth' => array(
|
||||
'pretty_version' => 'v1.40.0',
|
||||
'version' => '1.40.0.0',
|
||||
'pretty_version' => 'v1.44.0',
|
||||
'version' => '1.44.0.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../google/auth',
|
||||
'aliases' => array(),
|
||||
'reference' => 'bff9f2d01677e71a98394b5ac981b99523df5178',
|
||||
'reference' => '5670e56307d7a2eac931f677c0e59a4f8abb2e43',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'guzzlehttp/guzzle' => array(
|
||||
'pretty_version' => '7.8.1',
|
||||
'version' => '7.8.1.0',
|
||||
'pretty_version' => '7.9.2',
|
||||
'version' => '7.9.2.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../guzzlehttp/guzzle',
|
||||
'aliases' => array(),
|
||||
'reference' => '41042bc7ab002487b876a0683fc8dce04ddce104',
|
||||
'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'guzzlehttp/promises' => array(
|
||||
'pretty_version' => '2.0.2',
|
||||
'version' => '2.0.2.0',
|
||||
'pretty_version' => '2.0.4',
|
||||
'version' => '2.0.4.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../guzzlehttp/promises',
|
||||
'aliases' => array(),
|
||||
'reference' => 'bbff78d96034045e58e13dedd6ad91b5d1253223',
|
||||
'reference' => 'f9c436286ab2892c7db7be8c8da4ef61ccf7b455',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'guzzlehttp/psr7' => array(
|
||||
'pretty_version' => '2.6.2',
|
||||
'version' => '2.6.2.0',
|
||||
'pretty_version' => '2.7.0',
|
||||
'version' => '2.7.0.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../guzzlehttp/psr7',
|
||||
'aliases' => array(),
|
||||
'reference' => '45b30f99ac27b5ca93cb4831afe16285f57b8221',
|
||||
'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'katzgrau/klogger' => array(
|
||||
@ -83,30 +83,30 @@
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'laravel/serializable-closure' => array(
|
||||
'pretty_version' => 'v1.3.3',
|
||||
'version' => '1.3.3.0',
|
||||
'pretty_version' => 'v1.3.7',
|
||||
'version' => '1.3.7.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../laravel/serializable-closure',
|
||||
'aliases' => array(),
|
||||
'reference' => '3dbf8a8e914634c48d389c1234552666b3d43754',
|
||||
'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'monolog/monolog' => array(
|
||||
'pretty_version' => '2.9.3',
|
||||
'version' => '2.9.3.0',
|
||||
'pretty_version' => '2.10.0',
|
||||
'version' => '2.10.0.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../monolog/monolog',
|
||||
'aliases' => array(),
|
||||
'reference' => 'a30bfe2e142720dfa990d0a7e573997f5d884215',
|
||||
'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'paragonie/constant_time_encoding' => array(
|
||||
'pretty_version' => 'v2.7.0',
|
||||
'version' => '2.7.0.0',
|
||||
'pretty_version' => 'v3.0.0',
|
||||
'version' => '3.0.0.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../paragonie/constant_time_encoding',
|
||||
'aliases' => array(),
|
||||
'reference' => '52a0d99e69f56b9ec27ace92ba56897fe6993105',
|
||||
'reference' => 'df1e7fde177501eee2037dd159cf04f5f301a512',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'paragonie/random_compat' => array(
|
||||
@ -128,21 +128,21 @@
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'php-di/php-di' => array(
|
||||
'pretty_version' => '7.0.6',
|
||||
'version' => '7.0.6.0',
|
||||
'pretty_version' => '7.0.7',
|
||||
'version' => '7.0.7.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../php-di/php-di',
|
||||
'aliases' => array(),
|
||||
'reference' => '8097948a89f6ec782839b3e958432f427cac37fd',
|
||||
'reference' => 'e87435e3c0e8f22977adc5af0d5cdcc467e15cf1',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'phpseclib/phpseclib' => array(
|
||||
'pretty_version' => '3.0.37',
|
||||
'version' => '3.0.37.0',
|
||||
'pretty_version' => '3.0.43',
|
||||
'version' => '3.0.43.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../phpseclib/phpseclib',
|
||||
'aliases' => array(),
|
||||
'reference' => 'cfa2013d0f68c062055180dd4328cc8b9d1f30b8',
|
||||
'reference' => '709ec107af3cb2f385b9617be72af8cf62441d02',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'psr/cache' => array(
|
||||
@ -185,12 +185,12 @@
|
||||
),
|
||||
),
|
||||
'psr/http-factory' => array(
|
||||
'pretty_version' => '1.0.2',
|
||||
'version' => '1.0.2.0',
|
||||
'pretty_version' => '1.1.0',
|
||||
'version' => '1.1.0.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../psr/http-factory',
|
||||
'aliases' => array(),
|
||||
'reference' => 'e616d01114759c4c489f93b099585439f795fe35',
|
||||
'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'psr/http-factory-implementation' => array(
|
||||
@ -248,39 +248,39 @@
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'symfony/deprecation-contracts' => array(
|
||||
'pretty_version' => 'v3.4.0',
|
||||
'version' => '3.4.0.0',
|
||||
'pretty_version' => 'v3.5.1',
|
||||
'version' => '3.5.1.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../symfony/deprecation-contracts',
|
||||
'aliases' => array(),
|
||||
'reference' => '7c3aff79d10325257a001fcf92d991f24fc967cf',
|
||||
'reference' => '74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'symfony/filesystem' => array(
|
||||
'pretty_version' => 'v6.4.6',
|
||||
'version' => '6.4.6.0',
|
||||
'pretty_version' => 'v6.4.13',
|
||||
'version' => '6.4.13.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../symfony/filesystem',
|
||||
'aliases' => array(),
|
||||
'reference' => '9919b5509ada52cc7f66f9a35c86a4a29955c9d3',
|
||||
'reference' => '4856c9cf585d5a0313d8d35afd681a526f038dd3',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'symfony/polyfill-ctype' => array(
|
||||
'pretty_version' => 'v1.29.0',
|
||||
'version' => '1.29.0.0',
|
||||
'pretty_version' => 'v1.31.0',
|
||||
'version' => '1.31.0.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../symfony/polyfill-ctype',
|
||||
'aliases' => array(),
|
||||
'reference' => 'ef4d7e442ca910c4764bce785146269b30cb5fc4',
|
||||
'reference' => 'a3cc8b044a6ea513310cbd48ef7333b384945638',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'symfony/polyfill-mbstring' => array(
|
||||
'pretty_version' => 'v1.29.0',
|
||||
'version' => '1.29.0.0',
|
||||
'pretty_version' => 'v1.31.0',
|
||||
'version' => '1.31.0.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../symfony/polyfill-mbstring',
|
||||
'aliases' => array(),
|
||||
'reference' => '9773676c8a1bb1f8d4340a62efe641cf76eda7ec',
|
||||
'reference' => '85181ba99b2345b0ef10ce42ecac37612d9fd341',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'twilio/sdk' => array(
|
||||
@ -302,12 +302,12 @@
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'ucrm-plugins/sms-twilio' => array(
|
||||
'pretty_version' => 'dev-main',
|
||||
'version' => 'dev-main',
|
||||
'pretty_version' => 'dev-develop',
|
||||
'version' => 'dev-develop',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../../',
|
||||
'aliases' => array(),
|
||||
'reference' => '9e78efdf2f231a3ca70be5cac52428f77f1700cf',
|
||||
'reference' => '93a0f30eecd7b45a1b45bcb2c4642e734275029d',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
),
|
||||
|
||||
8
vendor/firebase/php-jwt/CHANGELOG.md
vendored
8
vendor/firebase/php-jwt/CHANGELOG.md
vendored
@ -1,5 +1,13 @@
|
||||
# Changelog
|
||||
|
||||
## [6.10.2](https://github.com/firebase/php-jwt/compare/v6.10.1...v6.10.2) (2024-11-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Mitigate PHP8.4 deprecation warnings ([#570](https://github.com/firebase/php-jwt/issues/570)) ([76808fa](https://github.com/firebase/php-jwt/commit/76808fa227f3811aa5cdb3bf81233714b799a5b5))
|
||||
* support php 8.4 ([#583](https://github.com/firebase/php-jwt/issues/583)) ([e3d68b0](https://github.com/firebase/php-jwt/commit/e3d68b044421339443c74199edd020e03fb1887e))
|
||||
|
||||
## [6.10.1](https://github.com/firebase/php-jwt/compare/v6.10.0...v6.10.1) (2024-05-18)
|
||||
|
||||
|
||||
|
||||
6
vendor/firebase/php-jwt/src/CachedKeySet.php
vendored
6
vendor/firebase/php-jwt/src/CachedKeySet.php
vendored
@ -80,9 +80,9 @@ class CachedKeySet implements ArrayAccess
|
||||
ClientInterface $httpClient,
|
||||
RequestFactoryInterface $httpFactory,
|
||||
CacheItemPoolInterface $cache,
|
||||
int $expiresAfter = null,
|
||||
?int $expiresAfter = null,
|
||||
bool $rateLimit = false,
|
||||
string $defaultAlg = null
|
||||
?string $defaultAlg = null
|
||||
) {
|
||||
$this->jwksUri = $jwksUri;
|
||||
$this->httpClient = $httpClient;
|
||||
@ -180,7 +180,7 @@ class CachedKeySet implements ArrayAccess
|
||||
$jwksResponse = $this->httpClient->sendRequest($request);
|
||||
if ($jwksResponse->getStatusCode() !== 200) {
|
||||
throw new UnexpectedValueException(
|
||||
sprintf('HTTP Error: %d %s for URI "%s"',
|
||||
\sprintf('HTTP Error: %d %s for URI "%s"',
|
||||
$jwksResponse->getStatusCode(),
|
||||
$jwksResponse->getReasonPhrase(),
|
||||
$this->jwksUri,
|
||||
|
||||
6
vendor/firebase/php-jwt/src/JWK.php
vendored
6
vendor/firebase/php-jwt/src/JWK.php
vendored
@ -52,7 +52,7 @@ class JWK
|
||||
*
|
||||
* @uses parseKey
|
||||
*/
|
||||
public static function parseKeySet(array $jwks, string $defaultAlg = null): array
|
||||
public static function parseKeySet(array $jwks, ?string $defaultAlg = null): array
|
||||
{
|
||||
$keys = [];
|
||||
|
||||
@ -93,7 +93,7 @@ class JWK
|
||||
*
|
||||
* @uses createPemFromModulusAndExponent
|
||||
*/
|
||||
public static function parseKey(array $jwk, string $defaultAlg = null): ?Key
|
||||
public static function parseKey(array $jwk, ?string $defaultAlg = null): ?Key
|
||||
{
|
||||
if (empty($jwk)) {
|
||||
throw new InvalidArgumentException('JWK must not be empty');
|
||||
@ -212,7 +212,7 @@ class JWK
|
||||
)
|
||||
);
|
||||
|
||||
return sprintf(
|
||||
return \sprintf(
|
||||
"-----BEGIN PUBLIC KEY-----\n%s\n-----END PUBLIC KEY-----\n",
|
||||
wordwrap(base64_encode($pem), 64, "\n", true)
|
||||
);
|
||||
|
||||
15
vendor/firebase/php-jwt/src/JWT.php
vendored
15
vendor/firebase/php-jwt/src/JWT.php
vendored
@ -96,7 +96,7 @@ class JWT
|
||||
public static function decode(
|
||||
string $jwt,
|
||||
$keyOrKeyArray,
|
||||
stdClass &$headers = null
|
||||
?stdClass &$headers = null
|
||||
): stdClass {
|
||||
// Validate JWT
|
||||
$timestamp = \is_null(static::$timestamp) ? \time() : static::$timestamp;
|
||||
@ -200,11 +200,11 @@ class JWT
|
||||
array $payload,
|
||||
$key,
|
||||
string $alg,
|
||||
string $keyId = null,
|
||||
array $head = null
|
||||
?string $keyId = null,
|
||||
?array $head = null
|
||||
): string {
|
||||
$header = ['typ' => 'JWT'];
|
||||
if (isset($head) && \is_array($head)) {
|
||||
if (isset($head)) {
|
||||
$header = \array_merge($header, $head);
|
||||
}
|
||||
$header['alg'] = $alg;
|
||||
@ -387,12 +387,7 @@ class JWT
|
||||
*/
|
||||
public static function jsonEncode(array $input): string
|
||||
{
|
||||
if (PHP_VERSION_ID >= 50400) {
|
||||
$json = \json_encode($input, \JSON_UNESCAPED_SLASHES);
|
||||
} else {
|
||||
// PHP 5.3 only
|
||||
$json = \json_encode($input);
|
||||
}
|
||||
$json = \json_encode($input, \JSON_UNESCAPED_SLASHES);
|
||||
if ($errno = \json_last_error()) {
|
||||
self::handleJsonError($errno);
|
||||
} elseif ($json === 'null') {
|
||||
|
||||
4
vendor/google/apiclient-services/README.md
vendored
4
vendor/google/apiclient-services/README.md
vendored
@ -1,6 +1,8 @@
|
||||
Google PHP API Client Services
|
||||
==============================
|
||||
|
||||
[Reference Documentation](https://googleapis.github.io/google-api-php-client-services)
|
||||
|
||||
**NOTE**: please check to see if the package you'd like to install is available in our
|
||||
list of [Google cloud packages](https://cloud.google.com/php/docs/reference) first, as
|
||||
these are the recommended libraries.
|
||||
@ -12,6 +14,6 @@ these are the recommended libraries.
|
||||
## Usage
|
||||
|
||||
This library is automatically updated daily with new API changes, and tagged weekly.
|
||||
It is installed as part of the
|
||||
It is installed as part of the
|
||||
[Google API PHP Client](https://github.com/googleapis/google-api-php-client/releases)
|
||||
library via Composer, which will pull down the most recent tag.
|
||||
|
||||
@ -268,6 +268,16 @@ class AIPlatformNotebooks extends \Google\Service
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'restore' => [
|
||||
'path' => 'v2/{+name}:restore',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'rollback' => [
|
||||
'path' => 'v2/{+name}:rollback',
|
||||
'httpMethod' => 'POST',
|
||||
|
||||
@ -46,6 +46,10 @@ class GceSetup extends \Google\Collection
|
||||
* @var string[]
|
||||
*/
|
||||
public $metadata;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $minCpuPlatform;
|
||||
protected $networkInterfacesType = NetworkInterface::class;
|
||||
protected $networkInterfacesDataType = 'array';
|
||||
protected $serviceAccountsType = ServiceAccount::class;
|
||||
@ -185,6 +189,20 @@ class GceSetup extends \Google\Collection
|
||||
{
|
||||
return $this->metadata;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setMinCpuPlatform($minCpuPlatform)
|
||||
{
|
||||
$this->minCpuPlatform = $minCpuPlatform;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getMinCpuPlatform()
|
||||
{
|
||||
return $this->minCpuPlatform;
|
||||
}
|
||||
/**
|
||||
* @param NetworkInterface[]
|
||||
*/
|
||||
|
||||
@ -32,6 +32,10 @@ class Instance extends \Google\Collection
|
||||
* @var bool
|
||||
*/
|
||||
public $disableProxyAccess;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $enableThirdPartyIdentity;
|
||||
protected $gceSetupType = GceSetup::class;
|
||||
protected $gceSetupDataType = '';
|
||||
/**
|
||||
@ -127,6 +131,20 @@ class Instance extends \Google\Collection
|
||||
{
|
||||
return $this->disableProxyAccess;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setEnableThirdPartyIdentity($enableThirdPartyIdentity)
|
||||
{
|
||||
$this->enableThirdPartyIdentity = $enableThirdPartyIdentity;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getEnableThirdPartyIdentity()
|
||||
{
|
||||
return $this->enableThirdPartyIdentity;
|
||||
}
|
||||
/**
|
||||
* @param GceSetup
|
||||
*/
|
||||
|
||||
@ -27,6 +27,7 @@ use Google\Service\AIPlatformNotebooks\Policy;
|
||||
use Google\Service\AIPlatformNotebooks\ReportInstanceInfoSystemRequest;
|
||||
use Google\Service\AIPlatformNotebooks\ResetInstanceRequest;
|
||||
use Google\Service\AIPlatformNotebooks\ResizeDiskRequest;
|
||||
use Google\Service\AIPlatformNotebooks\RestoreInstanceRequest;
|
||||
use Google\Service\AIPlatformNotebooks\RollbackInstanceRequest;
|
||||
use Google\Service\AIPlatformNotebooks\SetIamPolicyRequest;
|
||||
use Google\Service\AIPlatformNotebooks\StartInstanceRequest;
|
||||
@ -274,6 +275,22 @@ class ProjectsLocationsInstances extends \Google\Service\Resource
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('resizeDisk', [$params], Operation::class);
|
||||
}
|
||||
/**
|
||||
* RestoreInstance restores an Instance from a BackupSource. (instances.restore)
|
||||
*
|
||||
* @param string $name Required. Format:
|
||||
* `projects/{project_id}/locations/{location}/instances/{instance_id}`
|
||||
* @param RestoreInstanceRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Operation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function restore($name, RestoreInstanceRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('restore', [$params], Operation::class);
|
||||
}
|
||||
/**
|
||||
* Rollbacks a notebook instance to the previous version. (instances.rollback)
|
||||
*
|
||||
|
||||
@ -40,7 +40,7 @@ class ProjectsLocationsOperations extends \Google\Service\Resource
|
||||
* 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 value with a google.rpc.Status.code of 1, corresponding to
|
||||
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
|
||||
* `Code.CANCELLED`. (operations.cancel)
|
||||
*
|
||||
* @param string $name The name of the operation resource to be cancelled.
|
||||
|
||||
42
vendor/google/apiclient-services/src/AIPlatformNotebooks/RestoreInstanceRequest.php
vendored
Executable file
42
vendor/google/apiclient-services/src/AIPlatformNotebooks/RestoreInstanceRequest.php
vendored
Executable file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AIPlatformNotebooks;
|
||||
|
||||
class RestoreInstanceRequest extends \Google\Model
|
||||
{
|
||||
protected $snapshotType = Snapshot::class;
|
||||
protected $snapshotDataType = '';
|
||||
|
||||
/**
|
||||
* @param Snapshot
|
||||
*/
|
||||
public function setSnapshot(Snapshot $snapshot)
|
||||
{
|
||||
$this->snapshot = $snapshot;
|
||||
}
|
||||
/**
|
||||
* @return Snapshot
|
||||
*/
|
||||
public function getSnapshot()
|
||||
{
|
||||
return $this->snapshot;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(RestoreInstanceRequest::class, 'Google_Service_AIPlatformNotebooks_RestoreInstanceRequest');
|
||||
62
vendor/google/apiclient-services/src/AIPlatformNotebooks/Snapshot.php
vendored
Executable file
62
vendor/google/apiclient-services/src/AIPlatformNotebooks/Snapshot.php
vendored
Executable file
@ -0,0 +1,62 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AIPlatformNotebooks;
|
||||
|
||||
class Snapshot extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $projectId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $snapshotId;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setProjectId($projectId)
|
||||
{
|
||||
$this->projectId = $projectId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getProjectId()
|
||||
{
|
||||
return $this->projectId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSnapshotId($snapshotId)
|
||||
{
|
||||
$this->snapshotId = $snapshotId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSnapshotId()
|
||||
{
|
||||
return $this->snapshotId;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(Snapshot::class, 'Google_Service_AIPlatformNotebooks_Snapshot');
|
||||
431
vendor/google/apiclient-services/src/APIManagement.php
vendored
Executable file
431
vendor/google/apiclient-services/src/APIManagement.php
vendored
Executable file
@ -0,0 +1,431 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service;
|
||||
|
||||
use Google\Client;
|
||||
|
||||
/**
|
||||
* Service definition for APIManagement (v1alpha).
|
||||
*
|
||||
* <p>
|
||||
* Enables users to discover shadow APIs in existing Google Cloud
|
||||
* infrastructure.</p>
|
||||
*
|
||||
* <p>
|
||||
* For more information about this service, see the API
|
||||
* <a href="https://cloud.google.com/apigee/" target="_blank">Documentation</a>
|
||||
* </p>
|
||||
*
|
||||
* @author Google, Inc.
|
||||
*/
|
||||
class APIManagement extends \Google\Service
|
||||
{
|
||||
/** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
|
||||
const CLOUD_PLATFORM =
|
||||
"https://www.googleapis.com/auth/cloud-platform";
|
||||
|
||||
public $projects_locations;
|
||||
public $projects_locations_observationJobs;
|
||||
public $projects_locations_observationJobs_apiObservations;
|
||||
public $projects_locations_observationJobs_apiObservations_apiOperations;
|
||||
public $projects_locations_observationSources;
|
||||
public $projects_locations_operations;
|
||||
public $rootUrlTemplate;
|
||||
|
||||
/**
|
||||
* Constructs the internal representation of the APIManagement service.
|
||||
*
|
||||
* @param Client|array $clientOrConfig The client used to deliver requests, or a
|
||||
* config array to pass to a new Client instance.
|
||||
* @param string $rootUrl The root URL used for requests to the service.
|
||||
*/
|
||||
public function __construct($clientOrConfig = [], $rootUrl = null)
|
||||
{
|
||||
parent::__construct($clientOrConfig);
|
||||
$this->rootUrl = $rootUrl ?: 'https://apim.googleapis.com/';
|
||||
$this->rootUrlTemplate = $rootUrl ?: 'https://apim.UNIVERSE_DOMAIN/';
|
||||
$this->servicePath = '';
|
||||
$this->batchPath = 'batch';
|
||||
$this->version = 'v1alpha';
|
||||
$this->serviceName = 'apim';
|
||||
|
||||
$this->projects_locations = new APIManagement\Resource\ProjectsLocations(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'locations',
|
||||
[
|
||||
'methods' => [
|
||||
'get' => [
|
||||
'path' => 'v1alpha/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'list' => [
|
||||
'path' => 'v1alpha/{+name}/locations',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'filter' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
'pageSize' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
'pageToken' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],'listApiObservationTags' => [
|
||||
'path' => 'v1alpha/{+parent}:listApiObservationTags',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'pageSize' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
'pageToken' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
$this->projects_locations_observationJobs = new APIManagement\Resource\ProjectsLocationsObservationJobs(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'observationJobs',
|
||||
[
|
||||
'methods' => [
|
||||
'create' => [
|
||||
'path' => 'v1alpha/{+parent}/observationJobs',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'observationJobId' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
'requestId' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],'delete' => [
|
||||
'path' => 'v1alpha/{+name}',
|
||||
'httpMethod' => 'DELETE',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'disable' => [
|
||||
'path' => 'v1alpha/{+name}:disable',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'enable' => [
|
||||
'path' => 'v1alpha/{+name}:enable',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'get' => [
|
||||
'path' => 'v1alpha/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'list' => [
|
||||
'path' => 'v1alpha/{+parent}/observationJobs',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'pageSize' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
'pageToken' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
$this->projects_locations_observationJobs_apiObservations = new APIManagement\Resource\ProjectsLocationsObservationJobsApiObservations(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'apiObservations',
|
||||
[
|
||||
'methods' => [
|
||||
'batchEditTags' => [
|
||||
'path' => 'v1alpha/{+parent}/apiObservations:batchEditTags',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'get' => [
|
||||
'path' => 'v1alpha/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'list' => [
|
||||
'path' => 'v1alpha/{+parent}/apiObservations',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'pageSize' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
'pageToken' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
$this->projects_locations_observationJobs_apiObservations_apiOperations = new APIManagement\Resource\ProjectsLocationsObservationJobsApiObservationsApiOperations(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'apiOperations',
|
||||
[
|
||||
'methods' => [
|
||||
'get' => [
|
||||
'path' => 'v1alpha/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'list' => [
|
||||
'path' => 'v1alpha/{+parent}/apiOperations',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'pageSize' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
'pageToken' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
$this->projects_locations_observationSources = new APIManagement\Resource\ProjectsLocationsObservationSources(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'observationSources',
|
||||
[
|
||||
'methods' => [
|
||||
'create' => [
|
||||
'path' => 'v1alpha/{+parent}/observationSources',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'observationSourceId' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
'requestId' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],'delete' => [
|
||||
'path' => 'v1alpha/{+name}',
|
||||
'httpMethod' => 'DELETE',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'get' => [
|
||||
'path' => 'v1alpha/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'list' => [
|
||||
'path' => 'v1alpha/{+parent}/observationSources',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'pageSize' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
'pageToken' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
$this->projects_locations_operations = new APIManagement\Resource\ProjectsLocationsOperations(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'operations',
|
||||
[
|
||||
'methods' => [
|
||||
'cancel' => [
|
||||
'path' => 'v1alpha/{+name}:cancel',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'delete' => [
|
||||
'path' => 'v1alpha/{+name}',
|
||||
'httpMethod' => 'DELETE',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'get' => [
|
||||
'path' => 'v1alpha/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'list' => [
|
||||
'path' => 'v1alpha/{+name}/operations',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'filter' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
'pageSize' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
'pageToken' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(APIManagement::class, 'Google_Service_APIManagement');
|
||||
207
vendor/google/apiclient-services/src/APIManagement/ApiObservation.php
vendored
Executable file
207
vendor/google/apiclient-services/src/APIManagement/ApiObservation.php
vendored
Executable file
@ -0,0 +1,207 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class ApiObservation extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'tags';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $apiOperationCount;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $createTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $hostname;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $lastEventDetectedTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $serverIps;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $sourceLocations;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $style;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $tags;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updateTime;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setApiOperationCount($apiOperationCount)
|
||||
{
|
||||
$this->apiOperationCount = $apiOperationCount;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getApiOperationCount()
|
||||
{
|
||||
return $this->apiOperationCount;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreateTime($createTime)
|
||||
{
|
||||
$this->createTime = $createTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreateTime()
|
||||
{
|
||||
return $this->createTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHostname($hostname)
|
||||
{
|
||||
$this->hostname = $hostname;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHostname()
|
||||
{
|
||||
return $this->hostname;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setLastEventDetectedTime($lastEventDetectedTime)
|
||||
{
|
||||
$this->lastEventDetectedTime = $lastEventDetectedTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLastEventDetectedTime()
|
||||
{
|
||||
return $this->lastEventDetectedTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setServerIps($serverIps)
|
||||
{
|
||||
$this->serverIps = $serverIps;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getServerIps()
|
||||
{
|
||||
return $this->serverIps;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setSourceLocations($sourceLocations)
|
||||
{
|
||||
$this->sourceLocations = $sourceLocations;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getSourceLocations()
|
||||
{
|
||||
return $this->sourceLocations;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setStyle($style)
|
||||
{
|
||||
$this->style = $style;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getStyle()
|
||||
{
|
||||
return $this->style;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setTags($tags)
|
||||
{
|
||||
$this->tags = $tags;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getTags()
|
||||
{
|
||||
return $this->tags;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdateTime($updateTime)
|
||||
{
|
||||
$this->updateTime = $updateTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdateTime()
|
||||
{
|
||||
return $this->updateTime;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ApiObservation::class, 'Google_Service_APIManagement_ApiObservation');
|
||||
114
vendor/google/apiclient-services/src/APIManagement/ApiOperation.php
vendored
Executable file
114
vendor/google/apiclient-services/src/APIManagement/ApiOperation.php
vendored
Executable file
@ -0,0 +1,114 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class ApiOperation extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $count;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $firstSeenTime;
|
||||
protected $httpOperationType = HttpOperation::class;
|
||||
protected $httpOperationDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $lastSeenTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCount($count)
|
||||
{
|
||||
$this->count = $count;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCount()
|
||||
{
|
||||
return $this->count;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setFirstSeenTime($firstSeenTime)
|
||||
{
|
||||
$this->firstSeenTime = $firstSeenTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFirstSeenTime()
|
||||
{
|
||||
return $this->firstSeenTime;
|
||||
}
|
||||
/**
|
||||
* @param HttpOperation
|
||||
*/
|
||||
public function setHttpOperation(HttpOperation $httpOperation)
|
||||
{
|
||||
$this->httpOperation = $httpOperation;
|
||||
}
|
||||
/**
|
||||
* @return HttpOperation
|
||||
*/
|
||||
public function getHttpOperation()
|
||||
{
|
||||
return $this->httpOperation;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setLastSeenTime($lastSeenTime)
|
||||
{
|
||||
$this->lastSeenTime = $lastSeenTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLastSeenTime()
|
||||
{
|
||||
return $this->lastSeenTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ApiOperation::class, 'Google_Service_APIManagement_ApiOperation');
|
||||
25
vendor/google/apiclient-services/src/APIManagement/ApimEmpty.php
vendored
Executable file
25
vendor/google/apiclient-services/src/APIManagement/ApimEmpty.php
vendored
Executable file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class ApimEmpty extends \Google\Model
|
||||
{
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ApimEmpty::class, 'Google_Service_APIManagement_ApimEmpty');
|
||||
43
vendor/google/apiclient-services/src/APIManagement/BatchEditTagsApiObservationsRequest.php
vendored
Executable file
43
vendor/google/apiclient-services/src/APIManagement/BatchEditTagsApiObservationsRequest.php
vendored
Executable file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class BatchEditTagsApiObservationsRequest extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'requests';
|
||||
protected $requestsType = EditTagsApiObservationsRequest::class;
|
||||
protected $requestsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param EditTagsApiObservationsRequest[]
|
||||
*/
|
||||
public function setRequests($requests)
|
||||
{
|
||||
$this->requests = $requests;
|
||||
}
|
||||
/**
|
||||
* @return EditTagsApiObservationsRequest[]
|
||||
*/
|
||||
public function getRequests()
|
||||
{
|
||||
return $this->requests;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(BatchEditTagsApiObservationsRequest::class, 'Google_Service_APIManagement_BatchEditTagsApiObservationsRequest');
|
||||
43
vendor/google/apiclient-services/src/APIManagement/BatchEditTagsApiObservationsResponse.php
vendored
Executable file
43
vendor/google/apiclient-services/src/APIManagement/BatchEditTagsApiObservationsResponse.php
vendored
Executable file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class BatchEditTagsApiObservationsResponse extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'apiObservations';
|
||||
protected $apiObservationsType = ApiObservation::class;
|
||||
protected $apiObservationsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param ApiObservation[]
|
||||
*/
|
||||
public function setApiObservations($apiObservations)
|
||||
{
|
||||
$this->apiObservations = $apiObservations;
|
||||
}
|
||||
/**
|
||||
* @return ApiObservation[]
|
||||
*/
|
||||
public function getApiObservations()
|
||||
{
|
||||
return $this->apiObservations;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(BatchEditTagsApiObservationsResponse::class, 'Google_Service_APIManagement_BatchEditTagsApiObservationsResponse');
|
||||
25
vendor/google/apiclient-services/src/APIManagement/CancelOperationRequest.php
vendored
Executable file
25
vendor/google/apiclient-services/src/APIManagement/CancelOperationRequest.php
vendored
Executable file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class CancelOperationRequest extends \Google\Model
|
||||
{
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CancelOperationRequest::class, 'Google_Service_APIManagement_CancelOperationRequest');
|
||||
25
vendor/google/apiclient-services/src/APIManagement/DisableObservationJobRequest.php
vendored
Executable file
25
vendor/google/apiclient-services/src/APIManagement/DisableObservationJobRequest.php
vendored
Executable file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class DisableObservationJobRequest extends \Google\Model
|
||||
{
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(DisableObservationJobRequest::class, 'Google_Service_APIManagement_DisableObservationJobRequest');
|
||||
61
vendor/google/apiclient-services/src/APIManagement/EditTagsApiObservationsRequest.php
vendored
Executable file
61
vendor/google/apiclient-services/src/APIManagement/EditTagsApiObservationsRequest.php
vendored
Executable file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class EditTagsApiObservationsRequest extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'tagActions';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $apiObservationId;
|
||||
protected $tagActionsType = TagAction::class;
|
||||
protected $tagActionsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setApiObservationId($apiObservationId)
|
||||
{
|
||||
$this->apiObservationId = $apiObservationId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getApiObservationId()
|
||||
{
|
||||
return $this->apiObservationId;
|
||||
}
|
||||
/**
|
||||
* @param TagAction[]
|
||||
*/
|
||||
public function setTagActions($tagActions)
|
||||
{
|
||||
$this->tagActions = $tagActions;
|
||||
}
|
||||
/**
|
||||
* @return TagAction[]
|
||||
*/
|
||||
public function getTagActions()
|
||||
{
|
||||
return $this->tagActions;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(EditTagsApiObservationsRequest::class, 'Google_Service_APIManagement_EditTagsApiObservationsRequest');
|
||||
25
vendor/google/apiclient-services/src/APIManagement/EnableObservationJobRequest.php
vendored
Executable file
25
vendor/google/apiclient-services/src/APIManagement/EnableObservationJobRequest.php
vendored
Executable file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class EnableObservationJobRequest extends \Google\Model
|
||||
{
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(EnableObservationJobRequest::class, 'Google_Service_APIManagement_EnableObservationJobRequest');
|
||||
43
vendor/google/apiclient-services/src/APIManagement/GclbObservationSource.php
vendored
Executable file
43
vendor/google/apiclient-services/src/APIManagement/GclbObservationSource.php
vendored
Executable file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class GclbObservationSource extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'pscNetworkConfigs';
|
||||
protected $pscNetworkConfigsType = GclbObservationSourcePscNetworkConfig::class;
|
||||
protected $pscNetworkConfigsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param GclbObservationSourcePscNetworkConfig[]
|
||||
*/
|
||||
public function setPscNetworkConfigs($pscNetworkConfigs)
|
||||
{
|
||||
$this->pscNetworkConfigs = $pscNetworkConfigs;
|
||||
}
|
||||
/**
|
||||
* @return GclbObservationSourcePscNetworkConfig[]
|
||||
*/
|
||||
public function getPscNetworkConfigs()
|
||||
{
|
||||
return $this->pscNetworkConfigs;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(GclbObservationSource::class, 'Google_Service_APIManagement_GclbObservationSource');
|
||||
62
vendor/google/apiclient-services/src/APIManagement/GclbObservationSourcePscNetworkConfig.php
vendored
Executable file
62
vendor/google/apiclient-services/src/APIManagement/GclbObservationSourcePscNetworkConfig.php
vendored
Executable file
@ -0,0 +1,62 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class GclbObservationSourcePscNetworkConfig extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $network;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $subnetwork;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNetwork($network)
|
||||
{
|
||||
$this->network = $network;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNetwork()
|
||||
{
|
||||
return $this->network;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSubnetwork($subnetwork)
|
||||
{
|
||||
$this->subnetwork = $subnetwork;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSubnetwork()
|
||||
{
|
||||
return $this->subnetwork;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(GclbObservationSourcePscNetworkConfig::class, 'Google_Service_APIManagement_GclbObservationSourcePscNetworkConfig');
|
||||
127
vendor/google/apiclient-services/src/APIManagement/HttpOperation.php
vendored
Executable file
127
vendor/google/apiclient-services/src/APIManagement/HttpOperation.php
vendored
Executable file
@ -0,0 +1,127 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class HttpOperation extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'pathParams';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $method;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $path;
|
||||
protected $pathParamsType = HttpOperationPathParam::class;
|
||||
protected $pathParamsDataType = 'array';
|
||||
protected $queryParamsType = HttpOperationQueryParam::class;
|
||||
protected $queryParamsDataType = 'map';
|
||||
protected $requestType = HttpOperationHttpRequest::class;
|
||||
protected $requestDataType = '';
|
||||
protected $responseType = HttpOperationHttpResponse::class;
|
||||
protected $responseDataType = '';
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setMethod($method)
|
||||
{
|
||||
$this->method = $method;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getMethod()
|
||||
{
|
||||
return $this->method;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPath($path)
|
||||
{
|
||||
$this->path = $path;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPath()
|
||||
{
|
||||
return $this->path;
|
||||
}
|
||||
/**
|
||||
* @param HttpOperationPathParam[]
|
||||
*/
|
||||
public function setPathParams($pathParams)
|
||||
{
|
||||
$this->pathParams = $pathParams;
|
||||
}
|
||||
/**
|
||||
* @return HttpOperationPathParam[]
|
||||
*/
|
||||
public function getPathParams()
|
||||
{
|
||||
return $this->pathParams;
|
||||
}
|
||||
/**
|
||||
* @param HttpOperationQueryParam[]
|
||||
*/
|
||||
public function setQueryParams($queryParams)
|
||||
{
|
||||
$this->queryParams = $queryParams;
|
||||
}
|
||||
/**
|
||||
* @return HttpOperationQueryParam[]
|
||||
*/
|
||||
public function getQueryParams()
|
||||
{
|
||||
return $this->queryParams;
|
||||
}
|
||||
/**
|
||||
* @param HttpOperationHttpRequest
|
||||
*/
|
||||
public function setRequest(HttpOperationHttpRequest $request)
|
||||
{
|
||||
$this->request = $request;
|
||||
}
|
||||
/**
|
||||
* @return HttpOperationHttpRequest
|
||||
*/
|
||||
public function getRequest()
|
||||
{
|
||||
return $this->request;
|
||||
}
|
||||
/**
|
||||
* @param HttpOperationHttpResponse
|
||||
*/
|
||||
public function setResponse(HttpOperationHttpResponse $response)
|
||||
{
|
||||
$this->response = $response;
|
||||
}
|
||||
/**
|
||||
* @return HttpOperationHttpResponse
|
||||
*/
|
||||
public function getResponse()
|
||||
{
|
||||
return $this->response;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(HttpOperation::class, 'Google_Service_APIManagement_HttpOperation');
|
||||
80
vendor/google/apiclient-services/src/APIManagement/HttpOperationHeader.php
vendored
Executable file
80
vendor/google/apiclient-services/src/APIManagement/HttpOperationHeader.php
vendored
Executable file
@ -0,0 +1,80 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class HttpOperationHeader extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $count;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dataType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCount($count)
|
||||
{
|
||||
$this->count = $count;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCount()
|
||||
{
|
||||
return $this->count;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDataType($dataType)
|
||||
{
|
||||
$this->dataType = $dataType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDataType()
|
||||
{
|
||||
return $this->dataType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(HttpOperationHeader::class, 'Google_Service_APIManagement_HttpOperationHeader');
|
||||
42
vendor/google/apiclient-services/src/APIManagement/HttpOperationHttpRequest.php
vendored
Executable file
42
vendor/google/apiclient-services/src/APIManagement/HttpOperationHttpRequest.php
vendored
Executable file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class HttpOperationHttpRequest extends \Google\Model
|
||||
{
|
||||
protected $headersType = HttpOperationHeader::class;
|
||||
protected $headersDataType = 'map';
|
||||
|
||||
/**
|
||||
* @param HttpOperationHeader[]
|
||||
*/
|
||||
public function setHeaders($headers)
|
||||
{
|
||||
$this->headers = $headers;
|
||||
}
|
||||
/**
|
||||
* @return HttpOperationHeader[]
|
||||
*/
|
||||
public function getHeaders()
|
||||
{
|
||||
return $this->headers;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(HttpOperationHttpRequest::class, 'Google_Service_APIManagement_HttpOperationHttpRequest');
|
||||
60
vendor/google/apiclient-services/src/APIManagement/HttpOperationHttpResponse.php
vendored
Executable file
60
vendor/google/apiclient-services/src/APIManagement/HttpOperationHttpResponse.php
vendored
Executable file
@ -0,0 +1,60 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class HttpOperationHttpResponse extends \Google\Model
|
||||
{
|
||||
protected $headersType = HttpOperationHeader::class;
|
||||
protected $headersDataType = 'map';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $responseCodes;
|
||||
|
||||
/**
|
||||
* @param HttpOperationHeader[]
|
||||
*/
|
||||
public function setHeaders($headers)
|
||||
{
|
||||
$this->headers = $headers;
|
||||
}
|
||||
/**
|
||||
* @return HttpOperationHeader[]
|
||||
*/
|
||||
public function getHeaders()
|
||||
{
|
||||
return $this->headers;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setResponseCodes($responseCodes)
|
||||
{
|
||||
$this->responseCodes = $responseCodes;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getResponseCodes()
|
||||
{
|
||||
return $this->responseCodes;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(HttpOperationHttpResponse::class, 'Google_Service_APIManagement_HttpOperationHttpResponse');
|
||||
62
vendor/google/apiclient-services/src/APIManagement/HttpOperationPathParam.php
vendored
Executable file
62
vendor/google/apiclient-services/src/APIManagement/HttpOperationPathParam.php
vendored
Executable file
@ -0,0 +1,62 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class HttpOperationPathParam extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dataType;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $position;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDataType($dataType)
|
||||
{
|
||||
$this->dataType = $dataType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDataType()
|
||||
{
|
||||
return $this->dataType;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setPosition($position)
|
||||
{
|
||||
$this->position = $position;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getPosition()
|
||||
{
|
||||
return $this->position;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(HttpOperationPathParam::class, 'Google_Service_APIManagement_HttpOperationPathParam');
|
||||
80
vendor/google/apiclient-services/src/APIManagement/HttpOperationQueryParam.php
vendored
Executable file
80
vendor/google/apiclient-services/src/APIManagement/HttpOperationQueryParam.php
vendored
Executable file
@ -0,0 +1,80 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class HttpOperationQueryParam extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $count;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dataType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCount($count)
|
||||
{
|
||||
$this->count = $count;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCount()
|
||||
{
|
||||
return $this->count;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDataType($dataType)
|
||||
{
|
||||
$this->dataType = $dataType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDataType()
|
||||
{
|
||||
return $this->dataType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(HttpOperationQueryParam::class, 'Google_Service_APIManagement_HttpOperationQueryParam');
|
||||
63
vendor/google/apiclient-services/src/APIManagement/ListApiObservationTagsResponse.php
vendored
Executable file
63
vendor/google/apiclient-services/src/APIManagement/ListApiObservationTagsResponse.php
vendored
Executable file
@ -0,0 +1,63 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class ListApiObservationTagsResponse extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'apiObservationTags';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $apiObservationTags;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setApiObservationTags($apiObservationTags)
|
||||
{
|
||||
$this->apiObservationTags = $apiObservationTags;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getApiObservationTags()
|
||||
{
|
||||
return $this->apiObservationTags;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ListApiObservationTagsResponse::class, 'Google_Service_APIManagement_ListApiObservationTagsResponse');
|
||||
61
vendor/google/apiclient-services/src/APIManagement/ListApiObservationsResponse.php
vendored
Executable file
61
vendor/google/apiclient-services/src/APIManagement/ListApiObservationsResponse.php
vendored
Executable file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class ListApiObservationsResponse extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'apiObservations';
|
||||
protected $apiObservationsType = ApiObservation::class;
|
||||
protected $apiObservationsDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param ApiObservation[]
|
||||
*/
|
||||
public function setApiObservations($apiObservations)
|
||||
{
|
||||
$this->apiObservations = $apiObservations;
|
||||
}
|
||||
/**
|
||||
* @return ApiObservation[]
|
||||
*/
|
||||
public function getApiObservations()
|
||||
{
|
||||
return $this->apiObservations;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ListApiObservationsResponse::class, 'Google_Service_APIManagement_ListApiObservationsResponse');
|
||||
61
vendor/google/apiclient-services/src/APIManagement/ListApiOperationsResponse.php
vendored
Executable file
61
vendor/google/apiclient-services/src/APIManagement/ListApiOperationsResponse.php
vendored
Executable file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class ListApiOperationsResponse extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'apiOperations';
|
||||
protected $apiOperationsType = ApiOperation::class;
|
||||
protected $apiOperationsDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param ApiOperation[]
|
||||
*/
|
||||
public function setApiOperations($apiOperations)
|
||||
{
|
||||
$this->apiOperations = $apiOperations;
|
||||
}
|
||||
/**
|
||||
* @return ApiOperation[]
|
||||
*/
|
||||
public function getApiOperations()
|
||||
{
|
||||
return $this->apiOperations;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ListApiOperationsResponse::class, 'Google_Service_APIManagement_ListApiOperationsResponse');
|
||||
61
vendor/google/apiclient-services/src/APIManagement/ListLocationsResponse.php
vendored
Executable file
61
vendor/google/apiclient-services/src/APIManagement/ListLocationsResponse.php
vendored
Executable file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class ListLocationsResponse extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'locations';
|
||||
protected $locationsType = Location::class;
|
||||
protected $locationsDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Location[]
|
||||
*/
|
||||
public function setLocations($locations)
|
||||
{
|
||||
$this->locations = $locations;
|
||||
}
|
||||
/**
|
||||
* @return Location[]
|
||||
*/
|
||||
public function getLocations()
|
||||
{
|
||||
return $this->locations;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ListLocationsResponse::class, 'Google_Service_APIManagement_ListLocationsResponse');
|
||||
79
vendor/google/apiclient-services/src/APIManagement/ListObservationJobsResponse.php
vendored
Executable file
79
vendor/google/apiclient-services/src/APIManagement/ListObservationJobsResponse.php
vendored
Executable file
@ -0,0 +1,79 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class ListObservationJobsResponse extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'unreachable';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextPageToken;
|
||||
protected $observationJobsType = ObservationJob::class;
|
||||
protected $observationJobsDataType = 'array';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $unreachable;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param ObservationJob[]
|
||||
*/
|
||||
public function setObservationJobs($observationJobs)
|
||||
{
|
||||
$this->observationJobs = $observationJobs;
|
||||
}
|
||||
/**
|
||||
* @return ObservationJob[]
|
||||
*/
|
||||
public function getObservationJobs()
|
||||
{
|
||||
return $this->observationJobs;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setUnreachable($unreachable)
|
||||
{
|
||||
$this->unreachable = $unreachable;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getUnreachable()
|
||||
{
|
||||
return $this->unreachable;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ListObservationJobsResponse::class, 'Google_Service_APIManagement_ListObservationJobsResponse');
|
||||
79
vendor/google/apiclient-services/src/APIManagement/ListObservationSourcesResponse.php
vendored
Executable file
79
vendor/google/apiclient-services/src/APIManagement/ListObservationSourcesResponse.php
vendored
Executable file
@ -0,0 +1,79 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class ListObservationSourcesResponse extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'unreachable';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextPageToken;
|
||||
protected $observationSourcesType = ObservationSource::class;
|
||||
protected $observationSourcesDataType = 'array';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $unreachable;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param ObservationSource[]
|
||||
*/
|
||||
public function setObservationSources($observationSources)
|
||||
{
|
||||
$this->observationSources = $observationSources;
|
||||
}
|
||||
/**
|
||||
* @return ObservationSource[]
|
||||
*/
|
||||
public function getObservationSources()
|
||||
{
|
||||
return $this->observationSources;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setUnreachable($unreachable)
|
||||
{
|
||||
$this->unreachable = $unreachable;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getUnreachable()
|
||||
{
|
||||
return $this->unreachable;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ListObservationSourcesResponse::class, 'Google_Service_APIManagement_ListObservationSourcesResponse');
|
||||
61
vendor/google/apiclient-services/src/APIManagement/ListOperationsResponse.php
vendored
Executable file
61
vendor/google/apiclient-services/src/APIManagement/ListOperationsResponse.php
vendored
Executable file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class ListOperationsResponse extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'operations';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextPageToken;
|
||||
protected $operationsType = Operation::class;
|
||||
protected $operationsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param Operation[]
|
||||
*/
|
||||
public function setOperations($operations)
|
||||
{
|
||||
$this->operations = $operations;
|
||||
}
|
||||
/**
|
||||
* @return Operation[]
|
||||
*/
|
||||
public function getOperations()
|
||||
{
|
||||
return $this->operations;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ListOperationsResponse::class, 'Google_Service_APIManagement_ListOperationsResponse');
|
||||
116
vendor/google/apiclient-services/src/APIManagement/Location.php
vendored
Executable file
116
vendor/google/apiclient-services/src/APIManagement/Location.php
vendored
Executable file
@ -0,0 +1,116 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class Location extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $displayName;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $labels;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $locationId;
|
||||
/**
|
||||
* @var array[]
|
||||
*/
|
||||
public $metadata;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setLabels($labels)
|
||||
{
|
||||
$this->labels = $labels;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getLabels()
|
||||
{
|
||||
return $this->labels;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setLocationId($locationId)
|
||||
{
|
||||
$this->locationId = $locationId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLocationId()
|
||||
{
|
||||
return $this->locationId;
|
||||
}
|
||||
/**
|
||||
* @param array[]
|
||||
*/
|
||||
public function setMetadata($metadata)
|
||||
{
|
||||
$this->metadata = $metadata;
|
||||
}
|
||||
/**
|
||||
* @return array[]
|
||||
*/
|
||||
public function getMetadata()
|
||||
{
|
||||
return $this->metadata;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(Location::class, 'Google_Service_APIManagement_Location');
|
||||
117
vendor/google/apiclient-services/src/APIManagement/ObservationJob.php
vendored
Executable file
117
vendor/google/apiclient-services/src/APIManagement/ObservationJob.php
vendored
Executable file
@ -0,0 +1,117 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class ObservationJob extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'sources';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $createTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $sources;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $state;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updateTime;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreateTime($createTime)
|
||||
{
|
||||
$this->createTime = $createTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreateTime()
|
||||
{
|
||||
return $this->createTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setSources($sources)
|
||||
{
|
||||
$this->sources = $sources;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getSources()
|
||||
{
|
||||
return $this->sources;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setState($state)
|
||||
{
|
||||
$this->state = $state;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getState()
|
||||
{
|
||||
return $this->state;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdateTime($updateTime)
|
||||
{
|
||||
$this->updateTime = $updateTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdateTime()
|
||||
{
|
||||
return $this->updateTime;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ObservationJob::class, 'Google_Service_APIManagement_ObservationJob');
|
||||
114
vendor/google/apiclient-services/src/APIManagement/ObservationSource.php
vendored
Executable file
114
vendor/google/apiclient-services/src/APIManagement/ObservationSource.php
vendored
Executable file
@ -0,0 +1,114 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class ObservationSource extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $createTime;
|
||||
protected $gclbObservationSourceType = GclbObservationSource::class;
|
||||
protected $gclbObservationSourceDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $state;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updateTime;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreateTime($createTime)
|
||||
{
|
||||
$this->createTime = $createTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreateTime()
|
||||
{
|
||||
return $this->createTime;
|
||||
}
|
||||
/**
|
||||
* @param GclbObservationSource
|
||||
*/
|
||||
public function setGclbObservationSource(GclbObservationSource $gclbObservationSource)
|
||||
{
|
||||
$this->gclbObservationSource = $gclbObservationSource;
|
||||
}
|
||||
/**
|
||||
* @return GclbObservationSource
|
||||
*/
|
||||
public function getGclbObservationSource()
|
||||
{
|
||||
return $this->gclbObservationSource;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setState($state)
|
||||
{
|
||||
$this->state = $state;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getState()
|
||||
{
|
||||
return $this->state;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdateTime($updateTime)
|
||||
{
|
||||
$this->updateTime = $updateTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdateTime()
|
||||
{
|
||||
return $this->updateTime;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ObservationSource::class, 'Google_Service_APIManagement_ObservationSource');
|
||||
114
vendor/google/apiclient-services/src/APIManagement/Operation.php
vendored
Executable file
114
vendor/google/apiclient-services/src/APIManagement/Operation.php
vendored
Executable file
@ -0,0 +1,114 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class Operation extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $done;
|
||||
protected $errorType = Status::class;
|
||||
protected $errorDataType = '';
|
||||
/**
|
||||
* @var array[]
|
||||
*/
|
||||
public $metadata;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var array[]
|
||||
*/
|
||||
public $response;
|
||||
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setDone($done)
|
||||
{
|
||||
$this->done = $done;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getDone()
|
||||
{
|
||||
return $this->done;
|
||||
}
|
||||
/**
|
||||
* @param Status
|
||||
*/
|
||||
public function setError(Status $error)
|
||||
{
|
||||
$this->error = $error;
|
||||
}
|
||||
/**
|
||||
* @return Status
|
||||
*/
|
||||
public function getError()
|
||||
{
|
||||
return $this->error;
|
||||
}
|
||||
/**
|
||||
* @param array[]
|
||||
*/
|
||||
public function setMetadata($metadata)
|
||||
{
|
||||
$this->metadata = $metadata;
|
||||
}
|
||||
/**
|
||||
* @return array[]
|
||||
*/
|
||||
public function getMetadata()
|
||||
{
|
||||
return $this->metadata;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param array[]
|
||||
*/
|
||||
public function setResponse($response)
|
||||
{
|
||||
$this->response = $response;
|
||||
}
|
||||
/**
|
||||
* @return array[]
|
||||
*/
|
||||
public function getResponse()
|
||||
{
|
||||
return $this->response;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(Operation::class, 'Google_Service_APIManagement_Operation');
|
||||
152
vendor/google/apiclient-services/src/APIManagement/OperationMetadata.php
vendored
Executable file
152
vendor/google/apiclient-services/src/APIManagement/OperationMetadata.php
vendored
Executable file
@ -0,0 +1,152 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class OperationMetadata extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $apiVersion;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $createTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $endTime;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $requestedCancellation;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $statusMessage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $target;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $verb;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setApiVersion($apiVersion)
|
||||
{
|
||||
$this->apiVersion = $apiVersion;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getApiVersion()
|
||||
{
|
||||
return $this->apiVersion;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreateTime($createTime)
|
||||
{
|
||||
$this->createTime = $createTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreateTime()
|
||||
{
|
||||
return $this->createTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->endTime = $endTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getEndTime()
|
||||
{
|
||||
return $this->endTime;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setRequestedCancellation($requestedCancellation)
|
||||
{
|
||||
$this->requestedCancellation = $requestedCancellation;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getRequestedCancellation()
|
||||
{
|
||||
return $this->requestedCancellation;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setStatusMessage($statusMessage)
|
||||
{
|
||||
$this->statusMessage = $statusMessage;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getStatusMessage()
|
||||
{
|
||||
return $this->statusMessage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setTarget($target)
|
||||
{
|
||||
$this->target = $target;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTarget()
|
||||
{
|
||||
return $this->target;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setVerb($verb)
|
||||
{
|
||||
$this->verb = $verb;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getVerb()
|
||||
{
|
||||
return $this->verb;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(OperationMetadata::class, 'Google_Service_APIManagement_OperationMetadata');
|
||||
33
vendor/google/apiclient-services/src/APIManagement/Resource/Projects.php
vendored
Executable file
33
vendor/google/apiclient-services/src/APIManagement/Resource/Projects.php
vendored
Executable file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement\Resource;
|
||||
|
||||
/**
|
||||
* The "projects" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $apimService = new Google\Service\APIManagement(...);
|
||||
* $projects = $apimService->projects;
|
||||
* </code>
|
||||
*/
|
||||
class Projects extends \Google\Service\Resource
|
||||
{
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(Projects::class, 'Google_Service_APIManagement_Resource_Projects');
|
||||
100
vendor/google/apiclient-services/src/APIManagement/Resource/ProjectsLocations.php
vendored
Executable file
100
vendor/google/apiclient-services/src/APIManagement/Resource/ProjectsLocations.php
vendored
Executable file
@ -0,0 +1,100 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement\Resource;
|
||||
|
||||
use Google\Service\APIManagement\ListApiObservationTagsResponse;
|
||||
use Google\Service\APIManagement\ListLocationsResponse;
|
||||
use Google\Service\APIManagement\Location;
|
||||
|
||||
/**
|
||||
* The "locations" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $apimService = new Google\Service\APIManagement(...);
|
||||
* $locations = $apimService->projects_locations;
|
||||
* </code>
|
||||
*/
|
||||
class ProjectsLocations extends \Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Gets information about a location. (locations.get)
|
||||
*
|
||||
* @param string $name Resource name for the location.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Location
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function get($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', [$params], Location::class);
|
||||
}
|
||||
/**
|
||||
* Lists information about the supported locations for this service.
|
||||
* (locations.listProjectsLocations)
|
||||
*
|
||||
* @param string $name The resource that owns the locations collection, if
|
||||
* applicable.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string filter A filter to narrow down results to a preferred
|
||||
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
|
||||
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
|
||||
* @opt_param int pageSize The maximum number of results to return. If not set,
|
||||
* the service selects a default.
|
||||
* @opt_param string pageToken A page token received from the `next_page_token`
|
||||
* field in the response. Send that page token to receive the subsequent page.
|
||||
* @return ListLocationsResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listProjectsLocations($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', [$params], ListLocationsResponse::class);
|
||||
}
|
||||
/**
|
||||
* ListApiObservationTags lists all extant tags on any observation in the given
|
||||
* project. (locations.listApiObservationTags)
|
||||
*
|
||||
* @param string $parent Required. The parent, which owns this collection of
|
||||
* tags. Format: projects/{project}/locations/{location}
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize Optional. The maximum number of tags to return. The
|
||||
* service may return fewer than this value. If unspecified, at most 10 tags
|
||||
* will be returned. The maximum value is 1000; values above 1000 will be
|
||||
* coerced to 1000.
|
||||
* @opt_param string pageToken Optional. A page token, received from a previous
|
||||
* `ListApiObservationTags` call. Provide this to retrieve the subsequent page.
|
||||
* When paginating, all other parameters provided to `ListApiObservationTags`
|
||||
* must match the call that provided the page token.
|
||||
* @return ListApiObservationTagsResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listApiObservationTags($parent, $optParams = [])
|
||||
{
|
||||
$params = ['parent' => $parent];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('listApiObservationTags', [$params], ListApiObservationTagsResponse::class);
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ProjectsLocations::class, 'Google_Service_APIManagement_Resource_ProjectsLocations');
|
||||
162
vendor/google/apiclient-services/src/APIManagement/Resource/ProjectsLocationsObservationJobs.php
vendored
Executable file
162
vendor/google/apiclient-services/src/APIManagement/Resource/ProjectsLocationsObservationJobs.php
vendored
Executable file
@ -0,0 +1,162 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement\Resource;
|
||||
|
||||
use Google\Service\APIManagement\DisableObservationJobRequest;
|
||||
use Google\Service\APIManagement\EnableObservationJobRequest;
|
||||
use Google\Service\APIManagement\ListObservationJobsResponse;
|
||||
use Google\Service\APIManagement\ObservationJob;
|
||||
use Google\Service\APIManagement\Operation;
|
||||
|
||||
/**
|
||||
* The "observationJobs" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $apimService = new Google\Service\APIManagement(...);
|
||||
* $observationJobs = $apimService->projects_locations_observationJobs;
|
||||
* </code>
|
||||
*/
|
||||
class ProjectsLocationsObservationJobs extends \Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* CreateObservationJob creates a new ObservationJob but does not have any
|
||||
* effecton its own. It is a configuration that can be used in an Observation
|
||||
* Job to collect data about existing APIs. (observationJobs.create)
|
||||
*
|
||||
* @param string $parent Required. The parent resource where this ObservationJob
|
||||
* will be created. Format: projects/{project}/locations/{location}
|
||||
* @param ObservationJob $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string observationJobId Required. The ID to use for the
|
||||
* Observation Job. This value should be 4-63 characters, and valid characters
|
||||
* are /a-z-/.
|
||||
* @opt_param string requestId Optional. An optional request ID to identify
|
||||
* requests. Specify a unique request ID so that if you must retry your request,
|
||||
* the server will know to ignore the request if it has already been completed.
|
||||
* The server will guarantee that for at least 60 minutes since the first
|
||||
* request. For example, consider a situation where you make an initial request
|
||||
* and the request times out. If you make the request again with the same
|
||||
* request ID, the server can check if original operation with the same request
|
||||
* ID was received, and if so, will ignore the second request. This prevents
|
||||
* clients from accidentally creating duplicate commitments. The request ID must
|
||||
* be a valid UUID with the exception that zero UUID is not supported
|
||||
* (00000000-0000-0000-0000-000000000000).
|
||||
* @return Operation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function create($parent, ObservationJob $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['parent' => $parent, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', [$params], Operation::class);
|
||||
}
|
||||
/**
|
||||
* DeleteObservationJob deletes an ObservationJob. This method will fail if the
|
||||
* observation job is currently being used by any ObservationSource, even if not
|
||||
* enabled. (observationJobs.delete)
|
||||
*
|
||||
* @param string $name Required. Name of the resource Format:
|
||||
* projects/{project}/locations/{location}/observationJobs/{observation_job}
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Operation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function delete($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', [$params], Operation::class);
|
||||
}
|
||||
/**
|
||||
* Disables the given ObservationJob. (observationJobs.disable)
|
||||
*
|
||||
* @param string $name Required. The name of the ObservationJob to disable.
|
||||
* Format: projects/{project}/locations/{location}/observationJobs/{job}
|
||||
* @param DisableObservationJobRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Operation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function disable($name, DisableObservationJobRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('disable', [$params], Operation::class);
|
||||
}
|
||||
/**
|
||||
* Enables the given ObservationJob. (observationJobs.enable)
|
||||
*
|
||||
* @param string $name Required. The name of the ObservationJob to enable.
|
||||
* Format: projects/{project}/locations/{location}/observationJobs/{job}
|
||||
* @param EnableObservationJobRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Operation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function enable($name, EnableObservationJobRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('enable', [$params], Operation::class);
|
||||
}
|
||||
/**
|
||||
* GetObservationJob retrieves a single ObservationJob by name.
|
||||
* (observationJobs.get)
|
||||
*
|
||||
* @param string $name Required. The name of the ObservationJob to retrieve.
|
||||
* Format: projects/{project}/locations/{location}/observationJobs/{job}
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return ObservationJob
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function get($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', [$params], ObservationJob::class);
|
||||
}
|
||||
/**
|
||||
* ListObservationJobs gets all ObservationJobs for a given project and
|
||||
* location. (observationJobs.listProjectsLocationsObservationJobs)
|
||||
*
|
||||
* @param string $parent Required. The parent, which owns this collection of
|
||||
* ObservationJobs. Format: projects/{project}/locations/{location}
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize Optional. The maximum number of ObservationJobs to
|
||||
* return. The service may return fewer than this value. If unspecified, at most
|
||||
* 10 ObservationJobs will be returned. The maximum value is 1000; values above
|
||||
* 1000 will be coerced to 1000.
|
||||
* @opt_param string pageToken Optional. A page token, received from a previous
|
||||
* `ListObservationJobs` call. Provide this to retrieve the subsequent page.
|
||||
* When paginating, all other parameters provided to `ListObservationJobs` must
|
||||
* match the call that provided the page token.
|
||||
* @return ListObservationJobsResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listProjectsLocationsObservationJobs($parent, $optParams = [])
|
||||
{
|
||||
$params = ['parent' => $parent];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', [$params], ListObservationJobsResponse::class);
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ProjectsLocationsObservationJobs::class, 'Google_Service_APIManagement_Resource_ProjectsLocationsObservationJobs');
|
||||
100
vendor/google/apiclient-services/src/APIManagement/Resource/ProjectsLocationsObservationJobsApiObservations.php
vendored
Executable file
100
vendor/google/apiclient-services/src/APIManagement/Resource/ProjectsLocationsObservationJobsApiObservations.php
vendored
Executable file
@ -0,0 +1,100 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement\Resource;
|
||||
|
||||
use Google\Service\APIManagement\ApiObservation;
|
||||
use Google\Service\APIManagement\BatchEditTagsApiObservationsRequest;
|
||||
use Google\Service\APIManagement\BatchEditTagsApiObservationsResponse;
|
||||
use Google\Service\APIManagement\ListApiObservationsResponse;
|
||||
|
||||
/**
|
||||
* The "apiObservations" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $apimService = new Google\Service\APIManagement(...);
|
||||
* $apiObservations = $apimService->projects_locations_observationJobs_apiObservations;
|
||||
* </code>
|
||||
*/
|
||||
class ProjectsLocationsObservationJobsApiObservations extends \Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* BatchEditTagsApiObservations adds or removes Tags for ApiObservations.
|
||||
* (apiObservations.batchEditTags)
|
||||
*
|
||||
* @param string $parent Required. The parent resource shared by all
|
||||
* ApiObservations being edited. Format:
|
||||
* projects/{project}/locations/{location}/observationJobs/{observation_job}
|
||||
* @param BatchEditTagsApiObservationsRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return BatchEditTagsApiObservationsResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function batchEditTags($parent, BatchEditTagsApiObservationsRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['parent' => $parent, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('batchEditTags', [$params], BatchEditTagsApiObservationsResponse::class);
|
||||
}
|
||||
/**
|
||||
* GetApiObservation retrieves a single ApiObservation by name.
|
||||
* (apiObservations.get)
|
||||
*
|
||||
* @param string $name Required. The name of the ApiObservation to retrieve.
|
||||
* Format: projects/{project}/locations/{location}/observationJobs/{observation_
|
||||
* job}/apiObservations/{api_observation}
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return ApiObservation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function get($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', [$params], ApiObservation::class);
|
||||
}
|
||||
/**
|
||||
* ListApiObservations gets all ApiObservations for a given project and location
|
||||
* and ObservationJob.
|
||||
* (apiObservations.listProjectsLocationsObservationJobsApiObservations)
|
||||
*
|
||||
* @param string $parent Required. The parent, which owns this collection of
|
||||
* ApiObservations. Format:
|
||||
* projects/{project}/locations/{location}/observationJobs/{observation_job}
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize Optional. The maximum number of ApiObservations to
|
||||
* return. The service may return fewer than this value. If unspecified, at most
|
||||
* 10 ApiObservations will be returned. The maximum value is 1000; values above
|
||||
* 1000 will be coerced to 1000.
|
||||
* @opt_param string pageToken Optional. A page token, received from a previous
|
||||
* `ListApiObservations` call. Provide this to retrieve the subsequent page.
|
||||
* When paginating, all other parameters provided to `ListApiObservations` must
|
||||
* match the call that provided the page token.
|
||||
* @return ListApiObservationsResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listProjectsLocationsObservationJobsApiObservations($parent, $optParams = [])
|
||||
{
|
||||
$params = ['parent' => $parent];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', [$params], ListApiObservationsResponse::class);
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ProjectsLocationsObservationJobsApiObservations::class, 'Google_Service_APIManagement_Resource_ProjectsLocationsObservationJobsApiObservations');
|
||||
@ -0,0 +1,79 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement\Resource;
|
||||
|
||||
use Google\Service\APIManagement\ApiOperation;
|
||||
use Google\Service\APIManagement\ListApiOperationsResponse;
|
||||
|
||||
/**
|
||||
* The "apiOperations" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $apimService = new Google\Service\APIManagement(...);
|
||||
* $apiOperations = $apimService->projects_locations_observationJobs_apiObservations_apiOperations;
|
||||
* </code>
|
||||
*/
|
||||
class ProjectsLocationsObservationJobsApiObservationsApiOperations extends \Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* GetApiOperation retrieves a single ApiOperation by name. (apiOperations.get)
|
||||
*
|
||||
* @param string $name Required. The name of the ApiOperation to retrieve.
|
||||
* Format: projects/{project}/locations/{location}/observationJobs/{observation_
|
||||
* job}/apiObservations/{api_observation}/apiOperation/{api_operation}
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return ApiOperation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function get($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', [$params], ApiOperation::class);
|
||||
}
|
||||
/**
|
||||
* ListApiOperations gets all ApiOperations for a given project and location and
|
||||
* ObservationJob and ApiObservation. (apiOperations.listProjectsLocationsObserv
|
||||
* ationJobsApiObservationsApiOperations)
|
||||
*
|
||||
* @param string $parent Required. The parent, which owns this collection of
|
||||
* ApiOperations. Format: projects/{project}/locations/{location}/observationJob
|
||||
* s/{observation_job}/apiObservations/{api_observation}
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize Optional. The maximum number of ApiOperations to
|
||||
* return. The service may return fewer than this value. If unspecified, at most
|
||||
* 10 ApiOperations will be returned. The maximum value is 1000; values above
|
||||
* 1000 will be coerced to 1000.
|
||||
* @opt_param string pageToken Optional. A page token, received from a previous
|
||||
* `ListApiApiOperations` call. Provide this to retrieve the subsequent page.
|
||||
* When paginating, all other parameters provided to `ListApiApiOperations` must
|
||||
* match the call that provided the page token.
|
||||
* @return ListApiOperationsResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listProjectsLocationsObservationJobsApiObservationsApiOperations($parent, $optParams = [])
|
||||
{
|
||||
$params = ['parent' => $parent];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', [$params], ListApiOperationsResponse::class);
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ProjectsLocationsObservationJobsApiObservationsApiOperations::class, 'Google_Service_APIManagement_Resource_ProjectsLocationsObservationJobsApiObservationsApiOperations');
|
||||
128
vendor/google/apiclient-services/src/APIManagement/Resource/ProjectsLocationsObservationSources.php
vendored
Executable file
128
vendor/google/apiclient-services/src/APIManagement/Resource/ProjectsLocationsObservationSources.php
vendored
Executable file
@ -0,0 +1,128 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement\Resource;
|
||||
|
||||
use Google\Service\APIManagement\ListObservationSourcesResponse;
|
||||
use Google\Service\APIManagement\ObservationSource;
|
||||
use Google\Service\APIManagement\Operation;
|
||||
|
||||
/**
|
||||
* The "observationSources" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $apimService = new Google\Service\APIManagement(...);
|
||||
* $observationSources = $apimService->projects_locations_observationSources;
|
||||
* </code>
|
||||
*/
|
||||
class ProjectsLocationsObservationSources extends \Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* CreateObservationSource creates a new ObservationSource but does not affect
|
||||
* any deployed infrastructure. It is a configuration that can be used in an
|
||||
* Observation Job to collect data about APIs running in user's dataplane.
|
||||
* (observationSources.create)
|
||||
*
|
||||
* @param string $parent Required. Value for parent.
|
||||
* @param ObservationSource $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string observationSourceId Required. The ID to use for the
|
||||
* Observation Source. This value should be 4-63 characters, and valid
|
||||
* characters are /a-z-/.
|
||||
* @opt_param string requestId Optional. An optional request ID to identify
|
||||
* requests. Specify a unique request ID so that if you must retry your request,
|
||||
* the server will know to ignore the request if it has already been completed.
|
||||
* The server will guarantee that for at least 60 minutes since the first
|
||||
* request. For example, consider a situation where you make an initial request
|
||||
* and the request times out. If you make the request again with the same
|
||||
* request ID, the server can check if original operation with the same request
|
||||
* ID was received, and if so, will ignore the second request. This prevents
|
||||
* clients from accidentally creating duplicate commitments. The request ID must
|
||||
* be a valid UUID with the exception that zero UUID is not supported
|
||||
* (00000000-0000-0000-0000-000000000000).
|
||||
* @return Operation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function create($parent, ObservationSource $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['parent' => $parent, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', [$params], Operation::class);
|
||||
}
|
||||
/**
|
||||
* DeleteObservationSource deletes an observation source. This method will fail
|
||||
* if the observation source is currently being used by any ObservationJob, even
|
||||
* if not enabled. (observationSources.delete)
|
||||
*
|
||||
* @param string $name Required. Name of the resource Format:
|
||||
* projects/{project}/locations/{location}/observationSources/{source}
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Operation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function delete($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', [$params], Operation::class);
|
||||
}
|
||||
/**
|
||||
* GetObservationSource retrieves a single ObservationSource by name.
|
||||
* (observationSources.get)
|
||||
*
|
||||
* @param string $name Required. The name of the ObservationSource to retrieve.
|
||||
* Format: projects/{project}/locations/{location}/observationSources/{source}
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return ObservationSource
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function get($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', [$params], ObservationSource::class);
|
||||
}
|
||||
/**
|
||||
* ListObservationSources gets all ObservationSources for a given project and
|
||||
* location. (observationSources.listProjectsLocationsObservationSources)
|
||||
*
|
||||
* @param string $parent Required. The parent, which owns this collection of
|
||||
* ObservationSources. Format: projects/{project}/locations/{location}
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize Optional. The maximum number of ObservationSources to
|
||||
* return. The service may return fewer than this value. If unspecified, at most
|
||||
* 10 ObservationSources will be returned. The maximum value is 1000; values
|
||||
* above 1000 will be coerced to 1000.
|
||||
* @opt_param string pageToken Optional. A page token, received from a previous
|
||||
* `ListObservationSources` call. Provide this to retrieve the subsequent page.
|
||||
* When paginating, all other parameters provided to `ListObservationSources`
|
||||
* must match the call that provided the page token.
|
||||
* @return ListObservationSourcesResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listProjectsLocationsObservationSources($parent, $optParams = [])
|
||||
{
|
||||
$params = ['parent' => $parent];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', [$params], ListObservationSourcesResponse::class);
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ProjectsLocationsObservationSources::class, 'Google_Service_APIManagement_Resource_ProjectsLocationsObservationSources');
|
||||
114
vendor/google/apiclient-services/src/APIManagement/Resource/ProjectsLocationsOperations.php
vendored
Executable file
114
vendor/google/apiclient-services/src/APIManagement/Resource/ProjectsLocationsOperations.php
vendored
Executable file
@ -0,0 +1,114 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement\Resource;
|
||||
|
||||
use Google\Service\APIManagement\ApimEmpty;
|
||||
use Google\Service\APIManagement\CancelOperationRequest;
|
||||
use Google\Service\APIManagement\ListOperationsResponse;
|
||||
use Google\Service\APIManagement\Operation;
|
||||
|
||||
/**
|
||||
* The "operations" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $apimService = new Google\Service\APIManagement(...);
|
||||
* $operations = $apimService->projects_locations_operations;
|
||||
* </code>
|
||||
*/
|
||||
class ProjectsLocationsOperations extends \Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* 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 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 value with a google.rpc.Status.code of 1, corresponding to
|
||||
* `Code.CANCELLED`. (operations.cancel)
|
||||
*
|
||||
* @param string $name The name of the operation resource to be cancelled.
|
||||
* @param CancelOperationRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return ApimEmpty
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name, 'postBody' => $postBody];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('cancel', [$params], ApimEmpty::class);
|
||||
}
|
||||
/**
|
||||
* 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`. (operations.delete)
|
||||
*
|
||||
* @param string $name The name of the operation resource to be deleted.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return ApimEmpty
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function delete($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', [$params], ApimEmpty::class);
|
||||
}
|
||||
/**
|
||||
* 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. (operations.get)
|
||||
*
|
||||
* @param string $name The name of the operation resource.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Operation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function get($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', [$params], Operation::class);
|
||||
}
|
||||
/**
|
||||
* Lists operations that match the specified filter in the request. If the
|
||||
* server doesn't support this method, it returns `UNIMPLEMENTED`.
|
||||
* (operations.listProjectsLocationsOperations)
|
||||
*
|
||||
* @param string $name The name of the operation's parent resource.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string filter The standard list filter.
|
||||
* @opt_param int pageSize The standard list page size.
|
||||
* @opt_param string pageToken The standard list page token.
|
||||
* @return ListOperationsResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listProjectsLocationsOperations($name, $optParams = [])
|
||||
{
|
||||
$params = ['name' => $name];
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', [$params], ListOperationsResponse::class);
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ProjectsLocationsOperations::class, 'Google_Service_APIManagement_Resource_ProjectsLocationsOperations');
|
||||
81
vendor/google/apiclient-services/src/APIManagement/Status.php
vendored
Executable file
81
vendor/google/apiclient-services/src/APIManagement/Status.php
vendored
Executable file
@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class Status extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'details';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $code;
|
||||
/**
|
||||
* @var array[]
|
||||
*/
|
||||
public $details;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setCode($code)
|
||||
{
|
||||
$this->code = $code;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getCode()
|
||||
{
|
||||
return $this->code;
|
||||
}
|
||||
/**
|
||||
* @param array[]
|
||||
*/
|
||||
public function setDetails($details)
|
||||
{
|
||||
$this->details = $details;
|
||||
}
|
||||
/**
|
||||
* @return array[]
|
||||
*/
|
||||
public function getDetails()
|
||||
{
|
||||
return $this->details;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setMessage($message)
|
||||
{
|
||||
$this->message = $message;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getMessage()
|
||||
{
|
||||
return $this->message;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(Status::class, 'Google_Service_APIManagement_Status');
|
||||
62
vendor/google/apiclient-services/src/APIManagement/TagAction.php
vendored
Executable file
62
vendor/google/apiclient-services/src/APIManagement/TagAction.php
vendored
Executable file
@ -0,0 +1,62 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\APIManagement;
|
||||
|
||||
class TagAction extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $action;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $tag;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAction($action)
|
||||
{
|
||||
$this->action = $action;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAction()
|
||||
{
|
||||
return $this->action;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setTag($tag)
|
||||
{
|
||||
$this->tag = $tag;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTag()
|
||||
{
|
||||
return $this->tag;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(TagAction::class, 'Google_Service_APIManagement_TagAction');
|
||||
@ -58,6 +58,10 @@ class AccessApprovalSettings extends \Google\Collection
|
||||
* @var int
|
||||
*/
|
||||
public $preferredRequestExpirationDays;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestScopeMaxWidthPreference;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
@ -203,6 +207,20 @@ class AccessApprovalSettings extends \Google\Collection
|
||||
{
|
||||
return $this->preferredRequestExpirationDays;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setRequestScopeMaxWidthPreference($requestScopeMaxWidthPreference)
|
||||
{
|
||||
$this->requestScopeMaxWidthPreference = $requestScopeMaxWidthPreference;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getRequestScopeMaxWidthPreference()
|
||||
{
|
||||
return $this->requestScopeMaxWidthPreference;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
|
||||
@ -31,6 +31,8 @@ class ApprovalRequest extends \Google\Model
|
||||
* @var string
|
||||
*/
|
||||
public $requestTime;
|
||||
protected $requestedAugmentedInfoType = AugmentedInfo::class;
|
||||
protected $requestedAugmentedInfoDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
@ -106,6 +108,20 @@ class ApprovalRequest extends \Google\Model
|
||||
{
|
||||
return $this->requestTime;
|
||||
}
|
||||
/**
|
||||
* @param AugmentedInfo
|
||||
*/
|
||||
public function setRequestedAugmentedInfo(AugmentedInfo $requestedAugmentedInfo)
|
||||
{
|
||||
$this->requestedAugmentedInfo = $requestedAugmentedInfo;
|
||||
}
|
||||
/**
|
||||
* @return AugmentedInfo
|
||||
*/
|
||||
public function getRequestedAugmentedInfo()
|
||||
{
|
||||
return $this->requestedAugmentedInfo;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
||||
44
vendor/google/apiclient-services/src/AccessApproval/AugmentedInfo.php
vendored
Executable file
44
vendor/google/apiclient-services/src/AccessApproval/AugmentedInfo.php
vendored
Executable file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AccessApproval;
|
||||
|
||||
class AugmentedInfo extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $command;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCommand($command)
|
||||
{
|
||||
$this->command = $command;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCommand()
|
||||
{
|
||||
return $this->command;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(AugmentedInfo::class, 'Google_Service_AccessApproval_AugmentedInfo');
|
||||
@ -567,6 +567,10 @@ class AccessContextManager extends \Google\Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'append' => [
|
||||
'location' => 'query',
|
||||
'type' => 'boolean',
|
||||
],
|
||||
'updateMask' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
|
||||
42
vendor/google/apiclient-services/src/AccessContextManager/AccessScope.php
vendored
Executable file
42
vendor/google/apiclient-services/src/AccessContextManager/AccessScope.php
vendored
Executable file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AccessContextManager;
|
||||
|
||||
class AccessScope extends \Google\Model
|
||||
{
|
||||
protected $clientScopeType = ClientScope::class;
|
||||
protected $clientScopeDataType = '';
|
||||
|
||||
/**
|
||||
* @param ClientScope
|
||||
*/
|
||||
public function setClientScope(ClientScope $clientScope)
|
||||
{
|
||||
$this->clientScope = $clientScope;
|
||||
}
|
||||
/**
|
||||
* @return ClientScope
|
||||
*/
|
||||
public function getClientScope()
|
||||
{
|
||||
return $this->clientScope;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(AccessScope::class, 'Google_Service_AccessContextManager_AccessScope');
|
||||
61
vendor/google/apiclient-services/src/AccessContextManager/AccessSettings.php
vendored
Executable file
61
vendor/google/apiclient-services/src/AccessContextManager/AccessSettings.php
vendored
Executable file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AccessContextManager;
|
||||
|
||||
class AccessSettings extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'accessLevels';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $accessLevels;
|
||||
protected $sessionSettingsType = SessionSettings::class;
|
||||
protected $sessionSettingsDataType = '';
|
||||
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setAccessLevels($accessLevels)
|
||||
{
|
||||
$this->accessLevels = $accessLevels;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getAccessLevels()
|
||||
{
|
||||
return $this->accessLevels;
|
||||
}
|
||||
/**
|
||||
* @param SessionSettings
|
||||
*/
|
||||
public function setSessionSettings(SessionSettings $sessionSettings)
|
||||
{
|
||||
$this->sessionSettings = $sessionSettings;
|
||||
}
|
||||
/**
|
||||
* @return SessionSettings
|
||||
*/
|
||||
public function getSessionSettings()
|
||||
{
|
||||
return $this->sessionSettings;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(AccessSettings::class, 'Google_Service_AccessContextManager_AccessSettings');
|
||||
42
vendor/google/apiclient-services/src/AccessContextManager/ClientScope.php
vendored
Executable file
42
vendor/google/apiclient-services/src/AccessContextManager/ClientScope.php
vendored
Executable file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AccessContextManager;
|
||||
|
||||
class ClientScope extends \Google\Model
|
||||
{
|
||||
protected $restrictedClientApplicationType = Application::class;
|
||||
protected $restrictedClientApplicationDataType = '';
|
||||
|
||||
/**
|
||||
* @param Application
|
||||
*/
|
||||
public function setRestrictedClientApplication(Application $restrictedClientApplication)
|
||||
{
|
||||
$this->restrictedClientApplication = $restrictedClientApplication;
|
||||
}
|
||||
/**
|
||||
* @return Application
|
||||
*/
|
||||
public function getRestrictedClientApplication()
|
||||
{
|
||||
return $this->restrictedClientApplication;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ClientScope::class, 'Google_Service_AccessContextManager_ClientScope');
|
||||
@ -23,6 +23,10 @@ class EgressPolicy extends \Google\Model
|
||||
protected $egressFromDataType = '';
|
||||
protected $egressToType = EgressTo::class;
|
||||
protected $egressToDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $title;
|
||||
|
||||
/**
|
||||
* @param EgressFrom
|
||||
@ -52,6 +56,20 @@ class EgressPolicy extends \Google\Model
|
||||
{
|
||||
return $this->egressTo;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
|
||||
@ -19,7 +19,7 @@ namespace Google\Service\AccessContextManager;
|
||||
|
||||
class GcpUserAccessBinding extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'restrictedClientApplications';
|
||||
protected $collection_key = 'scopedAccessSettings';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
@ -38,6 +38,10 @@ class GcpUserAccessBinding extends \Google\Collection
|
||||
public $name;
|
||||
protected $restrictedClientApplicationsType = Application::class;
|
||||
protected $restrictedClientApplicationsDataType = 'array';
|
||||
protected $scopedAccessSettingsType = ScopedAccessSettings::class;
|
||||
protected $scopedAccessSettingsDataType = 'array';
|
||||
protected $sessionSettingsType = SessionSettings::class;
|
||||
protected $sessionSettingsDataType = '';
|
||||
|
||||
/**
|
||||
* @param string[]
|
||||
@ -109,6 +113,34 @@ class GcpUserAccessBinding extends \Google\Collection
|
||||
{
|
||||
return $this->restrictedClientApplications;
|
||||
}
|
||||
/**
|
||||
* @param ScopedAccessSettings[]
|
||||
*/
|
||||
public function setScopedAccessSettings($scopedAccessSettings)
|
||||
{
|
||||
$this->scopedAccessSettings = $scopedAccessSettings;
|
||||
}
|
||||
/**
|
||||
* @return ScopedAccessSettings[]
|
||||
*/
|
||||
public function getScopedAccessSettings()
|
||||
{
|
||||
return $this->scopedAccessSettings;
|
||||
}
|
||||
/**
|
||||
* @param SessionSettings
|
||||
*/
|
||||
public function setSessionSettings(SessionSettings $sessionSettings)
|
||||
{
|
||||
$this->sessionSettings = $sessionSettings;
|
||||
}
|
||||
/**
|
||||
* @return SessionSettings
|
||||
*/
|
||||
public function getSessionSettings()
|
||||
{
|
||||
return $this->sessionSettings;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
|
||||
@ -23,6 +23,10 @@ class IngressPolicy extends \Google\Model
|
||||
protected $ingressFromDataType = '';
|
||||
protected $ingressToType = IngressTo::class;
|
||||
protected $ingressToDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $title;
|
||||
|
||||
/**
|
||||
* @param IngressFrom
|
||||
@ -52,6 +56,20 @@ class IngressPolicy extends \Google\Model
|
||||
{
|
||||
return $this->ingressTo;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
|
||||
116
vendor/google/apiclient-services/src/AccessContextManager/ReauthSettings.php
vendored
Executable file
116
vendor/google/apiclient-services/src/AccessContextManager/ReauthSettings.php
vendored
Executable file
@ -0,0 +1,116 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AccessContextManager;
|
||||
|
||||
class ReauthSettings extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $maxInactivity;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $reauthMethod;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sessionLength;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $sessionLengthEnabled;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $useOidcMaxAge;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setMaxInactivity($maxInactivity)
|
||||
{
|
||||
$this->maxInactivity = $maxInactivity;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getMaxInactivity()
|
||||
{
|
||||
return $this->maxInactivity;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setReauthMethod($reauthMethod)
|
||||
{
|
||||
$this->reauthMethod = $reauthMethod;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getReauthMethod()
|
||||
{
|
||||
return $this->reauthMethod;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSessionLength($sessionLength)
|
||||
{
|
||||
$this->sessionLength = $sessionLength;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSessionLength()
|
||||
{
|
||||
return $this->sessionLength;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setSessionLengthEnabled($sessionLengthEnabled)
|
||||
{
|
||||
$this->sessionLengthEnabled = $sessionLengthEnabled;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getSessionLengthEnabled()
|
||||
{
|
||||
return $this->sessionLengthEnabled;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setUseOidcMaxAge($useOidcMaxAge)
|
||||
{
|
||||
$this->useOidcMaxAge = $useOidcMaxAge;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getUseOidcMaxAge()
|
||||
{
|
||||
return $this->useOidcMaxAge;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ReauthSettings::class, 'Google_Service_AccessContextManager_ReauthSettings');
|
||||
@ -131,8 +131,8 @@ class AccessPolicies extends \Google\Service\Resource
|
||||
* successful status after the changes to the access policy propagate to long-
|
||||
* lasting storage. (accessPolicies.patch)
|
||||
*
|
||||
* @param string $name Output only. Resource name of the `AccessPolicy`. Format:
|
||||
* `accessPolicies/{access_policy}`
|
||||
* @param string $name Output only. Identifier. Resource name of the
|
||||
* `AccessPolicy`. Format: `accessPolicies/{access_policy}`
|
||||
* @param AccessPolicy $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
|
||||
@ -123,7 +123,7 @@ class AccessPoliciesAccessLevels extends \Google\Service\Resource
|
||||
* lasting storage. If access levels contain errors, an error response is
|
||||
* returned for the first error encountered. (accessLevels.patch)
|
||||
*
|
||||
* @param string $name Resource name for the `AccessLevel`. Format:
|
||||
* @param string $name Identifier. Resource name for the `AccessLevel`. Format:
|
||||
* `accessPolicies/{access_policy}/accessLevels/{access_level}`. The
|
||||
* `access_level` component must begin with a letter, followed by alphanumeric
|
||||
* characters or `_`. Its maximum length is 50 characters. After you create an
|
||||
|
||||
@ -116,7 +116,8 @@ class AccessPoliciesAuthorizedOrgsDescs extends \Google\Service\Resource
|
||||
* `AuthorizedOrgsDesc` can be updated. The name, authorization_type, asset_type
|
||||
* and authorization_direction cannot be updated. (authorizedOrgsDescs.patch)
|
||||
*
|
||||
* @param string $name Resource name for the `AuthorizedOrgsDesc`. Format:
|
||||
* @param string $name Identifier. Resource name for the `AuthorizedOrgsDesc`.
|
||||
* Format:
|
||||
* `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`.
|
||||
* The `authorized_orgs_desc` component must begin with a letter, followed by
|
||||
* alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you
|
||||
|
||||
@ -141,7 +141,8 @@ class AccessPoliciesServicePerimeters extends \Google\Service\Resource
|
||||
* storage. If a service perimeter contains errors, an error response is
|
||||
* returned for the first error encountered. (servicePerimeters.patch)
|
||||
*
|
||||
* @param string $name Resource name for the `ServicePerimeter`. Format:
|
||||
* @param string $name Identifier. Resource name for the `ServicePerimeter`.
|
||||
* Format:
|
||||
* `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The
|
||||
* `service_perimeter` component must begin with a letter, followed by
|
||||
* alphanumeric characters or `_`. After you create a `ServicePerimeter`, you
|
||||
|
||||
@ -40,7 +40,7 @@ class Operations extends \Google\Service\Resource
|
||||
* 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 value with a google.rpc.Status.code of 1, corresponding to
|
||||
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
|
||||
* `Code.CANCELLED`. (operations.cancel)
|
||||
*
|
||||
* @param string $name The name of the operation resource to be cancelled.
|
||||
|
||||
@ -119,10 +119,21 @@ class OrganizationsGcpUserAccessBindings extends \Google\Service\Resource
|
||||
* @param GcpUserAccessBinding $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool append Optional. This field controls whether or not certain
|
||||
* repeated settings in the update request overwrite or append to existing
|
||||
* settings on the binding. If true, then append. Otherwise overwrite. So far,
|
||||
* only scoped_access_settings with reauth_settings supports appending. Global
|
||||
* access_levels, access_levels in scoped_access_settings,
|
||||
* dry_run_access_levels, reauth_settings, and session_settings are not
|
||||
* compatible with append functionality, and the request will return an error if
|
||||
* append=true when these settings are in the update_mask. The request will also
|
||||
* return an error if append=true when "scoped_access_settings" is not set in
|
||||
* the update_mask.
|
||||
* @opt_param string updateMask Required. Only the fields specified in this mask
|
||||
* are updated. Because name and group_key cannot be changed, update_mask is
|
||||
* required and may only contain the following fields: `access_levels`,
|
||||
* `dry_run_access_levels`. update_mask { paths: "access_levels" }
|
||||
* `dry_run_access_levels`, `reauth_settings` `session_settings`,
|
||||
* `scoped_access_settings`. update_mask { paths: "access_levels" }
|
||||
* @return Operation
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
|
||||
74
vendor/google/apiclient-services/src/AccessContextManager/ScopedAccessSettings.php
vendored
Executable file
74
vendor/google/apiclient-services/src/AccessContextManager/ScopedAccessSettings.php
vendored
Executable file
@ -0,0 +1,74 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AccessContextManager;
|
||||
|
||||
class ScopedAccessSettings extends \Google\Model
|
||||
{
|
||||
protected $activeSettingsType = AccessSettings::class;
|
||||
protected $activeSettingsDataType = '';
|
||||
protected $dryRunSettingsType = AccessSettings::class;
|
||||
protected $dryRunSettingsDataType = '';
|
||||
protected $scopeType = AccessScope::class;
|
||||
protected $scopeDataType = '';
|
||||
|
||||
/**
|
||||
* @param AccessSettings
|
||||
*/
|
||||
public function setActiveSettings(AccessSettings $activeSettings)
|
||||
{
|
||||
$this->activeSettings = $activeSettings;
|
||||
}
|
||||
/**
|
||||
* @return AccessSettings
|
||||
*/
|
||||
public function getActiveSettings()
|
||||
{
|
||||
return $this->activeSettings;
|
||||
}
|
||||
/**
|
||||
* @param AccessSettings
|
||||
*/
|
||||
public function setDryRunSettings(AccessSettings $dryRunSettings)
|
||||
{
|
||||
$this->dryRunSettings = $dryRunSettings;
|
||||
}
|
||||
/**
|
||||
* @return AccessSettings
|
||||
*/
|
||||
public function getDryRunSettings()
|
||||
{
|
||||
return $this->dryRunSettings;
|
||||
}
|
||||
/**
|
||||
* @param AccessScope
|
||||
*/
|
||||
public function setScope(AccessScope $scope)
|
||||
{
|
||||
$this->scope = $scope;
|
||||
}
|
||||
/**
|
||||
* @return AccessScope
|
||||
*/
|
||||
public function getScope()
|
||||
{
|
||||
return $this->scope;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ScopedAccessSettings::class, 'Google_Service_AccessContextManager_ScopedAccessSettings');
|
||||
@ -23,6 +23,10 @@ class ServicePerimeter extends \Google\Model
|
||||
* @var string
|
||||
*/
|
||||
public $description;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $etag;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
@ -58,6 +62,20 @@ class ServicePerimeter extends \Google\Model
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
||||
116
vendor/google/apiclient-services/src/AccessContextManager/SessionSettings.php
vendored
Executable file
116
vendor/google/apiclient-services/src/AccessContextManager/SessionSettings.php
vendored
Executable file
@ -0,0 +1,116 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AccessContextManager;
|
||||
|
||||
class SessionSettings extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $maxInactivity;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sessionLength;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $sessionLengthEnabled;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sessionReauthMethod;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $useOidcMaxAge;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setMaxInactivity($maxInactivity)
|
||||
{
|
||||
$this->maxInactivity = $maxInactivity;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getMaxInactivity()
|
||||
{
|
||||
return $this->maxInactivity;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSessionLength($sessionLength)
|
||||
{
|
||||
$this->sessionLength = $sessionLength;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSessionLength()
|
||||
{
|
||||
return $this->sessionLength;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setSessionLengthEnabled($sessionLengthEnabled)
|
||||
{
|
||||
$this->sessionLengthEnabled = $sessionLengthEnabled;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getSessionLengthEnabled()
|
||||
{
|
||||
return $this->sessionLengthEnabled;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSessionReauthMethod($sessionReauthMethod)
|
||||
{
|
||||
$this->sessionReauthMethod = $sessionReauthMethod;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSessionReauthMethod()
|
||||
{
|
||||
return $this->sessionReauthMethod;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setUseOidcMaxAge($useOidcMaxAge)
|
||||
{
|
||||
$this->useOidcMaxAge = $useOidcMaxAge;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getUseOidcMaxAge()
|
||||
{
|
||||
return $this->useOidcMaxAge;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(SessionSettings::class, 'Google_Service_AccessContextManager_SessionSettings');
|
||||
@ -32,6 +32,10 @@ class SupportedService extends \Google\Collection
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $serviceSupportStage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
@ -85,6 +89,20 @@ class SupportedService extends \Google\Collection
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setServiceSupportStage($serviceSupportStage)
|
||||
{
|
||||
$this->serviceSupportStage = $serviceSupportStage;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getServiceSupportStage()
|
||||
{
|
||||
return $this->serviceSupportStage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
|
||||
230
vendor/google/apiclient-services/src/AdSensePlatform.php
vendored
Executable file
230
vendor/google/apiclient-services/src/AdSensePlatform.php
vendored
Executable file
@ -0,0 +1,230 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service;
|
||||
|
||||
use Google\Client;
|
||||
|
||||
/**
|
||||
* Service definition for AdSensePlatform (v1).
|
||||
*
|
||||
* <p>
|
||||
</p>
|
||||
*
|
||||
* <p>
|
||||
* For more information about this service, see the API
|
||||
* <a href="https://developers.google.com/adsense/platforms/" target="_blank">Documentation</a>
|
||||
* </p>
|
||||
*
|
||||
* @author Google, Inc.
|
||||
*/
|
||||
class AdSensePlatform extends \Google\Service
|
||||
{
|
||||
/** View and manage your AdSense data. */
|
||||
const ADSENSE =
|
||||
"https://www.googleapis.com/auth/adsense";
|
||||
/** View your AdSense data. */
|
||||
const ADSENSE_READONLY =
|
||||
"https://www.googleapis.com/auth/adsense.readonly";
|
||||
|
||||
public $platforms_accounts;
|
||||
public $platforms_accounts_events;
|
||||
public $platforms_accounts_sites;
|
||||
public $rootUrlTemplate;
|
||||
|
||||
/**
|
||||
* Constructs the internal representation of the AdSensePlatform service.
|
||||
*
|
||||
* @param Client|array $clientOrConfig The client used to deliver requests, or a
|
||||
* config array to pass to a new Client instance.
|
||||
* @param string $rootUrl The root URL used for requests to the service.
|
||||
*/
|
||||
public function __construct($clientOrConfig = [], $rootUrl = null)
|
||||
{
|
||||
parent::__construct($clientOrConfig);
|
||||
$this->rootUrl = $rootUrl ?: 'https://adsenseplatform.googleapis.com/';
|
||||
$this->rootUrlTemplate = $rootUrl ?: 'https://adsenseplatform.UNIVERSE_DOMAIN/';
|
||||
$this->servicePath = '';
|
||||
$this->batchPath = 'batch';
|
||||
$this->version = 'v1';
|
||||
$this->serviceName = 'adsenseplatform';
|
||||
|
||||
$this->platforms_accounts = new AdSensePlatform\Resource\PlatformsAccounts(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'accounts',
|
||||
[
|
||||
'methods' => [
|
||||
'close' => [
|
||||
'path' => 'v1/{+name}:close',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'create' => [
|
||||
'path' => 'v1/{+parent}/accounts',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'get' => [
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'list' => [
|
||||
'path' => 'v1/{+parent}/accounts',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'pageSize' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
'pageToken' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],'lookup' => [
|
||||
'path' => 'v1/{+parent}/accounts:lookup',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'creationRequestId' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
$this->platforms_accounts_events = new AdSensePlatform\Resource\PlatformsAccountsEvents(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'events',
|
||||
[
|
||||
'methods' => [
|
||||
'create' => [
|
||||
'path' => 'v1/{+parent}/events',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
$this->platforms_accounts_sites = new AdSensePlatform\Resource\PlatformsAccountsSites(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'sites',
|
||||
[
|
||||
'methods' => [
|
||||
'create' => [
|
||||
'path' => 'v1/{+parent}/sites',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'delete' => [
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'DELETE',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'get' => [
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],'list' => [
|
||||
'path' => 'v1/{+parent}/sites',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => [
|
||||
'parent' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
'pageSize' => [
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
],
|
||||
'pageToken' => [
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
],
|
||||
],
|
||||
],'requestReview' => [
|
||||
'path' => 'v1/{+name}:requestReview',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => [
|
||||
'name' => [
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(AdSensePlatform::class, 'Google_Service_AdSensePlatform');
|
||||
150
vendor/google/apiclient-services/src/AdSensePlatform/Account.php
vendored
Executable file
150
vendor/google/apiclient-services/src/AdSensePlatform/Account.php
vendored
Executable file
@ -0,0 +1,150 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AdSensePlatform;
|
||||
|
||||
class Account extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $createTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $creationRequestId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $displayName;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $regionCode;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $state;
|
||||
protected $timeZoneType = TimeZone::class;
|
||||
protected $timeZoneDataType = '';
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreateTime($createTime)
|
||||
{
|
||||
$this->createTime = $createTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreateTime()
|
||||
{
|
||||
return $this->createTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreationRequestId($creationRequestId)
|
||||
{
|
||||
$this->creationRequestId = $creationRequestId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreationRequestId()
|
||||
{
|
||||
return $this->creationRequestId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setRegionCode($regionCode)
|
||||
{
|
||||
$this->regionCode = $regionCode;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getRegionCode()
|
||||
{
|
||||
return $this->regionCode;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setState($state)
|
||||
{
|
||||
$this->state = $state;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getState()
|
||||
{
|
||||
return $this->state;
|
||||
}
|
||||
/**
|
||||
* @param TimeZone
|
||||
*/
|
||||
public function setTimeZone(TimeZone $timeZone)
|
||||
{
|
||||
$this->timeZone = $timeZone;
|
||||
}
|
||||
/**
|
||||
* @return TimeZone
|
||||
*/
|
||||
public function getTimeZone()
|
||||
{
|
||||
return $this->timeZone;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(Account::class, 'Google_Service_AdSensePlatform_Account');
|
||||
206
vendor/google/apiclient-services/src/AdSensePlatform/Address.php
vendored
Executable file
206
vendor/google/apiclient-services/src/AdSensePlatform/Address.php
vendored
Executable file
@ -0,0 +1,206 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AdSensePlatform;
|
||||
|
||||
class Address extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $address1;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $address2;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $city;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $company;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $contact;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $fax;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $phone;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $regionCode;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $state;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $zip;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAddress1($address1)
|
||||
{
|
||||
$this->address1 = $address1;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAddress1()
|
||||
{
|
||||
return $this->address1;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAddress2($address2)
|
||||
{
|
||||
$this->address2 = $address2;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAddress2()
|
||||
{
|
||||
return $this->address2;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCity($city)
|
||||
{
|
||||
$this->city = $city;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCity()
|
||||
{
|
||||
return $this->city;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCompany($company)
|
||||
{
|
||||
$this->company = $company;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCompany()
|
||||
{
|
||||
return $this->company;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setContact($contact)
|
||||
{
|
||||
$this->contact = $contact;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getContact()
|
||||
{
|
||||
return $this->contact;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setFax($fax)
|
||||
{
|
||||
$this->fax = $fax;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFax()
|
||||
{
|
||||
return $this->fax;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPhone($phone)
|
||||
{
|
||||
$this->phone = $phone;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPhone()
|
||||
{
|
||||
return $this->phone;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setRegionCode($regionCode)
|
||||
{
|
||||
$this->regionCode = $regionCode;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getRegionCode()
|
||||
{
|
||||
return $this->regionCode;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setState($state)
|
||||
{
|
||||
$this->state = $state;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getState()
|
||||
{
|
||||
return $this->state;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setZip($zip)
|
||||
{
|
||||
$this->zip = $zip;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getZip()
|
||||
{
|
||||
return $this->zip;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(Address::class, 'Google_Service_AdSensePlatform_Address');
|
||||
25
vendor/google/apiclient-services/src/AdSensePlatform/AdsenseplatformEmpty.php
vendored
Executable file
25
vendor/google/apiclient-services/src/AdSensePlatform/AdsenseplatformEmpty.php
vendored
Executable file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AdSensePlatform;
|
||||
|
||||
class AdsenseplatformEmpty extends \Google\Model
|
||||
{
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(AdsenseplatformEmpty::class, 'Google_Service_AdSensePlatform_AdsenseplatformEmpty');
|
||||
25
vendor/google/apiclient-services/src/AdSensePlatform/CloseAccountRequest.php
vendored
Executable file
25
vendor/google/apiclient-services/src/AdSensePlatform/CloseAccountRequest.php
vendored
Executable file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AdSensePlatform;
|
||||
|
||||
class CloseAccountRequest extends \Google\Model
|
||||
{
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloseAccountRequest::class, 'Google_Service_AdSensePlatform_CloseAccountRequest');
|
||||
25
vendor/google/apiclient-services/src/AdSensePlatform/CloseAccountResponse.php
vendored
Executable file
25
vendor/google/apiclient-services/src/AdSensePlatform/CloseAccountResponse.php
vendored
Executable file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AdSensePlatform;
|
||||
|
||||
class CloseAccountResponse extends \Google\Model
|
||||
{
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(CloseAccountResponse::class, 'Google_Service_AdSensePlatform_CloseAccountResponse');
|
||||
78
vendor/google/apiclient-services/src/AdSensePlatform/Event.php
vendored
Executable file
78
vendor/google/apiclient-services/src/AdSensePlatform/Event.php
vendored
Executable file
@ -0,0 +1,78 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AdSensePlatform;
|
||||
|
||||
class Event extends \Google\Model
|
||||
{
|
||||
protected $eventInfoType = EventInfo::class;
|
||||
protected $eventInfoDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $eventTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $eventType;
|
||||
|
||||
/**
|
||||
* @param EventInfo
|
||||
*/
|
||||
public function setEventInfo(EventInfo $eventInfo)
|
||||
{
|
||||
$this->eventInfo = $eventInfo;
|
||||
}
|
||||
/**
|
||||
* @return EventInfo
|
||||
*/
|
||||
public function getEventInfo()
|
||||
{
|
||||
return $this->eventInfo;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setEventTime($eventTime)
|
||||
{
|
||||
$this->eventTime = $eventTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getEventTime()
|
||||
{
|
||||
return $this->eventTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setEventType($eventType)
|
||||
{
|
||||
$this->eventType = $eventType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getEventType()
|
||||
{
|
||||
return $this->eventType;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(Event::class, 'Google_Service_AdSensePlatform_Event');
|
||||
60
vendor/google/apiclient-services/src/AdSensePlatform/EventInfo.php
vendored
Executable file
60
vendor/google/apiclient-services/src/AdSensePlatform/EventInfo.php
vendored
Executable file
@ -0,0 +1,60 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AdSensePlatform;
|
||||
|
||||
class EventInfo extends \Google\Model
|
||||
{
|
||||
protected $billingAddressType = Address::class;
|
||||
protected $billingAddressDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $email;
|
||||
|
||||
/**
|
||||
* @param Address
|
||||
*/
|
||||
public function setBillingAddress(Address $billingAddress)
|
||||
{
|
||||
$this->billingAddress = $billingAddress;
|
||||
}
|
||||
/**
|
||||
* @return Address
|
||||
*/
|
||||
public function getBillingAddress()
|
||||
{
|
||||
return $this->billingAddress;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setEmail($email)
|
||||
{
|
||||
$this->email = $email;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getEmail()
|
||||
{
|
||||
return $this->email;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(EventInfo::class, 'Google_Service_AdSensePlatform_EventInfo');
|
||||
61
vendor/google/apiclient-services/src/AdSensePlatform/ListAccountsResponse.php
vendored
Executable file
61
vendor/google/apiclient-services/src/AdSensePlatform/ListAccountsResponse.php
vendored
Executable file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AdSensePlatform;
|
||||
|
||||
class ListAccountsResponse extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'accounts';
|
||||
protected $accountsType = Account::class;
|
||||
protected $accountsDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Account[]
|
||||
*/
|
||||
public function setAccounts($accounts)
|
||||
{
|
||||
$this->accounts = $accounts;
|
||||
}
|
||||
/**
|
||||
* @return Account[]
|
||||
*/
|
||||
public function getAccounts()
|
||||
{
|
||||
return $this->accounts;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ListAccountsResponse::class, 'Google_Service_AdSensePlatform_ListAccountsResponse');
|
||||
61
vendor/google/apiclient-services/src/AdSensePlatform/ListSitesResponse.php
vendored
Executable file
61
vendor/google/apiclient-services/src/AdSensePlatform/ListSitesResponse.php
vendored
Executable file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AdSensePlatform;
|
||||
|
||||
class ListSitesResponse extends \Google\Collection
|
||||
{
|
||||
protected $collection_key = 'sites';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextPageToken;
|
||||
protected $sitesType = Site::class;
|
||||
protected $sitesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param Site[]
|
||||
*/
|
||||
public function setSites($sites)
|
||||
{
|
||||
$this->sites = $sites;
|
||||
}
|
||||
/**
|
||||
* @return Site[]
|
||||
*/
|
||||
public function getSites()
|
||||
{
|
||||
return $this->sites;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(ListSitesResponse::class, 'Google_Service_AdSensePlatform_ListSitesResponse');
|
||||
44
vendor/google/apiclient-services/src/AdSensePlatform/LookupAccountResponse.php
vendored
Executable file
44
vendor/google/apiclient-services/src/AdSensePlatform/LookupAccountResponse.php
vendored
Executable file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* http://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.
|
||||
*/
|
||||
|
||||
namespace Google\Service\AdSensePlatform;
|
||||
|
||||
class LookupAccountResponse extends \Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
class_alias(LookupAccountResponse::class, 'Google_Service_AdSensePlatform_LookupAccountResponse');
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user