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 security profile 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. Format: organizations/{organization}/locations/{location} or projects/{project}/locations/{location}.

Returns
Type Description
OrganizationsResource.LocationsResource.SecurityProfilesResource.CreateRequest

Delete(string)

Deletes a single security profile.

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

Required. The name of the SecurityProfile to delete. Format: organizations/{organization}/locations/{location}/securityProfiles/{security_profile} or projects/{project}/locations/{location}/securityProfiles/{security_profile}.

Returns
Type Description
OrganizationsResource.LocationsResource.SecurityProfilesResource.DeleteRequest

Get(string)

Gets details of a single security profile.

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

Required. The name of the SecurityProfile to get. Format: organizations/{organization}/locations/{location}/securityProfiles/{security_profile} or projects/{project}/locations/{location}/securityProfiles/{security_profile}.

Returns
Type Description
OrganizationsResource.LocationsResource.SecurityProfilesResource.GetRequest

List(string)

Lists security profile resources 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 SecurityProfile resources are listed. Format: organizations/{organization}/locations/{location} or projects/{project}/locations/{location}.

Returns
Type Description
OrganizationsResource.LocationsResource.SecurityProfilesResource.ListRequest

Patch(SecurityProfile, string)

Updates the parameters of a single security profile.

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. Format: organizations/{organization}/locations/{location}/securityProfiles/{security_profile} or projects/{project}/locations/{location}/securityProfiles/{security_profile}.

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