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.
505 506 507 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 505 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
503 504 505 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 503 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
510 511 512 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 510 def update!(**args) @reason = args[:reason] if args.key?(:reason) end |