class Google::Apis::CloudbuildV1::RunBuildTriggerRequest

Specifies a build trigger to run and the source to use.

Attributes

project_id[RW]

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

source[RW]

Location of the source in a Google Cloud Source Repository. Corresponds to the JSON property `source` @return [Google::Apis::CloudbuildV1::RepoSource]

trigger_id[RW]

Required. ID of the trigger. Corresponds to the JSON property `triggerId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudbuild_v1/classes.rb, line 2466
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 2471
def update!(**args)
  @project_id = args[:project_id] if args.key?(:project_id)
  @source = args[:source] if args.key?(:source)
  @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
end