You are here

public function GoogleApiClient::getClientId in Google API PHP Client 8.3

Same name and namespace in other branches
  1. 8.4 src/Entity/GoogleApiClient.php \Drupal\google_api_client\Entity\GoogleApiClient::getClientId()
  2. 8.2 src/Entity/GoogleApiClient.php \Drupal\google_api_client\Entity\GoogleApiClient::getClientId()

Function returns Client Id of the account.

Return value

string Returns Client Id.

Overrides GoogleApiClientInterface::getClientId

1 call to GoogleApiClient::getClientId()
GoogleApiClient::save in src/Entity/GoogleApiClient.php

File

src/Entity/GoogleApiClient.php, line 158

Class

GoogleApiClient
Defines the GoogleApiClient entity.

Namespace

Drupal\google_api_client\Entity

Code

public function getClientId() {
  return $this
    ->get('client_id')->value;
}