Show / Hide Table of Contents

Class OrganizationsResource.LocationsResource.SecurityProfilesResource

The "securityProfiles" collection of methods.

Inheritance
object
OrganizationsResource.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 OrganizationsResource.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 organization and location.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.LocationsResource.SecurityProfilesResource.CreateRequest

Delete(string)

Deletes a single SecurityProfile.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.LocationsResource.SecurityProfilesResource.DeleteRequest

Get(string)

Gets details of a single SecurityProfile.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.LocationsResource.SecurityProfilesResource.GetRequest

List(string)

Lists SecurityProfiles in a given organization and location.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.LocationsResource.SecurityProfilesResource.ListRequest

Patch(SecurityProfile, string)

Updates the parameters of a single SecurityProfile.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.LocationsResource.SecurityProfilesResource.PatchRequest
In this article
Back to top Generated by DocFX