Class ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource
The "vpcFlowLogsConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.NetworkManagement.v1
Assembly: Google.Apis.NetworkManagement.v1.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 VpcFlowLogsConfig to create, in one of the following formats: -
For project-level resources: |
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. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For a
project-level resource:
|
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. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For
project-level resources:
|
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, in one of the following formats: - For
project-level resources: |
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. The name can have one of the following forms: - For
project-level configurations:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.PatchRequest |
QueryOrgVpcFlowLogsConfigs(string)
QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow Logs configurations applicable to the specified project.
Declaration
public virtual ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.QueryOrgVpcFlowLogsConfigsRequest QueryOrgVpcFlowLogsConfigs(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent resource of the VpcFlowLogsConfig, specified in the following format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.QueryOrgVpcFlowLogsConfigsRequest |
ShowEffectiveFlowLogsConfigs(string)
ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs configurations applicable to a specified resource.
Declaration
public virtual ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.ShowEffectiveFlowLogsConfigsRequest ShowEffectiveFlowLogsConfigs(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent resource of the VpcFlowLogsConfig, specified in the following format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.ShowEffectiveFlowLogsConfigsRequest |