class Google::Apis::CloudbuildV1::RetryBuildRequest

Specifies a build to retry.

Attributes

id[RW]

Required. Build ID of the original build. Corresponds to the JSON property `id` @return [String]

name[RW]

The name of the `Build` to retry. Format: `projects/`project`/locations/` location`/builds/`build“ Corresponds to the JSON property `name` @return [String]

project_id[RW]

Required. ID of the project. Corresponds to the JSON property `projectId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudbuild_v1/classes.rb, line 2440
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
  @project_id = args[:project_id] if args.key?(:project_id)
end