Show / Hide Table of Contents

Class OrganizationsResource.LocationsResource.StoredInfoTypesResource

The "storedInfoTypes" collection of methods.

Inheritance
object
OrganizationsResource.LocationsResource.StoredInfoTypesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class OrganizationsResource.LocationsResource.StoredInfoTypesResource

Constructors

StoredInfoTypesResource(IClientService)

Constructs a new resource.

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

Methods

Create(GooglePrivacyDlpV2CreateStoredInfoTypeRequest, string)

Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.

Declaration
public virtual OrganizationsResource.LocationsResource.StoredInfoTypesResource.CreateRequest Create(GooglePrivacyDlpV2CreateStoredInfoTypeRequest body, string parent)
Parameters
Type Name Description
GooglePrivacyDlpV2CreateStoredInfoTypeRequest body

The body of the request.

string parent

Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified: projects/{project_id}/locations/{location_id} + Projects scope, no location specified (defaults to global): projects/{project_id} + Organizations scope, location specified: organizations/{org_id}/locations/{location_id} + Organizations scope, no location specified (defaults to global): organizations/{org_id} The following example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3

Returns
Type Description
OrganizationsResource.LocationsResource.StoredInfoTypesResource.CreateRequest

Delete(string)

Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.

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

Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

Returns
Type Description
OrganizationsResource.LocationsResource.StoredInfoTypesResource.DeleteRequest

Get(string)

Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.

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

Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

Returns
Type Description
OrganizationsResource.LocationsResource.StoredInfoTypesResource.GetRequest

List(string)

Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.

Declaration
public virtual OrganizationsResource.LocationsResource.StoredInfoTypesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified: projects/{project_id}/locations/{location_id} + Projects scope, no location specified (defaults to global): projects/{project_id} The following example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3

Returns
Type Description
OrganizationsResource.LocationsResource.StoredInfoTypesResource.ListRequest

Patch(GooglePrivacyDlpV2UpdateStoredInfoTypeRequest, string)

Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.

Declaration
public virtual OrganizationsResource.LocationsResource.StoredInfoTypesResource.PatchRequest Patch(GooglePrivacyDlpV2UpdateStoredInfoTypeRequest body, string name)
Parameters
Type Name Description
GooglePrivacyDlpV2UpdateStoredInfoTypeRequest body

The body of the request.

string name

Required. Resource name of organization and storedInfoType to be updated, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

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