Class: Google::Apis::VmwareengineV1::ListNetworkPeeringsResponse

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

Overview

Response message for VmwareEngine.ListNetworkPeerings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListNetworkPeeringsResponse

Returns a new instance of ListNetworkPeeringsResponse.



1186
1187
1188
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1186

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

Instance Attribute Details

#network_peeringsArray<Google::Apis::VmwareengineV1::NetworkPeering>

A list of network peerings. Corresponds to the JSON property networkPeerings



1173
1174
1175
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1173

def network_peerings
  @network_peerings
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1179
1180
1181
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1179

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Unreachable resources. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1184
1185
1186
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1184

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1191
1192
1193
1194
1195
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1191

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