Class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4Checksum
- Inherits:
-
Object
- Object
- Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4Checksum
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/safebrowsing_v4/classes.rb,
generated/google/apis/safebrowsing_v4/representations.rb,
generated/google/apis/safebrowsing_v4/representations.rb
Overview
The expected state of a client's local database.
Instance Attribute Summary collapse
-
#sha256 ⇒ String
The SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4Checksum
constructor
A new instance of GoogleSecuritySafebrowsingV4Checksum.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4Checksum
Returns a new instance of GoogleSecuritySafebrowsingV4Checksum.
53 54 55 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 53 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sha256 ⇒ String
The SHA256 hash of the client state; that is, of the sorted list of all hashes
present in the database.
Corresponds to the JSON property sha256
NOTE: Values are automatically base64 encoded/decoded in the client library.
51 52 53 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 51 def sha256 @sha256 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
58 59 60 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 58 def update!(**args) @sha256 = args[:sha256] if args.key?(:sha256) end |