Class: Google::Apis::ComputeAlpha::CommitmentResourceStatus

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

Overview

[Output Only] Contains output only fields.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommitmentResourceStatus

Returns a new instance of CommitmentResourceStatus.



6679
6680
6681
# File 'lib/google/apis/compute_alpha/classes.rb', line 6679

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cancellation_informationGoogle::Apis::ComputeAlpha::CommitmentResourceStatusCancellationInformation

[Output Only] An optional, contains all the needed information of cancellation. Corresponds to the JSON property cancellationInformation



6677
6678
6679
# File 'lib/google/apis/compute_alpha/classes.rb', line 6677

def cancellation_information
  @cancellation_information
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6684
6685
6686
# File 'lib/google/apis/compute_alpha/classes.rb', line 6684

def update!(**args)
  @cancellation_information = args[:cancellation_information] if args.key?(:cancellation_information)
end