Class: Google::Cloud::Datastream::V1::SalesforceProfile

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datastream/v1/datastream_resources.rb

Overview

Salesforce profile

Defined Under Namespace

Classes: Oauth2ClientCredentials, UserCredentials

Instance Attribute Summary collapse

Instance Attribute Details

#domain::String

Returns Required. Domain endpoint for the Salesforce connection.

Returns:

  • (::String)

    Required. Domain endpoint for the Salesforce connection.



209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 209

class SalesforceProfile
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Username-password credentials.
  # @!attribute [rw] username
  #   @return [::String]
  #     Required. Username for the Salesforce connection.
  # @!attribute [rw] password
  #   @return [::String]
  #     Optional. Password for the Salesforce connection.
  #     Mutually exclusive with the `secret_manager_stored_password` field.
  # @!attribute [rw] security_token
  #   @return [::String]
  #     Optional. Security token for the Salesforce connection.
  #     Mutually exclusive with the `secret_manager_stored_security_token` field.
  # @!attribute [rw] secret_manager_stored_password
  #   @return [::String]
  #     Optional. A reference to a Secret Manager resource name storing the
  #     Salesforce connection's password. Mutually exclusive with the `password`
  #     field.
  # @!attribute [rw] secret_manager_stored_security_token
  #   @return [::String]
  #     Optional. A reference to a Secret Manager resource name storing the
  #     Salesforce connection's security token. Mutually exclusive with the
  #     `security_token` field.
  class UserCredentials
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # OAuth2 Client Credentials.
  # @!attribute [rw] client_id
  #   @return [::String]
  #     Required. Client ID for Salesforce OAuth2 Client Credentials.
  # @!attribute [rw] client_secret
  #   @return [::String]
  #     Optional. Client secret for Salesforce OAuth2 Client Credentials.
  #     Mutually exclusive with the `secret_manager_stored_client_secret` field.
  # @!attribute [rw] secret_manager_stored_client_secret
  #   @return [::String]
  #     Optional. A reference to a Secret Manager resource name storing the
  #     Salesforce OAuth2 client_secret. Mutually exclusive with the
  #     `client_secret` field.
  class Oauth2ClientCredentials
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#oauth2_client_credentials::Google::Cloud::Datastream::V1::SalesforceProfile::Oauth2ClientCredentials

Returns Connected app authentication.

Note: The following fields are mutually exclusive: oauth2_client_credentials, user_credentials. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 209

class SalesforceProfile
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Username-password credentials.
  # @!attribute [rw] username
  #   @return [::String]
  #     Required. Username for the Salesforce connection.
  # @!attribute [rw] password
  #   @return [::String]
  #     Optional. Password for the Salesforce connection.
  #     Mutually exclusive with the `secret_manager_stored_password` field.
  # @!attribute [rw] security_token
  #   @return [::String]
  #     Optional. Security token for the Salesforce connection.
  #     Mutually exclusive with the `secret_manager_stored_security_token` field.
  # @!attribute [rw] secret_manager_stored_password
  #   @return [::String]
  #     Optional. A reference to a Secret Manager resource name storing the
  #     Salesforce connection's password. Mutually exclusive with the `password`
  #     field.
  # @!attribute [rw] secret_manager_stored_security_token
  #   @return [::String]
  #     Optional. A reference to a Secret Manager resource name storing the
  #     Salesforce connection's security token. Mutually exclusive with the
  #     `security_token` field.
  class UserCredentials
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # OAuth2 Client Credentials.
  # @!attribute [rw] client_id
  #   @return [::String]
  #     Required. Client ID for Salesforce OAuth2 Client Credentials.
  # @!attribute [rw] client_secret
  #   @return [::String]
  #     Optional. Client secret for Salesforce OAuth2 Client Credentials.
  #     Mutually exclusive with the `secret_manager_stored_client_secret` field.
  # @!attribute [rw] secret_manager_stored_client_secret
  #   @return [::String]
  #     Optional. A reference to a Secret Manager resource name storing the
  #     Salesforce OAuth2 client_secret. Mutually exclusive with the
  #     `client_secret` field.
  class Oauth2ClientCredentials
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#user_credentials::Google::Cloud::Datastream::V1::SalesforceProfile::UserCredentials

Returns User-password authentication.

Note: The following fields are mutually exclusive: user_credentials, oauth2_client_credentials. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 209

class SalesforceProfile
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Username-password credentials.
  # @!attribute [rw] username
  #   @return [::String]
  #     Required. Username for the Salesforce connection.
  # @!attribute [rw] password
  #   @return [::String]
  #     Optional. Password for the Salesforce connection.
  #     Mutually exclusive with the `secret_manager_stored_password` field.
  # @!attribute [rw] security_token
  #   @return [::String]
  #     Optional. Security token for the Salesforce connection.
  #     Mutually exclusive with the `secret_manager_stored_security_token` field.
  # @!attribute [rw] secret_manager_stored_password
  #   @return [::String]
  #     Optional. A reference to a Secret Manager resource name storing the
  #     Salesforce connection's password. Mutually exclusive with the `password`
  #     field.
  # @!attribute [rw] secret_manager_stored_security_token
  #   @return [::String]
  #     Optional. A reference to a Secret Manager resource name storing the
  #     Salesforce connection's security token. Mutually exclusive with the
  #     `security_token` field.
  class UserCredentials
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # OAuth2 Client Credentials.
  # @!attribute [rw] client_id
  #   @return [::String]
  #     Required. Client ID for Salesforce OAuth2 Client Credentials.
  # @!attribute [rw] client_secret
  #   @return [::String]
  #     Optional. Client secret for Salesforce OAuth2 Client Credentials.
  #     Mutually exclusive with the `secret_manager_stored_client_secret` field.
  # @!attribute [rw] secret_manager_stored_client_secret
  #   @return [::String]
  #     Optional. A reference to a Secret Manager resource name storing the
  #     Salesforce OAuth2 client_secret. Mutually exclusive with the
  #     `client_secret` field.
  class Oauth2ClientCredentials
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end