Class PacketMirroringsResource
The "packetMirrorings" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class PacketMirroringsResource
Constructors
PacketMirroringsResource(IClientService)
Constructs a new resource.
Declaration
public PacketMirroringsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AggregatedList(string)
Retrieves an aggregated list of packetMirrorings. To prevent failure, Google recommends that you set the
returnPartialSuccess
parameter to true
.
Declaration
public virtual PacketMirroringsResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
PacketMirroringsResource.AggregatedListRequest |
Delete(string, string, string)
Deletes the specified PacketMirroring resource.
Declaration
public virtual PacketMirroringsResource.DeleteRequest Delete(string project, string region, string packetMirroring)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region for this request. |
string | packetMirroring | Name of the PacketMirroring resource to delete. |
Returns
Type | Description |
---|---|
PacketMirroringsResource.DeleteRequest |
Get(string, string, string)
Returns the specified PacketMirroring resource.
Declaration
public virtual PacketMirroringsResource.GetRequest Get(string project, string region, string packetMirroring)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region for this request. |
string | packetMirroring | Name of the PacketMirroring resource to return. |
Returns
Type | Description |
---|---|
PacketMirroringsResource.GetRequest |
Insert(PacketMirroring, string, string)
Creates a PacketMirroring resource in the specified project and region using the data included in the request.
Declaration
public virtual PacketMirroringsResource.InsertRequest Insert(PacketMirroring body, string project, string region)
Parameters
Type | Name | Description |
---|---|---|
PacketMirroring | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region for this request. |
Returns
Type | Description |
---|---|
PacketMirroringsResource.InsertRequest |
List(string, string)
Retrieves a list of PacketMirroring resources available to the specified project and region.
Declaration
public virtual PacketMirroringsResource.ListRequest List(string project, string region)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region for this request. |
Returns
Type | Description |
---|---|
PacketMirroringsResource.ListRequest |
Patch(PacketMirroring, string, string, string)
Patches the specified PacketMirroring resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
Declaration
public virtual PacketMirroringsResource.PatchRequest Patch(PacketMirroring body, string project, string region, string packetMirroring)
Parameters
Type | Name | Description |
---|---|---|
PacketMirroring | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region for this request. |
string | packetMirroring | Name of the PacketMirroring resource to patch. |
Returns
Type | Description |
---|---|
PacketMirroringsResource.PatchRequest |
TestIamPermissions(TestPermissionsRequest, string, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual PacketMirroringsResource.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 |
---|---|
PacketMirroringsResource.TestIamPermissionsRequest |