Class protos.google.cloud.compute.v1.AggregatedListTargetVpnGatewaysRequest (4.8.0)

Represents an AggregatedListTargetVpnGatewaysRequest.

Package

@google-cloud/compute

Constructors

(constructor)(properties)

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

Constructs a new AggregatedListTargetVpnGatewaysRequest.

Parameter
Name Description
properties IAggregatedListTargetVpnGatewaysRequest

Properties to set

Properties

_filter

public _filter?: "filter";

AggregatedListTargetVpnGatewaysRequest _filter.

_includeAllScopes

public _includeAllScopes?: "includeAllScopes";

AggregatedListTargetVpnGatewaysRequest _includeAllScopes.

_maxResults

public _maxResults?: "maxResults";

AggregatedListTargetVpnGatewaysRequest _maxResults.

_orderBy

public _orderBy?: "orderBy";

AggregatedListTargetVpnGatewaysRequest _orderBy.

_pageToken

public _pageToken?: "pageToken";

AggregatedListTargetVpnGatewaysRequest _pageToken.

_returnPartialSuccess

public _returnPartialSuccess?: "returnPartialSuccess";

AggregatedListTargetVpnGatewaysRequest _returnPartialSuccess.

_serviceProjectNumber

public _serviceProjectNumber?: "serviceProjectNumber";

AggregatedListTargetVpnGatewaysRequest _serviceProjectNumber.

filter

public filter?: (string|null);

AggregatedListTargetVpnGatewaysRequest filter.

includeAllScopes

public includeAllScopes?: (boolean|null);

AggregatedListTargetVpnGatewaysRequest includeAllScopes.

maxResults

public maxResults?: (number|null);

AggregatedListTargetVpnGatewaysRequest maxResults.

orderBy

public orderBy?: (string|null);

AggregatedListTargetVpnGatewaysRequest orderBy.

pageToken

public pageToken?: (string|null);

AggregatedListTargetVpnGatewaysRequest pageToken.

project

public project: string;

AggregatedListTargetVpnGatewaysRequest project.

returnPartialSuccess

public returnPartialSuccess?: (boolean|null);

AggregatedListTargetVpnGatewaysRequest returnPartialSuccess.

serviceProjectNumber

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

AggregatedListTargetVpnGatewaysRequest serviceProjectNumber.

Methods

create(properties)

public static create(properties?: google.cloud.compute.v1.IAggregatedListTargetVpnGatewaysRequest): google.cloud.compute.v1.AggregatedListTargetVpnGatewaysRequest;

Creates a new AggregatedListTargetVpnGatewaysRequest instance using the specified properties.

Parameter
Name Description
properties IAggregatedListTargetVpnGatewaysRequest

Properties to set

Returns
Type Description
AggregatedListTargetVpnGatewaysRequest

AggregatedListTargetVpnGatewaysRequest instance

decode(reader, length)

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

Decodes an AggregatedListTargetVpnGatewaysRequest 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
AggregatedListTargetVpnGatewaysRequest

AggregatedListTargetVpnGatewaysRequest

decodeDelimited(reader)

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

Decodes an AggregatedListTargetVpnGatewaysRequest message from the specified reader or buffer, length delimited.

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
AggregatedListTargetVpnGatewaysRequest

AggregatedListTargetVpnGatewaysRequest

encode(message, writer)

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

Encodes the specified AggregatedListTargetVpnGatewaysRequest message. Does not implicitly messages.

Parameters
Name Description
message IAggregatedListTargetVpnGatewaysRequest

AggregatedListTargetVpnGatewaysRequest 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.compute.v1.IAggregatedListTargetVpnGatewaysRequest, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
Name Description
message IAggregatedListTargetVpnGatewaysRequest

AggregatedListTargetVpnGatewaysRequest 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.compute.v1.AggregatedListTargetVpnGatewaysRequest;

Creates an AggregatedListTargetVpnGatewaysRequest 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
AggregatedListTargetVpnGatewaysRequest

AggregatedListTargetVpnGatewaysRequest

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for AggregatedListTargetVpnGatewaysRequest

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 AggregatedListTargetVpnGatewaysRequest to JSON.

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

JSON object

toObject(message, options)

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

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

Parameters
Name Description
message AggregatedListTargetVpnGatewaysRequest

AggregatedListTargetVpnGatewaysRequest

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