Class ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource
The "vpcFlowLogsConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.NetworkManagement.v1beta1
Assembly: Google.Apis.NetworkManagement.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource
Constructors
VpcFlowLogsConfigsResource(IClientService)
Constructs a new resource.
Declaration
public VpcFlowLogsConfigsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(VpcFlowLogsConfig, string)
Creates a new VpcFlowLogsConfig
. If a configuration with the exact same settings already exists
(even if the ID is different), the creation fails. Notes: 1. Creating a configuration with
state=DISABLED will fail. 2. The following fields are not considered as settings
for the purpose
of the check mentioned above, therefore - creating another configuration with the same fields but
different values for the following fields will fail as well: - name - create_time - update_time -
labels - description
Declaration
public virtual ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.CreateRequest Create(VpcFlowLogsConfig body, string parent)
Parameters
Type | Name | Description |
---|---|---|
VpcFlowLogsConfig | body | The body of the request. |
string | parent | Required. The parent resource of the VPC Flow Logs configuration to create:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.CreateRequest |
Delete(string)
Deletes a specific VpcFlowLogsConfig
.
Declaration
public virtual ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.DeleteRequest |
Get(string)
Gets the details of a specific VpcFlowLogsConfig
.
Declaration
public virtual ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.GetRequest |
List(string)
Lists all VpcFlowLogsConfigs
in a given project.
Declaration
public virtual ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource of the VpcFlowLogsConfig: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.ListRequest |
Patch(VpcFlowLogsConfig, string)
Updates an existing VpcFlowLogsConfig
. If a configuration with the exact same settings already
exists (even if the ID is different), the creation fails. Notes: 1. Updating a configuration with
state=DISABLED will fail. 2. The following fields are not considered as settings
for the purpose
of the check mentioned above, therefore - updating another configuration with the same fields but
different values for the following fields will fail as well: - name - create_time - update_time -
labels - description
Declaration
public virtual ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.PatchRequest Patch(VpcFlowLogsConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
VpcFlowLogsConfig | body | The body of the request. |
string | name | Identifier. Unique name of the configuration using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.PatchRequest |