Class: Google::Apis::PlayintegrityV1::TokenPayloadExternal

Inherits:
Object
  • Object
show all
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 basic app information and integrity signals like device attestation and licensing details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TokenPayloadExternal

Returns a new instance of TokenPayloadExternal.



259
260
261
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 259

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_detailsGoogle::Apis::PlayintegrityV1::AccountDetails

Contains the account information such as the licensing status for the user in the scope. Corresponds to the JSON property accountDetails



237
238
239
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 237

def 
  @account_details
end

#app_integrityGoogle::Apis::PlayintegrityV1::AppIntegrity

Contains the application integrity information. Corresponds to the JSON property appIntegrity



242
243
244
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 242

def app_integrity
  @app_integrity
end

#device_integrityGoogle::Apis::PlayintegrityV1::DeviceIntegrity

Contains the device attestation information. Corresponds to the JSON property deviceIntegrity



247
248
249
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 247

def device_integrity
  @device_integrity
end

#request_detailsGoogle::Apis::PlayintegrityV1::RequestDetails

Contains the integrity request information. Corresponds to the JSON property requestDetails



252
253
254
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 252

def request_details
  @request_details
end

#testing_detailsGoogle::Apis::PlayintegrityV1::TestingDetails

Contains additional information generated for testing responses. Corresponds to the JSON property testingDetails



257
258
259
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 257

def testing_details
  @testing_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



264
265
266
267
268
269
270
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 264

def update!(**args)
  @account_details = args[:account_details] if args.key?(:account_details)
  @app_integrity = args[:app_integrity] if args.key?(:app_integrity)
  @device_integrity = args[:device_integrity] if args.key?(:device_integrity)
  @request_details = args[:request_details] if args.key?(:request_details)
  @testing_details = args[:testing_details] if args.key?(:testing_details)
end