Class: Google::Apis::AgentregistryV1alpha::ListPublishersResponse

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

Overview

Response listing Publishers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPublishersResponse

Returns a new instance of ListPublishersResponse.



814
815
816
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 814

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

Instance Attribute Details

#next_page_tokenString

Page offset continuation token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


807
808
809
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 807

def next_page_token
  @next_page_token
end

#publishersArray<Google::Apis::AgentregistryV1alpha::Publisher>

The returned list of Publishers. Corresponds to the JSON property publishers



812
813
814
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 812

def publishers
  @publishers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



819
820
821
822
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 819

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