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

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.



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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.

Returns:

  • (::String)

    [Output Only] Creation timestamp in RFC3339 text format.



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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.

Returns:

  • (::String)

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



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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.

Returns:

  • (::String)

    [Output Only] Expire time of the certificate. RFC3339



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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.

Returns:

  • (::Integer)

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



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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.

Returns:

  • (::String)

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



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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.

Returns:



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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.

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.



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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.

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.



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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.

Returns:

  • (::String)

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



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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

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

Returns:

  • (::String)

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



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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.

Returns:



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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.

Returns:

  • (::Array<::String>)

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



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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.

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.



24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24411

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