JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "GoogleFirebaseAppcheckV1Service.php"
Full Path: /home/u735268861/domains/palsarh.in/public_html/vendor/google/apiclient-services/src/Firebaseappcheck/GoogleFirebaseAppcheckV1Service.php
File size: 5.27 KB
MIME-type: text/x-php
Charset: utf-8
<?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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1Service extends \Google\Model
{
/**
* Firebase App Check is not enforced for the service, nor are App Check
* metrics collected. Though the service is not protected by App Check in this
* mode, other applicable protections, such as user authorization, are still
* enforced. An unconfigured service is in this mode by default.
*/
public const ENFORCEMENT_MODE_OFF = 'OFF';
/**
* Firebase App Check is not enforced for the service. App Check metrics are
* collected to help you decide when to turn on enforcement for the service.
* Though the service is not protected by App Check in this mode, other
* applicable protections, such as user authorization, are still enforced.
* Some services require certain conditions to be met before they will work
* with App Check, such as requiring you to upgrade to a specific service
* tier. Until those requirements are met for a service, this `UNENFORCED`
* setting will have no effect and App Check will not work with that service.
*/
public const ENFORCEMENT_MODE_UNENFORCED = 'UNENFORCED';
/**
* Firebase App Check is enforced for the service. The service will reject any
* request that attempts to access your project's resources if it does not
* have valid App Check token attached, with some exceptions depending on the
* service; for example, some services will still allow requests bearing the
* developer's privileged service account credentials without an App Check
* token. App Check metrics continue to be collected to help you detect issues
* with your App Check integration and monitor the composition of your
* callers. While the service is protected by App Check, other applicable
* protections, such as user authorization, continue to be enforced at the
* same time. Use caution when choosing to enforce App Check on a Firebase
* service. If your users have not updated to an App Check capable version of
* your app, their apps will no longer be able to use your Firebase services
* that are enforcing App Check. App Check metrics can help you decide whether
* to enforce App Check on your Firebase services. If your app has not
* launched yet, you should enable enforcement immediately, since there are no
* outdated clients in use. Some services require certain conditions to be met
* before they will work with App Check, such as requiring you to upgrade to a
* specific service tier. Until those requirements are met for a service, this
* `ENFORCED` setting will have no effect and App Check will not work with
* that service.
*/
public const ENFORCEMENT_MODE_ENFORCED = 'ENFORCED';
/**
* Required. The App Check enforcement mode for this service.
*
* @var string
*/
public $enforcementMode;
/**
* Required. The relative resource name of the service configuration object,
* in the format: ``` projects/{project_number}/services/{service_id} ``` Note
* that the `service_id` element must be a supported service ID. Currently,
* the following service IDs are supported: * `firebasestorage.googleapis.com`
* (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase
* Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) *
* `oauth2.googleapis.com` (Google Identity for iOS)
*
* @var string
*/
public $name;
/**
* Required. The App Check enforcement mode for this service.
*
* Accepted values: OFF, UNENFORCED, ENFORCED
*
* @param self::ENFORCEMENT_MODE_* $enforcementMode
*/
public function setEnforcementMode($enforcementMode)
{
$this->enforcementMode = $enforcementMode;
}
/**
* @return self::ENFORCEMENT_MODE_*
*/
public function getEnforcementMode()
{
return $this->enforcementMode;
}
/**
* Required. The relative resource name of the service configuration object,
* in the format: ``` projects/{project_number}/services/{service_id} ``` Note
* that the `service_id` element must be a supported service ID. Currently,
* the following service IDs are supported: * `firebasestorage.googleapis.com`
* (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase
* Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) *
* `oauth2.googleapis.com` (Google Identity for iOS)
*
* @param string $name
*/
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(GoogleFirebaseAppcheckV1Service::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1Service');