Class: Google::Apis::PlayintegrityV1::RequestDetails
- Inherits:
-
Object
- Object
- Google::Apis::PlayintegrityV1::RequestDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/playintegrity_v1/classes.rb,
lib/google/apis/playintegrity_v1/representations.rb,
lib/google/apis/playintegrity_v1/representations.rb
Overview
Contains the integrity request information.
Instance Attribute Summary collapse
-
#nonce ⇒ String
Nonce that was provided in the request (which is base64 web-safe no-wrap).
-
#request_hash ⇒ String
Request hash that was provided in the request.
-
#request_package_name ⇒ String
Required.
-
#timestamp_millis ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RequestDetails
constructor
A new instance of RequestDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RequestDetails
Returns a new instance of RequestDetails.
359 360 361 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 359 def initialize(**args) update!(**args) end |
Instance Attribute Details
#nonce ⇒ String
Nonce that was provided in the request (which is base64 web-safe no-wrap).
Corresponds to the JSON property nonce
340 341 342 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 340 def nonce @nonce end |
#request_hash ⇒ String
Request hash that was provided in the request.
Corresponds to the JSON property requestHash
345 346 347 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 345 def request_hash @request_hash end |
#request_package_name ⇒ String
Required. Application package name this attestation was requested for. Note:
This field makes no guarantees or promises on the caller integrity. For
details on application integrity, check application_integrity.
Corresponds to the JSON property requestPackageName
352 353 354 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 352 def request_package_name @request_package_name end |
#timestamp_millis ⇒ Fixnum
Required. Timestamp, in milliseconds, of the integrity application request.
Corresponds to the JSON property timestampMillis
357 358 359 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 357 def @timestamp_millis end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
364 365 366 367 368 369 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 364 def update!(**args) @nonce = args[:nonce] if args.key?(:nonce) @request_hash = args[:request_hash] if args.key?(:request_hash) @request_package_name = args[:request_package_name] if args.key?(:request_package_name) @timestamp_millis = args[:timestamp_millis] if args.key?(:timestamp_millis) end |