Class ProjectsResource.LocationsResource.NetworkPoliciesResource.FetchExternalAddressesRequest
Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.
Inheritance
Inherited Members
Namespace: Google.Apis.VMwareEngine.v1
Assembly: Google.Apis.VMwareEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.NetworkPoliciesResource.FetchExternalAddressesRequest : VMwareEngineBaseServiceRequest<FetchNetworkPolicyExternalAddressesResponse>, IClientServiceRequest<FetchNetworkPolicyExternalAddressesResponse>, IClientServiceRequest
Constructors
FetchExternalAddressesRequest(IClientService, string)
Constructs a new FetchExternalAddresses request.
Declaration
public FetchExternalAddressesRequest(IClientService service, string networkPolicy)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | networkPolicy |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
NetworkPolicy
Required. The resource name of the network policy to query for assigned external IP addresses.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/networkPolicies/my-policy
Declaration
[RequestParameter("networkPolicy", RequestParameterType.Path)]
public virtual string NetworkPolicy { get; }
Property Value
Type | Description |
---|---|
string |
PageSize
The maximum number of external IP addresses to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A page token, received from a previous FetchNetworkPolicyExternalAddresses
call. Provide this
to retrieve the subsequent page. When paginating, all parameters provided to
FetchNetworkPolicyExternalAddresses
, except for page_size
and page_token
, must match the
call that provided the page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes FetchExternalAddresses parameter list.
Declaration
protected override void InitParameters()