Class: Google::Apis::RunV1alpha1::Initializers

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/run_v1alpha1/classes.rb,
generated/google/apis/run_v1alpha1/representations.rb,
generated/google/apis/run_v1alpha1/representations.rb

Overview

Initializers tracks the progress of initialization.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Initializers

Returns a new instance of Initializers



1661
1662
1663
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1661

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

Instance Attribute Details

#pendingArray<Google::Apis::RunV1alpha1::Initializer>

Pending is a list of initializers that must execute in order before this object is visible. When the last pending initializer is removed, and no failing result is set, the initializers struct will be set to nil and the object is considered as initialized and visible to all clients. +patchMergeKey=name +patchStrategy=merge Corresponds to the JSON property pending



1659
1660
1661
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1659

def pending
  @pending
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1666
1667
1668
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1666

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