Class: Google::Apis::ArtifactregistryV1::ListAttachmentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1::ListAttachmentsResponse
- 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
-
#attachments ⇒ Array<Google::Apis::ArtifactregistryV1::Attachment>
The attachments returned.
-
#next_page_token ⇒ String
The token to retrieve the next page of attachments, or empty if there are no more attachments to return.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAttachmentsResponse
constructor
A new instance of ListAttachmentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#attachments ⇒ Array<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 end |
#next_page_token ⇒ String
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
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 |