ProjectsLocationsNetworkPoliciesResource class

Constructors

ProjectsLocationsNetworkPoliciesResource(ApiRequester client)

Properties

externalAccessRules ProjectsLocationsNetworkPoliciesExternalAccessRulesResource
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(NetworkPolicy request, String parent, {String? networkPolicyId, String? requestId, String? $fields}) Future<Operation>
Creates a new network policy in a given VMware Engine network of a project and location (region).
delete(String name, {String? requestId, String? $fields}) Future<Operation>
Deletes a NetworkPolicy resource.
fetchExternalAddresses(String networkPolicy, {int? pageSize, String? pageToken, String? $fields}) Future<FetchNetworkPolicyExternalAddressesResponse>
Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.
get(String name, {String? $fields}) Future<NetworkPolicy>
Retrieves a NetworkPolicy resource by its resource name.
list(String parent, {String? filter, String? orderBy, int? pageSize, String? pageToken, String? $fields}) Future<ListNetworkPoliciesResponse>
Lists NetworkPolicy resources in a specified project and location.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(NetworkPolicy request, String name, {String? requestId, String? updateMask, String? $fields}) Future<Operation>
Modifies a NetworkPolicy resource.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited