Represents a TargetSslProxy.
Package
@google-cloud/computeConstructors
(constructor)(properties)
constructor(properties?: google.cloud.compute.v1.ITargetSslProxy);
Constructs a new TargetSslProxy.
Name | Description |
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.
_selfLink
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.
selfLink
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.
Name | Description |
properties |
ITargetSslProxy
Properties to set |
Type | Description |
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.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
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.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
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.
Name | Description |
message |
ITargetSslProxy
TargetSslProxy message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$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.
Name | Description |
message |
ITargetSslProxy
TargetSslProxy message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$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.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.cloud.compute.v1.TargetSslProxy | TargetSslProxy |
toJSON()
public toJSON(): { [k: string]: any };
Converts this TargetSslProxy to JSON.
Type | Description |
{ [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.
Name | Description |
message |
google.cloud.compute.v1.TargetSslProxy
TargetSslProxy |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies a TargetSslProxy message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|