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.



579
580
581
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 579

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

Instance Attribute Details

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

The files returned. Corresponds to the JSON property files



571
572
573
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 571

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)


577
578
579
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 577

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



584
585
586
587
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 584

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