Class protos.google.cloud.channel.v1.ProvisionCloudIdentityRequest

Represents a ProvisionCloudIdentityRequest.

Package

@google-cloud/channel

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.channel.v1.IProvisionCloudIdentityRequest);

Constructs a new ProvisionCloudIdentityRequest.

Parameter
NameDescription
properties google.cloud.channel.v1.IProvisionCloudIdentityRequest

Properties to set

Properties

cloudIdentityInfo

public cloudIdentityInfo?: (google.cloud.channel.v1.ICloudIdentityInfo|null);

ProvisionCloudIdentityRequest cloudIdentityInfo.

customer

public customer: string;

ProvisionCloudIdentityRequest customer.

user

public user?: (google.cloud.channel.v1.IAdminUser|null);

ProvisionCloudIdentityRequest user.

validateOnly

public validateOnly: boolean;

ProvisionCloudIdentityRequest validateOnly.

Methods

create(properties)

public static create(properties?: google.cloud.channel.v1.IProvisionCloudIdentityRequest): google.cloud.channel.v1.ProvisionCloudIdentityRequest;

Creates a new ProvisionCloudIdentityRequest instance using the specified properties.

Parameter
NameDescription
properties google.cloud.channel.v1.IProvisionCloudIdentityRequest

Properties to set

Returns
TypeDescription
google.cloud.channel.v1.ProvisionCloudIdentityRequest

ProvisionCloudIdentityRequest instance

decode(reader, length)

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

Decodes a ProvisionCloudIdentityRequest message from the specified reader or buffer.

Parameters
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
google.cloud.channel.v1.ProvisionCloudIdentityRequest

ProvisionCloudIdentityRequest

decodeDelimited(reader)

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

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

Parameter
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
google.cloud.channel.v1.ProvisionCloudIdentityRequest

ProvisionCloudIdentityRequest

encode(message, writer)

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

Encodes the specified ProvisionCloudIdentityRequest message. Does not implicitly messages.

Parameters
NameDescription
message google.cloud.channel.v1.IProvisionCloudIdentityRequest

ProvisionCloudIdentityRequest 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.cloud.channel.v1.IProvisionCloudIdentityRequest, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
NameDescription
message google.cloud.channel.v1.IProvisionCloudIdentityRequest

ProvisionCloudIdentityRequest 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.cloud.channel.v1.ProvisionCloudIdentityRequest;

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

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

Plain object

Returns
TypeDescription
google.cloud.channel.v1.ProvisionCloudIdentityRequest

ProvisionCloudIdentityRequest

toJSON()

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

Converts this ProvisionCloudIdentityRequest to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
NameDescription
message google.cloud.channel.v1.ProvisionCloudIdentityRequest

ProvisionCloudIdentityRequest

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