Class: Google::Apis::DatastreamV1::SalesforceProfile
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SalesforceProfile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb
Overview
Salesforce profile
Instance Attribute Summary collapse
-
#domain ⇒ String
Required.
-
#oauth2_client_credentials ⇒ Google::Apis::DatastreamV1::Oauth2ClientCredentials
OAuth2 Client Credentials.
-
#user_credentials ⇒ Google::Apis::DatastreamV1::UserCredentials
Username-password credentials.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SalesforceProfile
constructor
A new instance of SalesforceProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SalesforceProfile
Returns a new instance of SalesforceProfile.
3465 3466 3467 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3465 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain ⇒ String
Required. Domain endpoint for the Salesforce connection.
Corresponds to the JSON property domain
3453 3454 3455 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3453 def domain @domain end |
#oauth2_client_credentials ⇒ Google::Apis::DatastreamV1::Oauth2ClientCredentials
OAuth2 Client Credentials.
Corresponds to the JSON property oauth2ClientCredentials
3458 3459 3460 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3458 def oauth2_client_credentials @oauth2_client_credentials end |
#user_credentials ⇒ Google::Apis::DatastreamV1::UserCredentials
Username-password credentials.
Corresponds to the JSON property userCredentials
3463 3464 3465 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3463 def user_credentials @user_credentials end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3470 3471 3472 3473 3474 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3470 def update!(**args) @domain = args[:domain] if args.key?(:domain) @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials) @user_credentials = args[:user_credentials] if args.key?(:user_credentials) end |