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.



1079
1080
1081
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1079

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)


1067
1068
1069
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1067

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) Corresponds to the JSON property name

Returns:

  • (String)


1077
1078
1079
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1077

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1084
1085
1086
1087
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1084

def update!(**args)
  @enforcement_mode = args[:enforcement_mode] if args.key?(:enforcement_mode)
  @name = args[:name] if args.key?(:name)
end