Class protos.google.cloud.networksecurity.v1alpha1.PartnerSSEGateway (4.1.1)

Represents a PartnerSSEGateway.

Implements

Package

@google-cloud/network-security

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.networksecurity.v1alpha1.IPartnerSSEGateway);

Constructs a new PartnerSSEGateway.

Parameter
Name Description
properties IPartnerSSEGateway

Properties to set

Properties

capacityBps

public capacityBps: (number|Long|string);

PartnerSSEGateway capacityBps.

country

public country: string;

PartnerSSEGateway country.

createTime

public createTime?: (google.protobuf.ITimestamp|null);

PartnerSSEGateway createTime.

labels

public labels: { [k: string]: string };

PartnerSSEGateway labels.

name

public name: string;

PartnerSSEGateway name.

partnerSseEnvironment

public partnerSseEnvironment: string;

PartnerSSEGateway partnerSseEnvironment.

partnerSseRealm

public partnerSseRealm: string;

PartnerSSEGateway partnerSseRealm.

partnerSubnetRange

public partnerSubnetRange: string;

PartnerSSEGateway partnerSubnetRange.

partnerVpcSubnetRange

public partnerVpcSubnetRange: string;

PartnerSSEGateway partnerVpcSubnetRange.

proberSubnetRanges

public proberSubnetRanges: string[];

PartnerSSEGateway proberSubnetRanges.

sseBgpAsn

public sseBgpAsn: number;

PartnerSSEGateway sseBgpAsn.

sseBgpIps

public sseBgpIps: string[];

PartnerSSEGateway sseBgpIps.

sseGatewayReferenceId

public sseGatewayReferenceId: string;

PartnerSSEGateway sseGatewayReferenceId.

sseNetwork

public sseNetwork: string;

PartnerSSEGateway sseNetwork.

sseProject

public sseProject: string;

PartnerSSEGateway sseProject.

sseSubnetRange

public sseSubnetRange: string;

PartnerSSEGateway sseSubnetRange.

sseTargetIp

public sseTargetIp: string;

PartnerSSEGateway sseTargetIp.

sseVpcSubnetRange

public sseVpcSubnetRange: string;

PartnerSSEGateway sseVpcSubnetRange.

sseVpcTargetIp

public sseVpcTargetIp: string;

PartnerSSEGateway sseVpcTargetIp.

state

public state: (google.cloud.networksecurity.v1alpha1.PartnerSSEGateway.State|keyof typeof google.cloud.networksecurity.v1alpha1.PartnerSSEGateway.State);

PartnerSSEGateway state.

symantecOptions

public symantecOptions?: (google.cloud.networksecurity.v1alpha1.PartnerSSEGateway.IPartnerSSEGatewaySymantecOptions|null);

PartnerSSEGateway symantecOptions.

timezone

public timezone: string;

PartnerSSEGateway timezone.

updateTime

public updateTime?: (google.protobuf.ITimestamp|null);

PartnerSSEGateway updateTime.

vni

public vni: number;

PartnerSSEGateway vni.

Methods

create(properties)

public static create(properties?: google.cloud.networksecurity.v1alpha1.IPartnerSSEGateway): google.cloud.networksecurity.v1alpha1.PartnerSSEGateway;

Creates a new PartnerSSEGateway instance using the specified properties.

Parameter
Name Description
properties IPartnerSSEGateway

Properties to set

Returns
Type Description
PartnerSSEGateway

PartnerSSEGateway instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.networksecurity.v1alpha1.PartnerSSEGateway;

Decodes a PartnerSSEGateway message from the specified reader or buffer.

Parameters
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
Type Description
PartnerSSEGateway

PartnerSSEGateway

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.networksecurity.v1alpha1.PartnerSSEGateway;

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

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
PartnerSSEGateway

PartnerSSEGateway

encode(message, writer)

public static encode(message: google.cloud.networksecurity.v1alpha1.IPartnerSSEGateway, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified PartnerSSEGateway message. Does not implicitly messages.

Parameters
Name Description
message IPartnerSSEGateway

PartnerSSEGateway message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.cloud.networksecurity.v1alpha1.IPartnerSSEGateway, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
Name Description
message IPartnerSSEGateway

PartnerSSEGateway message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.cloud.networksecurity.v1alpha1.PartnerSSEGateway;

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

Parameter
Name Description
object { [k: string]: any }

Plain object

Returns
Type Description
PartnerSSEGateway

PartnerSSEGateway

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for PartnerSSEGateway

Parameter
Name Description
typeUrlPrefix string

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

Returns
Type Description
string

The default type url

toJSON()

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

Converts this PartnerSSEGateway to JSON.

Returns
Type Description
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
Name Description
message PartnerSSEGateway

PartnerSSEGateway

options $protobuf.IConversionOptions

Conversion options

Returns
Type Description
{ [k: string]: any }

Plain object

verify(message)

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

Verifies a PartnerSSEGateway message.

Parameter
Name Description
message { [k: string]: any }

Plain object to verify

Returns
Type Description
(string|null)

null if valid, otherwise the reason why it is not