accessToken = $accessToken; } /** * @return GoogleCloudIntegrationsV1alphaAccessToken */ public function getAccessToken() { return $this->accessToken; } /** * The client's ID. * * @param string $clientId */ public function setClientId($clientId) { $this->clientId = $clientId; } /** * @return string */ public function getClientId() { return $this->clientId; } /** * The client's secret. * * @param string $clientSecret */ public function setClientSecret($clientSecret) { $this->clientSecret = $clientSecret; } /** * @return string */ public function getClientSecret() { return $this->clientSecret; } /** * The user's password. * * @param string $password */ public function setPassword($password) { $this->password = $password; } /** * @return string */ public function getPassword() { return $this->password; } /** * Represent how to pass parameters to fetch access token * * Accepted values: REQUEST_TYPE_UNSPECIFIED, REQUEST_BODY, QUERY_PARAMETERS, * ENCODED_HEADER * * @param self::REQUEST_TYPE_* $requestType */ public function setRequestType($requestType) { $this->requestType = $requestType; } /** * @return self::REQUEST_TYPE_* */ public function getRequestType() { return $this->requestType; } /** * A space-delimited list of requested scope permissions. * * @param string $scope */ public function setScope($scope) { $this->scope = $scope; } /** * @return string */ public function getScope() { return $this->scope; } /** * The token endpoint is used by the client to obtain an access token by * presenting its authorization grant or refresh token. * * @param string $tokenEndpoint */ public function setTokenEndpoint($tokenEndpoint) { $this->tokenEndpoint = $tokenEndpoint; } /** * @return string */ public function getTokenEndpoint() { return $this->tokenEndpoint; } /** * Token parameters for the auth request. * * @param GoogleCloudIntegrationsV1alphaParameterMap $tokenParams */ public function setTokenParams(GoogleCloudIntegrationsV1alphaParameterMap $tokenParams) { $this->tokenParams = $tokenParams; } /** * @return GoogleCloudIntegrationsV1alphaParameterMap */ public function getTokenParams() { return $this->tokenParams; } /** * The user's username. * * @param string $username */ public function setUsername($username) { $this->username = $username; } /** * @return string */ public function getUsername() { return $this->username; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials::class, 'Google_Service_Integrations_GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials');