Class: Google::Apis::CloudbuildV1::ListBuildTriggersResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudbuild_v1/classes.rb,
generated/google/apis/cloudbuild_v1/representations.rb,
generated/google/apis/cloudbuild_v1/representations.rb

Overview

Response containing existing BuildTriggers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListBuildTriggersResponse

Returns a new instance of ListBuildTriggersResponse



260
261
262
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 260

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#triggersArray<Google::Apis::CloudbuildV1::BuildTrigger>

BuildTriggers for the project, sorted by create_time descending. Corresponds to the JSON property triggers



258
259
260
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 258

def triggers
  @triggers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



265
266
267
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 265

def update!(**args)
  @triggers = args[:triggers] if args.key?(:triggers)
end