Class: Google::Apis::VmwareengineV1::FetchNetworkPolicyExternalAddressesResponse

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.FetchNetworkPolicyExternalAddresses

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchNetworkPolicyExternalAddressesResponse

Returns a new instance of FetchNetworkPolicyExternalAddressesResponse.



747
748
749
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 747

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

Instance Attribute Details

#external_addressesArray<Google::Apis::VmwareengineV1::ExternalAddress>

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy. Corresponds to the JSON property externalAddresses



739
740
741
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 739

def external_addresses
  @external_addresses
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)


745
746
747
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 745

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



752
753
754
755
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 752

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