Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaDebugToken
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaDebugToken
- 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
A debug token is a secret used during the development or integration testing of an app. It essentially allows the development or integration testing to bypass app attestation while still allowing App Check to enforce protection on supported production Firebase services.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Required.
-
#name ⇒ String
The relative resource name of the debug token, in the format:
projects/` project_number`/apps/`app_id`/debugTokens/`debug_token_id`Corresponds to the JSON propertyname. -
#token ⇒ String
Input only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaDebugToken
constructor
A new instance of GoogleFirebaseAppcheckV1betaDebugToken.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaDebugToken
Returns a new instance of GoogleFirebaseAppcheckV1betaDebugToken.
270 271 272 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 270 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Required. A human readable display name used to identify this debug token.
Corresponds to the JSON property displayName
253 254 255 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 253 def display_name @display_name end |
#name ⇒ String
The relative resource name of the debug token, in the format: projects/`
project_number`/apps/`app_id`/debugTokens/`debug_token_id`
Corresponds to the JSON property name
259 260 261 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 259 def name @name end |
#token ⇒ String
Input only. Immutable. The secret token itself. Must be provided during
creation, and must be a UUID4, case insensitive. This field is immutable once
set, and cannot be provided during an UpdateDebugToken request. You can,
however, delete this debug token using DeleteDebugToken to revoke it. For
security reasons, this field will never be populated in any response.
Corresponds to the JSON property token
268 269 270 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 268 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
275 276 277 278 279 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 275 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @token = args[:token] if args.key?(:token) end |