google_api_dlp v0.0.1 GoogleApi.DLP.V2beta1.Api.RootCategories View Source

API calls for all endpoints tagged RootCategories.

Link to this section Summary

Functions

Returns sensitive information types for given category

Returns the list of root categories of sensitive information

Link to this section Functions

Link to this function dlp_root_categories_info_types_list(connection, category, opts \\ []) View Source
dlp_root_categories_info_types_list(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.DLP.V2beta1.Model.GooglePrivacyDlpV2beta1ListInfoTypesResponse.t} |
  {:error, Tesla.Env.t}

Returns sensitive information types for given category.

Parameters

  • connection (GoogleApi.DLP.V2beta1.Connection): Connection to server
  • category (String): Category name as returned by ListRootCategories.
  • opts (KeywordList): [optional] Optional parameters

    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :__/xgafv (String): V1 error format.
    • :callback (String): JSONP
    • :alt (String): Data format for response.
    • :access_token (String): OAuth access token.
    • :key (String): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :pp (Boolean): Pretty-print response.
    • :bearer_token (String): OAuth bearer token.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :language_code (String): Optional BCP-47 language code for localized info type friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.

Returns

{:ok, %GoogleApi.DLP.V2beta1.Model.GooglePrivacyDlpV2beta1ListInfoTypesResponse{}} on success {:error, info} on failure

Link to this function dlp_root_categories_list(connection, opts \\ []) View Source

Returns the list of root categories of sensitive information.

Parameters

  • connection (GoogleApi.DLP.V2beta1.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :__/xgafv (String): V1 error format.
    • :callback (String): JSONP
    • :alt (String): Data format for response.
    • :access_token (String): OAuth access token.
    • :key (String): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :pp (Boolean): Pretty-print response.
    • :bearer_token (String): OAuth bearer token.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :language_code (String): Optional language code for localized friendly category names. If omitted or if localized strings are not available, en-US strings will be returned.

Returns

{:ok, %GoogleApi.DLP.V2beta1.Model.GooglePrivacyDlpV2beta1ListRootCategoriesResponse{}} on success {:error, info} on failure