Class protos.google.storagetransfer.v1.ListTransferJobsResponse (1.0.1)

Represents a ListTransferJobsResponse.

Package

@google-cloud/storage-transfer!

Constructors

(constructor)(properties)

constructor(properties?: google.storagetransfer.v1.IListTransferJobsResponse);

Constructs a new ListTransferJobsResponse.

Parameter
NameDescription
properties IListTransferJobsResponse

Properties to set

Properties

nextPageToken

public nextPageToken: string;

ListTransferJobsResponse nextPageToken.

Property Value
TypeDescription
string

transferJobs

public transferJobs: google.storagetransfer.v1.ITransferJob[];

ListTransferJobsResponse transferJobs.

Property Value
TypeDescription
google.storagetransfer.v1.ITransferJob[]

Methods

create(properties)

public static create(properties?: google.storagetransfer.v1.IListTransferJobsResponse): google.storagetransfer.v1.ListTransferJobsResponse;

Creates a new ListTransferJobsResponse instance using the specified properties.

Parameter
NameDescription
properties IListTransferJobsResponse

Properties to set

Returns
TypeDescription
google.storagetransfer.v1.ListTransferJobsResponse

ListTransferJobsResponse instance

decode(reader, length)

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

Decodes a ListTransferJobsResponse 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.storagetransfer.v1.ListTransferJobsResponse

ListTransferJobsResponse

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.storagetransfer.v1.ListTransferJobsResponse;

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

Parameter
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
google.storagetransfer.v1.ListTransferJobsResponse

ListTransferJobsResponse

encode(message, writer)

public static encode(message: google.storagetransfer.v1.IListTransferJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified ListTransferJobsResponse message. Does not implicitly messages.

Parameters
NameDescription
message IListTransferJobsResponse

ListTransferJobsResponse 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.storagetransfer.v1.IListTransferJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
NameDescription
message IListTransferJobsResponse

ListTransferJobsResponse 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.storagetransfer.v1.ListTransferJobsResponse;

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

Parameter
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
google.storagetransfer.v1.ListTransferJobsResponse

ListTransferJobsResponse

toJSON()

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

Converts this ListTransferJobsResponse to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
NameDescription
message google.storagetransfer.v1.ListTransferJobsResponse

ListTransferJobsResponse

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