class Google::Apis::ComputeV1::CommitmentsScopedList

Attributes

commitments[RW]
Output Only

A list of commitments contained in this scope.

Corresponds to the JSON property `commitments` @return [Array<Google::Apis::ComputeV1::Commitment>]

warning[RW]
Output Only

Informational warning which replaces the list of commitments

when the list is empty. Corresponds to the JSON property `warning` @return [Google::Apis::ComputeV1::CommitmentsScopedList::Warning]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 5288
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 5293
def update!(**args)
  @commitments = args[:commitments] if args.key?(:commitments)
  @warning = args[:warning] if args.key?(:warning)
end