Class: Google::Apis::ArtifactregistryV1beta1::ListFilesResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListFilesResponse

Returns a new instance of ListFilesResponse.



288
289
290
# File 'lib/google/apis/artifactregistry_v1beta1/classes.rb', line 288

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#filesArray<Google::Apis::ArtifactregistryV1beta1::File>

The files returned. Corresponds to the JSON property files



280
281
282
# File 'lib/google/apis/artifactregistry_v1beta1/classes.rb', line 280

def files
  @files
end

#next_page_tokenString

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

Returns:

  • (String)


286
287
288
# File 'lib/google/apis/artifactregistry_v1beta1/classes.rb', line 286

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



293
294
295
296
# File 'lib/google/apis/artifactregistry_v1beta1/classes.rb', line 293

def update!(**args)
  @files = args[:files] if args.key?(:files)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end