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.



430
431
432
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 430

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



402
403
404
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 402

def 
  @account_details
end

#app_integrityGoogle::Apis::PlayintegrityV1::AppIntegrity

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



407
408
409
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 407

def app_integrity
  @app_integrity
end

#device_integrityGoogle::Apis::PlayintegrityV1::DeviceIntegrity

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



412
413
414
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 412

def device_integrity
  @device_integrity
end

#environment_detailsGoogle::Apis::PlayintegrityV1::EnvironmentDetails

Contains information about the environment Play Integrity API runs in, e.g. Play Protect verdict. Corresponds to the JSON property environmentDetails



418
419
420
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 418

def environment_details
  @environment_details
end

#request_detailsGoogle::Apis::PlayintegrityV1::RequestDetails

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



423
424
425
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 423

def request_details
  @request_details
end

#testing_detailsGoogle::Apis::PlayintegrityV1::TestingDetails

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



428
429
430
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 428

def testing_details
  @testing_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



435
436
437
438
439
440
441
442
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 435

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)
  @environment_details = args[:environment_details] if args.key?(:environment_details)
  @request_details = args[:request_details] if args.key?(:request_details)
  @testing_details = args[:testing_details] if args.key?(:testing_details)
end