Class: Google::Apis::CloudbuildV1::ListBuildTriggersResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::ListBuildTriggersResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v1/classes.rb,
lib/google/apis/cloudbuild_v1/representations.rb,
lib/google/apis/cloudbuild_v1/representations.rb
Overview
Response containing existing BuildTriggers.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Token to receive the next page of results.
-
#triggers ⇒ Array<Google::Apis::CloudbuildV1::BuildTrigger>
BuildTriggersfor the project, sorted bycreate_timedescending.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListBuildTriggersResponse
constructor
A new instance of ListBuildTriggersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListBuildTriggersResponse
Returns a new instance of ListBuildTriggersResponse.
1117 1118 1119 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1117 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Token to receive the next page of results.
Corresponds to the JSON property nextPageToken
1110 1111 1112 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1110 def next_page_token @next_page_token end |
#triggers ⇒ Array<Google::Apis::CloudbuildV1::BuildTrigger>
BuildTriggers for the project, sorted by create_time descending.
Corresponds to the JSON property triggers
1115 1116 1117 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1115 def triggers @triggers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1122 1123 1124 1125 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1122 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @triggers = args[:triggers] if args.key?(:triggers) end |