Class: Google::Apis::ArtifactregistryV1beta1::ListTagsResponse

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

Overview

The response from listing tags.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListTagsResponse

Returns a new instance of ListTagsResponse.


499
500
501
# File 'generated/google/apis/artifactregistry_v1beta1/classes.rb', line 499

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)

492
493
494
# File 'generated/google/apis/artifactregistry_v1beta1/classes.rb', line 492

def next_page_token
  @next_page_token
end

#tagsArray<Google::Apis::ArtifactregistryV1beta1::Tag>

The tags returned. Corresponds to the JSON property tags


497
498
499
# File 'generated/google/apis/artifactregistry_v1beta1/classes.rb', line 497

def tags
  @tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


504
505
506
507
# File 'generated/google/apis/artifactregistry_v1beta1/classes.rb', line 504

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