Class protos.google.cloud.compute.v1.ListPreconfiguredExpressionSetsSecurityPoliciesRequest (3.6.0)

Represents a ListPreconfiguredExpressionSetsSecurityPoliciesRequest.

Package

@google-cloud/compute

Constructors

(constructor)(properties)

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

Constructs a new ListPreconfiguredExpressionSetsSecurityPoliciesRequest.

Parameter
NameDescription
properties google.cloud.compute.v1.IListPreconfiguredExpressionSetsSecurityPoliciesRequest

Properties to set

Properties

_filter

public _filter?: "filter";

ListPreconfiguredExpressionSetsSecurityPoliciesRequest _filter.

_maxResults

public _maxResults?: "maxResults";

ListPreconfiguredExpressionSetsSecurityPoliciesRequest _maxResults.

_orderBy

public _orderBy?: "orderBy";

ListPreconfiguredExpressionSetsSecurityPoliciesRequest _orderBy.

_pageToken

public _pageToken?: "pageToken";

ListPreconfiguredExpressionSetsSecurityPoliciesRequest _pageToken.

_returnPartialSuccess

public _returnPartialSuccess?: "returnPartialSuccess";

ListPreconfiguredExpressionSetsSecurityPoliciesRequest _returnPartialSuccess.

filter

public filter?: (string|null);

ListPreconfiguredExpressionSetsSecurityPoliciesRequest filter.

maxResults

public maxResults?: (number|null);

ListPreconfiguredExpressionSetsSecurityPoliciesRequest maxResults.

orderBy

public orderBy?: (string|null);

ListPreconfiguredExpressionSetsSecurityPoliciesRequest orderBy.

pageToken

public pageToken?: (string|null);

ListPreconfiguredExpressionSetsSecurityPoliciesRequest pageToken.

project

public project: string;

ListPreconfiguredExpressionSetsSecurityPoliciesRequest project.

returnPartialSuccess

public returnPartialSuccess?: (boolean|null);

ListPreconfiguredExpressionSetsSecurityPoliciesRequest returnPartialSuccess.

Methods

create(properties)

public static create(properties?: google.cloud.compute.v1.IListPreconfiguredExpressionSetsSecurityPoliciesRequest): google.cloud.compute.v1.ListPreconfiguredExpressionSetsSecurityPoliciesRequest;

Creates a new ListPreconfiguredExpressionSetsSecurityPoliciesRequest instance using the specified properties.

Parameter
NameDescription
properties google.cloud.compute.v1.IListPreconfiguredExpressionSetsSecurityPoliciesRequest

Properties to set

Returns
TypeDescription
google.cloud.compute.v1.ListPreconfiguredExpressionSetsSecurityPoliciesRequest

ListPreconfiguredExpressionSetsSecurityPoliciesRequest instance

decode(reader, length)

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

Decodes a ListPreconfiguredExpressionSetsSecurityPoliciesRequest 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.ListPreconfiguredExpressionSetsSecurityPoliciesRequest

ListPreconfiguredExpressionSetsSecurityPoliciesRequest

decodeDelimited(reader)

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

Decodes a ListPreconfiguredExpressionSetsSecurityPoliciesRequest 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.ListPreconfiguredExpressionSetsSecurityPoliciesRequest

ListPreconfiguredExpressionSetsSecurityPoliciesRequest

encode(message, writer)

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

Encodes the specified ListPreconfiguredExpressionSetsSecurityPoliciesRequest message. Does not implicitly messages.

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

ListPreconfiguredExpressionSetsSecurityPoliciesRequest 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.IListPreconfiguredExpressionSetsSecurityPoliciesRequest, writer?: $protobuf.Writer): $protobuf.Writer;

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

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

ListPreconfiguredExpressionSetsSecurityPoliciesRequest 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.ListPreconfiguredExpressionSetsSecurityPoliciesRequest;

Creates a ListPreconfiguredExpressionSetsSecurityPoliciesRequest 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.ListPreconfiguredExpressionSetsSecurityPoliciesRequest

ListPreconfiguredExpressionSetsSecurityPoliciesRequest

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for ListPreconfiguredExpressionSetsSecurityPoliciesRequest

Parameter
NameDescription
typeUrlPrefix string

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

Returns
TypeDescription
string

The default type url

toJSON()

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

Converts this ListPreconfiguredExpressionSetsSecurityPoliciesRequest to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

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

ListPreconfiguredExpressionSetsSecurityPoliciesRequest

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 ListPreconfiguredExpressionSetsSecurityPoliciesRequest 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