Class: Google::Apis::ComputeAlpha::CommitmentResourceStatusCancellationInformation
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::CommitmentResourceStatusCancellationInformation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#canceled_commitment ⇒ Google::Apis::ComputeAlpha::Money
Represents an amount of money with its currency type.
-
#canceled_commitment_last_updated_timestamp ⇒ String
[Output Only] An optional last update time of canceled_commitment.
-
#cancellation_cap ⇒ Google::Apis::ComputeAlpha::Money
Represents an amount of money with its currency type.
-
#cancellation_fee ⇒ Google::Apis::ComputeAlpha::Money
Represents an amount of money with its currency type.
-
#cancellation_fee_expiration_timestamp ⇒ String
[Output Only] An optional, cancellation fee expiration time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommitmentResourceStatusCancellationInformation
constructor
A new instance of CommitmentResourceStatusCancellationInformation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommitmentResourceStatusCancellationInformation
Returns a new instance of CommitmentResourceStatusCancellationInformation.
6351 6352 6353 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6351 def initialize(**args) update!(**args) end |
Instance Attribute Details
#canceled_commitment ⇒ Google::Apis::ComputeAlpha::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property canceledCommitment
6327 6328 6329 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6327 def canceled_commitment @canceled_commitment end |
#canceled_commitment_last_updated_timestamp ⇒ String
[Output Only] An optional last update time of canceled_commitment. RFC3339
text format.
Corresponds to the JSON property canceledCommitmentLastUpdatedTimestamp
6333 6334 6335 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6333 def @canceled_commitment_last_updated_timestamp end |
#cancellation_cap ⇒ Google::Apis::ComputeAlpha::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property cancellationCap
6338 6339 6340 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6338 def cancellation_cap @cancellation_cap end |
#cancellation_fee ⇒ Google::Apis::ComputeAlpha::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property cancellationFee
6343 6344 6345 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6343 def cancellation_fee @cancellation_fee end |
#cancellation_fee_expiration_timestamp ⇒ String
[Output Only] An optional, cancellation fee expiration time. RFC3339 text
format.
Corresponds to the JSON property cancellationFeeExpirationTimestamp
6349 6350 6351 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6349 def @cancellation_fee_expiration_timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6356 6357 6358 6359 6360 6361 6362 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6356 def update!(**args) @canceled_commitment = args[:canceled_commitment] if args.key?(:canceled_commitment) @canceled_commitment_last_updated_timestamp = args[:canceled_commitment_last_updated_timestamp] if args.key?(:canceled_commitment_last_updated_timestamp) @cancellation_cap = args[:cancellation_cap] if args.key?(:cancellation_cap) @cancellation_fee = args[:cancellation_fee] if args.key?(:cancellation_fee) @cancellation_fee_expiration_timestamp = args[:cancellation_fee_expiration_timestamp] if args.key?(:cancellation_fee_expiration_timestamp) end |