Google Certificate Authority Service V1beta1 Client - Class AllowedSubjectAltNames (1.7.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

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1beta1 \ CertificateAuthority \ CertificateAuthorityPolicy

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string[]
Returns
Type Description
$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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this

getAllowedEmailAddresses

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAllowedEmailAddresses

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

Parameter
Name Description
var string[]
Returns
Type Description
$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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this

getAllowGlobbingDnsWildcards

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

Returns
Type Description
bool

setAllowGlobbingDnsWildcards

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getAllowCustomSans

Optional. Specifies if to allow custom X509Extension values.

Returns
Type Description
bool

setAllowCustomSans

Optional. Specifies if to allow custom X509Extension values.

Parameter
Name Description
var bool
Returns
Type Description
$this