Class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1Service
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1Service
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseappcheck_v1/classes.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb
Overview
The enforcement configuration for a Firebase service supported by App Check.
Instance Attribute Summary collapse
-
#enforcement_mode ⇒ String
Required.
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1Service
constructor
A new instance of GoogleFirebaseAppcheckV1Service.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1Service
Returns a new instance of GoogleFirebaseAppcheckV1Service.
1219 1220 1221 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1219 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enforcement_mode ⇒ String
Required. The App Check enforcement mode for this service.
Corresponds to the JSON property enforcementMode
1206 1207 1208 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1206 def enforcement_mode @enforcement_mode end |
#name ⇒ String
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)
Corresponds to the JSON property name
1217 1218 1219 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1217 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1224 1225 1226 1227 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1224 def update!(**args) @enforcement_mode = args[:enforcement_mode] if args.key?(:enforcement_mode) @name = args[:name] if args.key?(:name) end |