Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ChannelPartnerLink
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1ChannelPartnerLink
- 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
-
#channel_partner_cloud_identity_info ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1CloudIdentityInfo
Cloud Identity information for the Cloud Channel Customer.
-
#create_time ⇒ String
Output only.
-
#invite_link_uri ⇒ String
Output only.
-
#link_state ⇒ String
Required.
-
#name ⇒ String
Output only.
-
#public_id ⇒ String
Output only.
-
#reseller_cloud_identity_id ⇒ String
Required.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1ChannelPartnerLink
constructor
A new instance of GoogleCloudChannelV1ChannelPartnerLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1ChannelPartnerLink
Returns a new instance of GoogleCloudChannelV1ChannelPartnerLink.
402 403 404 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 402 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_partner_cloud_identity_info ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1CloudIdentityInfo
Cloud Identity information for the Cloud Channel Customer.
Corresponds to the JSON property channelPartnerCloudIdentityInfo
363 364 365 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 363 def channel_partner_cloud_identity_info @channel_partner_cloud_identity_info end |
#create_time ⇒ String
Output only. Timestamp of when the channel partner link is created.
Corresponds to the JSON property createTime
368 369 370 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 368 def create_time @create_time end |
#invite_link_uri ⇒ String
Output only. URI of the web page where partner accepts the link invitation.
Corresponds to the JSON property inviteLinkUri
373 374 375 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 373 def invite_link_uri @invite_link_uri end |
#link_state ⇒ String
Required. State of the channel partner link.
Corresponds to the JSON property linkState
378 379 380 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 378 def link_state @link_state end |
#name ⇒ String
Output only. Resource name for the channel partner link, in the format
accounts/account_id
/channelPartnerLinks/id
.
Corresponds to the JSON property name
384 385 386 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 384 def name @name end |
#public_id ⇒ String
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
390 391 392 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 390 def public_id @public_id end |
#reseller_cloud_identity_id ⇒ String
Required. Cloud Identity ID of the linked reseller.
Corresponds to the JSON property resellerCloudIdentityId
395 396 397 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 395 def reseller_cloud_identity_id @reseller_cloud_identity_id end |
#update_time ⇒ String
Output only. Timestamp of when the channel partner link is updated.
Corresponds to the JSON property updateTime
400 401 402 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 400 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
407 408 409 410 411 412 413 414 415 416 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 407 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 |