GoogleApi.ChromePolicy.V1.Api.Customers (google_api_chrome_policy v0.2.0) View Source

API calls for all endpoints tagged Customers.

Link to this section Summary

Functions

Modify multiple policy values that are applied to a specific org unit so that they now inherit the value from a parent (if applicable). All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in additionalTargetKeyNames, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.

Modify multiple policy values that are applied to a specific org unit. All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in additionalTargetKeyNames, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.

Gets the resolved policy values for a list of policies that match a search query.

Get a specific policy schema for a customer by its resource name.

Gets a list of policy schemas that match a specified filter value for a given customer.

Link to this section Functions

Link to this function

chromepolicy_customers_policies_orgunits_batch_inherit(connection, customer, optional_params \\ [], opts \\ [])

View Source

Specs

chromepolicy_customers_policies_orgunits_batch_inherit(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ChromePolicy.V1.Model.GoogleProtobufEmpty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Modify multiple policy values that are applied to a specific org unit so that they now inherit the value from a parent (if applicable). All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in additionalTargetKeyNames, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.

Parameters

  • connection (type: GoogleApi.ChromePolicy.V1.Connection.t) - Connection to server
  • customer (type: String.t) - ID of the G Suite account or literal "my_customer" for the customer associated to the request.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - 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.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - 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.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :body (type: GoogleApi.ChromePolicy.V1.Model.GoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ChromePolicy.V1.Model.GoogleProtobufEmpty{}} on success
  • {:error, info} on failure
Link to this function

chromepolicy_customers_policies_orgunits_batch_modify(connection, customer, optional_params \\ [], opts \\ [])

View Source

Specs

chromepolicy_customers_policies_orgunits_batch_modify(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ChromePolicy.V1.Model.GoogleProtobufEmpty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Modify multiple policy values that are applied to a specific org unit. All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in additionalTargetKeyNames, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.

Parameters

  • connection (type: GoogleApi.ChromePolicy.V1.Connection.t) - Connection to server
  • customer (type: String.t) - ID of the G Suite account or literal "my_customer" for the customer associated to the request.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - 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.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - 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.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :body (type: GoogleApi.ChromePolicy.V1.Model.GoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ChromePolicy.V1.Model.GoogleProtobufEmpty{}} on success
  • {:error, info} on failure
Link to this function

chromepolicy_customers_policies_resolve(connection, customer, optional_params \\ [], opts \\ [])

View Source

Specs

chromepolicy_customers_policies_resolve(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ChromePolicy.V1.Model.GoogleChromePolicyV1ResolveResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets the resolved policy values for a list of policies that match a search query.

Parameters

  • connection (type: GoogleApi.ChromePolicy.V1.Connection.t) - Connection to server
  • customer (type: String.t) - ID of the G Suite account or literal "my_customer" for the customer associated to the request.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - 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.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - 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.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :body (type: GoogleApi.ChromePolicy.V1.Model.GoogleChromePolicyV1ResolveRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ChromePolicy.V1.Model.GoogleChromePolicyV1ResolveResponse{}} on success
  • {:error, info} on failure
Link to this function

chromepolicy_customers_policy_schemas_get(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

chromepolicy_customers_policy_schemas_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ChromePolicy.V1.Model.GoogleChromePolicyV1PolicySchema.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Get a specific policy schema for a customer by its resource name.

Parameters

  • connection (type: GoogleApi.ChromePolicy.V1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The policy schema resource name to query.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - 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.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - 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.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ChromePolicy.V1.Model.GoogleChromePolicyV1PolicySchema{}} on success
  • {:error, info} on failure
Link to this function

chromepolicy_customers_policy_schemas_list(connection, parent, optional_params \\ [], opts \\ [])

View Source

Specs

chromepolicy_customers_policy_schemas_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok,
   GoogleApi.ChromePolicy.V1.Model.GoogleChromePolicyV1ListPolicySchemasResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets a list of policy schemas that match a specified filter value for a given customer.

Parameters

  • connection (type: GoogleApi.ChromePolicy.V1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The customer for which the listing request will apply.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - 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.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - 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.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :filter (type: String.t) - The schema filter used to find a particular schema based on fields like its resource name, description and additionalTargetKeyNames.
    • :pageSize (type: integer()) - The maximum number of policy schemas to return.
    • :pageToken (type: String.t) - The page token used to retrieve a specific page of the listing request.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ChromePolicy.V1.Model.GoogleChromePolicyV1ListPolicySchemasResponse{}} on success
  • {:error, info} on failure