Class OrganizationsResource.LocationsResource.StoredInfoTypesResource
The "storedInfoTypes" collection of methods.
Inherited Members
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: |
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
|
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
|
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: |
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
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.StoredInfoTypesResource.PatchRequest |