Class: Google::Apis::CloudcommerceprocurementV1::RejectEntitlementRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudcommerceprocurementV1::RejectEntitlementRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudcommerceprocurement_v1/classes.rb,
lib/google/apis/cloudcommerceprocurement_v1/representations.rb,
lib/google/apis/cloudcommerceprocurement_v1/representations.rb
Overview
Request message for PartnerProcurementService.RejectEntitlement.
Instance Attribute Summary collapse
-
#reason ⇒ String
Free form text string explaining the rejection reason.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RejectEntitlementRequest
constructor
A new instance of RejectEntitlementRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RejectEntitlementRequest
Returns a new instance of RejectEntitlementRequest.
661 662 663 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 661 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reason ⇒ String
Free form text string explaining the rejection reason. Max allowed length: 256
bytes. Longer strings will be truncated.
Corresponds to the JSON property reason
659 660 661 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 659 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
666 667 668 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 666 def update!(**args) @reason = args[:reason] if args.key?(:reason) end |