Class DhcpOptionsConfigsResource
The "dhcpOptionsConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class DhcpOptionsConfigsResource
Constructors
DhcpOptionsConfigsResource(IClientService)
Constructs a new resource.
Declaration
public DhcpOptionsConfigsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(string, string, string)
Deletes the specified DhcpOptionsConfig in the given location
Declaration
public virtual DhcpOptionsConfigsResource.DeleteRequest Delete(string project, string region, string dhcpOptionsConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | region | Name of the region of this request. |
| string | dhcpOptionsConfig | Name of the DhcpOptionsConfig resource to delete. |
Returns
| Type | Description |
|---|---|
| DhcpOptionsConfigsResource.DeleteRequest |
Get(string, string, string)
Returns the specified DhcpOptionsConfig resource in the given location.
Declaration
public virtual DhcpOptionsConfigsResource.GetRequest Get(string project, string region, string dhcpOptionsConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | region | Name of the region of this request. |
| string | dhcpOptionsConfig | Name of the DhcpOptionsConfig resource to return. |
Returns
| Type | Description |
|---|---|
| DhcpOptionsConfigsResource.GetRequest |
Insert(DhcpOptionsConfig, string, string)
Creates a DhcpOptionsConfig in the specified project in the given location using the parameters that are included in the request.
Declaration
public virtual DhcpOptionsConfigsResource.InsertRequest Insert(DhcpOptionsConfig body, string project, string region)
Parameters
| Type | Name | Description |
|---|---|---|
| DhcpOptionsConfig | body | The body of the request. |
| string | project | Project ID for this request. |
| string | region | Name of the region of this request. |
Returns
| Type | Description |
|---|---|
| DhcpOptionsConfigsResource.InsertRequest |
List(string, string)
Lists the DhcpOptionsConfigs for a project in the given location.
Declaration
public virtual DhcpOptionsConfigsResource.ListRequest List(string project, string region)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | region | Name of the region of this request. |
Returns
| Type | Description |
|---|---|
| DhcpOptionsConfigsResource.ListRequest |
Patch(DhcpOptionsConfig, string, string, string)
Patches the specified DhcpOptionsConfig resource with the data included in the request. This method supports PATCH semantics and usesJSON merge patch format and processing rules.
Declaration
public virtual DhcpOptionsConfigsResource.PatchRequest Patch(DhcpOptionsConfig body, string project, string region, string dhcpOptionsConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| DhcpOptionsConfig | body | The body of the request. |
| string | project | Project ID for this request. |
| string | region | Name of the region for this request. |
| string | dhcpOptionsConfig | Name of the DhcpOptionsConfig resource to patch. |
Returns
| Type | Description |
|---|---|
| DhcpOptionsConfigsResource.PatchRequest |
TestIamPermissions(TestPermissionsRequest, string, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual DhcpOptionsConfigsResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string region, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| TestPermissionsRequest | body | The body of the request. |
| string | project | Project ID for this request. |
| string | region | The name of the region for this request. |
| string | resource | Name or id of the resource for this request. |
Returns
| Type | Description |
|---|---|
| DhcpOptionsConfigsResource.TestIamPermissionsRequest |