Class: Google::Apis::AgentregistryV1alpha::FetchAvailableBindingsResponse

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

Message for response to fetching available Bindings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchAvailableBindingsResponse

Returns a new instance of FetchAvailableBindingsResponse.



507
508
509
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 507

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

Instance Attribute Details

#bindingsArray<Google::Apis::AgentregistryV1alpha::Binding>

The list of Bindings. Corresponds to the JSON property bindings



500
501
502
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 500

def bindings
  @bindings
end

#next_page_tokenString

A token identifying a page of results the server should return. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


505
506
507
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 505

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



512
513
514
515
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 512

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