Class: Google::Apis::CloudcommerceprocurementV1::RejectEntitlementRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#reasonString

Free form text string explaining the rejection reason. Max allowed length: 256 bytes. Longer strings will be truncated. Corresponds to the JSON property reason

Returns:

  • (String)


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