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

Represents a Version.

Package

@google-cloud/appengine-admin

Constructors

(constructor)(properties)

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

Constructs a new Version.

Parameter
NameDescription
properties IVersion

Properties to set

Properties

apiConfig

public apiConfig?: (google.appengine.v1.IApiConfigHandler|null);

Version apiConfig.

appEngineApis

public appEngineApis: boolean;

Version appEngineApis.

automaticScaling

public automaticScaling?: (google.appengine.v1.IAutomaticScaling|null);

Version automaticScaling.

basicScaling

public basicScaling?: (google.appengine.v1.IBasicScaling|null);

Version basicScaling.

betaSettings

public betaSettings: { [k: string]: string };

Version betaSettings.

buildEnvVariables

public buildEnvVariables: { [k: string]: string };

Version buildEnvVariables.

createdBy

public createdBy: string;

Version createdBy.

createTime

public createTime?: (google.protobuf.ITimestamp|null);

Version createTime.

defaultExpiration

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

Version defaultExpiration.

deployment

public deployment?: (google.appengine.v1.IDeployment|null);

Version deployment.

diskUsageBytes

public diskUsageBytes: (number|Long|string);

Version diskUsageBytes.

endpointsApiService

public endpointsApiService?: (google.appengine.v1.IEndpointsApiService|null);

Version endpointsApiService.

entrypoint

public entrypoint?: (google.appengine.v1.IEntrypoint|null);

Version entrypoint.

env

public env: string;

Version env.

envVariables

public envVariables: { [k: string]: string };

Version envVariables.

errorHandlers

public errorHandlers: google.appengine.v1.IErrorHandler[];

Version errorHandlers.

handlers

public handlers: google.appengine.v1.IUrlMap[];

Version handlers.

healthCheck

public healthCheck?: (google.appengine.v1.IHealthCheck|null);

Version healthCheck.

id

public id: string;

Version id.

inboundServices

public inboundServices: google.appengine.v1.InboundServiceType[];

Version inboundServices.

instanceClass

public instanceClass: string;

Version instanceClass.

libraries

public libraries: google.appengine.v1.ILibrary[];

Version libraries.

livenessCheck

public livenessCheck?: (google.appengine.v1.ILivenessCheck|null);

Version livenessCheck.

manualScaling

public manualScaling?: (google.appengine.v1.IManualScaling|null);

Version manualScaling.

name

public name: string;

Version name.

network

public network?: (google.appengine.v1.INetwork|null);

Version network.

nobuildFilesRegex

public nobuildFilesRegex: string;

Version nobuildFilesRegex.

readinessCheck

public readinessCheck?: (google.appengine.v1.IReadinessCheck|null);

Version readinessCheck.

resources

public resources?: (google.appengine.v1.IResources|null);

Version resources.

runtime

public runtime: string;

Version runtime.

runtimeApiVersion

public runtimeApiVersion: string;

Version runtimeApiVersion.

runtimeChannel

public runtimeChannel: string;

Version runtimeChannel.

runtimeMainExecutablePath

public runtimeMainExecutablePath: string;

Version runtimeMainExecutablePath.

scaling

public scaling?: ("automaticScaling"|"basicScaling"|"manualScaling");

Version scaling.

serviceAccount

public serviceAccount: string;

Version serviceAccount.

servingStatus

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

Version servingStatus.

threadsafe

public threadsafe: boolean;

Version threadsafe.

versionUrl

public versionUrl: string;

Version versionUrl.

vm

public vm: boolean;

Version vm.

vpcAccessConnector

public vpcAccessConnector?: (google.appengine.v1.IVpcAccessConnector|null);

Version vpcAccessConnector.

zones

public zones: string[];

Version zones.

Methods

create(properties)

public static create(properties?: google.appengine.v1.IVersion): google.appengine.v1.Version;

Creates a new Version instance using the specified properties.

Parameter
NameDescription
properties IVersion

Properties to set

Returns
TypeDescription
Version

Version instance

decode(reader, length)

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

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

Version

decodeDelimited(reader)

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

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

Parameter
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
Version

Version

encode(message, writer)

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

Encodes the specified Version message. Does not implicitly messages.

Parameters
NameDescription
message IVersion

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

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

Parameters
NameDescription
message IVersion

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

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

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

Plain object

Returns
TypeDescription
Version

Version

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for Version

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

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
NameDescription
message Version

Version

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