Class: Google::Apis::DatastreamV1::DataverseProfile

Inherits:
Object
  • Object
show all
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 Dataverse source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataverseProfile

Returns a new instance of DataverseProfile.



698
699
700
# File 'lib/google/apis/datastream_v1/classes.rb', line 698

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#environment_urlString

Required. Environment URL of the Microsoft Dataverse instance. Example: .crm. dynamics.com Corresponds to the JSON property environmentUrl

Returns:

  • (String)


686
687
688
# File 'lib/google/apis/datastream_v1/classes.rb', line 686

def environment_url
  @environment_url
end

#oauth_client_credentialsGoogle::Apis::DatastreamV1::OauthClientCredentials

OAuth Client Credentials. Corresponds to the JSON property oauthClientCredentials



691
692
693
# File 'lib/google/apis/datastream_v1/classes.rb', line 691

def oauth_client_credentials
  @oauth_client_credentials
end

#tenant_idString

Required. Tenant id of the Microsoft Dataverse instance. Corresponds to the JSON property tenantId

Returns:

  • (String)


696
697
698
# File 'lib/google/apis/datastream_v1/classes.rb', line 696

def tenant_id
  @tenant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



703
704
705
706
707
# File 'lib/google/apis/datastream_v1/classes.rb', line 703

def update!(**args)
  @environment_url = args[:environment_url] if args.key?(:environment_url)
  @oauth_client_credentials = args[:oauth_client_credentials] if args.key?(:oauth_client_credentials)
  @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
end