Class: Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffRequest

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

Overview

Describes an API diff request.

Defined Under Namespace

Classes: Constraints

Instance Attribute Summary collapse

Instance Attribute Details

#constraints::Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffRequest::Constraints

Returns Required. The constraints associated with this request.

Returns:



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'proto_docs/google/cloud/webrisk/v1beta1/webrisk.rb', line 35

class ComputeThreatListDiffRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#threat_type::Google::Cloud::WebRisk::V1beta1::ThreatType

Returns The ThreatList to update.

Returns:



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'proto_docs/google/cloud/webrisk/v1beta1/webrisk.rb', line 35

class ComputeThreatListDiffRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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).

Returns:

  • (::String)

    The current version token of the client for the requested list (the client version that was received from the last successful diff).



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'proto_docs/google/cloud/webrisk/v1beta1/webrisk.rb', line 35

class ComputeThreatListDiffRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end