Class: Google::Apis::ArtifactregistryV1beta2::ListFilesResponse

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



511
512
513
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 511

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

Instance Attribute Details

#filesArray<Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1beta2File>

The files returned. Corresponds to the JSON property files



503
504
505
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 503

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)


509
510
511
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 509

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



516
517
518
519
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 516

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