Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource

The "vpcFlowLogsConfigs" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 VPC Flow Logs configuration to create: projects/{project_id}/locations/global

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. VpcFlowLogsConfig resource name using the form: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}

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. VpcFlowLogsConfig resource name using the form: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}

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: projects/{project_id}/locations/global

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: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

Returns
Type Description
ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.PatchRequest
In this article
Back to top Generated by DocFX