Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.SecurityProfilesResource

The "securityProfiles" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.SecurityProfilesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.NetworkSecurity.v1
Assembly: Google.Apis.NetworkSecurity.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SecurityProfilesResource

Constructors

SecurityProfilesResource(IClientService)

Constructs a new resource.

Declaration
public SecurityProfilesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(SecurityProfile, string)

Creates a new SecurityProfile in a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.SecurityProfilesResource.CreateRequest Create(SecurityProfile body, string parent)
Parameters
Type Name Description
SecurityProfile body

The body of the request.

string parent

Required. The parent resource of the SecurityProfile. Must be in the format projects|organizations/*/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.SecurityProfilesResource.CreateRequest

Delete(string)

Deletes a single SecurityProfile.

Declaration
public virtual ProjectsResource.LocationsResource.SecurityProfilesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. A name of the SecurityProfile to delete. Must be in the format projects|organizations/*/locations/{location}/securityProfiles/{security_profile_id}.

Returns
Type Description
ProjectsResource.LocationsResource.SecurityProfilesResource.DeleteRequest

Get(string)

Gets details of a single SecurityProfile.

Declaration
public virtual ProjectsResource.LocationsResource.SecurityProfilesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. A name of the SecurityProfile to get. Must be in the format projects|organizations/*/locations/{location}/securityProfiles/{security_profile_id}.

Returns
Type Description
ProjectsResource.LocationsResource.SecurityProfilesResource.GetRequest

List(string)

Lists SecurityProfiles in a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.SecurityProfilesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The project or organization and location from which the SecurityProfiles should be listed, specified in the format projects|organizations/*/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.SecurityProfilesResource.ListRequest

Patch(SecurityProfile, string)

Updates the parameters of a single SecurityProfile.

Declaration
public virtual ProjectsResource.LocationsResource.SecurityProfilesResource.PatchRequest Patch(SecurityProfile body, string name)
Parameters
Type Name Description
SecurityProfile body

The body of the request.

string name

Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.

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