Class: Google::Apis::ComputeAlpha::SslCertificateManagedSslCertificate

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Overview

Configuration and status of a managed SSL certificate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SslCertificateManagedSslCertificate

Returns a new instance of SslCertificateManagedSslCertificate



24275
24276
24277
# File 'generated/google/apis/compute_alpha/classes.rb', line 24275

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#domain_statusHash<String,String>

[Output only] Detailed statuses of the domains specified for managed certificate resource. Corresponds to the JSON property domainStatus

Returns:

  • (Hash<String,String>)


24262
24263
24264
# File 'generated/google/apis/compute_alpha/classes.rb', line 24262

def domain_status
  @domain_status
end

#domainsArray<String>

The domains for which a managed SSL certificate will be generated. Currently only single-domain certs are supported. Corresponds to the JSON property domains

Returns:

  • (Array<String>)


24268
24269
24270
# File 'generated/google/apis/compute_alpha/classes.rb', line 24268

def domains
  @domains
end

#statusString

[Output only] Status of the managed certificate resource. Corresponds to the JSON property status

Returns:

  • (String)


24273
24274
24275
# File 'generated/google/apis/compute_alpha/classes.rb', line 24273

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24280
24281
24282
24283
24284
# File 'generated/google/apis/compute_alpha/classes.rb', line 24280

def update!(**args)
  @domain_status = args[:domain_status] if args.key?(:domain_status)
  @domains = args[:domains] if args.key?(:domains)
  @status = args[:status] if args.key?(:status)
end