Class: Google::Apis::CloudbuildV1::ListBuildsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::ListBuildsResponse
- 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 including listed builds.
Instance Attribute Summary collapse
-
#builds ⇒ Array<Google::Apis::CloudbuildV1::Build>
Builds will be sorted by
create_time, descending. -
#next_page_token ⇒ String
Token to receive the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListBuildsResponse
constructor
A new instance of ListBuildsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListBuildsResponse
Returns a new instance of ListBuildsResponse.
1143 1144 1145 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1143 def initialize(**args) update!(**args) end |
Instance Attribute Details
#builds ⇒ Array<Google::Apis::CloudbuildV1::Build>
Builds will be sorted by create_time, descending.
Corresponds to the JSON property builds
1135 1136 1137 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1135 def builds @builds end |
#next_page_token ⇒ String
Token to receive the next page of results. This will be absent if the end of
the response list has been reached.
Corresponds to the JSON property nextPageToken
1141 1142 1143 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1141 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1148 1149 1150 1151 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1148 def update!(**args) @builds = args[:builds] if args.key?(:builds) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |