Reference documentation and code samples for the Google Cloud Channel V1 Client class ChannelPartnerLink.
Entity representing a link between distributors and their indirect resellers in an n-tier resale channel.
Generated from protobuf message google.cloud.channel.v1.ChannelPartnerLink
Namespace
Google \ Cloud \ Channel \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}. |
↳ reseller_cloud_identity_id |
string
Required. Cloud Identity ID of the linked reseller. |
↳ link_state |
int
Required. State of the channel partner link. |
↳ invite_link_uri |
string
Output only. URI of the web page where partner accepts the link invitation. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. Timestamp of when the channel partner link is created. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. Timestamp of when the channel partner link is updated. |
↳ public_id |
string
Output only. Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination. |
↳ channel_partner_cloud_identity_info |
CloudIdentityInfo
Output only. Cloud Identity info of the channel partner (IR). |
getName
Output only. Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}.
Returns | |
---|---|
Type | Description |
string |
setName
Output only. Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getResellerCloudIdentityId
Required. Cloud Identity ID of the linked reseller.
Returns | |
---|---|
Type | Description |
string |
setResellerCloudIdentityId
Required. Cloud Identity ID of the linked reseller.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLinkState
Required. State of the channel partner link.
Returns | |
---|---|
Type | Description |
int |
setLinkState
Required. State of the channel partner link.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getInviteLinkUri
Output only. URI of the web page where partner accepts the link invitation.
Returns | |
---|---|
Type | Description |
string |
setInviteLinkUri
Output only. URI of the web page where partner accepts the link invitation.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. Timestamp of when the channel partner link is created.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp of when the channel partner link is created.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. Timestamp of when the channel partner link is updated.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Timestamp of when the channel partner link is updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getPublicId
Output only. Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.
Returns | |
---|---|
Type | Description |
string |
setPublicId
Output only. Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getChannelPartnerCloudIdentityInfo
Output only. Cloud Identity info of the channel partner (IR).
Returns | |
---|---|
Type | Description |
CloudIdentityInfo|null |
hasChannelPartnerCloudIdentityInfo
clearChannelPartnerCloudIdentityInfo
setChannelPartnerCloudIdentityInfo
Output only. Cloud Identity info of the channel partner (IR).
Parameter | |
---|---|
Name | Description |
var |
CloudIdentityInfo
|
Returns | |
---|---|
Type | Description |
$this |