Google Certificate Authority Service V1beta1 Client - Class AllowedSubjectAltNames (1.2.2)

Reference documentation and code samples for the Google Certificate Authority Service V1beta1 Client class AllowedSubjectAltNames.

AllowedSubjectAltNames specifies the allowed values for SubjectAltNames by the CertificateAuthority when issuing Certificates.

Generated from protobuf message google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ allowed_dns_names array

Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. \*). E.g. for globbed entries: *bar.com will allow foo.bar.com, but not *.bar.com, unless the allow_globbing_dns_wildcards field is set. E.g. for wildcard entries: \*.bar.com will allow *.bar.com, but not foo.bar.com.

↳ allowed_uris array

Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').

↳ allowed_email_addresses array

Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.

↳ allowed_ips array

Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).

↳ allow_globbing_dns_wildcards bool

Optional. Specifies if glob patterns used for allowed_dns_names allows wildcard certificates.

↳ allow_custom_sans bool

Optional. Specifies if to allow custom X509Extension values.

getAllowedDnsNames

Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. \*).

E.g. for globbed entries: *bar.com will allow foo.bar.com, but not *.bar.com, unless the allow_globbing_dns_wildcards field is set. E.g. for wildcard entries: \*.bar.com will allow *.bar.com, but not foo.bar.com.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllowedDnsNames

Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. \*).

E.g. for globbed entries: *bar.com will allow foo.bar.com, but not *.bar.com, unless the allow_globbing_dns_wildcards field is set. E.g. for wildcard entries: \*.bar.com will allow *.bar.com, but not foo.bar.com.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getAllowedUris

Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllowedUris

Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getAllowedEmailAddresses

Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllowedEmailAddresses

Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getAllowedIps

Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllowedIps

Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getAllowGlobbingDnsWildcards

Optional. Specifies if glob patterns used for allowed_dns_names allows wildcard certificates.

Returns
TypeDescription
bool

setAllowGlobbingDnsWildcards

Optional. Specifies if glob patterns used for allowed_dns_names allows wildcard certificates.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getAllowCustomSans

Optional. Specifies if to allow custom X509Extension values.

Returns
TypeDescription
bool

setAllowCustomSans

Optional. Specifies if to allow custom X509Extension values.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this