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]
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