Class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1Service

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_modeString

Required. The App Check enforcement mode for this service. Corresponds to the JSON property enforcementMode

Returns:

  • (String)


1206
1207
1208
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1206

def enforcement_mode
  @enforcement_mode
end

#nameString

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

Returns:

  • (String)


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