Class: Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffRequest
- Defined in:
- lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb
Overview
Describes an API diff request.
Defined Under Namespace
Classes: Constraints
Instance Attribute Summary collapse
-
#constraints ⇒ Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffRequest::Constraints
Required.
-
#threat_type ⇒ Google::Cloud::Webrisk::V1beta1::ThreatType
The ThreatList to update.
-
#version_token ⇒ String
The current version token of the client for the requested list (the client version that was received from the last successful diff).
Instance Attribute Details
#constraints ⇒ Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffRequest::Constraints
Returns Required. The constraints associated with this request.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb', line 31 class ComputeThreatListDiffRequest # The constraints for this diff. # @!attribute [rw] max_diff_entries # @return [Integer] # The maximum size in number of entries. The diff will not contain more # entries than this value. This should be a power of 2 between 2**10 and # 2**20. If zero, no diff size limit is set. # @!attribute [rw] max_database_entries # @return [Integer] # Sets the maximum number of entries that the client is willing to have # in the local database. This should be a power of 2 between 2**10 and # 2**20. If zero, no database size limit is set. # @!attribute [rw] supported_compressions # @return [Array<Google::Cloud::Webrisk::V1beta1::CompressionType>] # The compression types supported by the client. class Constraints; end end |
#threat_type ⇒ Google::Cloud::Webrisk::V1beta1::ThreatType
Returns The ThreatList to update.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb', line 31 class ComputeThreatListDiffRequest # The constraints for this diff. # @!attribute [rw] max_diff_entries # @return [Integer] # The maximum size in number of entries. The diff will not contain more # entries than this value. This should be a power of 2 between 2**10 and # 2**20. If zero, no diff size limit is set. # @!attribute [rw] max_database_entries # @return [Integer] # Sets the maximum number of entries that the client is willing to have # in the local database. This should be a power of 2 between 2**10 and # 2**20. If zero, no database size limit is set. # @!attribute [rw] supported_compressions # @return [Array<Google::Cloud::Webrisk::V1beta1::CompressionType>] # The compression types supported by the client. class Constraints; end end |
#version_token ⇒ String
Returns The current version token of the client for the requested list (the client version that was received from the last successful diff).
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb', line 31 class ComputeThreatListDiffRequest # The constraints for this diff. # @!attribute [rw] max_diff_entries # @return [Integer] # The maximum size in number of entries. The diff will not contain more # entries than this value. This should be a power of 2 between 2**10 and # 2**20. If zero, no diff size limit is set. # @!attribute [rw] max_database_entries # @return [Integer] # Sets the maximum number of entries that the client is willing to have # in the local database. This should be a power of 2 between 2**10 and # 2**20. If zero, no database size limit is set. # @!attribute [rw] supported_compressions # @return [Array<Google::Cloud::Webrisk::V1beta1::CompressionType>] # The compression types supported by the client. class Constraints; end end |