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.



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

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)


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

def environment_url
  @environment_url
end

#oauth_client_credentialsGoogle::Apis::DatastreamV1::OauthClientCredentials

OAuth Client Credentials. Corresponds to the JSON property oauthClientCredentials



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

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)


702
703
704
# File 'lib/google/apis/datastream_v1/classes.rb', line 702

def tenant_id
  @tenant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



709
710
711
712
713
# File 'lib/google/apis/datastream_v1/classes.rb', line 709

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