Data Portability API . accessType

Instance Methods

check(body=None, x__xgafv=None)

Gets the access type of the token.

close()

Close httplib2 connections.

Method Details

check(body=None, x__xgafv=None)
Gets the access type of the token.

Args:
  body: object, The request body.
    The object takes the form of:

{ # Request to check the token's access type. All required information is derived from the attached OAuth token.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response to checking the token's access type.
  "oneTimeResources": [ # Jobs initiated with this token will be one-time if any requested resources have one-time access.
    "A String",
  ],
  "timeBasedResources": [ # Jobs initiated with this token will be time-based if all requested resources have time-based access.
    "A String",
  ],
}
close()
Close httplib2 connections.