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.
1060 1061 1062 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1060 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
1053 1054 1055 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1053 def next_page_token @next_page_token end |
#repositories ⇒ Array<Google::Apis::CloudbuildV2::Repository>
The list of Repositories.
Corresponds to the JSON property repositories
1058 1059 1060 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1058 def repositories @repositories end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1065 1066 1067 1068 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1065 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @repositories = args[:repositories] if args.key?(:repositories) end |