Class google.cloud.scheduler.v1beta1.AppEngineRouting (2.1.1)

Represents an AppEngineRouting.

Package

@google-cloud/scheduler!

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.scheduler.v1beta1.IAppEngineRouting);

Constructs a new AppEngineRouting.

Parameter
NameDescription
properties IAppEngineRouting

Properties to set

Properties

host

public host: string;

AppEngineRouting host.

Property Value
TypeDescription
string

instance

public instance: string;

AppEngineRouting instance.

Property Value
TypeDescription
string

service

public service: string;

AppEngineRouting service.

Property Value
TypeDescription
string

version

public version: string;

AppEngineRouting version.

Property Value
TypeDescription
string

Methods

create(properties)

public static create(properties?: google.cloud.scheduler.v1beta1.IAppEngineRouting): google.cloud.scheduler.v1beta1.AppEngineRouting;

Creates a new AppEngineRouting instance using the specified properties.

Parameter
NameDescription
properties IAppEngineRouting

Properties to set

Returns
TypeDescription
AppEngineRouting

AppEngineRouting instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.scheduler.v1beta1.AppEngineRouting;

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

AppEngineRouting

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.scheduler.v1beta1.AppEngineRouting;

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

Parameter
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
AppEngineRouting

AppEngineRouting

encode(message, writer)

public static encode(message: google.cloud.scheduler.v1beta1.IAppEngineRouting, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified AppEngineRouting message. Does not implicitly verify messages.

Parameters
NameDescription
message IAppEngineRouting

AppEngineRouting 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.scheduler.v1beta1.IAppEngineRouting, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
NameDescription
message IAppEngineRouting

AppEngineRouting 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.scheduler.v1beta1.AppEngineRouting;

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

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

Plain object

Returns
TypeDescription
AppEngineRouting

AppEngineRouting

toJSON()

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

Converts this AppEngineRouting to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
NameDescription
message AppEngineRouting

AppEngineRouting

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

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

Verifies an AppEngineRouting 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