Class: Google::Apis::PlayintegrityV1::WriteDeviceRecallRequest

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

Request to write device recall bits.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WriteDeviceRecallRequest

Returns a new instance of WriteDeviceRecallRequest.



490
491
492
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 490

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

Instance Attribute Details

#integrity_tokenString

Required. Integrity token obtained from calling Play Integrity API. Note that the integrity token contains the existing device recall bits. The write will only succeed if those bits in the integrity token are up to date. Corresponds to the JSON property integrityToken

Returns:

  • (String)


483
484
485
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 483

def integrity_token
  @integrity_token
end

#new_valuesGoogle::Apis::PlayintegrityV1::Values

Contains the recall bits values. Corresponds to the JSON property newValues



488
489
490
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 488

def new_values
  @new_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



495
496
497
498
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 495

def update!(**args)
  @integrity_token = args[:integrity_token] if args.key?(:integrity_token)
  @new_values = args[:new_values] if args.key?(:new_values)
end