Class: Google::Apis::ComputeAlpha::CommitmentResourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::CommitmentResourceStatus
- 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
-
#cancellation_information ⇒ Google::Apis::ComputeAlpha::CommitmentResourceStatusCancellationInformation
[Output Only] An optional, contains all the needed information of cancellation.
-
#custom_term_eligibility_end_timestamp ⇒ String
[Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommitmentResourceStatus
constructor
A new instance of CommitmentResourceStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommitmentResourceStatus
Returns a new instance of CommitmentResourceStatus.
7131 7132 7133 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 7131 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cancellation_information ⇒ Google::Apis::ComputeAlpha::CommitmentResourceStatusCancellationInformation
[Output Only] An optional, contains all the needed information of cancellation.
Corresponds to the JSON property cancellationInformation
7122 7123 7124 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 7122 def cancellation_information @cancellation_information end |
#custom_term_eligibility_end_timestamp ⇒ String
[Output Only] Indicates the end time of customer's eligibility to send custom
term requests in RFC3339 text format. Term extension requests that (not the
end time in the request) after this time will be rejected.
Corresponds to the JSON property customTermEligibilityEndTimestamp
7129 7130 7131 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 7129 def @custom_term_eligibility_end_timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7136 7137 7138 7139 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 7136 def update!(**args) @cancellation_information = args[:cancellation_information] if args.key?(:cancellation_information) @custom_term_eligibility_end_timestamp = args[:custom_term_eligibility_end_timestamp] if args.key?(:custom_term_eligibility_end_timestamp) end |