You are here

public function GoogleApiClientInterface::setAccessType in Google API PHP Client 8.3

Same name and namespace in other branches
  1. 8.4 src/GoogleApiClientInterface.php \Drupal\google_api_client\GoogleApiClientInterface::setAccessType()
  2. 8.2 src/GoogleApiClientInterface.php \Drupal\google_api_client\GoogleApiClientInterface::setAccessType()

Function set whether the account is offline.

Parameters

bool $type: Pass TRUE if offline else FALSE.

1 method overrides GoogleApiClientInterface::setAccessType()
GoogleApiClient::setAccessType in src/Entity/GoogleApiClient.php
Function set whether the account is offline.

File

src/GoogleApiClientInterface.php, line 158

Class

GoogleApiClientInterface
Provides an interface defining a GoogleApiClient entity.

Namespace

Drupal\google_api_client

Code

public function setAccessType($type);