public function GoogleApiServiceClient::setScopes in Google API PHP Client 8.4
Same name and namespace in other branches
- 8.3 src/Entity/GoogleApiServiceClient.php \Drupal\google_api_client\Entity\GoogleApiServiceClient::setScopes()
Function set Scopes.
Parameters
array $scopes: Pass array of scopes for the account.
Overrides GoogleApiServiceClientInterface::setScopes
File
- src/
Entity/ GoogleApiServiceClient.php, line 224
Class
- GoogleApiServiceClient
- Defines the GoogleApiServiceClient entity.
Namespace
Drupal\google_api_client\EntityCode
public function setScopes(array $scopes) {
return $this->scopes = $scopes;
}