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.



528
529
530
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 528

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

Instance Attribute Details

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

The list of Bindings. Corresponds to the JSON property bindings



521
522
523
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 521

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)


526
527
528
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 526

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



533
534
535
536
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 533

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