Class: Google::Apis::DatastreamV1::WorkdayProfile
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::WorkdayProfile
- 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
Profile for connecting to a Workday source.
Instance Attribute Summary collapse
-
#host ⇒ String
Required.
-
#oauth_refresh_token_credentials ⇒ Google::Apis::DatastreamV1::OauthRefreshTokenCredentials
OAuth Refresh Token Credentials.
-
#tenant ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkdayProfile
constructor
A new instance of WorkdayProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkdayProfile
Returns a new instance of WorkdayProfile.
5948 5949 5950 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5948 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host ⇒ String
Required. Host for the Workday connection. Must be a valid hostname (e.g.,
wd3-impl-services1.workday.com).
Corresponds to the JSON property host
5936 5937 5938 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5936 def host @host end |
#oauth_refresh_token_credentials ⇒ Google::Apis::DatastreamV1::OauthRefreshTokenCredentials
OAuth Refresh Token Credentials.
Corresponds to the JSON property oauthRefreshTokenCredentials
5941 5942 5943 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5941 def oauth_refresh_token_credentials @oauth_refresh_token_credentials end |
#tenant ⇒ String
Required. Tenant for the Workday connection (e.g., google12).
Corresponds to the JSON property tenant
5946 5947 5948 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5946 def tenant @tenant end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5953 5954 5955 5956 5957 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5953 def update!(**args) @host = args[:host] if args.key?(:host) @oauth_refresh_token_credentials = args[:oauth_refresh_token_credentials] if args.key?(:oauth_refresh_token_credentials) @tenant = args[:tenant] if args.key?(:tenant) end |