Class: Google::Apis::CloudbuildV2::StepRef
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV2::StepRef
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v2/classes.rb,
lib/google/apis/cloudbuild_v2/representations.rb,
lib/google/apis/cloudbuild_v2/representations.rb
Overview
A reference to a remote Step, i.e. a StepAction.
Instance Attribute Summary collapse
-
#name ⇒ String
Optional.
-
#params ⇒ Array<Google::Apis::CloudbuildV2::Param>
Optional.
-
#resolver ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StepRef
constructor
A new instance of StepRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StepRef
Returns a new instance of StepRef.
2791 2792 2793 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2791 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Optional. Name of the step.
Corresponds to the JSON property name
2779 2780 2781 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2779 def name @name end |
#params ⇒ Array<Google::Apis::CloudbuildV2::Param>
Optional. Parameters used to control the resolution.
Corresponds to the JSON property params
2784 2785 2786 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2784 def params @params end |
#resolver ⇒ String
Optional. Type of the resolver.
Corresponds to the JSON property resolver
2789 2790 2791 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2789 def resolver @resolver end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2796 2797 2798 2799 2800 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2796 def update!(**args) @name = args[:name] if args.key?(:name) @params = args[:params] if args.key?(:params) @resolver = args[:resolver] if args.key?(:resolver) end |