Show / Hide Table of Contents

Class OrganizationsResource.LocationsResource.VpcFlowLogsConfigsResource

The "vpcFlowLogsConfigs" collection of methods.

Inheritance
object
OrganizationsResource.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 OrganizationsResource.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 OrganizationsResource.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: projects/{project_id}/locations/global - For organization-level resources: organizations/{organization_id}/locations/global

Returns
Type Description
OrganizationsResource.LocationsResource.VpcFlowLogsConfigsResource.CreateRequest

Delete(string)

Deletes a specific VpcFlowLogsConfig.

Declaration
public virtual OrganizationsResource.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: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id} - For an organization-level resource: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

Returns
Type Description
OrganizationsResource.LocationsResource.VpcFlowLogsConfigsResource.DeleteRequest

Get(string)

Gets the details of a specific VpcFlowLogsConfig.

Declaration
public virtual OrganizationsResource.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: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id} - For organization-level resources: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

Returns
Type Description
OrganizationsResource.LocationsResource.VpcFlowLogsConfigsResource.GetRequest

List(string)

Lists all VpcFlowLogsConfigs in a given organization.

Declaration
public virtual OrganizationsResource.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: projects/{project_id}/locations/global - For organization-level resources: organizations/{organization_id}/locations/global

Returns
Type Description
OrganizationsResource.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 OrganizationsResource.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: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id} - For organization-level configurations: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

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