Class: Google::Apis::SafebrowsingV5::GoogleSecuritySafebrowsingV5FullHash
- Inherits:
-
Object
- Object
- Google::Apis::SafebrowsingV5::GoogleSecuritySafebrowsingV5FullHash
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/safebrowsing_v5/classes.rb,
lib/google/apis/safebrowsing_v5/representations.rb,
lib/google/apis/safebrowsing_v5/representations.rb
Overview
The full hash identified with one or more matches.
Instance Attribute Summary collapse
-
#full_hash ⇒ String
The matching full hash.
-
#full_hash_details ⇒ Array<Google::Apis::SafebrowsingV5::GoogleSecuritySafebrowsingV5FullHashFullHashDetail>
Unordered list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV5FullHash
constructor
A new instance of GoogleSecuritySafebrowsingV5FullHash.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV5FullHash
Returns a new instance of GoogleSecuritySafebrowsingV5FullHash.
42 43 44 |
# File 'lib/google/apis/safebrowsing_v5/classes.rb', line 42 def initialize(**args) update!(**args) end |
Instance Attribute Details
#full_hash ⇒ String
The matching full hash. This is the SHA256 hash. The length will be exactly 32
bytes.
Corresponds to the JSON property fullHash
NOTE: Values are automatically base64 encoded/decoded in the client library.
34 35 36 |
# File 'lib/google/apis/safebrowsing_v5/classes.rb', line 34 def full_hash @full_hash end |
#full_hash_details ⇒ Array<Google::Apis::SafebrowsingV5::GoogleSecuritySafebrowsingV5FullHashFullHashDetail>
Unordered list. A repeated field identifying the details relevant to this full
hash.
Corresponds to the JSON property fullHashDetails
40 41 42 |
# File 'lib/google/apis/safebrowsing_v5/classes.rb', line 40 def full_hash_details @full_hash_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
47 48 49 50 |
# File 'lib/google/apis/safebrowsing_v5/classes.rb', line 47 def update!(**args) @full_hash = args[:full_hash] if args.key?(:full_hash) @full_hash_details = args[:full_hash_details] if args.key?(:full_hash_details) end |