Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1UpdateChannelPartnerLinkRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1UpdateChannelPartnerLinkRequest
- 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
Request message for CloudChannelService.UpdateChannelPartnerLink
Instance Attribute Summary collapse
-
#channel_partner_link ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1ChannelPartnerLink
Entity representing a link between distributors and their indirect resellers in an n-tier resale channel.
-
#update_mask ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1UpdateChannelPartnerLinkRequest
constructor
A new instance of GoogleCloudChannelV1UpdateChannelPartnerLinkRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1UpdateChannelPartnerLinkRequest
Returns a new instance of GoogleCloudChannelV1UpdateChannelPartnerLinkRequest.
2664 2665 2666 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2664 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_partner_link ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1ChannelPartnerLink
Entity representing a link between distributors and their indirect resellers
in an n-tier resale channel.
Corresponds to the JSON property channelPartnerLink
2656 2657 2658 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2656 def channel_partner_link @channel_partner_link end |
#update_mask ⇒ String
Required. The update mask that applies to the resource. The only allowable
value for an update mask is channel_partner_link.link_state.
Corresponds to the JSON property updateMask
2662 2663 2664 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2662 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2669 2670 2671 2672 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2669 def update!(**args) @channel_partner_link = args[:channel_partner_link] if args.key?(:channel_partner_link) @update_mask = args[:update_mask] if args.key?(:update_mask) end |