Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::SalesforceProfile::Oauth2ClientCredentials.
OAuth2 Client Credentials.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#client_id
def client_id() -> ::String
Returns
- (::String) — Required. Client ID for Salesforce OAuth2 Client Credentials.
#client_id=
def client_id=(value) -> ::String
Parameter
- value (::String) — Required. Client ID for Salesforce OAuth2 Client Credentials.
Returns
- (::String) — Required. Client ID for Salesforce OAuth2 Client Credentials.
#client_secret
def client_secret() -> ::String
Returns
-
(::String) — Optional. Client secret for Salesforce OAuth2 Client Credentials.
Mutually exclusive with the
secret_manager_stored_client_secret
field.
#client_secret=
def client_secret=(value) -> ::String
Parameter
-
value (::String) — Optional. Client secret for Salesforce OAuth2 Client Credentials.
Mutually exclusive with the
secret_manager_stored_client_secret
field.
Returns
-
(::String) — Optional. Client secret for Salesforce OAuth2 Client Credentials.
Mutually exclusive with the
secret_manager_stored_client_secret
field.
#secret_manager_stored_client_secret
def secret_manager_stored_client_secret() -> ::String
Returns
-
(::String) — Optional. A reference to a Secret Manager resource name storing the
Salesforce OAuth2 client_secret. Mutually exclusive with the
client_secret
field.
#secret_manager_stored_client_secret=
def secret_manager_stored_client_secret=(value) -> ::String
Parameter
-
value (::String) — Optional. A reference to a Secret Manager resource name storing the
Salesforce OAuth2 client_secret. Mutually exclusive with the
client_secret
field.
Returns
-
(::String) — Optional. A reference to a Secret Manager resource name storing the
Salesforce OAuth2 client_secret. Mutually exclusive with the
client_secret
field.