Reference documentation and code samples for the Certificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::X509Parameters::NameConstraints.
Describes the X.509 name constraints extension, per https://tools.ietf.org/html/rfc5280#section-4.2.1.10
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#critical
def critical() -> ::Boolean
Returns
- (::Boolean) — Indicates whether or not the name constraints are marked critical.
#critical=
def critical=(value) -> ::Boolean
Parameter
- value (::Boolean) — Indicates whether or not the name constraints are marked critical.
Returns
- (::Boolean) — Indicates whether or not the name constraints are marked critical.
#excluded_dns_names
def excluded_dns_names() -> ::Array<::String>
Returns
-
(::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 satisfyexample.com
whileexample1.com
does not.
#excluded_dns_names=
def excluded_dns_names=(value) -> ::Array<::String>
Parameter
-
value (::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 satisfyexample.com
whileexample1.com
does not.
Returns
-
(::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 satisfyexample.com
whileexample1.com
does not.
#excluded_email_addresses
def excluded_email_addresses() -> ::Array<::String>
Returns
-
(::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.
#excluded_email_addresses=
def excluded_email_addresses=(value) -> ::Array<::String>
Parameter
-
value (::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.
Returns
-
(::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.
#excluded_ip_ranges
def excluded_ip_ranges() -> ::Array<::String>
Returns
- (::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.
#excluded_ip_ranges=
def excluded_ip_ranges=(value) -> ::Array<::String>
Parameter
- value (::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.
Returns
- (::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.
#excluded_uris
def excluded_uris() -> ::Array<::String>
Returns
-
(::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
)
#excluded_uris=
def excluded_uris=(value) -> ::Array<::String>
Parameter
-
value (::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
)
Returns
-
(::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
)
#permitted_dns_names
def permitted_dns_names() -> ::Array<::String>
Returns
-
(::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 satisfyexample.com
whileexample1.com
does not.
#permitted_dns_names=
def permitted_dns_names=(value) -> ::Array<::String>
Parameter
-
value (::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 satisfyexample.com
whileexample1.com
does not.
Returns
-
(::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 satisfyexample.com
whileexample1.com
does not.
#permitted_email_addresses
def permitted_email_addresses() -> ::Array<::String>
Returns
-
(::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.
#permitted_email_addresses=
def permitted_email_addresses=(value) -> ::Array<::String>
Parameter
-
value (::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.
Returns
-
(::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.
#permitted_ip_ranges
def permitted_ip_ranges() -> ::Array<::String>
Returns
- (::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.
#permitted_ip_ranges=
def permitted_ip_ranges=(value) -> ::Array<::String>
Parameter
- value (::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.
Returns
- (::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.
#permitted_uris
def permitted_uris() -> ::Array<::String>
Returns
-
(::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
)
#permitted_uris=
def permitted_uris=(value) -> ::Array<::String>
Parameter
-
value (::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
)
Returns
-
(::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
)