Class protos.google.appengine.v1.Application (3.2.0)

Represents an Application.

Package

@google-cloud/appengine-admin

Constructors

(constructor)(properties)

constructor(properties?: google.appengine.v1.IApplication);

Constructs a new Application.

Parameter
NameDescription
properties IApplication

Properties to set

Properties

authDomain

public authDomain: string;

Application authDomain.

codeBucket

public codeBucket: string;

Application codeBucket.

databaseType

public databaseType: (google.appengine.v1.Application.DatabaseType|keyof typeof google.appengine.v1.Application.DatabaseType);

Application databaseType.

defaultBucket

public defaultBucket: string;

Application defaultBucket.

defaultCookieExpiration

public defaultCookieExpiration?: (google.protobuf.IDuration|null);

Application defaultCookieExpiration.

defaultHostname

public defaultHostname: string;

Application defaultHostname.

dispatchRules

public dispatchRules: google.appengine.v1.IUrlDispatchRule[];

Application dispatchRules.

featureSettings

public featureSettings?: (google.appengine.v1.Application.IFeatureSettings|null);

Application featureSettings.

gcrDomain

public gcrDomain: string;

Application gcrDomain.

iap

public iap?: (google.appengine.v1.Application.IIdentityAwareProxy|null);

Application iap.

id

public id: string;

Application id.

locationId

public locationId: string;

Application locationId.

name

public name: string;

Application name.

serviceAccount

public serviceAccount: string;

Application serviceAccount.

servingStatus

public servingStatus: (google.appengine.v1.Application.ServingStatus|keyof typeof google.appengine.v1.Application.ServingStatus);

Application servingStatus.

Methods

create(properties)

public static create(properties?: google.appengine.v1.IApplication): google.appengine.v1.Application;

Creates a new Application instance using the specified properties.

Parameter
NameDescription
properties IApplication

Properties to set

Returns
TypeDescription
Application

Application instance

decode(reader, length)

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

Decodes an Application message from the specified reader or buffer.

Parameters
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
Application

Application

decodeDelimited(reader)

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

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

Parameter
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
Application

Application

encode(message, writer)

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

Encodes the specified Application message. Does not implicitly messages.

Parameters
NameDescription
message IApplication

Application 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.appengine.v1.IApplication, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
NameDescription
message IApplication

Application 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.appengine.v1.Application;

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

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

Plain object

Returns
TypeDescription
Application

Application

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for Application

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

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
NameDescription
message Application

Application

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