class Google::Apis::CloudchannelV1::GoogleCloudChannelV1ChannelPartnerLink

Entity representing a link between distributors and their indirect resellers in an n-tier resale channel.

Attributes

channel_partner_cloud_identity_info[RW]

Cloud Identity information for the Cloud Channel Customer. Corresponds to the JSON property `channelPartnerCloudIdentityInfo` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1CloudIdentityInfo]

create_time[RW]

Output only. Timestamp of when the channel partner link is created. Corresponds to the JSON property `createTime` @return [String]

name[RW]

Output only. Resource name for the channel partner link, in the format accounts/`account_id`/channelPartnerLinks/`id`. Corresponds to the JSON property `name` @return [String]

public_id[RW]

Output only. Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination. Corresponds to the JSON property `publicId` @return [String]

reseller_cloud_identity_id[RW]

Required. Cloud Identity ID of the linked reseller. Corresponds to the JSON property `resellerCloudIdentityId` @return [String]

update_time[RW]

Output only. Timestamp of when the channel partner link is updated. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudchannel_v1/classes.rb, line 289
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudchannel_v1/classes.rb, line 294
def update!(**args)
  @channel_partner_cloud_identity_info = args[:channel_partner_cloud_identity_info] if args.key?(:channel_partner_cloud_identity_info)
  @create_time = args[:create_time] if args.key?(:create_time)
  @invite_link_uri = args[:invite_link_uri] if args.key?(:invite_link_uri)
  @link_state = args[:link_state] if args.key?(:link_state)
  @name = args[:name] if args.key?(:name)
  @public_id = args[:public_id] if args.key?(:public_id)
  @reseller_cloud_identity_id = args[:reseller_cloud_identity_id] if args.key?(:reseller_cloud_identity_id)
  @update_time = args[:update_time] if args.key?(:update_time)
end