Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource

The "externalAccessRules" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.VMwareEngine.v1
Assembly: Google.Apis.VMwareEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource

Constructors

ExternalAccessRulesResource(IClientService)

Constructs a new resource.

Declaration
public ExternalAccessRulesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(ExternalAccessRule, string)

Creates a new external access rule in a given network policy.

Declaration
public virtual ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource.CreateRequest Create(ExternalAccessRule body, string parent)
Parameters
Type Name Description
ExternalAccessRule body

The body of the request.

string parent

Required. The resource name of the network policy to create a new external access firewall rule in. 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

Returns
Type Description
ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource.CreateRequest

Delete(string)

Deletes a single external access rule.

Declaration
public virtual ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The resource name of the external access firewall rule to delete. 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/externalAccessRules/my-rule

Returns
Type Description
ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource.DeleteRequest

Get(string)

Gets details of a single external access rule.

Declaration
public virtual ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The resource name of the external access firewall rule to retrieve. 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/externalAccessRules/my-rule

Returns
Type Description
ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource.GetRequest

List(string)

Lists ExternalAccessRule resources in the specified network policy.

Declaration
public virtual ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The resource name of the network policy to query for external access firewall rules. 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

Returns
Type Description
ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource.ListRequest

Patch(ExternalAccessRule, string)

Updates the parameters of a single external access rule. Only fields specified in update_mask are applied.

Declaration
public virtual ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource.PatchRequest Patch(ExternalAccessRule body, string name)
Parameters
Type Name Description
ExternalAccessRule body

The body of the request.

string name

Output only. The resource name of this external access rule. 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/externalAccessRules/my-rule

Returns
Type Description
ProjectsResource.LocationsResource.NetworkPoliciesResource.ExternalAccessRulesResource.PatchRequest
In this article
Back to top Generated by DocFX