Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class ProviderOAuthConfig.
ProviderOAuthConfig is the OAuth config for a provider.
Generated from protobuf messagegoogle.cloud.developerconnect.v1.ProviderOAuthConfig
Namespace
Google \ Cloud \ DeveloperConnect \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ system_provider_id
int
Immutable. Developer Connect provided OAuth.
↳ scopes
array
Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
getSystemProviderId
Immutable. Developer Connect provided OAuth.
Returns
Type
Description
int
hasSystemProviderId
setSystemProviderId
Immutable. Developer Connect provided OAuth.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getScopes
Required. User selected scopes to apply to the Oauth config
In the event of changing scopes, user records under AccountConnector will
be deleted and users will re-auth again.
Required. User selected scopes to apply to the Oauth config
In the event of changing scopes, user records under AccountConnector will
be deleted and users will re-auth again.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Developer Connect V1 Client - Class ProviderOAuthConfig (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/cloud-developerconnect/latest/V1.ProviderOAuthConfig)\n- [0.4.0](/php/docs/reference/cloud-developerconnect/0.4.0/V1.ProviderOAuthConfig)\n- [0.3.0](/php/docs/reference/cloud-developerconnect/0.3.0/V1.ProviderOAuthConfig)\n- [0.2.2](/php/docs/reference/cloud-developerconnect/0.2.2/V1.ProviderOAuthConfig)\n- [0.1.2](/php/docs/reference/cloud-developerconnect/0.1.2/V1.ProviderOAuthConfig) \nReference documentation and code samples for the Google Cloud Developer Connect V1 Client class ProviderOAuthConfig.\n\nProviderOAuthConfig is the OAuth config for a provider.\n\nGenerated from protobuf message `google.cloud.developerconnect.v1.ProviderOAuthConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DeveloperConnect \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSystemProviderId\n\nImmutable. Developer Connect provided OAuth.\n\n### hasSystemProviderId\n\n### setSystemProviderId\n\nImmutable. Developer Connect provided OAuth.\n\n### getScopes\n\nRequired. User selected scopes to apply to the Oauth config\nIn the event of changing scopes, user records under AccountConnector will\nbe deleted and users will re-auth again.\n\n### setScopes\n\nRequired. User selected scopes to apply to the Oauth config\nIn the event of changing scopes, user records under AccountConnector will\nbe deleted and users will re-auth again.\n\n### getOauthProviderId"]]