Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ChannelPartnerLink

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1ChannelPartnerLink

Returns a new instance of GoogleCloudChannelV1ChannelPartnerLink.



294
295
296
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 294

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#channel_partner_cloud_identity_infoGoogle::Apis::CloudchannelV1::GoogleCloudChannelV1CloudIdentityInfo

Cloud Identity information for the Cloud Channel Customer. Corresponds to the JSON property channelPartnerCloudIdentityInfo



255
256
257
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 255

def channel_partner_cloud_identity_info
  @channel_partner_cloud_identity_info
end

#create_timeString

Output only. Timestamp of when the channel partner link is created. Corresponds to the JSON property createTime

Returns:

  • (String)


260
261
262
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 260

def create_time
  @create_time
end

Output only. URI of the web page where partner accepts the link invitation. Corresponds to the JSON property inviteLinkUri

Returns:

  • (String)


265
266
267
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 265

def invite_link_uri
  @invite_link_uri
end

Required. State of the channel partner link. Corresponds to the JSON property linkState

Returns:

  • (String)


270
271
272
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 270

def link_state
  @link_state
end

#nameString

Output only. Resource name for the channel partner link, in the format accounts/account_id/channelPartnerLinks/id. Corresponds to the JSON property name

Returns:

  • (String)


276
277
278
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 276

def name
  @name
end

#public_idString

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

Returns:

  • (String)


282
283
284
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 282

def public_id
  @public_id
end

#reseller_cloud_identity_idString

Required. Cloud Identity ID of the linked reseller. Corresponds to the JSON property resellerCloudIdentityId

Returns:

  • (String)


287
288
289
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 287

def reseller_cloud_identity_id
  @reseller_cloud_identity_id
end

#update_timeString

Output only. Timestamp of when the channel partner link is updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


292
293
294
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 292

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



299
300
301
302
303
304
305
306
307
308
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 299

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