public function GoogleApiServiceClient::setName in Google API PHP Client 8.3
Same name and namespace in other branches
- 8.4 src/Entity/GoogleApiServiceClient.php \Drupal\google_api_client\Entity\GoogleApiServiceClient::setName()
Function sets Name of the service account.
Parameters
string $name: Pass the account name.
Return value
bool Returns true if the operation is successful.
File
- src/
Entity/ GoogleApiServiceClient.php, line 200
Class
- GoogleApiServiceClient
- Defines the GoogleApiServiceClient entity.
Namespace
Drupal\google_api_client\EntityCode
public function setName($name) {
return $this->label = $name;
}