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-
(::String) — Required. The instance of the ServiceNow account. This is the
<instance>part of the URLhttps://<instance>.service-now.com.
#instance=
def instance=(value) -> ::String-
value (::String) — Required. The instance of the ServiceNow account. This is the
<instance>part of the URLhttps://<instance>.service-now.com.
-
(::String) — Required. The instance of the ServiceNow account. This is the
<instance>part of the URLhttps://<instance>.service-now.com.
#oauth_client_credentials
def oauth_client_credentials() -> ::Google::Cloud::Datastream::V1::OauthClientCredentials-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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.