Class: Google::Apis::CloudbuildV1::ListBuildTriggersResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::ListBuildTriggersResponse
- 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
-
#next_page_token ⇒ String
Token to receive the next page of results.
-
#triggers ⇒ Array<Google::Apis::CloudbuildV1::BuildTrigger>
BuildTriggers
for the project, sorted bycreate_time
descending.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListBuildTriggersResponse
constructor
A new instance of ListBuildTriggersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListBuildTriggersResponse
Returns a new instance of ListBuildTriggersResponse
886 887 888 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 886 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
879 880 881 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 879 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
884 885 886 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 884 def triggers @triggers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
891 892 893 894 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 891 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @triggers = args[:triggers] if args.key?(:triggers) end |