Class: Google::Apis::ArtifactregistryV1::ListAttachmentsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/artifactregistry_v1/classes.rb,
lib/google/apis/artifactregistry_v1/representations.rb,
lib/google/apis/artifactregistry_v1/representations.rb

Overview

The response from listing attachments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAttachmentsResponse

Returns a new instance of ListAttachmentsResponse.



1489
1490
1491
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1489

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

Instance Attribute Details

#attachmentsArray<Google::Apis::ArtifactregistryV1::Attachment>

The Attachments returned. Corresponds to the JSON property attachments



1481
1482
1483
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1481

def attachments
  @attachments
end

#next_page_tokenString

The token to retrieve the next page of attachments, or empty if there are no more attachments to return. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1487
1488
1489
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1487

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1494
1495
1496
1497
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 1494

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