Class: Google::Apis::ArtifactregistryV1beta1::ListFilesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1beta1::ListFilesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/artifactregistry_v1beta1/classes.rb,
lib/google/apis/artifactregistry_v1beta1/representations.rb,
lib/google/apis/artifactregistry_v1beta1/representations.rb
Overview
The response from listing files.
Instance Attribute Summary collapse
-
#files ⇒ Array<Google::Apis::ArtifactregistryV1beta1::File>
The files returned.
-
#next_page_token ⇒ String
The token to retrieve the next page of files, or empty if there are no more files to return.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListFilesResponse
constructor
A new instance of ListFilesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListFilesResponse
Returns a new instance of ListFilesResponse.
261 262 263 |
# File 'lib/google/apis/artifactregistry_v1beta1/classes.rb', line 261 def initialize(**args) update!(**args) end |
Instance Attribute Details
#files ⇒ Array<Google::Apis::ArtifactregistryV1beta1::File>
The files returned.
Corresponds to the JSON property files
253 254 255 |
# File 'lib/google/apis/artifactregistry_v1beta1/classes.rb', line 253 def files @files end |
#next_page_token ⇒ String
The token to retrieve the next page of files, or empty if there are no more
files to return.
Corresponds to the JSON property nextPageToken
259 260 261 |
# File 'lib/google/apis/artifactregistry_v1beta1/classes.rb', line 259 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
266 267 268 269 |
# File 'lib/google/apis/artifactregistry_v1beta1/classes.rb', line 266 def update!(**args) @files = args[:files] if args.key?(:files) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |