Class: Google::Apis::ArtifactregistryV1beta2::ListTagsResponse

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 tags.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListTagsResponse

Returns a new instance of ListTagsResponse.



614
615
616
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 614

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)


607
608
609
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 607

def next_page_token
  @next_page_token
end

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

The tags returned. Corresponds to the JSON property tags



612
613
614
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 612

def tags
  @tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



619
620
621
622
# File 'lib/google/apis/artifactregistry_v1beta2/classes.rb', line 619

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