class Google::Apis::ClouddeployV1::Stage

Stage specifies a location to which to deploy.

Attributes

profiles[RW]

Skaffold profiles to use when rendering the manifest for this stage’s ‘Target`. Corresponds to the JSON property `profiles` @return [Array<String>]

target_id[RW]

The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be ‘my- target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`. Corresponds to the JSON property `targetId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/clouddeploy_v1/classes.rb, line 1539
def update!(**args)
  @profiles = args[:profiles] if args.key?(:profiles)
  @target_id = args[:target_id] if args.key?(:target_id)
end