Class: Google::Cloud::Compute::V1::SslCertificate

Inherits:
Object
  • Object
show all
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 global SSL certificates (sslCertificates) are used by: - Global external Application Load Balancers - Classic Application Load Balancers - Proxy Network Load Balancers (with target SSL proxies) The regional SSL certificates (regionSslCertificates) are used by: - Regional external Application Load Balancers - Regional internal Application 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

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.

Returns:

  • (::String)

    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.



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  end
end

#creation_timestamp::String

Returns [Output Only] Creation timestamp in RFC3339 text format.

Returns:

  • (::String)

    [Output Only] Creation timestamp in RFC3339 text format.



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  end
end

#description::String

Returns An optional description of this resource. Provide this property when you create the resource.

Returns:

  • (::String)

    An optional description of this resource. Provide this property when you create the resource.



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  end
end

#expire_time::String

Returns [Output Only] Expire time of the certificate. RFC3339.

Returns:

  • (::String)

    [Output Only] Expire time of the certificate. RFC3339



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  end
end

#id::Integer

Returns [Output Only] The unique identifier for the resource. This identifier is defined by the server.

Returns:

  • (::Integer)

    [Output Only] The unique identifier for the resource. This identifier is defined by the server.



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  end
end

#kind::String

Returns [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.

Returns:

  • (::String)

    [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  end
end

#managed::Google::Cloud::Compute::V1::SslCertificateManagedSslCertificate

Returns Configuration and status of a managed SSL certificate.

Returns:



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  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.

Returns:

  • (::String)

    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.



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  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.

Returns:

  • (::String)

    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.



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  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.

Returns:

  • (::String)

    [Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  end
end

Returns [Output only] Server-defined URL for the resource.

Returns:

  • (::String)

    [Output only] Server-defined URL for the resource.



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  end
end

#self_managed::Google::Cloud::Compute::V1::SslCertificateSelfManagedSslCertificate

Returns Configuration and status of a self-managed SSL certificate.

Returns:



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  end
end

#subject_alternative_names::Array<::String>

Returns [Output Only] Domains associated with the certificate via Subject Alternative Name.

Returns:

  • (::Array<::String>)

    [Output Only] Domains associated with the certificate via Subject Alternative Name.



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  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.

Returns:

  • (::String)

    (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.



31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 31630

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 = 479_501_183

    # Certificate uploaded by user.
    SELF_MANAGED = 434_437_516

    TYPE_UNSPECIFIED = 437_714_322
  end
end