Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1TransferEligibility
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1TransferEligibility
- 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
Specifies transfer eligibility of a SKU.
Instance Attribute Summary collapse
-
#description ⇒ String
Localized description if reseller is not eligible to transfer the SKU.
-
#ineligibility_reason ⇒ String
Specified the reason for ineligibility.
-
#is_eligible ⇒ Boolean
(also: #is_eligible?)
Whether reseller is eligible to transfer the SKU.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1TransferEligibility
constructor
A new instance of GoogleCloudChannelV1TransferEligibility.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1TransferEligibility
Returns a new instance of GoogleCloudChannelV1TransferEligibility.
3401 3402 3403 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3401 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Localized description if reseller is not eligible to transfer the SKU.
Corresponds to the JSON property description
3388 3389 3390 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3388 def description @description end |
#ineligibility_reason ⇒ String
Specified the reason for ineligibility.
Corresponds to the JSON property ineligibilityReason
3393 3394 3395 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3393 def ineligibility_reason @ineligibility_reason end |
#is_eligible ⇒ Boolean Also known as: is_eligible?
Whether reseller is eligible to transfer the SKU.
Corresponds to the JSON property isEligible
3398 3399 3400 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3398 def is_eligible @is_eligible end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3406 3407 3408 3409 3410 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3406 def update!(**args) @description = args[:description] if args.key?(:description) @ineligibility_reason = args[:ineligibility_reason] if args.key?(:ineligibility_reason) @is_eligible = args[:is_eligible] if args.key?(:is_eligible) end |