Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1EntitlementChange
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1EntitlementChange
- 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
Change event entry for Entitlement order history
Instance Attribute Summary collapse
-
#activation_reason ⇒ String
The Entitlement's activation reason Corresponds to the JSON property
activationReason
. -
#cancellation_reason ⇒ String
Cancellation reason for the Entitlement.
-
#change_type ⇒ String
The change action type.
-
#create_time ⇒ String
The submitted time of the change.
-
#entitlement ⇒ String
Required.
-
#offer ⇒ String
Required.
-
#operator ⇒ String
Human-readable identifier that shows what operator made a change.
-
#operator_type ⇒ String
Operator type responsible for the change.
-
#other_change_reason ⇒ String
e.g.
-
#parameters ⇒ Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter>
Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.
-
#provisioned_service ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1ProvisionedService
Service provisioned for an entitlement.
-
#suspension_reason ⇒ String
Suspension reason for the Entitlement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1EntitlementChange
constructor
A new instance of GoogleCloudChannelV1EntitlementChange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1EntitlementChange
Returns a new instance of GoogleCloudChannelV1EntitlementChange.
1329 1330 1331 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1329 def initialize(**args) update!(**args) end |
Instance Attribute Details
#activation_reason ⇒ String
The Entitlement's activation reason
Corresponds to the JSON property activationReason
1267 1268 1269 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1267 def activation_reason @activation_reason end |
#cancellation_reason ⇒ String
Cancellation reason for the Entitlement.
Corresponds to the JSON property cancellationReason
1272 1273 1274 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1272 def cancellation_reason @cancellation_reason end |
#change_type ⇒ String
The change action type.
Corresponds to the JSON property changeType
1277 1278 1279 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1277 def change_type @change_type end |
#create_time ⇒ String
The submitted time of the change.
Corresponds to the JSON property createTime
1282 1283 1284 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1282 def create_time @create_time end |
#entitlement ⇒ String
Required. Resource name of an entitlement in the form: accounts/account_id
/
customers/customer_id
/entitlements/entitlement_id
Corresponds to the JSON property entitlement
1288 1289 1290 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1288 def entitlement @entitlement end |
#offer ⇒ String
Required. Resource name of the Offer at the time of change. Takes the form:
accounts/account_id
/offers/offer_id
.
Corresponds to the JSON property offer
1294 1295 1296 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1294 def offer @offer end |
#operator ⇒ String
Human-readable identifier that shows what operator made a change. When the
operator_type is RESELLER, this is the user's email address. For all other
operator types, this is empty.
Corresponds to the JSON property operator
1301 1302 1303 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1301 def operator @operator end |
#operator_type ⇒ String
Operator type responsible for the change.
Corresponds to the JSON property operatorType
1306 1307 1308 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1306 def operator_type @operator_type end |
#other_change_reason ⇒ String
e.g. purchase_number change reason, entered by CRS.
Corresponds to the JSON property otherChangeReason
1311 1312 1313 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1311 def other_change_reason @other_change_reason end |
#parameters ⇒ Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter>
Extended parameters, such as: purchase_order_number, gcp_details;
internal_correlation_id, long_running_operation_id, order_id; etc.
Corresponds to the JSON property parameters
1317 1318 1319 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1317 def parameters @parameters end |
#provisioned_service ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1ProvisionedService
Service provisioned for an entitlement.
Corresponds to the JSON property provisionedService
1322 1323 1324 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1322 def provisioned_service @provisioned_service end |
#suspension_reason ⇒ String
Suspension reason for the Entitlement.
Corresponds to the JSON property suspensionReason
1327 1328 1329 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1327 def suspension_reason @suspension_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1334 def update!(**args) @activation_reason = args[:activation_reason] if args.key?(:activation_reason) @cancellation_reason = args[:cancellation_reason] if args.key?(:cancellation_reason) @change_type = args[:change_type] if args.key?(:change_type) @create_time = args[:create_time] if args.key?(:create_time) @entitlement = args[:entitlement] if args.key?(:entitlement) @offer = args[:offer] if args.key?(:offer) @operator = args[:operator] if args.key?(:operator) @operator_type = args[:operator_type] if args.key?(:operator_type) @other_change_reason = args[:other_change_reason] if args.key?(:other_change_reason) @parameters = args[:parameters] if args.key?(:parameters) @provisioned_service = args[:provisioned_service] if args.key?(:provisioned_service) @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason) end |