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.



541
542
543
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 541

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

Instance Attribute Details

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

The files returned. Corresponds to the JSON property files



533
534
535
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 533

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)


539
540
541
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 539

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



546
547
548
549
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 546

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