Show / Hide Table of Contents

Class RegionNetworksResource

The "regionNetworks" collection of methods.

Inheritance
System.Object
RegionNetworksResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class RegionNetworksResource

Constructors

RegionNetworksResource(IClientService)

Constructs a new resource.

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

Methods

Delete(String, String, String)

Deletes the specified network.

Declaration
public virtual RegionNetworksResource.DeleteRequest Delete(string project, string region, string network)
Parameters
Type Name Description
System.String project

Project ID for this request.

System.String region

Name of the region scoping this request.

System.String network

Name of the network to delete.

Returns
Type Description
RegionNetworksResource.DeleteRequest

Get(String, String, String)

Returns the specified network.

Declaration
public virtual RegionNetworksResource.GetRequest Get(string project, string region, string network)
Parameters
Type Name Description
System.String project

Project ID for this request.

System.String region

Name of the region scoping this request.

System.String network

Name of the network to return.

Returns
Type Description
RegionNetworksResource.GetRequest

GetIamPolicy(String, String, String)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Declaration
public virtual RegionNetworksResource.GetIamPolicyRequest GetIamPolicy(string project, string region, string resource)
Parameters
Type Name Description
System.String project

Project ID for this request.

System.String region

The name of the region for this request.

System.String resource

Name or id of the resource for this request.

Returns
Type Description
RegionNetworksResource.GetIamPolicyRequest

Insert(Network, String, String)

Creates a network in the specified project and region using the data included in the request.

Declaration
public virtual RegionNetworksResource.InsertRequest Insert(Network body, string project, string region)
Parameters
Type Name Description
Network body

The body of the request.

System.String project

Project ID for this request.

System.String region

Name of the region scoping this request.

Returns
Type Description
RegionNetworksResource.InsertRequest

List(String, String)

Retrieves the list of networks available to the specified project in the given region.

Declaration
public virtual RegionNetworksResource.ListRequest List(string project, string region)
Parameters
Type Name Description
System.String project

Project ID for this request.

System.String region

Name of the region scoping this request.

Returns
Type Description
RegionNetworksResource.ListRequest

SetIamPolicy(RegionSetPolicyRequest, String, String, String)

Sets the access control policy on the specified resource. Replaces any existing policy.

Declaration
public virtual RegionNetworksResource.SetIamPolicyRequest SetIamPolicy(RegionSetPolicyRequest body, string project, string region, string resource)
Parameters
Type Name Description
RegionSetPolicyRequest body

The body of the request.

System.String project

Project ID for this request.

System.String region

The name of the region for this request.

System.String resource

Name or id of the resource for this request.

Returns
Type Description
RegionNetworksResource.SetIamPolicyRequest

TestIamPermissions(TestPermissionsRequest, String, String, String)

Returns permissions that a caller has on the specified resource.

Declaration
public virtual RegionNetworksResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string region, string resource)
Parameters
Type Name Description
TestPermissionsRequest body

The body of the request.

System.String project

Project ID for this request.

System.String region

The name of the region for this request.

System.String resource

Name or id of the resource for this request.

Returns
Type Description
RegionNetworksResource.TestIamPermissionsRequest
In This Article
Back to top