google_api_groups_settings v0.1.0 GoogleApi.GroupsSettings.V1.Api.Groups View Source

API calls for all endpoints tagged Groups.

Link to this section Summary

Link to this section Functions

Link to this function groups_settings_groups_get(connection, group_unique_id, opts \\ []) View Source
groups_settings_groups_get(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, GoogleApi.GroupsSettings.V1.Model.Groups.t()} | {:error, Tesla.Env.t()}

Gets one resource by id.

Parameters

  • connection (GoogleApi.GroupsSettings.V1.Connection): Connection to server
  • group_unique_id (String.t): The resource ID
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (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 (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %GoogleApi.GroupsSettings.V1.Model.Groups{}} on success {:error, info} on failure

Link to this function groups_settings_groups_patch(connection, group_unique_id, opts \\ []) View Source
groups_settings_groups_patch(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, GoogleApi.GroupsSettings.V1.Model.Groups.t()} | {:error, Tesla.Env.t()}

Updates an existing resource. This method supports patch semantics.

Parameters

  • connection (GoogleApi.GroupsSettings.V1.Connection): Connection to server
  • group_unique_id (String.t): The resource ID
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (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 (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (Groups):

Returns

{:ok, %GoogleApi.GroupsSettings.V1.Model.Groups{}} on success {:error, info} on failure

Link to this function groups_settings_groups_update(connection, group_unique_id, opts \\ []) View Source
groups_settings_groups_update(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, GoogleApi.GroupsSettings.V1.Model.Groups.t()} | {:error, Tesla.Env.t()}

Updates an existing resource.

Parameters

  • connection (GoogleApi.GroupsSettings.V1.Connection): Connection to server
  • group_unique_id (String.t): The resource ID
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (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 (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (Groups):

Returns

{:ok, %GoogleApi.GroupsSettings.V1.Model.Groups{}} on success {:error, info} on failure