Class protos.google.cloud.compute.v1.BackendServiceAggregatedList (4.6.0)

Represents a BackendServiceAggregatedList.

Package

@google-cloud/compute

Constructors

(constructor)(properties)

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

Constructs a new BackendServiceAggregatedList.

Parameter
Name Description
properties IBackendServiceAggregatedList

Properties to set

Properties

_id

public _id?: "id";

BackendServiceAggregatedList _id.

_kind

public _kind?: "kind";

BackendServiceAggregatedList _kind.

_nextPageToken

public _nextPageToken?: "nextPageToken";

BackendServiceAggregatedList _nextPageToken.

public _selfLink?: "selfLink";

BackendServiceAggregatedList _selfLink.

_warning

public _warning?: "warning";

BackendServiceAggregatedList _warning.

id

public id?: (string|null);

BackendServiceAggregatedList id.

items

public items: { [k: string]: google.cloud.compute.v1.IBackendServicesScopedList };

BackendServiceAggregatedList items.

kind

public kind?: (string|null);

BackendServiceAggregatedList kind.

nextPageToken

public nextPageToken?: (string|null);

BackendServiceAggregatedList nextPageToken.

public selfLink?: (string|null);

BackendServiceAggregatedList selfLink.

unreachables

public unreachables: string[];

BackendServiceAggregatedList unreachables.

warning

public warning?: (google.cloud.compute.v1.IWarning|null);

BackendServiceAggregatedList warning.

Methods

create(properties)

public static create(properties?: google.cloud.compute.v1.IBackendServiceAggregatedList): google.cloud.compute.v1.BackendServiceAggregatedList;

Creates a new BackendServiceAggregatedList instance using the specified properties.

Parameter
Name Description
properties IBackendServiceAggregatedList

Properties to set

Returns
Type Description
BackendServiceAggregatedList

BackendServiceAggregatedList instance

decode(reader, length)

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

Decodes a BackendServiceAggregatedList 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
BackendServiceAggregatedList

BackendServiceAggregatedList

decodeDelimited(reader)

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

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

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
BackendServiceAggregatedList

BackendServiceAggregatedList

encode(message, writer)

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

Encodes the specified BackendServiceAggregatedList message. Does not implicitly messages.

Parameters
Name Description
message IBackendServiceAggregatedList

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

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

Parameters
Name Description
message IBackendServiceAggregatedList

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

Creates a BackendServiceAggregatedList 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
BackendServiceAggregatedList

BackendServiceAggregatedList

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for BackendServiceAggregatedList

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

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

JSON object

toObject(message, options)

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

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

Parameters
Name Description
message BackendServiceAggregatedList

BackendServiceAggregatedList

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