Class: Google::Cloud::Security::PrivateCA::V1::X509Parameters

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

Overview

An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.

Defined Under Namespace

Classes: CaOptions, NameConstraints

Instance Attribute Summary collapse

Instance Attribute Details

#additional_extensions::Array<::Google::Cloud::Security::PrivateCA::V1::X509Extension>

Returns Optional. Describes custom X.509 extensions.

Returns:



879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 879

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

  # Describes values that are relevant in a CA certificate.
  # @!attribute [rw] is_ca
  #   @return [::Boolean]
  #     Optional. Refers to the "CA" X.509 extension, which is a boolean value.
  #     When this value is missing, the extension will be omitted from the CA
  #     certificate.
  # @!attribute [rw] max_issuer_path_length
  #   @return [::Integer]
  #     Optional. Refers to the path length restriction X.509 extension. For a CA
  #     certificate, this value describes the depth of subordinate CA
  #     certificates that are allowed.
  #     If this value is less than 0, the request will fail.
  #     If this value is missing, the max path length will be omitted from the
  #     CA certificate.
  class CaOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describes the X.509 name constraints extension, per
  # https://tools.ietf.org/html/rfc5280#section-4.2.1.10
  # @!attribute [rw] critical
  #   @return [::Boolean]
  #     Indicates whether or not the name constraints are marked critical.
  # @!attribute [rw] permitted_dns_names
  #   @return [::Array<::String>]
  #     Contains permitted DNS names. Any DNS name that can be
  #     constructed by simply adding zero or more labels to
  #     the left-hand side of the name satisfies the name constraint.
  #     For example, `example.com`, `www.example.com`, `www.sub.example.com`
  #     would satisfy `example.com` while `example1.com` does not.
  # @!attribute [rw] excluded_dns_names
  #   @return [::Array<::String>]
  #     Contains excluded DNS names. Any DNS name that can be
  #     constructed by simply adding zero or more labels to
  #     the left-hand side of the name satisfies the name constraint.
  #     For example, `example.com`, `www.example.com`, `www.sub.example.com`
  #     would satisfy `example.com` while `example1.com` does not.
  # @!attribute [rw] permitted_ip_ranges
  #   @return [::Array<::String>]
  #     Contains the permitted IP ranges. For IPv4 addresses, the ranges
  #     are expressed using CIDR notation as specified in RFC 4632.
  #     For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
  #     addresses.
  # @!attribute [rw] excluded_ip_ranges
  #   @return [::Array<::String>]
  #     Contains the excluded IP ranges. For IPv4 addresses, the ranges
  #     are expressed using CIDR notation as specified in RFC 4632.
  #     For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
  #     addresses.
  # @!attribute [rw] permitted_email_addresses
  #   @return [::Array<::String>]
  #     Contains the permitted email addresses. The value can be a particular
  #     email address, a hostname to indicate all email addresses on that host or
  #     a domain with a leading period (e.g. `.example.com`) to indicate
  #     all email addresses in that domain.
  # @!attribute [rw] excluded_email_addresses
  #   @return [::Array<::String>]
  #     Contains the excluded email addresses. The value can be a particular
  #     email address, a hostname to indicate all email addresses on that host or
  #     a domain with a leading period (e.g. `.example.com`) to indicate
  #     all email addresses in that domain.
  # @!attribute [rw] permitted_uris
  #   @return [::Array<::String>]
  #     Contains the permitted URIs that apply to the host part of the name.
  #     The value can be a hostname or a domain with a
  #     leading period (like `.example.com`)
  # @!attribute [rw] excluded_uris
  #   @return [::Array<::String>]
  #     Contains the excluded URIs that apply to the host part of the name.
  #     The value can be a hostname or a domain with a
  #     leading period (like `.example.com`)
  class NameConstraints
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#aia_ocsp_servers::Array<::String>

Returns Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

Returns:

  • (::Array<::String>)

    Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.



879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 879

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

  # Describes values that are relevant in a CA certificate.
  # @!attribute [rw] is_ca
  #   @return [::Boolean]
  #     Optional. Refers to the "CA" X.509 extension, which is a boolean value.
  #     When this value is missing, the extension will be omitted from the CA
  #     certificate.
  # @!attribute [rw] max_issuer_path_length
  #   @return [::Integer]
  #     Optional. Refers to the path length restriction X.509 extension. For a CA
  #     certificate, this value describes the depth of subordinate CA
  #     certificates that are allowed.
  #     If this value is less than 0, the request will fail.
  #     If this value is missing, the max path length will be omitted from the
  #     CA certificate.
  class CaOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describes the X.509 name constraints extension, per
  # https://tools.ietf.org/html/rfc5280#section-4.2.1.10
  # @!attribute [rw] critical
  #   @return [::Boolean]
  #     Indicates whether or not the name constraints are marked critical.
  # @!attribute [rw] permitted_dns_names
  #   @return [::Array<::String>]
  #     Contains permitted DNS names. Any DNS name that can be
  #     constructed by simply adding zero or more labels to
  #     the left-hand side of the name satisfies the name constraint.
  #     For example, `example.com`, `www.example.com`, `www.sub.example.com`
  #     would satisfy `example.com` while `example1.com` does not.
  # @!attribute [rw] excluded_dns_names
  #   @return [::Array<::String>]
  #     Contains excluded DNS names. Any DNS name that can be
  #     constructed by simply adding zero or more labels to
  #     the left-hand side of the name satisfies the name constraint.
  #     For example, `example.com`, `www.example.com`, `www.sub.example.com`
  #     would satisfy `example.com` while `example1.com` does not.
  # @!attribute [rw] permitted_ip_ranges
  #   @return [::Array<::String>]
  #     Contains the permitted IP ranges. For IPv4 addresses, the ranges
  #     are expressed using CIDR notation as specified in RFC 4632.
  #     For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
  #     addresses.
  # @!attribute [rw] excluded_ip_ranges
  #   @return [::Array<::String>]
  #     Contains the excluded IP ranges. For IPv4 addresses, the ranges
  #     are expressed using CIDR notation as specified in RFC 4632.
  #     For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
  #     addresses.
  # @!attribute [rw] permitted_email_addresses
  #   @return [::Array<::String>]
  #     Contains the permitted email addresses. The value can be a particular
  #     email address, a hostname to indicate all email addresses on that host or
  #     a domain with a leading period (e.g. `.example.com`) to indicate
  #     all email addresses in that domain.
  # @!attribute [rw] excluded_email_addresses
  #   @return [::Array<::String>]
  #     Contains the excluded email addresses. The value can be a particular
  #     email address, a hostname to indicate all email addresses on that host or
  #     a domain with a leading period (e.g. `.example.com`) to indicate
  #     all email addresses in that domain.
  # @!attribute [rw] permitted_uris
  #   @return [::Array<::String>]
  #     Contains the permitted URIs that apply to the host part of the name.
  #     The value can be a hostname or a domain with a
  #     leading period (like `.example.com`)
  # @!attribute [rw] excluded_uris
  #   @return [::Array<::String>]
  #     Contains the excluded URIs that apply to the host part of the name.
  #     The value can be a hostname or a domain with a
  #     leading period (like `.example.com`)
  class NameConstraints
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#ca_options::Google::Cloud::Security::PrivateCA::V1::X509Parameters::CaOptions

Returns Optional. Describes options in this X509Parameters that are relevant in a CA certificate.

Returns:



879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 879

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

  # Describes values that are relevant in a CA certificate.
  # @!attribute [rw] is_ca
  #   @return [::Boolean]
  #     Optional. Refers to the "CA" X.509 extension, which is a boolean value.
  #     When this value is missing, the extension will be omitted from the CA
  #     certificate.
  # @!attribute [rw] max_issuer_path_length
  #   @return [::Integer]
  #     Optional. Refers to the path length restriction X.509 extension. For a CA
  #     certificate, this value describes the depth of subordinate CA
  #     certificates that are allowed.
  #     If this value is less than 0, the request will fail.
  #     If this value is missing, the max path length will be omitted from the
  #     CA certificate.
  class CaOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describes the X.509 name constraints extension, per
  # https://tools.ietf.org/html/rfc5280#section-4.2.1.10
  # @!attribute [rw] critical
  #   @return [::Boolean]
  #     Indicates whether or not the name constraints are marked critical.
  # @!attribute [rw] permitted_dns_names
  #   @return [::Array<::String>]
  #     Contains permitted DNS names. Any DNS name that can be
  #     constructed by simply adding zero or more labels to
  #     the left-hand side of the name satisfies the name constraint.
  #     For example, `example.com`, `www.example.com`, `www.sub.example.com`
  #     would satisfy `example.com` while `example1.com` does not.
  # @!attribute [rw] excluded_dns_names
  #   @return [::Array<::String>]
  #     Contains excluded DNS names. Any DNS name that can be
  #     constructed by simply adding zero or more labels to
  #     the left-hand side of the name satisfies the name constraint.
  #     For example, `example.com`, `www.example.com`, `www.sub.example.com`
  #     would satisfy `example.com` while `example1.com` does not.
  # @!attribute [rw] permitted_ip_ranges
  #   @return [::Array<::String>]
  #     Contains the permitted IP ranges. For IPv4 addresses, the ranges
  #     are expressed using CIDR notation as specified in RFC 4632.
  #     For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
  #     addresses.
  # @!attribute [rw] excluded_ip_ranges
  #   @return [::Array<::String>]
  #     Contains the excluded IP ranges. For IPv4 addresses, the ranges
  #     are expressed using CIDR notation as specified in RFC 4632.
  #     For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
  #     addresses.
  # @!attribute [rw] permitted_email_addresses
  #   @return [::Array<::String>]
  #     Contains the permitted email addresses. The value can be a particular
  #     email address, a hostname to indicate all email addresses on that host or
  #     a domain with a leading period (e.g. `.example.com`) to indicate
  #     all email addresses in that domain.
  # @!attribute [rw] excluded_email_addresses
  #   @return [::Array<::String>]
  #     Contains the excluded email addresses. The value can be a particular
  #     email address, a hostname to indicate all email addresses on that host or
  #     a domain with a leading period (e.g. `.example.com`) to indicate
  #     all email addresses in that domain.
  # @!attribute [rw] permitted_uris
  #   @return [::Array<::String>]
  #     Contains the permitted URIs that apply to the host part of the name.
  #     The value can be a hostname or a domain with a
  #     leading period (like `.example.com`)
  # @!attribute [rw] excluded_uris
  #   @return [::Array<::String>]
  #     Contains the excluded URIs that apply to the host part of the name.
  #     The value can be a hostname or a domain with a
  #     leading period (like `.example.com`)
  class NameConstraints
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#key_usage::Google::Cloud::Security::PrivateCA::V1::KeyUsage

Returns Optional. Indicates the intended use for keys that correspond to a certificate.

Returns:



879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 879

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

  # Describes values that are relevant in a CA certificate.
  # @!attribute [rw] is_ca
  #   @return [::Boolean]
  #     Optional. Refers to the "CA" X.509 extension, which is a boolean value.
  #     When this value is missing, the extension will be omitted from the CA
  #     certificate.
  # @!attribute [rw] max_issuer_path_length
  #   @return [::Integer]
  #     Optional. Refers to the path length restriction X.509 extension. For a CA
  #     certificate, this value describes the depth of subordinate CA
  #     certificates that are allowed.
  #     If this value is less than 0, the request will fail.
  #     If this value is missing, the max path length will be omitted from the
  #     CA certificate.
  class CaOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describes the X.509 name constraints extension, per
  # https://tools.ietf.org/html/rfc5280#section-4.2.1.10
  # @!attribute [rw] critical
  #   @return [::Boolean]
  #     Indicates whether or not the name constraints are marked critical.
  # @!attribute [rw] permitted_dns_names
  #   @return [::Array<::String>]
  #     Contains permitted DNS names. Any DNS name that can be
  #     constructed by simply adding zero or more labels to
  #     the left-hand side of the name satisfies the name constraint.
  #     For example, `example.com`, `www.example.com`, `www.sub.example.com`
  #     would satisfy `example.com` while `example1.com` does not.
  # @!attribute [rw] excluded_dns_names
  #   @return [::Array<::String>]
  #     Contains excluded DNS names. Any DNS name that can be
  #     constructed by simply adding zero or more labels to
  #     the left-hand side of the name satisfies the name constraint.
  #     For example, `example.com`, `www.example.com`, `www.sub.example.com`
  #     would satisfy `example.com` while `example1.com` does not.
  # @!attribute [rw] permitted_ip_ranges
  #   @return [::Array<::String>]
  #     Contains the permitted IP ranges. For IPv4 addresses, the ranges
  #     are expressed using CIDR notation as specified in RFC 4632.
  #     For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
  #     addresses.
  # @!attribute [rw] excluded_ip_ranges
  #   @return [::Array<::String>]
  #     Contains the excluded IP ranges. For IPv4 addresses, the ranges
  #     are expressed using CIDR notation as specified in RFC 4632.
  #     For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
  #     addresses.
  # @!attribute [rw] permitted_email_addresses
  #   @return [::Array<::String>]
  #     Contains the permitted email addresses. The value can be a particular
  #     email address, a hostname to indicate all email addresses on that host or
  #     a domain with a leading period (e.g. `.example.com`) to indicate
  #     all email addresses in that domain.
  # @!attribute [rw] excluded_email_addresses
  #   @return [::Array<::String>]
  #     Contains the excluded email addresses. The value can be a particular
  #     email address, a hostname to indicate all email addresses on that host or
  #     a domain with a leading period (e.g. `.example.com`) to indicate
  #     all email addresses in that domain.
  # @!attribute [rw] permitted_uris
  #   @return [::Array<::String>]
  #     Contains the permitted URIs that apply to the host part of the name.
  #     The value can be a hostname or a domain with a
  #     leading period (like `.example.com`)
  # @!attribute [rw] excluded_uris
  #   @return [::Array<::String>]
  #     Contains the excluded URIs that apply to the host part of the name.
  #     The value can be a hostname or a domain with a
  #     leading period (like `.example.com`)
  class NameConstraints
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name_constraints::Google::Cloud::Security::PrivateCA::V1::X509Parameters::NameConstraints

Returns Optional. Describes the X.509 name constraints extension.

Returns:



879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 879

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

  # Describes values that are relevant in a CA certificate.
  # @!attribute [rw] is_ca
  #   @return [::Boolean]
  #     Optional. Refers to the "CA" X.509 extension, which is a boolean value.
  #     When this value is missing, the extension will be omitted from the CA
  #     certificate.
  # @!attribute [rw] max_issuer_path_length
  #   @return [::Integer]
  #     Optional. Refers to the path length restriction X.509 extension. For a CA
  #     certificate, this value describes the depth of subordinate CA
  #     certificates that are allowed.
  #     If this value is less than 0, the request will fail.
  #     If this value is missing, the max path length will be omitted from the
  #     CA certificate.
  class CaOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describes the X.509 name constraints extension, per
  # https://tools.ietf.org/html/rfc5280#section-4.2.1.10
  # @!attribute [rw] critical
  #   @return [::Boolean]
  #     Indicates whether or not the name constraints are marked critical.
  # @!attribute [rw] permitted_dns_names
  #   @return [::Array<::String>]
  #     Contains permitted DNS names. Any DNS name that can be
  #     constructed by simply adding zero or more labels to
  #     the left-hand side of the name satisfies the name constraint.
  #     For example, `example.com`, `www.example.com`, `www.sub.example.com`
  #     would satisfy `example.com` while `example1.com` does not.
  # @!attribute [rw] excluded_dns_names
  #   @return [::Array<::String>]
  #     Contains excluded DNS names. Any DNS name that can be
  #     constructed by simply adding zero or more labels to
  #     the left-hand side of the name satisfies the name constraint.
  #     For example, `example.com`, `www.example.com`, `www.sub.example.com`
  #     would satisfy `example.com` while `example1.com` does not.
  # @!attribute [rw] permitted_ip_ranges
  #   @return [::Array<::String>]
  #     Contains the permitted IP ranges. For IPv4 addresses, the ranges
  #     are expressed using CIDR notation as specified in RFC 4632.
  #     For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
  #     addresses.
  # @!attribute [rw] excluded_ip_ranges
  #   @return [::Array<::String>]
  #     Contains the excluded IP ranges. For IPv4 addresses, the ranges
  #     are expressed using CIDR notation as specified in RFC 4632.
  #     For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
  #     addresses.
  # @!attribute [rw] permitted_email_addresses
  #   @return [::Array<::String>]
  #     Contains the permitted email addresses. The value can be a particular
  #     email address, a hostname to indicate all email addresses on that host or
  #     a domain with a leading period (e.g. `.example.com`) to indicate
  #     all email addresses in that domain.
  # @!attribute [rw] excluded_email_addresses
  #   @return [::Array<::String>]
  #     Contains the excluded email addresses. The value can be a particular
  #     email address, a hostname to indicate all email addresses on that host or
  #     a domain with a leading period (e.g. `.example.com`) to indicate
  #     all email addresses in that domain.
  # @!attribute [rw] permitted_uris
  #   @return [::Array<::String>]
  #     Contains the permitted URIs that apply to the host part of the name.
  #     The value can be a hostname or a domain with a
  #     leading period (like `.example.com`)
  # @!attribute [rw] excluded_uris
  #   @return [::Array<::String>]
  #     Contains the excluded URIs that apply to the host part of the name.
  #     The value can be a hostname or a domain with a
  #     leading period (like `.example.com`)
  class NameConstraints
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#policy_ids::Array<::Google::Cloud::Security::PrivateCA::V1::ObjectId>

Returns Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

Returns:



879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 879

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

  # Describes values that are relevant in a CA certificate.
  # @!attribute [rw] is_ca
  #   @return [::Boolean]
  #     Optional. Refers to the "CA" X.509 extension, which is a boolean value.
  #     When this value is missing, the extension will be omitted from the CA
  #     certificate.
  # @!attribute [rw] max_issuer_path_length
  #   @return [::Integer]
  #     Optional. Refers to the path length restriction X.509 extension. For a CA
  #     certificate, this value describes the depth of subordinate CA
  #     certificates that are allowed.
  #     If this value is less than 0, the request will fail.
  #     If this value is missing, the max path length will be omitted from the
  #     CA certificate.
  class CaOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describes the X.509 name constraints extension, per
  # https://tools.ietf.org/html/rfc5280#section-4.2.1.10
  # @!attribute [rw] critical
  #   @return [::Boolean]
  #     Indicates whether or not the name constraints are marked critical.
  # @!attribute [rw] permitted_dns_names
  #   @return [::Array<::String>]
  #     Contains permitted DNS names. Any DNS name that can be
  #     constructed by simply adding zero or more labels to
  #     the left-hand side of the name satisfies the name constraint.
  #     For example, `example.com`, `www.example.com`, `www.sub.example.com`
  #     would satisfy `example.com` while `example1.com` does not.
  # @!attribute [rw] excluded_dns_names
  #   @return [::Array<::String>]
  #     Contains excluded DNS names. Any DNS name that can be
  #     constructed by simply adding zero or more labels to
  #     the left-hand side of the name satisfies the name constraint.
  #     For example, `example.com`, `www.example.com`, `www.sub.example.com`
  #     would satisfy `example.com` while `example1.com` does not.
  # @!attribute [rw] permitted_ip_ranges
  #   @return [::Array<::String>]
  #     Contains the permitted IP ranges. For IPv4 addresses, the ranges
  #     are expressed using CIDR notation as specified in RFC 4632.
  #     For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
  #     addresses.
  # @!attribute [rw] excluded_ip_ranges
  #   @return [::Array<::String>]
  #     Contains the excluded IP ranges. For IPv4 addresses, the ranges
  #     are expressed using CIDR notation as specified in RFC 4632.
  #     For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
  #     addresses.
  # @!attribute [rw] permitted_email_addresses
  #   @return [::Array<::String>]
  #     Contains the permitted email addresses. The value can be a particular
  #     email address, a hostname to indicate all email addresses on that host or
  #     a domain with a leading period (e.g. `.example.com`) to indicate
  #     all email addresses in that domain.
  # @!attribute [rw] excluded_email_addresses
  #   @return [::Array<::String>]
  #     Contains the excluded email addresses. The value can be a particular
  #     email address, a hostname to indicate all email addresses on that host or
  #     a domain with a leading period (e.g. `.example.com`) to indicate
  #     all email addresses in that domain.
  # @!attribute [rw] permitted_uris
  #   @return [::Array<::String>]
  #     Contains the permitted URIs that apply to the host part of the name.
  #     The value can be a hostname or a domain with a
  #     leading period (like `.example.com`)
  # @!attribute [rw] excluded_uris
  #   @return [::Array<::String>]
  #     Contains the excluded URIs that apply to the host part of the name.
  #     The value can be a hostname or a domain with a
  #     leading period (like `.example.com`)
  class NameConstraints
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end