Class: Google::Apis::VpcaccessV1beta1::ListConnectorsResponse

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

Overview

Response for listing Serverless VPC Access connectors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListConnectorsResponse

Returns a new instance of ListConnectorsResponse.



141
142
143
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 141

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

Instance Attribute Details

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

List of Serverless VPC Access connectors. Corresponds to the JSON property connectors



134
135
136
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 134

def connectors
  @connectors
end

#next_page_tokenString

Continuation token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


139
140
141
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 139

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



146
147
148
149
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 146

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