class Google::Apis::PrivatecaV1beta1::AllowedSubjectAltNames

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

Attributes

allow_custom_sans[RW]

Optional. Specifies if to allow custom X509Extension values. Corresponds to the JSON property `allowCustomSans` @return [Boolean]

allow_custom_sans?[RW]

Optional. Specifies if to allow custom X509Extension values. Corresponds to the JSON property `allowCustomSans` @return [Boolean]

allow_globbing_dns_wildcards[RW]

Optional. Specifies if glob patterns used for allowed_dns_names allow wildcard certificates. If this is set, certificate requests with wildcard domains will be permitted to match a glob pattern specified in allowed_dns_names. Otherwise, certificate requests with wildcard domains will be permitted only if allowed_dns_names contains a literal wildcard. Corresponds to the JSON property `allowGlobbingDnsWildcards` @return [Boolean]

allow_globbing_dns_wildcards?[RW]

Optional. Specifies if glob patterns used for allowed_dns_names allow wildcard certificates. If this is set, certificate requests with wildcard domains will be permitted to match a glob pattern specified in allowed_dns_names. Otherwise, certificate requests with wildcard domains will be permitted only if allowed_dns_names contains a literal wildcard. Corresponds to the JSON property `allowGlobbingDnsWildcards` @return [Boolean]

allowed_dns_names[RW]

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

  1. “*”). 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'. Corresponds to the JSON property `allowedDnsNames` @return [Array<String>]

allowed_email_addresses[RW]

Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported. Corresponds to the JSON property `allowedEmailAddresses` @return [Array<String>]

allowed_ips[RW]

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). Corresponds to the JSON property `allowedIps` @return [Array<String>]

allowed_uris[RW]

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. '**'). Corresponds to the JSON property `allowedUris` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/privateca_v1beta1/classes.rb, line 167
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/privateca_v1beta1/classes.rb, line 172
def update!(**args)
  @allow_custom_sans = args[:allow_custom_sans] if args.key?(:allow_custom_sans)
  @allow_globbing_dns_wildcards = args[:allow_globbing_dns_wildcards] if args.key?(:allow_globbing_dns_wildcards)
  @allowed_dns_names = args[:allowed_dns_names] if args.key?(:allowed_dns_names)
  @allowed_email_addresses = args[:allowed_email_addresses] if args.key?(:allowed_email_addresses)
  @allowed_ips = args[:allowed_ips] if args.key?(:allowed_ips)
  @allowed_uris = args[:allowed_uris] if args.key?(:allowed_uris)
end