You are here

public function GoogleApiServiceClient::setName in Google API PHP Client 8.3

Same name and namespace in other branches
  1. 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\Entity

Code

public function setName($name) {
  return $this->label = $name;
}