Class: Google::Apis::SourcerepoV1::ListReposResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SourcerepoV1::ListReposResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sourcerepo_v1/classes.rb,
 generated/google/apis/sourcerepo_v1/representations.rb,
 generated/google/apis/sourcerepo_v1/representations.rb
Overview
Response for ListRepos. The size is not set in the returned repositories.
Instance Attribute Summary collapse
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If non-empty, additional repositories exist within the project. 
- 
  
    
      #repos  ⇒ Array<Google::Apis::SourcerepoV1::Repo> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The listed repos. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListReposResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListReposResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListReposResponse
Returns a new instance of ListReposResponse
| 217 218 219 | # File 'generated/google/apis/sourcerepo_v1/classes.rb', line 217 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#next_page_token ⇒ String
If non-empty, additional repositories exist within the project. These
can be retrieved by including this value in the next ListReposRequest's
page_token field.
Corresponds to the JSON property nextPageToken
| 210 211 212 | # File 'generated/google/apis/sourcerepo_v1/classes.rb', line 210 def next_page_token @next_page_token end | 
#repos ⇒ Array<Google::Apis::SourcerepoV1::Repo>
The listed repos.
Corresponds to the JSON property repos
| 215 216 217 | # File 'generated/google/apis/sourcerepo_v1/classes.rb', line 215 def repos @repos end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 222 223 224 225 | # File 'generated/google/apis/sourcerepo_v1/classes.rb', line 222 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @repos = args[:repos] if args.key?(:repos) end |