Class OrganizationsResource.LocationsResource.SecurityProfilesResource
The "securityProfiles" collection of methods.
Inherited Members
Namespace: Google.Apis.NetworkSecurity.v1beta1
Assembly: Google.Apis.NetworkSecurity.v1beta1.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
|
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
|
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
|
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 |
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
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.SecurityProfilesResource.PatchRequest |