[e3d4e0a] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service;
|
---|
| 19 |
|
---|
| 20 | use Google\Client;
|
---|
| 21 |
|
---|
| 22 | /**
|
---|
| 23 | * Service definition for Firebaseappcheck (v1).
|
---|
| 24 | *
|
---|
| 25 | * <p>
|
---|
| 26 | * Firebase App Check works alongside other Firebase services to help protect
|
---|
| 27 | * your backend resources from abuse, such as billing fraud or phishing.</p>
|
---|
| 28 | *
|
---|
| 29 | * <p>
|
---|
| 30 | * For more information about this service, see the API
|
---|
| 31 | * <a href="https://firebase.google.com/docs/app-check" target="_blank">Documentation</a>
|
---|
| 32 | * </p>
|
---|
| 33 | *
|
---|
| 34 | * @author Google, Inc.
|
---|
| 35 | */
|
---|
| 36 | class Firebaseappcheck extends \Google\Service
|
---|
| 37 | {
|
---|
| 38 | /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
|
---|
| 39 | const CLOUD_PLATFORM =
|
---|
| 40 | "https://www.googleapis.com/auth/cloud-platform";
|
---|
| 41 | /** View and administer all your Firebase data and settings. */
|
---|
| 42 | const FIREBASE =
|
---|
| 43 | "https://www.googleapis.com/auth/firebase";
|
---|
| 44 |
|
---|
| 45 | public $jwks;
|
---|
| 46 | public $oauthClients;
|
---|
| 47 | public $projects_apps;
|
---|
| 48 | public $projects_apps_appAttestConfig;
|
---|
| 49 | public $projects_apps_debugTokens;
|
---|
| 50 | public $projects_apps_deviceCheckConfig;
|
---|
| 51 | public $projects_apps_playIntegrityConfig;
|
---|
| 52 | public $projects_apps_recaptchaEnterpriseConfig;
|
---|
| 53 | public $projects_apps_recaptchaV3Config;
|
---|
| 54 | public $projects_apps_safetyNetConfig;
|
---|
| 55 | public $projects_services;
|
---|
| 56 | public $projects_services_resourcePolicies;
|
---|
| 57 | public $rootUrlTemplate;
|
---|
| 58 |
|
---|
| 59 | /**
|
---|
| 60 | * Constructs the internal representation of the Firebaseappcheck service.
|
---|
| 61 | *
|
---|
| 62 | * @param Client|array $clientOrConfig The client used to deliver requests, or a
|
---|
| 63 | * config array to pass to a new Client instance.
|
---|
| 64 | * @param string $rootUrl The root URL used for requests to the service.
|
---|
| 65 | */
|
---|
| 66 | public function __construct($clientOrConfig = [], $rootUrl = null)
|
---|
| 67 | {
|
---|
| 68 | parent::__construct($clientOrConfig);
|
---|
| 69 | $this->rootUrl = $rootUrl ?: 'https://firebaseappcheck.googleapis.com/';
|
---|
| 70 | $this->rootUrlTemplate = $rootUrl ?: 'https://firebaseappcheck.UNIVERSE_DOMAIN/';
|
---|
| 71 | $this->servicePath = '';
|
---|
| 72 | $this->batchPath = 'batch';
|
---|
| 73 | $this->version = 'v1';
|
---|
| 74 | $this->serviceName = 'firebaseappcheck';
|
---|
| 75 |
|
---|
| 76 | $this->jwks = new Firebaseappcheck\Resource\Jwks(
|
---|
| 77 | $this,
|
---|
| 78 | $this->serviceName,
|
---|
| 79 | 'jwks',
|
---|
| 80 | [
|
---|
| 81 | 'methods' => [
|
---|
| 82 | 'get' => [
|
---|
| 83 | 'path' => 'v1/{+name}',
|
---|
| 84 | 'httpMethod' => 'GET',
|
---|
| 85 | 'parameters' => [
|
---|
| 86 | 'name' => [
|
---|
| 87 | 'location' => 'path',
|
---|
| 88 | 'type' => 'string',
|
---|
| 89 | 'required' => true,
|
---|
| 90 | ],
|
---|
| 91 | ],
|
---|
| 92 | ],
|
---|
| 93 | ]
|
---|
| 94 | ]
|
---|
| 95 | );
|
---|
| 96 | $this->oauthClients = new Firebaseappcheck\Resource\OauthClients(
|
---|
| 97 | $this,
|
---|
| 98 | $this->serviceName,
|
---|
| 99 | 'oauthClients',
|
---|
| 100 | [
|
---|
| 101 | 'methods' => [
|
---|
| 102 | 'exchangeAppAttestAssertion' => [
|
---|
| 103 | 'path' => 'v1/{+app}:exchangeAppAttestAssertion',
|
---|
| 104 | 'httpMethod' => 'POST',
|
---|
| 105 | 'parameters' => [
|
---|
| 106 | 'app' => [
|
---|
| 107 | 'location' => 'path',
|
---|
| 108 | 'type' => 'string',
|
---|
| 109 | 'required' => true,
|
---|
| 110 | ],
|
---|
| 111 | ],
|
---|
| 112 | ],'exchangeAppAttestAttestation' => [
|
---|
| 113 | 'path' => 'v1/{+app}:exchangeAppAttestAttestation',
|
---|
| 114 | 'httpMethod' => 'POST',
|
---|
| 115 | 'parameters' => [
|
---|
| 116 | 'app' => [
|
---|
| 117 | 'location' => 'path',
|
---|
| 118 | 'type' => 'string',
|
---|
| 119 | 'required' => true,
|
---|
| 120 | ],
|
---|
| 121 | ],
|
---|
| 122 | ],'exchangeDebugToken' => [
|
---|
| 123 | 'path' => 'v1/{+app}:exchangeDebugToken',
|
---|
| 124 | 'httpMethod' => 'POST',
|
---|
| 125 | 'parameters' => [
|
---|
| 126 | 'app' => [
|
---|
| 127 | 'location' => 'path',
|
---|
| 128 | 'type' => 'string',
|
---|
| 129 | 'required' => true,
|
---|
| 130 | ],
|
---|
| 131 | ],
|
---|
| 132 | ],'generateAppAttestChallenge' => [
|
---|
| 133 | 'path' => 'v1/{+app}:generateAppAttestChallenge',
|
---|
| 134 | 'httpMethod' => 'POST',
|
---|
| 135 | 'parameters' => [
|
---|
| 136 | 'app' => [
|
---|
| 137 | 'location' => 'path',
|
---|
| 138 | 'type' => 'string',
|
---|
| 139 | 'required' => true,
|
---|
| 140 | ],
|
---|
| 141 | ],
|
---|
| 142 | ],
|
---|
| 143 | ]
|
---|
| 144 | ]
|
---|
| 145 | );
|
---|
| 146 | $this->projects_apps = new Firebaseappcheck\Resource\ProjectsApps(
|
---|
| 147 | $this,
|
---|
| 148 | $this->serviceName,
|
---|
| 149 | 'apps',
|
---|
| 150 | [
|
---|
| 151 | 'methods' => [
|
---|
| 152 | 'exchangeAppAttestAssertion' => [
|
---|
| 153 | 'path' => 'v1/{+app}:exchangeAppAttestAssertion',
|
---|
| 154 | 'httpMethod' => 'POST',
|
---|
| 155 | 'parameters' => [
|
---|
| 156 | 'app' => [
|
---|
| 157 | 'location' => 'path',
|
---|
| 158 | 'type' => 'string',
|
---|
| 159 | 'required' => true,
|
---|
| 160 | ],
|
---|
| 161 | ],
|
---|
| 162 | ],'exchangeAppAttestAttestation' => [
|
---|
| 163 | 'path' => 'v1/{+app}:exchangeAppAttestAttestation',
|
---|
| 164 | 'httpMethod' => 'POST',
|
---|
| 165 | 'parameters' => [
|
---|
| 166 | 'app' => [
|
---|
| 167 | 'location' => 'path',
|
---|
| 168 | 'type' => 'string',
|
---|
| 169 | 'required' => true,
|
---|
| 170 | ],
|
---|
| 171 | ],
|
---|
| 172 | ],'exchangeCustomToken' => [
|
---|
| 173 | 'path' => 'v1/{+app}:exchangeCustomToken',
|
---|
| 174 | 'httpMethod' => 'POST',
|
---|
| 175 | 'parameters' => [
|
---|
| 176 | 'app' => [
|
---|
| 177 | 'location' => 'path',
|
---|
| 178 | 'type' => 'string',
|
---|
| 179 | 'required' => true,
|
---|
| 180 | ],
|
---|
| 181 | ],
|
---|
| 182 | ],'exchangeDebugToken' => [
|
---|
| 183 | 'path' => 'v1/{+app}:exchangeDebugToken',
|
---|
| 184 | 'httpMethod' => 'POST',
|
---|
| 185 | 'parameters' => [
|
---|
| 186 | 'app' => [
|
---|
| 187 | 'location' => 'path',
|
---|
| 188 | 'type' => 'string',
|
---|
| 189 | 'required' => true,
|
---|
| 190 | ],
|
---|
| 191 | ],
|
---|
| 192 | ],'exchangeDeviceCheckToken' => [
|
---|
| 193 | 'path' => 'v1/{+app}:exchangeDeviceCheckToken',
|
---|
| 194 | 'httpMethod' => 'POST',
|
---|
| 195 | 'parameters' => [
|
---|
| 196 | 'app' => [
|
---|
| 197 | 'location' => 'path',
|
---|
| 198 | 'type' => 'string',
|
---|
| 199 | 'required' => true,
|
---|
| 200 | ],
|
---|
| 201 | ],
|
---|
| 202 | ],'exchangePlayIntegrityToken' => [
|
---|
| 203 | 'path' => 'v1/{+app}:exchangePlayIntegrityToken',
|
---|
| 204 | 'httpMethod' => 'POST',
|
---|
| 205 | 'parameters' => [
|
---|
| 206 | 'app' => [
|
---|
| 207 | 'location' => 'path',
|
---|
| 208 | 'type' => 'string',
|
---|
| 209 | 'required' => true,
|
---|
| 210 | ],
|
---|
| 211 | ],
|
---|
| 212 | ],'exchangeRecaptchaEnterpriseToken' => [
|
---|
| 213 | 'path' => 'v1/{+app}:exchangeRecaptchaEnterpriseToken',
|
---|
| 214 | 'httpMethod' => 'POST',
|
---|
| 215 | 'parameters' => [
|
---|
| 216 | 'app' => [
|
---|
| 217 | 'location' => 'path',
|
---|
| 218 | 'type' => 'string',
|
---|
| 219 | 'required' => true,
|
---|
| 220 | ],
|
---|
| 221 | ],
|
---|
| 222 | ],'exchangeRecaptchaV3Token' => [
|
---|
| 223 | 'path' => 'v1/{+app}:exchangeRecaptchaV3Token',
|
---|
| 224 | 'httpMethod' => 'POST',
|
---|
| 225 | 'parameters' => [
|
---|
| 226 | 'app' => [
|
---|
| 227 | 'location' => 'path',
|
---|
| 228 | 'type' => 'string',
|
---|
| 229 | 'required' => true,
|
---|
| 230 | ],
|
---|
| 231 | ],
|
---|
| 232 | ],'exchangeSafetyNetToken' => [
|
---|
| 233 | 'path' => 'v1/{+app}:exchangeSafetyNetToken',
|
---|
| 234 | 'httpMethod' => 'POST',
|
---|
| 235 | 'parameters' => [
|
---|
| 236 | 'app' => [
|
---|
| 237 | 'location' => 'path',
|
---|
| 238 | 'type' => 'string',
|
---|
| 239 | 'required' => true,
|
---|
| 240 | ],
|
---|
| 241 | ],
|
---|
| 242 | ],'generateAppAttestChallenge' => [
|
---|
| 243 | 'path' => 'v1/{+app}:generateAppAttestChallenge',
|
---|
| 244 | 'httpMethod' => 'POST',
|
---|
| 245 | 'parameters' => [
|
---|
| 246 | 'app' => [
|
---|
| 247 | 'location' => 'path',
|
---|
| 248 | 'type' => 'string',
|
---|
| 249 | 'required' => true,
|
---|
| 250 | ],
|
---|
| 251 | ],
|
---|
| 252 | ],'generatePlayIntegrityChallenge' => [
|
---|
| 253 | 'path' => 'v1/{+app}:generatePlayIntegrityChallenge',
|
---|
| 254 | 'httpMethod' => 'POST',
|
---|
| 255 | 'parameters' => [
|
---|
| 256 | 'app' => [
|
---|
| 257 | 'location' => 'path',
|
---|
| 258 | 'type' => 'string',
|
---|
| 259 | 'required' => true,
|
---|
| 260 | ],
|
---|
| 261 | ],
|
---|
| 262 | ],
|
---|
| 263 | ]
|
---|
| 264 | ]
|
---|
| 265 | );
|
---|
| 266 | $this->projects_apps_appAttestConfig = new Firebaseappcheck\Resource\ProjectsAppsAppAttestConfig(
|
---|
| 267 | $this,
|
---|
| 268 | $this->serviceName,
|
---|
| 269 | 'appAttestConfig',
|
---|
| 270 | [
|
---|
| 271 | 'methods' => [
|
---|
| 272 | 'batchGet' => [
|
---|
| 273 | 'path' => 'v1/{+parent}/apps/-/appAttestConfig:batchGet',
|
---|
| 274 | 'httpMethod' => 'GET',
|
---|
| 275 | 'parameters' => [
|
---|
| 276 | 'parent' => [
|
---|
| 277 | 'location' => 'path',
|
---|
| 278 | 'type' => 'string',
|
---|
| 279 | 'required' => true,
|
---|
| 280 | ],
|
---|
| 281 | 'names' => [
|
---|
| 282 | 'location' => 'query',
|
---|
| 283 | 'type' => 'string',
|
---|
| 284 | 'repeated' => true,
|
---|
| 285 | ],
|
---|
| 286 | ],
|
---|
| 287 | ],'get' => [
|
---|
| 288 | 'path' => 'v1/{+name}',
|
---|
| 289 | 'httpMethod' => 'GET',
|
---|
| 290 | 'parameters' => [
|
---|
| 291 | 'name' => [
|
---|
| 292 | 'location' => 'path',
|
---|
| 293 | 'type' => 'string',
|
---|
| 294 | 'required' => true,
|
---|
| 295 | ],
|
---|
| 296 | ],
|
---|
| 297 | ],'patch' => [
|
---|
| 298 | 'path' => 'v1/{+name}',
|
---|
| 299 | 'httpMethod' => 'PATCH',
|
---|
| 300 | 'parameters' => [
|
---|
| 301 | 'name' => [
|
---|
| 302 | 'location' => 'path',
|
---|
| 303 | 'type' => 'string',
|
---|
| 304 | 'required' => true,
|
---|
| 305 | ],
|
---|
| 306 | 'updateMask' => [
|
---|
| 307 | 'location' => 'query',
|
---|
| 308 | 'type' => 'string',
|
---|
| 309 | ],
|
---|
| 310 | ],
|
---|
| 311 | ],
|
---|
| 312 | ]
|
---|
| 313 | ]
|
---|
| 314 | );
|
---|
| 315 | $this->projects_apps_debugTokens = new Firebaseappcheck\Resource\ProjectsAppsDebugTokens(
|
---|
| 316 | $this,
|
---|
| 317 | $this->serviceName,
|
---|
| 318 | 'debugTokens',
|
---|
| 319 | [
|
---|
| 320 | 'methods' => [
|
---|
| 321 | 'create' => [
|
---|
| 322 | 'path' => 'v1/{+parent}/debugTokens',
|
---|
| 323 | 'httpMethod' => 'POST',
|
---|
| 324 | 'parameters' => [
|
---|
| 325 | 'parent' => [
|
---|
| 326 | 'location' => 'path',
|
---|
| 327 | 'type' => 'string',
|
---|
| 328 | 'required' => true,
|
---|
| 329 | ],
|
---|
| 330 | ],
|
---|
| 331 | ],'delete' => [
|
---|
| 332 | 'path' => 'v1/{+name}',
|
---|
| 333 | 'httpMethod' => 'DELETE',
|
---|
| 334 | 'parameters' => [
|
---|
| 335 | 'name' => [
|
---|
| 336 | 'location' => 'path',
|
---|
| 337 | 'type' => 'string',
|
---|
| 338 | 'required' => true,
|
---|
| 339 | ],
|
---|
| 340 | ],
|
---|
| 341 | ],'get' => [
|
---|
| 342 | 'path' => 'v1/{+name}',
|
---|
| 343 | 'httpMethod' => 'GET',
|
---|
| 344 | 'parameters' => [
|
---|
| 345 | 'name' => [
|
---|
| 346 | 'location' => 'path',
|
---|
| 347 | 'type' => 'string',
|
---|
| 348 | 'required' => true,
|
---|
| 349 | ],
|
---|
| 350 | ],
|
---|
| 351 | ],'list' => [
|
---|
| 352 | 'path' => 'v1/{+parent}/debugTokens',
|
---|
| 353 | 'httpMethod' => 'GET',
|
---|
| 354 | 'parameters' => [
|
---|
| 355 | 'parent' => [
|
---|
| 356 | 'location' => 'path',
|
---|
| 357 | 'type' => 'string',
|
---|
| 358 | 'required' => true,
|
---|
| 359 | ],
|
---|
| 360 | 'pageSize' => [
|
---|
| 361 | 'location' => 'query',
|
---|
| 362 | 'type' => 'integer',
|
---|
| 363 | ],
|
---|
| 364 | 'pageToken' => [
|
---|
| 365 | 'location' => 'query',
|
---|
| 366 | 'type' => 'string',
|
---|
| 367 | ],
|
---|
| 368 | ],
|
---|
| 369 | ],'patch' => [
|
---|
| 370 | 'path' => 'v1/{+name}',
|
---|
| 371 | 'httpMethod' => 'PATCH',
|
---|
| 372 | 'parameters' => [
|
---|
| 373 | 'name' => [
|
---|
| 374 | 'location' => 'path',
|
---|
| 375 | 'type' => 'string',
|
---|
| 376 | 'required' => true,
|
---|
| 377 | ],
|
---|
| 378 | 'updateMask' => [
|
---|
| 379 | 'location' => 'query',
|
---|
| 380 | 'type' => 'string',
|
---|
| 381 | ],
|
---|
| 382 | ],
|
---|
| 383 | ],
|
---|
| 384 | ]
|
---|
| 385 | ]
|
---|
| 386 | );
|
---|
| 387 | $this->projects_apps_deviceCheckConfig = new Firebaseappcheck\Resource\ProjectsAppsDeviceCheckConfig(
|
---|
| 388 | $this,
|
---|
| 389 | $this->serviceName,
|
---|
| 390 | 'deviceCheckConfig',
|
---|
| 391 | [
|
---|
| 392 | 'methods' => [
|
---|
| 393 | 'batchGet' => [
|
---|
| 394 | 'path' => 'v1/{+parent}/apps/-/deviceCheckConfig:batchGet',
|
---|
| 395 | 'httpMethod' => 'GET',
|
---|
| 396 | 'parameters' => [
|
---|
| 397 | 'parent' => [
|
---|
| 398 | 'location' => 'path',
|
---|
| 399 | 'type' => 'string',
|
---|
| 400 | 'required' => true,
|
---|
| 401 | ],
|
---|
| 402 | 'names' => [
|
---|
| 403 | 'location' => 'query',
|
---|
| 404 | 'type' => 'string',
|
---|
| 405 | 'repeated' => true,
|
---|
| 406 | ],
|
---|
| 407 | ],
|
---|
| 408 | ],'get' => [
|
---|
| 409 | 'path' => 'v1/{+name}',
|
---|
| 410 | 'httpMethod' => 'GET',
|
---|
| 411 | 'parameters' => [
|
---|
| 412 | 'name' => [
|
---|
| 413 | 'location' => 'path',
|
---|
| 414 | 'type' => 'string',
|
---|
| 415 | 'required' => true,
|
---|
| 416 | ],
|
---|
| 417 | ],
|
---|
| 418 | ],'patch' => [
|
---|
| 419 | 'path' => 'v1/{+name}',
|
---|
| 420 | 'httpMethod' => 'PATCH',
|
---|
| 421 | 'parameters' => [
|
---|
| 422 | 'name' => [
|
---|
| 423 | 'location' => 'path',
|
---|
| 424 | 'type' => 'string',
|
---|
| 425 | 'required' => true,
|
---|
| 426 | ],
|
---|
| 427 | 'updateMask' => [
|
---|
| 428 | 'location' => 'query',
|
---|
| 429 | 'type' => 'string',
|
---|
| 430 | ],
|
---|
| 431 | ],
|
---|
| 432 | ],
|
---|
| 433 | ]
|
---|
| 434 | ]
|
---|
| 435 | );
|
---|
| 436 | $this->projects_apps_playIntegrityConfig = new Firebaseappcheck\Resource\ProjectsAppsPlayIntegrityConfig(
|
---|
| 437 | $this,
|
---|
| 438 | $this->serviceName,
|
---|
| 439 | 'playIntegrityConfig',
|
---|
| 440 | [
|
---|
| 441 | 'methods' => [
|
---|
| 442 | 'batchGet' => [
|
---|
| 443 | 'path' => 'v1/{+parent}/apps/-/playIntegrityConfig:batchGet',
|
---|
| 444 | 'httpMethod' => 'GET',
|
---|
| 445 | 'parameters' => [
|
---|
| 446 | 'parent' => [
|
---|
| 447 | 'location' => 'path',
|
---|
| 448 | 'type' => 'string',
|
---|
| 449 | 'required' => true,
|
---|
| 450 | ],
|
---|
| 451 | 'names' => [
|
---|
| 452 | 'location' => 'query',
|
---|
| 453 | 'type' => 'string',
|
---|
| 454 | 'repeated' => true,
|
---|
| 455 | ],
|
---|
| 456 | ],
|
---|
| 457 | ],'get' => [
|
---|
| 458 | 'path' => 'v1/{+name}',
|
---|
| 459 | 'httpMethod' => 'GET',
|
---|
| 460 | 'parameters' => [
|
---|
| 461 | 'name' => [
|
---|
| 462 | 'location' => 'path',
|
---|
| 463 | 'type' => 'string',
|
---|
| 464 | 'required' => true,
|
---|
| 465 | ],
|
---|
| 466 | ],
|
---|
| 467 | ],'patch' => [
|
---|
| 468 | 'path' => 'v1/{+name}',
|
---|
| 469 | 'httpMethod' => 'PATCH',
|
---|
| 470 | 'parameters' => [
|
---|
| 471 | 'name' => [
|
---|
| 472 | 'location' => 'path',
|
---|
| 473 | 'type' => 'string',
|
---|
| 474 | 'required' => true,
|
---|
| 475 | ],
|
---|
| 476 | 'updateMask' => [
|
---|
| 477 | 'location' => 'query',
|
---|
| 478 | 'type' => 'string',
|
---|
| 479 | ],
|
---|
| 480 | ],
|
---|
| 481 | ],
|
---|
| 482 | ]
|
---|
| 483 | ]
|
---|
| 484 | );
|
---|
| 485 | $this->projects_apps_recaptchaEnterpriseConfig = new Firebaseappcheck\Resource\ProjectsAppsRecaptchaEnterpriseConfig(
|
---|
| 486 | $this,
|
---|
| 487 | $this->serviceName,
|
---|
| 488 | 'recaptchaEnterpriseConfig',
|
---|
| 489 | [
|
---|
| 490 | 'methods' => [
|
---|
| 491 | 'batchGet' => [
|
---|
| 492 | 'path' => 'v1/{+parent}/apps/-/recaptchaEnterpriseConfig:batchGet',
|
---|
| 493 | 'httpMethod' => 'GET',
|
---|
| 494 | 'parameters' => [
|
---|
| 495 | 'parent' => [
|
---|
| 496 | 'location' => 'path',
|
---|
| 497 | 'type' => 'string',
|
---|
| 498 | 'required' => true,
|
---|
| 499 | ],
|
---|
| 500 | 'names' => [
|
---|
| 501 | 'location' => 'query',
|
---|
| 502 | 'type' => 'string',
|
---|
| 503 | 'repeated' => true,
|
---|
| 504 | ],
|
---|
| 505 | ],
|
---|
| 506 | ],'get' => [
|
---|
| 507 | 'path' => 'v1/{+name}',
|
---|
| 508 | 'httpMethod' => 'GET',
|
---|
| 509 | 'parameters' => [
|
---|
| 510 | 'name' => [
|
---|
| 511 | 'location' => 'path',
|
---|
| 512 | 'type' => 'string',
|
---|
| 513 | 'required' => true,
|
---|
| 514 | ],
|
---|
| 515 | ],
|
---|
| 516 | ],'patch' => [
|
---|
| 517 | 'path' => 'v1/{+name}',
|
---|
| 518 | 'httpMethod' => 'PATCH',
|
---|
| 519 | 'parameters' => [
|
---|
| 520 | 'name' => [
|
---|
| 521 | 'location' => 'path',
|
---|
| 522 | 'type' => 'string',
|
---|
| 523 | 'required' => true,
|
---|
| 524 | ],
|
---|
| 525 | 'updateMask' => [
|
---|
| 526 | 'location' => 'query',
|
---|
| 527 | 'type' => 'string',
|
---|
| 528 | ],
|
---|
| 529 | ],
|
---|
| 530 | ],
|
---|
| 531 | ]
|
---|
| 532 | ]
|
---|
| 533 | );
|
---|
| 534 | $this->projects_apps_recaptchaV3Config = new Firebaseappcheck\Resource\ProjectsAppsRecaptchaV3Config(
|
---|
| 535 | $this,
|
---|
| 536 | $this->serviceName,
|
---|
| 537 | 'recaptchaV3Config',
|
---|
| 538 | [
|
---|
| 539 | 'methods' => [
|
---|
| 540 | 'batchGet' => [
|
---|
| 541 | 'path' => 'v1/{+parent}/apps/-/recaptchaV3Config:batchGet',
|
---|
| 542 | 'httpMethod' => 'GET',
|
---|
| 543 | 'parameters' => [
|
---|
| 544 | 'parent' => [
|
---|
| 545 | 'location' => 'path',
|
---|
| 546 | 'type' => 'string',
|
---|
| 547 | 'required' => true,
|
---|
| 548 | ],
|
---|
| 549 | 'names' => [
|
---|
| 550 | 'location' => 'query',
|
---|
| 551 | 'type' => 'string',
|
---|
| 552 | 'repeated' => true,
|
---|
| 553 | ],
|
---|
| 554 | ],
|
---|
| 555 | ],'get' => [
|
---|
| 556 | 'path' => 'v1/{+name}',
|
---|
| 557 | 'httpMethod' => 'GET',
|
---|
| 558 | 'parameters' => [
|
---|
| 559 | 'name' => [
|
---|
| 560 | 'location' => 'path',
|
---|
| 561 | 'type' => 'string',
|
---|
| 562 | 'required' => true,
|
---|
| 563 | ],
|
---|
| 564 | ],
|
---|
| 565 | ],'patch' => [
|
---|
| 566 | 'path' => 'v1/{+name}',
|
---|
| 567 | 'httpMethod' => 'PATCH',
|
---|
| 568 | 'parameters' => [
|
---|
| 569 | 'name' => [
|
---|
| 570 | 'location' => 'path',
|
---|
| 571 | 'type' => 'string',
|
---|
| 572 | 'required' => true,
|
---|
| 573 | ],
|
---|
| 574 | 'updateMask' => [
|
---|
| 575 | 'location' => 'query',
|
---|
| 576 | 'type' => 'string',
|
---|
| 577 | ],
|
---|
| 578 | ],
|
---|
| 579 | ],
|
---|
| 580 | ]
|
---|
| 581 | ]
|
---|
| 582 | );
|
---|
| 583 | $this->projects_apps_safetyNetConfig = new Firebaseappcheck\Resource\ProjectsAppsSafetyNetConfig(
|
---|
| 584 | $this,
|
---|
| 585 | $this->serviceName,
|
---|
| 586 | 'safetyNetConfig',
|
---|
| 587 | [
|
---|
| 588 | 'methods' => [
|
---|
| 589 | 'batchGet' => [
|
---|
| 590 | 'path' => 'v1/{+parent}/apps/-/safetyNetConfig:batchGet',
|
---|
| 591 | 'httpMethod' => 'GET',
|
---|
| 592 | 'parameters' => [
|
---|
| 593 | 'parent' => [
|
---|
| 594 | 'location' => 'path',
|
---|
| 595 | 'type' => 'string',
|
---|
| 596 | 'required' => true,
|
---|
| 597 | ],
|
---|
| 598 | 'names' => [
|
---|
| 599 | 'location' => 'query',
|
---|
| 600 | 'type' => 'string',
|
---|
| 601 | 'repeated' => true,
|
---|
| 602 | ],
|
---|
| 603 | ],
|
---|
| 604 | ],'get' => [
|
---|
| 605 | 'path' => 'v1/{+name}',
|
---|
| 606 | 'httpMethod' => 'GET',
|
---|
| 607 | 'parameters' => [
|
---|
| 608 | 'name' => [
|
---|
| 609 | 'location' => 'path',
|
---|
| 610 | 'type' => 'string',
|
---|
| 611 | 'required' => true,
|
---|
| 612 | ],
|
---|
| 613 | ],
|
---|
| 614 | ],'patch' => [
|
---|
| 615 | 'path' => 'v1/{+name}',
|
---|
| 616 | 'httpMethod' => 'PATCH',
|
---|
| 617 | 'parameters' => [
|
---|
| 618 | 'name' => [
|
---|
| 619 | 'location' => 'path',
|
---|
| 620 | 'type' => 'string',
|
---|
| 621 | 'required' => true,
|
---|
| 622 | ],
|
---|
| 623 | 'updateMask' => [
|
---|
| 624 | 'location' => 'query',
|
---|
| 625 | 'type' => 'string',
|
---|
| 626 | ],
|
---|
| 627 | ],
|
---|
| 628 | ],
|
---|
| 629 | ]
|
---|
| 630 | ]
|
---|
| 631 | );
|
---|
| 632 | $this->projects_services = new Firebaseappcheck\Resource\ProjectsServices(
|
---|
| 633 | $this,
|
---|
| 634 | $this->serviceName,
|
---|
| 635 | 'services',
|
---|
| 636 | [
|
---|
| 637 | 'methods' => [
|
---|
| 638 | 'batchUpdate' => [
|
---|
| 639 | 'path' => 'v1/{+parent}/services:batchUpdate',
|
---|
| 640 | 'httpMethod' => 'POST',
|
---|
| 641 | 'parameters' => [
|
---|
| 642 | 'parent' => [
|
---|
| 643 | 'location' => 'path',
|
---|
| 644 | 'type' => 'string',
|
---|
| 645 | 'required' => true,
|
---|
| 646 | ],
|
---|
| 647 | ],
|
---|
| 648 | ],'get' => [
|
---|
| 649 | 'path' => 'v1/{+name}',
|
---|
| 650 | 'httpMethod' => 'GET',
|
---|
| 651 | 'parameters' => [
|
---|
| 652 | 'name' => [
|
---|
| 653 | 'location' => 'path',
|
---|
| 654 | 'type' => 'string',
|
---|
| 655 | 'required' => true,
|
---|
| 656 | ],
|
---|
| 657 | ],
|
---|
| 658 | ],'list' => [
|
---|
| 659 | 'path' => 'v1/{+parent}/services',
|
---|
| 660 | 'httpMethod' => 'GET',
|
---|
| 661 | 'parameters' => [
|
---|
| 662 | 'parent' => [
|
---|
| 663 | 'location' => 'path',
|
---|
| 664 | 'type' => 'string',
|
---|
| 665 | 'required' => true,
|
---|
| 666 | ],
|
---|
| 667 | 'pageSize' => [
|
---|
| 668 | 'location' => 'query',
|
---|
| 669 | 'type' => 'integer',
|
---|
| 670 | ],
|
---|
| 671 | 'pageToken' => [
|
---|
| 672 | 'location' => 'query',
|
---|
| 673 | 'type' => 'string',
|
---|
| 674 | ],
|
---|
| 675 | ],
|
---|
| 676 | ],'patch' => [
|
---|
| 677 | 'path' => 'v1/{+name}',
|
---|
| 678 | 'httpMethod' => 'PATCH',
|
---|
| 679 | 'parameters' => [
|
---|
| 680 | 'name' => [
|
---|
| 681 | 'location' => 'path',
|
---|
| 682 | 'type' => 'string',
|
---|
| 683 | 'required' => true,
|
---|
| 684 | ],
|
---|
| 685 | 'updateMask' => [
|
---|
| 686 | 'location' => 'query',
|
---|
| 687 | 'type' => 'string',
|
---|
| 688 | ],
|
---|
| 689 | ],
|
---|
| 690 | ],
|
---|
| 691 | ]
|
---|
| 692 | ]
|
---|
| 693 | );
|
---|
| 694 | $this->projects_services_resourcePolicies = new Firebaseappcheck\Resource\ProjectsServicesResourcePolicies(
|
---|
| 695 | $this,
|
---|
| 696 | $this->serviceName,
|
---|
| 697 | 'resourcePolicies',
|
---|
| 698 | [
|
---|
| 699 | 'methods' => [
|
---|
| 700 | 'batchUpdate' => [
|
---|
| 701 | 'path' => 'v1/{+parent}/resourcePolicies:batchUpdate',
|
---|
| 702 | 'httpMethod' => 'POST',
|
---|
| 703 | 'parameters' => [
|
---|
| 704 | 'parent' => [
|
---|
| 705 | 'location' => 'path',
|
---|
| 706 | 'type' => 'string',
|
---|
| 707 | 'required' => true,
|
---|
| 708 | ],
|
---|
| 709 | ],
|
---|
| 710 | ],'create' => [
|
---|
| 711 | 'path' => 'v1/{+parent}/resourcePolicies',
|
---|
| 712 | 'httpMethod' => 'POST',
|
---|
| 713 | 'parameters' => [
|
---|
| 714 | 'parent' => [
|
---|
| 715 | 'location' => 'path',
|
---|
| 716 | 'type' => 'string',
|
---|
| 717 | 'required' => true,
|
---|
| 718 | ],
|
---|
| 719 | ],
|
---|
| 720 | ],'delete' => [
|
---|
| 721 | 'path' => 'v1/{+name}',
|
---|
| 722 | 'httpMethod' => 'DELETE',
|
---|
| 723 | 'parameters' => [
|
---|
| 724 | 'name' => [
|
---|
| 725 | 'location' => 'path',
|
---|
| 726 | 'type' => 'string',
|
---|
| 727 | 'required' => true,
|
---|
| 728 | ],
|
---|
| 729 | 'etag' => [
|
---|
| 730 | 'location' => 'query',
|
---|
| 731 | 'type' => 'string',
|
---|
| 732 | ],
|
---|
| 733 | ],
|
---|
| 734 | ],'get' => [
|
---|
| 735 | 'path' => 'v1/{+name}',
|
---|
| 736 | 'httpMethod' => 'GET',
|
---|
| 737 | 'parameters' => [
|
---|
| 738 | 'name' => [
|
---|
| 739 | 'location' => 'path',
|
---|
| 740 | 'type' => 'string',
|
---|
| 741 | 'required' => true,
|
---|
| 742 | ],
|
---|
| 743 | ],
|
---|
| 744 | ],'list' => [
|
---|
| 745 | 'path' => 'v1/{+parent}/resourcePolicies',
|
---|
| 746 | 'httpMethod' => 'GET',
|
---|
| 747 | 'parameters' => [
|
---|
| 748 | 'parent' => [
|
---|
| 749 | 'location' => 'path',
|
---|
| 750 | 'type' => 'string',
|
---|
| 751 | 'required' => true,
|
---|
| 752 | ],
|
---|
| 753 | 'filter' => [
|
---|
| 754 | 'location' => 'query',
|
---|
| 755 | 'type' => 'string',
|
---|
| 756 | ],
|
---|
| 757 | 'pageSize' => [
|
---|
| 758 | 'location' => 'query',
|
---|
| 759 | 'type' => 'integer',
|
---|
| 760 | ],
|
---|
| 761 | 'pageToken' => [
|
---|
| 762 | 'location' => 'query',
|
---|
| 763 | 'type' => 'string',
|
---|
| 764 | ],
|
---|
| 765 | ],
|
---|
| 766 | ],'patch' => [
|
---|
| 767 | 'path' => 'v1/{+name}',
|
---|
| 768 | 'httpMethod' => 'PATCH',
|
---|
| 769 | 'parameters' => [
|
---|
| 770 | 'name' => [
|
---|
| 771 | 'location' => 'path',
|
---|
| 772 | 'type' => 'string',
|
---|
| 773 | 'required' => true,
|
---|
| 774 | ],
|
---|
| 775 | 'updateMask' => [
|
---|
| 776 | 'location' => 'query',
|
---|
| 777 | 'type' => 'string',
|
---|
| 778 | ],
|
---|
| 779 | ],
|
---|
| 780 | ],
|
---|
| 781 | ]
|
---|
| 782 | ]
|
---|
| 783 | );
|
---|
| 784 | }
|
---|
| 785 | }
|
---|
| 786 |
|
---|
| 787 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 788 | class_alias(Firebaseappcheck::class, 'Google_Service_Firebaseappcheck');
|
---|