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
Required.
-
#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.
195 196 197 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 195 def initialize(**args) update!(**args) end |
Instance Attribute Details
#nonce ⇒ String
Required. Nonce that was provided in the request (which is base64 web-safe no-
wrap).
Corresponds to the JSON property nonce
181 182 183 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 181 def nonce @nonce 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
188 189 190 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 188 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
193 194 195 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 193 def end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
200 201 202 203 204 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 200 def update!(**args) @nonce = args[:nonce] if args.key?(:nonce) @request_package_name = args[:request_package_name] if args.key?(:request_package_name) = args[:timestamp_millis] if args.key?(:timestamp_millis) end |