Class: Google::Cloud::Compute::V1::SslCertificate
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::SslCertificate
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
Represents an SSL Certificate resource. Google Compute Engine has two SSL Certificate resources: * Global * Regional The sslCertificates are used by: - external HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS load balancers. Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#certificate ⇒ ::String
A value read into memory from a certificate file.
-
#creation_timestamp ⇒ ::String
[Output Only] Creation timestamp in RFC3339 text format.
-
#description ⇒ ::String
An optional description of this resource.
-
#expire_time ⇒ ::String
[Output Only] Expire time of the certificate.
-
#id ⇒ ::Integer
[Output Only] The unique identifier for the resource.
-
#kind ⇒ ::String
[Output Only] Type of the resource.
-
#managed ⇒ ::Google::Cloud::Compute::V1::SslCertificateManagedSslCertificate
Configuration and status of a managed SSL certificate.
-
#name ⇒ ::String
Name of the resource.
-
#private_key ⇒ ::String
A value read into memory from a write-only private key file.
-
#region ⇒ ::String
[Output Only] URL of the region where the regional SSL Certificate resides.
-
#self_link ⇒ ::String
[Output only] Server-defined URL for the resource.
-
#self_managed ⇒ ::Google::Cloud::Compute::V1::SslCertificateSelfManagedSslCertificate
Configuration and status of a self-managed SSL certificate.
-
#subject_alternative_names ⇒ ::Array<::String>
[Output Only] Domains associated with the certificate via Subject Alternative Name.
-
#type ⇒ ::String
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".
Instance Attribute Details
#certificate ⇒ ::String
Returns A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#creation_timestamp ⇒ ::String
Returns [Output Only] Creation timestamp in RFC3339 text format.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#description ⇒ ::String
Returns An optional description of this resource. Provide this property when you create the resource.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#expire_time ⇒ ::String
Returns [Output Only] Expire time of the certificate. RFC3339.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#id ⇒ ::Integer
Returns [Output Only] The unique identifier for the resource. This identifier is defined by the server.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#kind ⇒ ::String
Returns [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#managed ⇒ ::Google::Cloud::Compute::V1::SslCertificateManagedSslCertificate
Returns Configuration and status of a managed SSL certificate.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#name ⇒ ::String
Returns Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#private_key ⇒ ::String
Returns A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#region ⇒ ::String
Returns [Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#self_link ⇒ ::String
Returns [Output only] Server-defined URL for the resource.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#self_managed ⇒ ::Google::Cloud::Compute::V1::SslCertificateSelfManagedSslCertificate
Returns Configuration and status of a self-managed SSL certificate.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#subject_alternative_names ⇒ ::Array<::String>
Returns [Output Only] Domains associated with the certificate via Subject Alternative Name.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |
#type ⇒ ::String
Returns (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. Check the Type enum for the list of possible values.
23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23198 class SslCertificate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # Google-managed SSLCertificate. MANAGED = 479501183 # Certificate uploaded by user. SELF_MANAGED = 434437516 TYPE_UNSPECIFIED = 437714322 end end |