Represents an AppGateway.
Package
@google-cloud/appgatewaysConstructors
(constructor)(properties)
constructor(properties?: google.cloud.beyondcorp.appgateways.v1.IAppGateway);
Constructs a new AppGateway.
Name | Description |
properties |
IAppGateway
Properties to set |
Properties
allocatedConnections
public allocatedConnections: google.cloud.beyondcorp.appgateways.v1.AppGateway.IAllocatedConnection[];
AppGateway allocatedConnections.
createTime
public createTime?: (google.protobuf.ITimestamp|null);
AppGateway createTime.
displayName
public displayName: string;
AppGateway displayName.
hostType
public hostType: (google.cloud.beyondcorp.appgateways.v1.AppGateway.HostType|keyof typeof google.cloud.beyondcorp.appgateways.v1.AppGateway.HostType);
AppGateway hostType.
labels
public labels: { [k: string]: string };
AppGateway labels.
name
public name: string;
AppGateway name.
state
public state: (google.cloud.beyondcorp.appgateways.v1.AppGateway.State|keyof typeof google.cloud.beyondcorp.appgateways.v1.AppGateway.State);
AppGateway state.
type
public type: (google.cloud.beyondcorp.appgateways.v1.AppGateway.Type|keyof typeof google.cloud.beyondcorp.appgateways.v1.AppGateway.Type);
AppGateway type.
uid
public uid: string;
AppGateway uid.
updateTime
public updateTime?: (google.protobuf.ITimestamp|null);
AppGateway updateTime.
uri
public uri: string;
AppGateway uri.
Methods
create(properties)
public static create(properties?: google.cloud.beyondcorp.appgateways.v1.IAppGateway): google.cloud.beyondcorp.appgateways.v1.AppGateway;
Creates a new AppGateway instance using the specified properties.
Name | Description |
properties |
IAppGateway
Properties to set |
Type | Description |
google.cloud.beyondcorp.appgateways.v1.AppGateway | AppGateway instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.beyondcorp.appgateways.v1.AppGateway;
Decodes an AppGateway 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 |
google.cloud.beyondcorp.appgateways.v1.AppGateway | AppGateway |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.beyondcorp.appgateways.v1.AppGateway;
Decodes an AppGateway message from the specified reader or buffer, length delimited.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
google.cloud.beyondcorp.appgateways.v1.AppGateway | AppGateway |
encode(message, writer)
public static encode(message: google.cloud.beyondcorp.appgateways.v1.IAppGateway, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified AppGateway message. Does not implicitly messages.
Name | Description |
message |
IAppGateway
AppGateway 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.beyondcorp.appgateways.v1.IAppGateway, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified AppGateway message, length delimited. Does not implicitly messages.
Name | Description |
message |
IAppGateway
AppGateway 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.beyondcorp.appgateways.v1.AppGateway;
Creates an AppGateway message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.cloud.beyondcorp.appgateways.v1.AppGateway | AppGateway |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;
Gets the default type url for AppGateway
Name | Description |
typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
Type | Description |
string | The default type url |
toJSON()
public toJSON(): { [k: string]: any };
Converts this AppGateway to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.beyondcorp.appgateways.v1.AppGateway, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from an AppGateway message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.beyondcorp.appgateways.v1.AppGateway
AppGateway |
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 AppGateway message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|