Class: Google::Cloud::WebRisk::V1::ComputeThreatListDiffRequest::Constraints

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/webrisk/v1/webrisk.rb

Overview

The constraints for this diff.

Instance Attribute Summary collapse

Instance Attribute Details

#max_database_entries::Integer

Returns 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.

Returns:

  • (::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.



56
57
58
59
# File 'proto_docs/google/cloud/webrisk/v1/webrisk.rb', line 56

class Constraints
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_diff_entries::Integer

Returns 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.

Returns:

  • (::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.



56
57
58
59
# File 'proto_docs/google/cloud/webrisk/v1/webrisk.rb', line 56

class Constraints
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#supported_compressions::Array<::Google::Cloud::WebRisk::V1::CompressionType>

Returns The compression types supported by the client.

Returns:



56
57
58
59
# File 'proto_docs/google/cloud/webrisk/v1/webrisk.rb', line 56

class Constraints
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end