Class: Google::Cloud::Compute::V1::SslPolicy

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

Overview

Represents an SSL Policy resource. Use SSL policies to control the SSL features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy load balancer. For more information, read SSL Policy Concepts.

Defined Under Namespace

Modules: MinTlsVersion, Profile

Instance Attribute Summary collapse

Instance Attribute Details

#creation_timestamp::String

Returns [Output Only] Creation timestamp in RFC3339 text format.

Returns:

  • (::String)

    [Output Only] Creation timestamp in RFC3339 text format.



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23416

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

  # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
  module MinTlsVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_MIN_TLS_VERSION = 0

    # TLS 1.0
    TLS_1_0 = 33116734

    # TLS 1.1
    TLS_1_1 = 33116735

    # TLS 1.2
    TLS_1_2 = 33116736
  end

  # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
  module Profile
    # A value indicating that the enum field is not set.
    UNDEFINED_PROFILE = 0

    # Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
    COMPATIBLE = 179357396

    # Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
    CUSTOM = 388595569

    # Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
    MODERN = 132013855

    # Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
    RESTRICTED = 261551195
  end
end

#custom_features::Array<::String>

Returns A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.

Returns:

  • (::Array<::String>)

    A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23416

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

  # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
  module MinTlsVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_MIN_TLS_VERSION = 0

    # TLS 1.0
    TLS_1_0 = 33116734

    # TLS 1.1
    TLS_1_1 = 33116735

    # TLS 1.2
    TLS_1_2 = 33116736
  end

  # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
  module Profile
    # A value indicating that the enum field is not set.
    UNDEFINED_PROFILE = 0

    # Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
    COMPATIBLE = 179357396

    # Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
    CUSTOM = 388595569

    # Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
    MODERN = 132013855

    # Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
    RESTRICTED = 261551195
  end
end

#description::String

Returns An optional description of this resource. Provide this property when you create the resource.

Returns:

  • (::String)

    An optional description of this resource. Provide this property when you create the resource.



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23416

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

  # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
  module MinTlsVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_MIN_TLS_VERSION = 0

    # TLS 1.0
    TLS_1_0 = 33116734

    # TLS 1.1
    TLS_1_1 = 33116735

    # TLS 1.2
    TLS_1_2 = 33116736
  end

  # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
  module Profile
    # A value indicating that the enum field is not set.
    UNDEFINED_PROFILE = 0

    # Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
    COMPATIBLE = 179357396

    # Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
    CUSTOM = 388595569

    # Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
    MODERN = 132013855

    # Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
    RESTRICTED = 261551195
  end
end

#enabled_features::Array<::String>

Returns [Output Only] The list of features enabled in the SSL policy.

Returns:

  • (::Array<::String>)

    [Output Only] The list of features enabled in the SSL policy.



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23416

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

  # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
  module MinTlsVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_MIN_TLS_VERSION = 0

    # TLS 1.0
    TLS_1_0 = 33116734

    # TLS 1.1
    TLS_1_1 = 33116735

    # TLS 1.2
    TLS_1_2 = 33116736
  end

  # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
  module Profile
    # A value indicating that the enum field is not set.
    UNDEFINED_PROFILE = 0

    # Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
    COMPATIBLE = 179357396

    # Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
    CUSTOM = 388595569

    # Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
    MODERN = 132013855

    # Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
    RESTRICTED = 261551195
  end
end

#fingerprint::String

Returns Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.

Returns:

  • (::String)

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23416

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

  # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
  module MinTlsVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_MIN_TLS_VERSION = 0

    # TLS 1.0
    TLS_1_0 = 33116734

    # TLS 1.1
    TLS_1_1 = 33116735

    # TLS 1.2
    TLS_1_2 = 33116736
  end

  # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
  module Profile
    # A value indicating that the enum field is not set.
    UNDEFINED_PROFILE = 0

    # Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
    COMPATIBLE = 179357396

    # Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
    CUSTOM = 388595569

    # Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
    MODERN = 132013855

    # Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
    RESTRICTED = 261551195
  end
end

#id::Integer

Returns [Output Only] The unique identifier for the resource. This identifier is defined by the server.

Returns:

  • (::Integer)

    [Output Only] The unique identifier for the resource. This identifier is defined by the server.



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23416

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

  # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
  module MinTlsVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_MIN_TLS_VERSION = 0

    # TLS 1.0
    TLS_1_0 = 33116734

    # TLS 1.1
    TLS_1_1 = 33116735

    # TLS 1.2
    TLS_1_2 = 33116736
  end

  # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
  module Profile
    # A value indicating that the enum field is not set.
    UNDEFINED_PROFILE = 0

    # Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
    COMPATIBLE = 179357396

    # Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
    CUSTOM = 388595569

    # Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
    MODERN = 132013855

    # Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
    RESTRICTED = 261551195
  end
end

#kind::String

Returns [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.

Returns:

  • (::String)

    [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23416

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

  # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
  module MinTlsVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_MIN_TLS_VERSION = 0

    # TLS 1.0
    TLS_1_0 = 33116734

    # TLS 1.1
    TLS_1_1 = 33116735

    # TLS 1.2
    TLS_1_2 = 33116736
  end

  # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
  module Profile
    # A value indicating that the enum field is not set.
    UNDEFINED_PROFILE = 0

    # Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
    COMPATIBLE = 179357396

    # Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
    CUSTOM = 388595569

    # Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
    MODERN = 132013855

    # Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
    RESTRICTED = 261551195
  end
end

#min_tls_version::String

Returns The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. Check the MinTlsVersion enum for the list of possible values.

Returns:

  • (::String)

    The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. Check the MinTlsVersion enum for the list of possible values.



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23416

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

  # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
  module MinTlsVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_MIN_TLS_VERSION = 0

    # TLS 1.0
    TLS_1_0 = 33116734

    # TLS 1.1
    TLS_1_1 = 33116735

    # TLS 1.2
    TLS_1_2 = 33116736
  end

  # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
  module Profile
    # A value indicating that the enum field is not set.
    UNDEFINED_PROFILE = 0

    # Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
    COMPATIBLE = 179357396

    # Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
    CUSTOM = 388595569

    # Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
    MODERN = 132013855

    # Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
    RESTRICTED = 261551195
  end
end

#name::String

Returns Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Returns:

  • (::String)

    Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23416

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

  # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
  module MinTlsVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_MIN_TLS_VERSION = 0

    # TLS 1.0
    TLS_1_0 = 33116734

    # TLS 1.1
    TLS_1_1 = 33116735

    # TLS 1.2
    TLS_1_2 = 33116736
  end

  # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
  module Profile
    # A value indicating that the enum field is not set.
    UNDEFINED_PROFILE = 0

    # Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
    COMPATIBLE = 179357396

    # Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
    CUSTOM = 388595569

    # Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
    MODERN = 132013855

    # Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
    RESTRICTED = 261551195
  end
end

#profile::String

Returns Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. Check the Profile enum for the list of possible values.

Returns:

  • (::String)

    Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. Check the Profile enum for the list of possible values.



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23416

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

  # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
  module MinTlsVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_MIN_TLS_VERSION = 0

    # TLS 1.0
    TLS_1_0 = 33116734

    # TLS 1.1
    TLS_1_1 = 33116735

    # TLS 1.2
    TLS_1_2 = 33116736
  end

  # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
  module Profile
    # A value indicating that the enum field is not set.
    UNDEFINED_PROFILE = 0

    # Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
    COMPATIBLE = 179357396

    # Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
    CUSTOM = 388595569

    # Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
    MODERN = 132013855

    # Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
    RESTRICTED = 261551195
  end
end

Returns [Output Only] Server-defined URL for the resource.

Returns:

  • (::String)

    [Output Only] Server-defined URL for the resource.



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23416

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

  # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
  module MinTlsVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_MIN_TLS_VERSION = 0

    # TLS 1.0
    TLS_1_0 = 33116734

    # TLS 1.1
    TLS_1_1 = 33116735

    # TLS 1.2
    TLS_1_2 = 33116736
  end

  # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
  module Profile
    # A value indicating that the enum field is not set.
    UNDEFINED_PROFILE = 0

    # Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
    COMPATIBLE = 179357396

    # Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
    CUSTOM = 388595569

    # Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
    MODERN = 132013855

    # Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
    RESTRICTED = 261551195
  end
end

#warnings::Array<::Google::Cloud::Compute::V1::Warnings>

Returns [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.

Returns:



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23416

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

  # The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
  module MinTlsVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_MIN_TLS_VERSION = 0

    # TLS 1.0
    TLS_1_0 = 33116734

    # TLS 1.1
    TLS_1_1 = 33116735

    # TLS 1.2
    TLS_1_2 = 33116736
  end

  # Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
  module Profile
    # A value indicating that the enum field is not set.
    UNDEFINED_PROFILE = 0

    # Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.
    COMPATIBLE = 179357396

    # Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.
    CUSTOM = 388595569

    # Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.
    MODERN = 132013855

    # Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.
    RESTRICTED = 261551195
  end
end