clientId = $clientId; } /** * @return string */ public function getClientId() { return $this->clientId; } /** * Required. Secret version reference containing the client secret. The * `secretmanager.versions.access` permission should be granted to the service * account accessing the secret. * * @param GoogleCloudApihubV1Secret $clientSecret */ public function setClientSecret(GoogleCloudApihubV1Secret $clientSecret) { $this->clientSecret = $clientSecret; } /** * @return GoogleCloudApihubV1Secret */ public function getClientSecret() { return $this->clientSecret; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudApihubV1Oauth2ClientCredentialsConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1Oauth2ClientCredentialsConfig');