Class protos.google.cloud.channel.v1.ChannelPartnerLink

Represents a ChannelPartnerLink.

Package

@google-cloud/channel!

Constructors

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

Constructs a new ChannelPartnerLink.

Parameter
TypeNameDescription
IChannelPartnerLinkproperties

Properties to set

Properties

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

ChannelPartnerLink channelPartnerCloudIdentityInfo.

Property Value
TypeDescription
(google.cloud.channel.v1.ICloudIdentityInfo|null)
public createTime?: (google.protobuf.ITimestamp|null);

ChannelPartnerLink createTime.

Property Value
TypeDescription
(google.protobuf.ITimestamp|null)
public inviteLinkUri: string;

ChannelPartnerLink inviteLinkUri.

Property Value
TypeDescription
string
public linkState: (google.cloud.channel.v1.ChannelPartnerLinkState|keyof typeof google.cloud.channel.v1.ChannelPartnerLinkState);

ChannelPartnerLink linkState.

Property Value
TypeDescription
(google.cloud.channel.v1.ChannelPartnerLinkState|keyof typeof google.cloud.channel.v1.ChannelPartnerLinkState)
public name: string;

ChannelPartnerLink name.

Property Value
TypeDescription
string
public publicId: string;

ChannelPartnerLink publicId.

Property Value
TypeDescription
string
public resellerCloudIdentityId: string;

ChannelPartnerLink resellerCloudIdentityId.

Property Value
TypeDescription
string
public updateTime?: (google.protobuf.ITimestamp|null);

ChannelPartnerLink updateTime.

Property Value
TypeDescription
(google.protobuf.ITimestamp|null)

Methods

public static create(properties?: google.cloud.channel.v1.IChannelPartnerLink): google.cloud.channel.v1.ChannelPartnerLink;

Creates a new ChannelPartnerLink instance using the specified properties.

Parameter
TypeNameDescription
IChannelPartnerLinkproperties

Properties to set

Returns
TypeDescription
google.cloud.channel.v1.ChannelPartnerLink

ChannelPartnerLink instance

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

Decodes a ChannelPartnerLink message from the specified reader or buffer.

Parameters
TypeNameDescription
($protobuf.Reader|Uint8Array)reader

Reader or buffer to decode from

numberlength

Message length if known beforehand

Returns
TypeDescription
google.cloud.channel.v1.ChannelPartnerLink

ChannelPartnerLink

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

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

Parameter
TypeNameDescription
($protobuf.Reader|Uint8Array)reader

Reader or buffer to decode from

Returns
TypeDescription
google.cloud.channel.v1.ChannelPartnerLink

ChannelPartnerLink

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

Encodes the specified ChannelPartnerLink message. Does not implicitly messages.

Parameters
TypeNameDescription
IChannelPartnerLinkmessage

ChannelPartnerLink message or plain object to encode

$protobuf.Writerwriter

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

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

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

Parameters
TypeNameDescription
IChannelPartnerLinkmessage

ChannelPartnerLink message or plain object to encode

$protobuf.Writerwriter

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

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

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

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

Plain object

Returns
TypeDescription
google.cloud.channel.v1.ChannelPartnerLink

ChannelPartnerLink

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

Converts this ChannelPartnerLink to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

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

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

Parameters
TypeNameDescription
google.cloud.channel.v1.ChannelPartnerLinkmessage

ChannelPartnerLink

$protobuf.IConversionOptionsoptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

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

Verifies a ChannelPartnerLink message.

Parameter
TypeNameDescription
{ [k: string]: any }message

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not