Class: Google::Apis::CloudbuildV1::ListBuildsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::ListBuildsResponse
- 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 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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListBuildsResponse
Returns a new instance of ListBuildsResponse
732 733 734 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 732 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
725 726 727 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 725 def builds @builds end |
#next_page_token ⇒ String
Token to receive the next page of results.
Corresponds to the JSON property nextPageToken
730 731 732 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 730 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
737 738 739 740 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 737 def update!(**args) @builds = args[:builds] if args.key?(:builds) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |