You are here

public function GoogleApiServiceClientInterface::setScopes in Google API PHP Client 8.3

Same name and namespace in other branches
  1. 8.4 src/GoogleApiServiceClientInterface.php \Drupal\google_api_client\GoogleApiServiceClientInterface::setScopes()

Function set Scopes.

Parameters

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

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

File

src/GoogleApiServiceClientInterface.php, line 71

Class

GoogleApiServiceClientInterface
Provides an interface defining a GoogleApiServiceClient entity.

Namespace

Drupal\google_api_client

Code

public function setScopes(array $scopes);