You are here

public function GoogleApiServiceClient::setId in Google API PHP Client 8.4

Same name and namespace in other branches
  1. 8.3 src/Entity/GoogleApiServiceClient.php \Drupal\google_api_client\Entity\GoogleApiServiceClient::setId()

Function sets id of the service account.

Parameters

string $id: Pass id of the service account.

Return value

bool Returns true if the operation is successful.

File

src/Entity/GoogleApiServiceClient.php, line 187

Class

GoogleApiServiceClient
Defines the GoogleApiServiceClient entity.

Namespace

Drupal\google_api_client\Entity

Code

public function setId($id) {
  return $this->id = $id;
}