SslCertificate

google.cloud.compute.v1. SslCertificate

Represents a SslCertificate.

Constructor

new SslCertificate(propertiesopt)

Constructs a new SslCertificate.

Parameters:
Name Type Attributes Description
properties google.cloud.compute.v1.ISslCertificate <optional>

Properties to set

Implements:
  • ISslCertificate

Members

_certificate

SslCertificate _certificate.

_creationTimestamp

SslCertificate _creationTimestamp.

_description

SslCertificate _description.

_expireTime

SslCertificate _expireTime.

_id

SslCertificate _id.

_kind

SslCertificate _kind.

_managed

SslCertificate _managed.

_name

SslCertificate _name.

_privateKey

SslCertificate _privateKey.

_region

SslCertificate _region.

SslCertificate _selfLink.

_selfManaged

SslCertificate _selfManaged.

_type

SslCertificate _type.

certificate

SslCertificate certificate.

creationTimestamp

SslCertificate creationTimestamp.

description

SslCertificate description.

expireTime

SslCertificate expireTime.

id

SslCertificate id.

kind

SslCertificate kind.

managed

SslCertificate managed.

name

SslCertificate name.

privateKey

SslCertificate privateKey.

region

SslCertificate region.

SslCertificate selfLink.

selfManaged

SslCertificate selfManaged.

subjectAlternativeNames

SslCertificate subjectAlternativeNames.

type

SslCertificate type.

Type

Type enum.

Properties:
Name Type Description
UNDEFINED_TYPE number

UNDEFINED_TYPE value

MANAGED number

MANAGED value

SELF_MANAGED number

SELF_MANAGED value

TYPE_UNSPECIFIED number

TYPE_UNSPECIFIED value

Methods

toJSON() → {Object.<string, *>}

Converts this SslCertificate to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) create(propertiesopt) → {google.cloud.compute.v1.SslCertificate}

Creates a new SslCertificate instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.compute.v1.ISslCertificate <optional>

Properties to set

Returns:
Type Description
google.cloud.compute.v1.SslCertificate

SslCertificate instance

(static) decode(reader, lengthopt) → {google.cloud.compute.v1.SslCertificate}

Decodes a SslCertificate message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Returns:
Type Description
google.cloud.compute.v1.SslCertificate

SslCertificate

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.compute.v1.SslCertificate}

Decodes a SslCertificate message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Returns:
Type Description
google.cloud.compute.v1.SslCertificate

SslCertificate

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified SslCertificate message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.ISslCertificate

SslCertificate message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified SslCertificate message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.ISslCertificate

SslCertificate message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) fromObject(object) → {google.cloud.compute.v1.SslCertificate}

Creates a SslCertificate message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.cloud.compute.v1.SslCertificate

SslCertificate

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for SslCertificate

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a SslCertificate message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.SslCertificate

SslCertificate

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) verify(message) → {string|null}

Verifies a SslCertificate message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

Returns:
Type Description
string | null

null if valid, otherwise the reason why it is not