Class: Google::Apis::ManagedkafkaV1::ListConnectorsResponse

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

Overview

Response for ListConnectors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListConnectorsResponse

Returns a new instance of ListConnectorsResponse.



1085
1086
1087
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 1085

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

Instance Attribute Details

#connectorsArray<Google::Apis::ManagedkafkaV1::Connector>

The list of connectors in the requested parent. Corresponds to the JSON property connectors



1077
1078
1079
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 1077

def connectors
  @connectors
end

#next_page_tokenString

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1083
1084
1085
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 1083

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1090
1091
1092
1093
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 1090

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