Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaService

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseappcheck_v1beta/classes.rb,
lib/google/apis/firebaseappcheck_v1beta/representations.rb,
lib/google/apis/firebaseappcheck_v1beta/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) ⇒ GoogleFirebaseAppcheckV1betaService

Returns a new instance of GoogleFirebaseAppcheckV1betaService.



1201
1202
1203
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1201

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)


1174
1175
1176
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1174

def enforcement_mode
  @enforcement_mode
end

#etagString

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up- to-date value before proceeding. This etag is strongly validated as defined by RFC 7232. Corresponds to the JSON property etag

Returns:

  • (String)


1182
1183
1184
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1182

def etag
  @etag
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) * identitytoolkit. googleapis.com (Firebase Authentication with Identity Platform) Corresponds to the JSON property name

Returns:

  • (String)


1193
1194
1195
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1193

def name
  @name
end

#update_timeString

Output only. Timestamp when this service configuration object was most recently updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


1199
1200
1201
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1199

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1206
1207
1208
1209
1210
1211
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1206

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