Class protos.google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions (3.2.1)

Represents a ConfidentialSpaceOptions.

Implements

Package

@google-cloud/confidentialcomputing

Constructors

(constructor)(properties)

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

Constructs a new ConfidentialSpaceOptions.

Parameter
Name Description
properties IConfidentialSpaceOptions

Properties to set

Properties

audience

public audience: string;

ConfidentialSpaceOptions audience.

awsPrincipalTagsOptions

public awsPrincipalTagsOptions?: (google.cloud.confidentialcomputing.v1.IAwsPrincipalTagsOptions|null);

ConfidentialSpaceOptions awsPrincipalTagsOptions.

nonce

public nonce: string[];

ConfidentialSpaceOptions nonce.

signatureType

public signatureType: (google.cloud.confidentialcomputing.v1.SignatureType|keyof typeof google.cloud.confidentialcomputing.v1.SignatureType);

ConfidentialSpaceOptions signatureType.

tokenProfile

public tokenProfile: (google.cloud.confidentialcomputing.v1.TokenProfile|keyof typeof google.cloud.confidentialcomputing.v1.TokenProfile);

ConfidentialSpaceOptions tokenProfile.

tokenProfileOptions

public tokenProfileOptions?: "awsPrincipalTagsOptions";

ConfidentialSpaceOptions tokenProfileOptions.

Methods

create(properties)

public static create(properties?: google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.IConfidentialSpaceOptions): google.cloud.confidentialcomputing.v1.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions;

Creates a new ConfidentialSpaceOptions instance using the specified properties.

Parameter
Name Description
properties IConfidentialSpaceOptions

Properties to set

Returns
Type Description
ConfidentialSpaceOptions

ConfidentialSpaceOptions instance

decode(reader, length)

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

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

ConfidentialSpaceOptions

decodeDelimited(reader)

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

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

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
ConfidentialSpaceOptions

ConfidentialSpaceOptions

encode(message, writer)

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

Encodes the specified ConfidentialSpaceOptions message. Does not implicitly messages.

Parameters
Name Description
message IConfidentialSpaceOptions

ConfidentialSpaceOptions 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.VerifyConfidentialSpaceRequest.IConfidentialSpaceOptions, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
Name Description
message IConfidentialSpaceOptions

ConfidentialSpaceOptions 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.VerifyConfidentialSpaceRequest.ConfidentialSpaceOptions;

Creates a ConfidentialSpaceOptions 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
ConfidentialSpaceOptions

ConfidentialSpaceOptions

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for ConfidentialSpaceOptions

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

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

JSON object

toObject(message, options)

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

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

Parameters
Name Description
message ConfidentialSpaceOptions

ConfidentialSpaceOptions

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