Class: Google::Apis::CloudbuildV2::ListRepositoriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV2::ListRepositoriesResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v2/classes.rb,
lib/google/apis/cloudbuild_v2/representations.rb,
lib/google/apis/cloudbuild_v2/representations.rb
Overview
Message for response to listing Repositories.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token identifying a page of results the server should return.
-
#repositories ⇒ Array<Google::Apis::CloudbuildV2::Repository>
The list of Repositories.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListRepositoriesResponse
constructor
A new instance of ListRepositoriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListRepositoriesResponse
Returns a new instance of ListRepositoriesResponse.
1272 1273 1274 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1272 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token identifying a page of results the server should return.
Corresponds to the JSON property nextPageToken
1265 1266 1267 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1265 def next_page_token @next_page_token end |
#repositories ⇒ Array<Google::Apis::CloudbuildV2::Repository>
The list of Repositories.
Corresponds to the JSON property repositories
1270 1271 1272 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1270 def repositories @repositories end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1277 1278 1279 1280 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1277 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @repositories = args[:repositories] if args.key?(:repositories) end |