google_api_site_verification v0.0.1 GoogleApi.SiteVerification.V1.Api.WebResource View Source

API calls for all endpoints tagged WebResource.

Link to this section Summary

Functions

Relinquish ownership of a website or domain

Get the most current data for a website or domain

Get a verification token for placing on a website or domain

Get the list of your verified websites and domains

Modify the list of owners for your website or domain. This method supports patch semantics

Modify the list of owners for your website or domain

Link to this section Functions

Link to this function site_verification_web_resource_delete(connection, id, opts \\ []) View Source
site_verification_web_resource_delete(Tesla.Env.client, String.t, keyword) ::
  {:ok, nil} |
  {:error, Tesla.Env.t}

Relinquish ownership of a website or domain.

Parameters

  • connection (GoogleApi.SiteVerification.V1.Connection): Connection to server
  • id (String): The id of a verified site or domain.
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String): Data format for the response.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :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.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :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. Overrides userIp if both are provided.
    • :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.

Returns

{:ok, %{}} on success {:error, info} on failure

Link to this function site_verification_web_resource_get(connection, id, opts \\ []) View Source
site_verification_web_resource_get(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.SiteVerification.V1.Model.SiteVerificationWebResourceResource.t} |
  {:error, Tesla.Env.t}

Get the most current data for a website or domain.

Parameters

  • connection (GoogleApi.SiteVerification.V1.Connection): Connection to server
  • id (String): The id of a verified site or domain.
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String): Data format for the response.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :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.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :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. Overrides userIp if both are provided.
    • :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.

Returns

{:ok, %GoogleApi.SiteVerification.V1.Model.SiteVerificationWebResourceResource{}} on success {:error, info} on failure

Link to this function site_verification_web_resource_get_token(connection, opts \\ []) View Source
site_verification_web_resource_get_token(Tesla.Env.client, keyword) ::
  {:ok, GoogleApi.SiteVerification.V1.Model.SiteVerificationWebResourceGettokenResponse.t} |
  {:error, Tesla.Env.t}

Get a verification token for placing on a website or domain.

Parameters

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

    • :alt (String): Data format for the response.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :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.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :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. Overrides userIp if both are provided.
    • :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
    • :body (SiteVerificationWebResourceGettokenRequest):

Returns

{:ok, %GoogleApi.SiteVerification.V1.Model.SiteVerificationWebResourceGettokenResponse{}} on success {:error, info} on failure

Link to this function site_verification_web_resource_insert(connection, verification_method, opts \\ []) View Source
site_verification_web_resource_insert(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.SiteVerification.V1.Model.SiteVerificationWebResourceResource.t} |
  {:error, Tesla.Env.t}

Attempt verification of a website or domain.

Parameters

  • connection (GoogleApi.SiteVerification.V1.Connection): Connection to server
  • verification_method (String): The method to use for verifying a site or domain.
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String): Data format for the response.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :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.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :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. Overrides userIp if both are provided.
    • :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
    • :body (SiteVerificationWebResourceResource):

Returns

{:ok, %GoogleApi.SiteVerification.V1.Model.SiteVerificationWebResourceResource{}} on success {:error, info} on failure

Link to this function site_verification_web_resource_list(connection, opts \\ []) View Source
site_verification_web_resource_list(Tesla.Env.client, keyword) ::
  {:ok, GoogleApi.SiteVerification.V1.Model.SiteVerificationWebResourceListResponse.t} |
  {:error, Tesla.Env.t}

Get the list of your verified websites and domains.

Parameters

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

    • :alt (String): Data format for the response.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :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.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :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. Overrides userIp if both are provided.
    • :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.

Returns

{:ok, %GoogleApi.SiteVerification.V1.Model.SiteVerificationWebResourceListResponse{}} on success {:error, info} on failure

Link to this function site_verification_web_resource_patch(connection, id, opts \\ []) View Source
site_verification_web_resource_patch(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.SiteVerification.V1.Model.SiteVerificationWebResourceResource.t} |
  {:error, Tesla.Env.t}

Modify the list of owners for your website or domain. This method supports patch semantics.

Parameters

  • connection (GoogleApi.SiteVerification.V1.Connection): Connection to server
  • id (String): The id of a verified site or domain.
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String): Data format for the response.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :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.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :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. Overrides userIp if both are provided.
    • :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
    • :body (SiteVerificationWebResourceResource):

Returns

{:ok, %GoogleApi.SiteVerification.V1.Model.SiteVerificationWebResourceResource{}} on success {:error, info} on failure

Link to this function site_verification_web_resource_update(connection, id, opts \\ []) View Source
site_verification_web_resource_update(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.SiteVerification.V1.Model.SiteVerificationWebResourceResource.t} |
  {:error, Tesla.Env.t}

Modify the list of owners for your website or domain.

Parameters

  • connection (GoogleApi.SiteVerification.V1.Connection): Connection to server
  • id (String): The id of a verified site or domain.
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String): Data format for the response.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :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.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :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. Overrides userIp if both are provided.
    • :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
    • :body (SiteVerificationWebResourceResource):

Returns

{:ok, %GoogleApi.SiteVerification.V1.Model.SiteVerificationWebResourceResource{}} on success {:error, info} on failure