Represents an AppEngineHttpTarget.
Package
@google-cloud/scheduler!Constructors
(constructor)(properties)
constructor(properties?: google.cloud.scheduler.v1.IAppEngineHttpTarget);
Constructs a new AppEngineHttpTarget.
Name | Description |
properties |
IAppEngineHttpTarget
Properties to set |
Properties
appEngineRouting
public appEngineRouting?: (google.cloud.scheduler.v1.IAppEngineRouting|null);
AppEngineHttpTarget appEngineRouting.
Type | Description |
(google.cloud.scheduler.v1.IAppEngineRouting|null) |
body
public body: (Uint8Array|string);
AppEngineHttpTarget body.
Type | Description |
(Uint8Array|string) |
headers
public headers: { [k: string]: string };
AppEngineHttpTarget headers.
Type | Description |
{ [k: string]: string } |
httpMethod
public httpMethod: (google.cloud.scheduler.v1.HttpMethod|keyof typeof google.cloud.scheduler.v1.HttpMethod);
AppEngineHttpTarget httpMethod.
Type | Description |
(google.cloud.scheduler.v1.HttpMethod|keyof typeof google.cloud.scheduler.v1.HttpMethod) |
relativeUri
public relativeUri: string;
AppEngineHttpTarget relativeUri.
Type | Description |
string |
Methods
create(properties)
public static create(properties?: google.cloud.scheduler.v1.IAppEngineHttpTarget): google.cloud.scheduler.v1.AppEngineHttpTarget;
Creates a new AppEngineHttpTarget instance using the specified properties.
Name | Description |
properties |
IAppEngineHttpTarget
Properties to set |
Type | Description |
AppEngineHttpTarget | AppEngineHttpTarget instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.scheduler.v1.AppEngineHttpTarget;
Decodes an AppEngineHttpTarget message from the specified reader or buffer.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
AppEngineHttpTarget | AppEngineHttpTarget |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.scheduler.v1.AppEngineHttpTarget;
Decodes an AppEngineHttpTarget message from the specified reader or buffer, length delimited.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
AppEngineHttpTarget | AppEngineHttpTarget |
encode(message, writer)
public static encode(message: google.cloud.scheduler.v1.IAppEngineHttpTarget, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified AppEngineHttpTarget message. Does not implicitly verify messages.
Name | Description |
message |
IAppEngineHttpTarget
AppEngineHttpTarget message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.scheduler.v1.IAppEngineHttpTarget, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified AppEngineHttpTarget message, length delimited. Does not implicitly verify messages.
Name | Description |
message |
IAppEngineHttpTarget
AppEngineHttpTarget message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.scheduler.v1.AppEngineHttpTarget;
Creates an AppEngineHttpTarget message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
AppEngineHttpTarget | AppEngineHttpTarget |
toJSON()
public toJSON(): { [k: string]: any };
Converts this AppEngineHttpTarget to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.scheduler.v1.AppEngineHttpTarget, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from an AppEngineHttpTarget message. Also converts values to other types if specified.
Name | Description |
message |
AppEngineHttpTarget
AppEngineHttpTarget |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies an AppEngineHttpTarget message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|