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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/artifactregistry_v1beta1/classes.rb,
generated/google/apis/artifactregistry_v1beta1/representations.rb,
generated/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.



258
259
260
# File 'generated/google/apis/artifactregistry_v1beta1/classes.rb', line 258

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

Instance Attribute Details

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

The files returned. Corresponds to the JSON property files



250
251
252
# File 'generated/google/apis/artifactregistry_v1beta1/classes.rb', line 250

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)


256
257
258
# File 'generated/google/apis/artifactregistry_v1beta1/classes.rb', line 256

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



263
264
265
266
# File 'generated/google/apis/artifactregistry_v1beta1/classes.rb', line 263

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