Class protos.google.cloud.compute.v1.TargetSslProxy (3.0.0)

Represents a TargetSslProxy.

Package

@google-cloud/compute

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.compute.v1.ITargetSslProxy);

Constructs a new TargetSslProxy.

Parameter
NameDescription
properties ITargetSslProxy

Properties to set

Properties

_creationTimestamp

public _creationTimestamp?: "creationTimestamp";

TargetSslProxy _creationTimestamp.

_description

public _description?: "description";

TargetSslProxy _description.

_id

public _id?: "id";

TargetSslProxy _id.

_kind

public _kind?: "kind";

TargetSslProxy _kind.

_name

public _name?: "name";

TargetSslProxy _name.

_proxyHeader

public _proxyHeader?: "proxyHeader";

TargetSslProxy _proxyHeader.

public _selfLink?: "selfLink";

TargetSslProxy _selfLink.

_service

public _service?: "service";

TargetSslProxy _service.

_sslPolicy

public _sslPolicy?: "sslPolicy";

TargetSslProxy _sslPolicy.

creationTimestamp

public creationTimestamp?: (string|null);

TargetSslProxy creationTimestamp.

description

public description?: (string|null);

TargetSslProxy description.

id

public id?: (number|Long|string|null);

TargetSslProxy id.

kind

public kind?: (string|null);

TargetSslProxy kind.

name

public name?: (string|null);

TargetSslProxy name.

proxyHeader

public proxyHeader?: (google.cloud.compute.v1.TargetSslProxy.ProxyHeader|keyof typeof google.cloud.compute.v1.TargetSslProxy.ProxyHeader|null);

TargetSslProxy proxyHeader.

public selfLink?: (string|null);

TargetSslProxy selfLink.

service

public service?: (string|null);

TargetSslProxy service.

sslCertificates

public sslCertificates: string[];

TargetSslProxy sslCertificates.

sslPolicy

public sslPolicy?: (string|null);

TargetSslProxy sslPolicy.

Methods

create(properties)

public static create(properties?: google.cloud.compute.v1.ITargetSslProxy): google.cloud.compute.v1.TargetSslProxy;

Creates a new TargetSslProxy instance using the specified properties.

Parameter
NameDescription
properties ITargetSslProxy

Properties to set

Returns
TypeDescription
google.cloud.compute.v1.TargetSslProxy

TargetSslProxy instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.TargetSslProxy;

Decodes a TargetSslProxy message from the specified reader or buffer.

Parameters
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
google.cloud.compute.v1.TargetSslProxy

TargetSslProxy

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.TargetSslProxy;

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

Parameter
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
google.cloud.compute.v1.TargetSslProxy

TargetSslProxy

encode(message, writer)

public static encode(message: google.cloud.compute.v1.ITargetSslProxy, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified TargetSslProxy message. Does not implicitly messages.

Parameters
NameDescription
message ITargetSslProxy

TargetSslProxy message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.cloud.compute.v1.ITargetSslProxy, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
NameDescription
message ITargetSslProxy

TargetSslProxy message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.TargetSslProxy;

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

Parameter
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
google.cloud.compute.v1.TargetSslProxy

TargetSslProxy

toJSON()

public toJSON(): { [k: string]: any };

Converts this TargetSslProxy to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.cloud.compute.v1.TargetSslProxy, options?: $protobuf.IConversionOptions): { [k: string]: any };

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

Parameters
NameDescription
message google.cloud.compute.v1.TargetSslProxy

TargetSslProxy

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a TargetSslProxy message.

Parameter
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not