Class protos.google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest (3.2.1)

Represents a VerifyConfidentialGkeRequest.

Implements

Package

@google-cloud/confidentialcomputing

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.confidentialcomputing.v1.IVerifyConfidentialGkeRequest);

Constructs a new VerifyConfidentialGkeRequest.

Parameter
Name Description
properties IVerifyConfidentialGkeRequest

Properties to set

Properties

challenge

public challenge: string;

VerifyConfidentialGkeRequest challenge.

options

public options?: (google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.IConfidentialGkeOptions|null);

VerifyConfidentialGkeRequest options.

platformType

public platformType: (google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.PlatformType|keyof typeof google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.PlatformType);

VerifyConfidentialGkeRequest platformType.

teeAttestation

public teeAttestation?: "tpmAttestation";

VerifyConfidentialGkeRequest teeAttestation.

tpmAttestation

public tpmAttestation?: (google.cloud.confidentialcomputing.v1.ITpmAttestation|null);

VerifyConfidentialGkeRequest tpmAttestation.

Methods

create(properties)

public static create(properties?: google.cloud.confidentialcomputing.v1.IVerifyConfidentialGkeRequest): google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest;

Creates a new VerifyConfidentialGkeRequest instance using the specified properties.

Parameter
Name Description
properties IVerifyConfidentialGkeRequest

Properties to set

Returns
Type Description
VerifyConfidentialGkeRequest

VerifyConfidentialGkeRequest instance

decode(reader, length)

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

Decodes a VerifyConfidentialGkeRequest message from the specified reader or buffer.

Parameters
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
Type Description
VerifyConfidentialGkeRequest

VerifyConfidentialGkeRequest

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest;

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

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
VerifyConfidentialGkeRequest

VerifyConfidentialGkeRequest

encode(message, writer)

public static encode(message: google.cloud.confidentialcomputing.v1.IVerifyConfidentialGkeRequest, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified VerifyConfidentialGkeRequest message. Does not implicitly messages.

Parameters
Name Description
message IVerifyConfidentialGkeRequest

VerifyConfidentialGkeRequest message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.cloud.confidentialcomputing.v1.IVerifyConfidentialGkeRequest, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
Name Description
message IVerifyConfidentialGkeRequest

VerifyConfidentialGkeRequest message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest;

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

Parameter
Name Description
object { [k: string]: any }

Plain object

Returns
Type Description
VerifyConfidentialGkeRequest

VerifyConfidentialGkeRequest

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for VerifyConfidentialGkeRequest

Parameter
Name Description
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
Type Description
string

The default type url

toJSON()

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

Converts this VerifyConfidentialGkeRequest to JSON.

Returns
Type Description
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
Name Description
message VerifyConfidentialGkeRequest

VerifyConfidentialGkeRequest

options $protobuf.IConversionOptions

Conversion options

Returns
Type Description
{ [k: string]: any }

Plain object

verify(message)

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

Verifies a VerifyConfidentialGkeRequest message.

Parameter
Name Description
message { [k: string]: any }

Plain object to verify

Returns
Type Description
(string|null)

null if valid, otherwise the reason why it is not