Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clientId parameter in common #107

Merged
merged 5 commits into from
Apr 3, 2024
Merged

Add clientId parameter in common #107

merged 5 commits into from
Apr 3, 2024

Conversation

rlazo
Copy link
Collaborator

@rlazo rlazo commented Apr 3, 2024

This parameter is used to fill the x-goog-api-client header

This parameter is used to fill the `x-goog-api-client` header
@rlazo rlazo requested review from daymxn and davidmotson April 3, 2024 15:13
@rlazo rlazo merged commit 6bc885f into main Apr 3, 2024
5 checks passed
@rlazo rlazo deleted the rl.clientid.header branch April 3, 2024 16:28
*/
class APIController
internal constructor(
private val key: String,
model: String,
private val requestOptions: RequestOptions,
httpEngine: HttpClientEngine
httpEngine: HttpClientEngine,
private val clientId: String
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This field is named apiClient in Web - should we name it the same thing for consistency? I understand it's an internal field, so consistency shouldn't be a top priority.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks for the heads up @thatfiredev See #108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants