Datastream V1 API - Class Google::Cloud::Datastream::V1::ServiceNowProfile (v1.8.0)

Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::ServiceNowProfile.

Profile for connecting to a ServiceNow source.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#instance

def instance() -> ::String
Returns
  • (::String) — Required. The instance of the ServiceNow account. This is the <instance> part of the URL https://<instance>.service-now.com.

#instance=

def instance=(value) -> ::String
Parameter
  • value (::String) — Required. The instance of the ServiceNow account. This is the <instance> part of the URL https://<instance>.service-now.com.
Returns
  • (::String) — Required. The instance of the ServiceNow account. This is the <instance> part of the URL https://<instance>.service-now.com.

#oauth_client_credentials

def oauth_client_credentials() -> ::Google::Cloud::Datastream::V1::OauthClientCredentials
Returns
  • (::Google::Cloud::Datastream::V1::OauthClientCredentials) — Credentials for authenticating with the ServiceNow API.

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

#oauth_client_credentials=

def oauth_client_credentials=(value) -> ::Google::Cloud::Datastream::V1::OauthClientCredentials
Parameter
  • value (::Google::Cloud::Datastream::V1::OauthClientCredentials) — Credentials for authenticating with the ServiceNow API.

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

Returns
  • (::Google::Cloud::Datastream::V1::OauthClientCredentials) — Credentials for authenticating with the ServiceNow API.

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

#user_password_credentials

def user_password_credentials() -> ::Google::Cloud::Datastream::V1::UserPasswordCredentials
Returns
  • (::Google::Cloud::Datastream::V1::UserPasswordCredentials) — User-password authentication.

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

#user_password_credentials=

def user_password_credentials=(value) -> ::Google::Cloud::Datastream::V1::UserPasswordCredentials
Parameter
  • value (::Google::Cloud::Datastream::V1::UserPasswordCredentials) — User-password authentication.

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

Returns
  • (::Google::Cloud::Datastream::V1::UserPasswordCredentials) — User-password authentication.

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