You are here

public function GoogleApiClientInterface::setScopes 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::setScopes()
  2. 8.2 src/GoogleApiClientInterface.php \Drupal\google_api_client\GoogleApiClientInterface::setScopes()

Function set Scopes.

Parameters

array $scopes: Pass array of scopes for the account.

1 method overrides GoogleApiClientInterface::setScopes()
GoogleApiClient::setScopes in src/Entity/GoogleApiClient.php
Function set Scopes.

File

src/GoogleApiClientInterface.php, line 126

Class

GoogleApiClientInterface
Provides an interface defining a GoogleApiClient entity.

Namespace

Drupal\google_api_client

Code

public function setScopes(array $scopes);