Class ProjectsResource.LocationsResource.NetworksResource
The "networks" collection of methods.
Inherited Members
Namespace: Google.Apis.Baremetalsolution.v2
Assembly: Google.Apis.Baremetalsolution.v2.dll
Syntax
public class ProjectsResource.LocationsResource.NetworksResource
Constructors
NetworksResource(IClientService)
Constructs a new resource.
Declaration
public NetworksResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string)
Get details of a single network.
Declaration
public virtual ProjectsResource.LocationsResource.NetworksResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NetworksResource.GetRequest |
List(string)
List network in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.NetworksResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent value for ListNetworksRequest. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NetworksResource.ListRequest |
ListNetworkUsage(string)
List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.
Declaration
public virtual ProjectsResource.LocationsResource.NetworksResource.ListNetworkUsageRequest ListNetworkUsage(string location)
Parameters
Type | Name | Description |
---|---|---|
string | location | Required. Parent value (project and location). |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NetworksResource.ListNetworkUsageRequest |
Patch(Network, string)
Update details of a single network.
Declaration
public virtual ProjectsResource.LocationsResource.NetworksResource.PatchRequest Patch(Network body, string name)
Parameters
Type | Name | Description |
---|---|---|
Network | body | The body of the request. |
string | name | Output only. The resource name of this |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NetworksResource.PatchRequest |
Rename(RenameNetworkRequest, string)
RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.
Declaration
public virtual ProjectsResource.LocationsResource.NetworksResource.RenameRequest Rename(RenameNetworkRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
RenameNetworkRequest | body | The body of the request. |
string | name | Required. The |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NetworksResource.RenameRequest |